Skip to content

Commit

Permalink
Remove symtab2gb from bundle (#3865)
Browse files Browse the repository at this point in the history
CBMC's `symtab2gb` binary is no longer used since Kani now generates a
goto binary directly. Removing it from the Kani bundle.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
  • Loading branch information
zhassan-aws authored Jan 30, 2025
1 parent 5024b63 commit afd0469
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/os_hacks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ fn setup_nixos_patchelf(kani_dir: &Path) -> Result<()> {
for filename in &["kani-compiler", "kani-driver"] {
patch_interp(&bin.join(filename))?;
}
for filename in &["cbmc", "goto-analyzer", "goto-cc", "goto-instrument", "kissat", "symtab2gb"]
{
for filename in &["cbmc", "goto-analyzer", "goto-cc", "goto-instrument", "kissat"] {
let file = bin.join(filename);
patch_interp(&file)?;
patch_rpath(&file)?;
Expand Down
1 change: 0 additions & 1 deletion tools/build-kani/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ fn bundle_cbmc(dir: &Path) -> Result<()> {
cp(&which::which("cbmc")?, &bin)?;
cp(&which::which("goto-instrument")?, &bin)?;
cp(&which::which("goto-cc")?, &bin)?;
cp(&which::which("symtab2gb")?, &bin)?;
cp(&which::which("goto-analyzer")?, &bin)?;

Ok(())
Expand Down

0 comments on commit afd0469

Please sign in to comment.