static-analysis-engineering / CodeHawk-Binary

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

macos support #11

Closed psifertex closed 3 years ago

psifertex commented 3 years ago

Had a few bits of trouble trying to test the readme example code on MacOS. Besides #10 it looks like the macOS/chx86_analyze_mac path doesn't exist.

It's also not clear the difference between https://github.com/static-analysis-engineering/CodeHawk-Binary/blob/master/chb/bin/binaries/chx86_analyze_linux and https://github.com/static-analysis-engineering/CodeHawk-Binary/blob/master/chb/bin/binaries/linux/chx86_analyze but simply copying the chx86_analyze_mac file to macOS/chx86_analyze fails with some argument differences so there's clearly more to it than just a wrong file path.

psifertex commented 3 years ago

Looks like this is resolved with some previous changes and it works out of the box now, thanks.