MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetHighLevelILVariablesIfAvailable

Method GetHighLevelILVariablesIfAvailable

function.cpp:1581–1596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1579
1580
1581set<Variable> Function::GetHighLevelILVariablesIfAvailable()
1582{
1583 Ref<HighLevelILFunction> hlil = this->GetHighLevelILIfAvailable();
1584 if (!hlil)
1585 return {};
1586
1587 size_t count;
1588 BNVariable* vars = BNGetHighLevelILVariables(hlil->GetObject(), &count);
1589
1590 set<Variable> result;
1591 for (size_t i = 0; i < count; ++i)
1592 result.emplace(vars[i]);
1593
1594 BNFreeVariableList(vars);
1595 return result;
1596}
1597
1598
1599set<Variable> Function::GetHighLevelILAliasedVariablesIfAvailable()

Callers

nothing calls this directly

Calls 2

GetObjectMethod · 0.45

Tested by

no test coverage detected