EFA: ignore dynamic functions, if static too

This commit is contained in:
Alessandro Di Federico
2022-06-21 14:17:55 +02:00
parent f4684e244d
commit 6d3a35cf22
@@ -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())