| 1597 | |
| 1598 | |
| 1599 | set<Variable> Function::GetHighLevelILAliasedVariablesIfAvailable() |
| 1600 | { |
| 1601 | Ref<HighLevelILFunction> hlil = this->GetHighLevelILIfAvailable(); |
| 1602 | if (!hlil) |
| 1603 | return {}; |
| 1604 | |
| 1605 | size_t count; |
| 1606 | BNVariable* vars = BNGetHighLevelILAliasedVariables(hlil->GetObject(), &count); |
| 1607 | |
| 1608 | set<Variable> result; |
| 1609 | for (size_t i = 0; i < count; ++i) |
| 1610 | result.emplace(vars[i]); |
| 1611 | |
| 1612 | BNFreeVariableList(vars); |
| 1613 | return result; |
| 1614 | } |
| 1615 | |
| 1616 | |
| 1617 | set<SSAVariable> Function::GetHighLevelILSSAVariablesIfAvailable() |
nothing calls this directly
no test coverage detected