| 577 | |
| 578 | |
| 579 | bool PseudoRustFunction::IsMutable(const Variable& var) const |
| 580 | { |
| 581 | for (auto i : GetHighLevelILFunction()->GetVariableDefinitions(var)) |
| 582 | { |
| 583 | auto expr = GetHighLevelILFunction()->GetExpr(i); |
| 584 | if (expr.operation == HLIL_VAR_DECLARE || expr.operation == HLIL_VAR_INIT) |
| 585 | continue; |
| 586 | return true; |
| 587 | } |
| 588 | return GetHighLevelILFunction()->GetAliasedVariables().count(var) != 0; |
| 589 | } |
| 590 | |
| 591 | |
| 592 | void PseudoRustFunction::GetExprText(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens, |
nothing calls this directly
no test coverage detected