diffblue-cbmc/regression/symtab2gb/multiple_symtabs
Hannes Steffenhagen da5fd4508c Add symtab2gb to enable linking of .json_symtab files
Right now we have the `goto-cc` tool to create goto binaries from C
files and link goto binaries together. This adds a similar type of
"linker" tool for the symtab language.

I had considered extending 'goto-cc' to handle symtab files as well,
however goto-cc (quite reasonably) makes some C-specific assumptions
about its input files, and I'd figured rather than working around that
it'd be easier to just have a simple command line tool to invoke
`goto_convert` and `link_goto_model` (which, in the end, is all we want
to do for json_symtabs).
2019-05-14 15:30:29 +01:00
..
README.md Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
entry_point.adb Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
entry_point.json_symtab Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
library.adb Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
library.ads Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
library.json_symtab Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
test.desc Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
user.adb Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
user.ads Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00
user.json_symtab Add symtab2gb to enable linking of .json_symtab files 2019-05-14 15:30:29 +01:00

README.md

The *.json_symtab in this directory was created from the Ada source files *.adb using the gnat2goto compiler.

gnat2goto user.adb # produces user.json_symtab

# produces library.json_symtab
# and user.json_symtab
# the --no-cprover-start option is to prevent
# emitting a __CPROVER_start function for these modules,
# as there can only be one of those in a program

gnat2goto --no-cprover-start library.adb
gnat2goto --no-cprover-start user.adb

Note that as of now, this requires the patch found in this PR