diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/llil_parser/src/llil_parser.cpp | 4 | ||||
| -rw-r--r-- | examples/mlil_parser/src/mlil_parser.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/llil_parser/src/llil_parser.cpp b/examples/llil_parser/src/llil_parser.cpp index 8df89558..b7c96c22 100644 --- a/examples/llil_parser/src/llil_parser.cpp +++ b/examples/llil_parser/src/llil_parser.cpp @@ -272,7 +272,7 @@ static void PrintILExpr(const LowLevelILInstruction& instr, size_t indent) case SSARegisterListLowLevelOperand: PrintIndent(indent); printf("ssa reg list "); - for (auto& i : operand.GetSSARegisterList()) + for (auto i : operand.GetSSARegisterList()) { PrintRegister(instr.function, i.reg); printf("#%" PRIdPTR " ", i.version); @@ -283,7 +283,7 @@ static void PrintILExpr(const LowLevelILInstruction& instr, size_t indent) case SSAFlagListLowLevelOperand: PrintIndent(indent); printf("ssa reg list "); - for (auto& i : operand.GetSSAFlagList()) + for (auto i : operand.GetSSAFlagList()) { PrintFlag(instr.function, i.flag); printf("#%" PRIdPTR " ", i.version); diff --git a/examples/mlil_parser/src/mlil_parser.cpp b/examples/mlil_parser/src/mlil_parser.cpp index 1a347dc3..e14c9317 100644 --- a/examples/mlil_parser/src/mlil_parser.cpp +++ b/examples/mlil_parser/src/mlil_parser.cpp @@ -213,7 +213,7 @@ static void PrintILExpr(const MediumLevelILInstruction& instr, size_t indent) case VariableListMediumLevelOperand: PrintIndent(indent); printf("var list "); - for (auto& i : operand.GetVariableList()) + for (auto i : operand.GetVariableList()) { PrintVariable(instr.function, i); printf(" "); @@ -224,7 +224,7 @@ static void PrintILExpr(const MediumLevelILInstruction& instr, size_t indent) case SSAVariableListMediumLevelOperand: PrintIndent(indent); printf("ssa var list "); - for (auto& i : operand.GetSSAVariableList()) + for (auto i : operand.GetSSAVariableList()) { PrintVariable(instr.function, i.var); printf("#%" PRIdPTR " ", i.version); |
