:[diStorm}: Little endian dependency
Sanjay Patel
sanjay3000 at yahoo.com
Mon May 1 13:26:51 EDT 2006
Hi,
Thanks for this great disassembler. I have one problem though. Distorm output
is incorrect when compiled on big endian systems (for example, PowerPC). I
have seen one problem with immediate operands, but there may be others. Here
is an example:
instructionHex: e8 01000000
mnemonic: CALL
operands: 0x6
size: 5
This is the correct output running on a little endian system (Windows XP on
Intel Yonah).
If you disassemble these bytes on a big endian system, you get:
instructionHex: e8 01000000
mnemonic: CALL
operands: 0x100000500000000
size: 5
Any chance that this bug can be fixed soon?
Thanks,
Sanjay
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the diStorm
mailing list