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

Method GetHighLevelILVariables

function.cpp:1461–1476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1459
1460
1461set<Variable> Function::GetHighLevelILVariables()
1462{
1463 Ref<HighLevelILFunction> hlil = this->GetHighLevelIL();
1464 if (!hlil)
1465 return {};
1466
1467 size_t count;
1468 BNVariable* vars = BNGetHighLevelILVariables(hlil->GetObject(), &count);
1469
1470 set<Variable> result;
1471 for (size_t i = 0; i < count; ++i)
1472 result.emplace(vars[i]);
1473
1474 BNFreeVariableList(vars);
1475 return result;
1476}
1477
1478
1479set<Variable> Function::GetHighLevelILAliasedVariables()

Callers

nothing calls this directly

Calls 2

GetHighLevelILMethod · 0.95
GetObjectMethod · 0.45

Tested by

no test coverage detected