| 154 | } |
| 155 | |
| 156 | bool x86LeaHandler(Instruction* instruction) |
| 157 | { |
| 158 | std::vector<ZydisDecodedOperand> operandInfo = instruction->getOperandInfo(); |
| 159 | |
| 160 | calculateEffectiveAddress(instruction, operandInfo[1].mem); |
| 161 | emitPopRegister(instruction, R0, 64); |
| 162 | emitPushRegister(instruction, R0, operandInfo[0].size); |
| 163 | if (operandInfo[0].size == 32) |
| 164 | zeroRegister(instruction, operandInfo[0].reg.value); |
| 165 | emitPopRegister(instruction, operandInfo[0].reg.value, operandInfo[0].size); |
| 166 | |
| 167 | return 1; |
| 168 | } |
| 169 | |
| 170 | bool x86RetHandler(Instruction* instruction) |
| 171 | { |
no test coverage detected