static-analysis-engineering / CodeHawk-Binary

CodeHawk Binary Analyzer for malware analysis and general reverse engineering
MIT License
22 stars 10 forks source link

Remove prebuilt binaries #86

Closed brk closed 1 year ago

brk commented 1 year ago

Replace them with README.md files, mostly so that git does not elide the empty directories, since it's convenient if freshly built binaries can be directly copied into the appropriate directory.

Also updates the root README.md file to reflect the removal of the prebuilt binaries, and configures git to ignore the files if they are copied into the repository tree.

This helps avoid an easy-to-miss error, especially in CI, where checking out a different commit would overwrite the user's copied-in chx86_analyze binary.

brk commented 1 year ago

For now, I set up the CI to download a prebuilt binary from images.aarno-labs.com. This leaves open the possibility of expanding the test coverage in the future.

I've named the downloaded binary to include a version or git commit hash prefix, as well as a platform, to make it clearer what version of CodeHawk a particular commit of CodeHawk-Binary expects the tests to run against.