| 1477 | |
| 1478 | |
| 1479 | set<Variable> Function::GetHighLevelILAliasedVariables() |
| 1480 | { |
| 1481 | Ref<HighLevelILFunction> hlil = this->GetHighLevelIL(); |
| 1482 | if (!hlil) |
| 1483 | return {}; |
| 1484 | |
| 1485 | size_t count; |
| 1486 | BNVariable* vars = BNGetHighLevelILAliasedVariables(hlil->GetObject(), &count); |
| 1487 | |
| 1488 | set<Variable> result; |
| 1489 | for (size_t i = 0; i < count; ++i) |
| 1490 | result.emplace(vars[i]); |
| 1491 | |
| 1492 | BNFreeVariableList(vars); |
| 1493 | return result; |
| 1494 | } |
| 1495 | |
| 1496 | |
| 1497 | set<SSAVariable> Function::GetHighLevelILSSAVariables() |
nothing calls this directly
no test coverage detected