Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IDA Pro: Keep sign-/zero extended immediates on x86
By default IDA will perform a sign/zero extension, returning a 32-bit/ 64-bit operand size even when the encoding only contains an 8 bit value. This is consistent with what the CPU actually computes. Other disassemblers also have adopted this behavior (Binary Ninja, Ghidra), so the code that used to attempt to undo this sign extension (by masking the last bytes of the original immediate) has been removed. PiperOrigin-RevId: 482199618 Change-Id: I692af1bded56a8d0c5a209a93cc17f9b19535365
- Loading branch information