BinaryAnalysisPlatform / bap

Binary Analysis Platform
MIT License
2.05k stars 271 forks source link

moves knowledge base rules from the library to the plugin #1403

Closed ivg closed 2 years ago

ivg commented 2 years ago

They all fit nicely into the disassemble plugin and it also opens an opportunity to introduce command-line parameters for the rules. None are added so far, but its good to have this option.

This PR is the continuation of #1402 and it looks like that we don't have any more KB rules that are defined as a side effect of the library linking, which makes our libraries pure.

P.S. some of the rules required publishing functions that weren't previously public, they are Disasm_expert.Basic.Insn.subs and Insn.Seqnum.fresh.