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

Method GetMediumLevelILVariablesIfAvailable

function.cpp:1521–1536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1519
1520
1521set<Variable> Function::GetMediumLevelILVariablesIfAvailable()
1522{
1523 Ref<MediumLevelILFunction> mlil = this->GetMediumLevelILIfAvailable();
1524 if (!mlil)
1525 return {};
1526
1527 size_t count;
1528 BNVariable* vars = BNGetMediumLevelILVariables(mlil->GetObject(), &count);
1529
1530 set<Variable> result;
1531 for (size_t i = 0; i < count; ++i)
1532 result.emplace(vars[i]);
1533
1534 BNFreeVariableList(vars);
1535 return result;
1536}
1537
1538
1539set<Variable> Function::GetMediumLevelILAliasedVariablesIfAvailable()

Callers

nothing calls this directly

Calls 2

GetObjectMethod · 0.45

Tested by

no test coverage detected