ARM disassembler bug

André Hentschel nerv at dawncrow.de
Mon Dec 28 08:58:57 CST 2020


Am 27.12.20 um 23:59 schrieb Qijia Liu:
> Hello,
> I’m from downstream radare2 project. There seems to be a bug in winedbg’s ARM 32-bit disassembler. For the instruction 0xe329f00d, it produces “msr cpsr, sp” while our other 2 disassembler (gnu and capstone) produces “msr cpsr_fc, 13”. I think the bug is in https://github.com/wine-mirror/wine/blob/e377786a71c3b6eab5bc11c0b1c9c7c3dc309398/programs/winedbg/be_arm.c#L238-L254.
> Please take a look. Thank you.
> Best,
> Qijia Liu
> 

Hi,

Back then I wrote the code and yes, there might be some detail bugs left, good catch!
Patches are welcome here, as you already have fixed it in downstream according to [1] it should be easier for you than for me :)

[1] https://github.com/radareorg/radare2/pull/18117



More information about the wine-devel mailing list