google / binexport

Export disassemblies into Protocol Buffers
Apache License 2.0
1.05k stars 206 forks source link

update documentation #85

Closed wideglide closed 3 years ago

wideglide commented 3 years ago

In IDA 7.4+ idaapi.run_statements no longer exists in IDAPython. I'm not sure if there is still a way to call the binexport functions from python? Might need to revert #21? Removing these functions was not mentioned in the porting guide, but maybe there's another way?

Also, the parameter/enum for the binary export has changed from 1 to 2 now so the idc example needs to change.

static main() {
  batch(0);
  auto_wait();
  load_and_run_plugin("binexport12_ida", 2);
  qexit(0);
}