Skip to content

Fix difftest binary path - #2

Draft
Karib0u wants to merge 1 commit into
mainfrom
agent/fix-difftest-binary-path
Draft

Fix difftest binary path#2
Karib0u wants to merge 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

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