Closed comex closed 1 year ago
Thanks for the report. This indeed looks wrong. In my defense, when I wrote this, the Binary Ninja C++ API did not document any of those functions :)
This should be fixed. Feel free to reopen if you still have issues with backwards references.
From
AnalyzeFlow
inbinaryninja/main_plugin.cc
:This code thinks there's control flow from
address
toxref.addr
, butGetCodeReferences
returns references to, not from, an address:This should be
GetCodeReferencesFrom
instead (although that has some additional complexity because it requires specifying a function).