| 1459 | |
| 1460 | |
| 1461 | set<Variable> Function::GetHighLevelILVariables() |
| 1462 | { |
| 1463 | Ref<HighLevelILFunction> hlil = this->GetHighLevelIL(); |
| 1464 | if (!hlil) |
| 1465 | return {}; |
| 1466 | |
| 1467 | size_t count; |
| 1468 | BNVariable* vars = BNGetHighLevelILVariables(hlil->GetObject(), &count); |
| 1469 | |
| 1470 | set<Variable> result; |
| 1471 | for (size_t i = 0; i < count; ++i) |
| 1472 | result.emplace(vars[i]); |
| 1473 | |
| 1474 | BNFreeVariableList(vars); |
| 1475 | return result; |
| 1476 | } |
| 1477 | |
| 1478 | |
| 1479 | set<Variable> Function::GetHighLevelILAliasedVariables() |
nothing calls this directly
no test coverage detected