mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
EFA: ignore dynamic functions, if static too
This commit is contained in:
@@ -645,6 +645,9 @@ void FunctionEntrypointAnalyzer::importModel() {
|
||||
|
||||
auto [Entry, _] = getPC(&*BB.begin());
|
||||
|
||||
if (Binary->Functions.count(Entry) != 0)
|
||||
continue;
|
||||
|
||||
// TODO: should we assert that all dynamic function have been imported?
|
||||
auto It = Binary->ImportedDynamicFunctions.find(SymbolName.str());
|
||||
if (It == Binary->ImportedDynamicFunctions.end())
|
||||
|
||||
Reference in New Issue
Block a user