| 783 | } |
| 784 | |
| 785 | static void SignExtendHiLo(LowLevelILFunction& il, size_t registerSize) |
| 786 | { |
| 787 | if (registerSize == 8) |
| 788 | { |
| 789 | il.AddInstruction(il.SetRegister(8, REG_HI, |
| 790 | il.SignExtend(8, il.LowPart(4, il.Register(registerSize, REG_HI))) |
| 791 | )); |
| 792 | |
| 793 | il.AddInstruction(il.SetRegister(8, REG_LO, |
| 794 | il.SignExtend(8, il.LowPart(4, il.Register(registerSize, REG_LO))) |
| 795 | )); |
| 796 | } |
| 797 | } |
| 798 | |
| 799 | bool GetLowLevelILForInstruction(Architecture* arch, uint64_t addr, LowLevelILFunction& il, Instruction& instr, size_t addrSize, uint32_t decomposeFlags) |
| 800 | { |
no test coverage detected