| 1537 | |
| 1538 | |
| 1539 | set<Variable> Function::GetMediumLevelILAliasedVariablesIfAvailable() |
| 1540 | { |
| 1541 | Ref<MediumLevelILFunction> mlil = this->GetMediumLevelILIfAvailable(); |
| 1542 | if (!mlil) |
| 1543 | return {}; |
| 1544 | |
| 1545 | size_t count; |
| 1546 | BNVariable* vars = BNGetMediumLevelILAliasedVariables(mlil->GetObject(), &count); |
| 1547 | |
| 1548 | set<Variable> result; |
| 1549 | for (size_t i = 0; i < count; ++i) |
| 1550 | result.emplace(vars[i]); |
| 1551 | |
| 1552 | BNFreeVariableList(vars); |
| 1553 | return result; |
| 1554 | } |
| 1555 | |
| 1556 | |
| 1557 | set<SSAVariable> Function::GetMediumLevelILSSAVariablesIfAvailable() |
nothing calls this directly
no test coverage detected