BinaryAnalysisPlatform / bap

Binary Analysis Platform
MIT License
2.07k stars 273 forks source link

disables byteweight by default #1484

Closed ivg closed 2 years ago

ivg commented 2 years ago

The motivation is that byteweight is an aggressive function discovery algorithm that shouldn't be used by default. Analogous algorithms in IDA and Ghidra are also disabled by default. It should be used as the last resort, when other options do not work.

To enable byteweight back use --byteweight-enable. To make this persistent, add a file enable-byteweight.conf to the ~/.config/bap folder with the following content,

byteweight-enabled = true