| 1519 | |
| 1520 | |
| 1521 | set<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 | |
| 1539 | set<Variable> Function::GetMediumLevelILAliasedVariablesIfAvailable() |
nothing calls this directly
no test coverage detected