| 1399 | |
| 1400 | |
| 1401 | set<Variable> Function::GetMediumLevelILVariables() |
| 1402 | { |
| 1403 | Ref<MediumLevelILFunction> mlil = this->GetMediumLevelIL(); |
| 1404 | if (!mlil) |
| 1405 | return {}; |
| 1406 | |
| 1407 | size_t count; |
| 1408 | BNVariable* vars = BNGetMediumLevelILVariables(mlil->GetObject(), &count); |
| 1409 | |
| 1410 | set<Variable> result; |
| 1411 | for (size_t i = 0; i < count; ++i) |
| 1412 | result.emplace(vars[i]); |
| 1413 | |
| 1414 | BNFreeVariableList(vars); |
| 1415 | return result; |
| 1416 | } |
| 1417 | |
| 1418 | |
| 1419 | set<Variable> Function::GetMediumLevelILAliasedVariables() |
nothing calls this directly
no test coverage detected