SYMTAB2GB(1)
β¨ SYMTAB2GB β¨
okay bestie, gather round, because this is the little utility that takes your JSON symbol tables and turns them into a GOTO binary. it's symtab2gb, it lives in the User Commands corner of the manual, and honestly? it's giving backstage-pass energy. π
πΈ NAME πΈ
symtab2gb β compile JSON symbol tables to a GOTO binary π
β¨ SYNOPSIS β¨
symtab2gb [-?] [-h] [--help]
show help
symtab2gb json-symtab-file+ [--out outfile]
compile symbol tables in JSON format to a single GOTO binary
so like, two moods: either you just want help, or you're feeding it one or more JSON symbol table files and it hands you back one single GOTO binary. main character energy either way. π¦
π DESCRIPTION π
so what is this actually for, bestie? this utility compiles a cbmc(1) symbols table (in JSON format) into a GOTO binary. that's the whole gig. π«Ά
and the reason it exists is genuinely iconic: it's there to support integration of external language frontends. think Ada (via GNAT2GOTO: https://github.com/diffblue/gnat2goto) or Rust (via Kani: https://github.com/model-checking/kani). so your fave non-C languages get to hang out with cbmc. we love a crossover episode. π
π OPTIONS π
--out outfileβ specify the filename of the resulting binary. the default isa.out, so if you don't say anything it's just gonna name ita.outlike it's 1979. no cap. π--goto-functions fileβ specify a file containing JSON-encoded goto functions. yes, specifically goto functions, in JSON. very demure, very mindful. β¨--verbosity #β verbosity level. crank that number up when you wanna hear the program yap. π₯
πΈ ENVIRONMENT πΈ
all tools honor the TMPDIR environment variable when generating temporary files and directories. so if you're picky about where your temp stuff lives (valid!), set TMPDIR and it'll respect that. queen behavior. π
π¦ BUGS π¦
if you encounter a problem please create an issue at https://github.com/diffblue/cbmc/issues
not me manifesting a bug π but fr fr, if something's busted, that's where you go. don't just suffer in silence, bestie. π₯Ί
π SEE ALSO π
the origin story. the blueprint. go read it. π
π COPYRIGHT π
2019, Diffblue
and that's the whole page, gorgeous. this was symtab2gb-5.59.0, dated June 2022 β so like, a little vintage but still slaying. go compile something cute. bye bestie!! πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- fedora 44: cbmc 6.8.0-1.fc44 Β· BSD-4-Clause
- nixos 26.05: cbmc 6.9.0
- nixpkgs unstable: cbmc 6.11.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms