Skip to content

Fix difftest binary path - #2

Merged
Karib0u merged 1 commit into
mainfrom
agent/fix-difftest-binary-path
Aug 26, 2026
Merged

Karib0u merged 1 commit into
mainfrom
agent/fix-difftest-binary-path

Conversation

@Karib0u

@Karib0u Karib0u commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • align the difftest default binary path with the capa-x executable produced by Cargo
  • allow the scheduled freeze-corpus job to reach and run the corpus

Root cause

cargo build -p capa-x-cli creates target/debug/capa-x, but the difftest harness defaulted to target/debug/capa. The harness therefore exited with status 2 before processing any samples.

Validation

  • cargo test -p capa-x --test features_parity
  • python3 scripts/difftest.py --mode freeze --samples scripts/corpus-freeze.txt (62/62 samples match)
  • python3 scripts/difftest.py --mode full --samples scripts/corpus-smoke.txt --capa-cli target/release/capa-x --jobs 6 (no regressions against baseline)
  • git diff --check

@Karib0u
Karib0u marked this pull request as ready for review August 26, 2026 18:41
@Karib0u
Karib0u merged commit 10afa1a into main Aug 26, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant