From: Nguyen A. Q. <aq...@gm...> - 2014-10-06 13:07:10
|
On Mon, Oct 6, 2014 at 12:03 AM, Yegor Derevenets < yeg...@gm...> wrote: > On Sun, Oct 05, 2014 at 09:18:31PM +0800, Nguyen Anh Quynh wrote: > > - can you confirm that you are using the latest code from the "next" > > branch? > Yes. Confirm for fe4822. > > > - what is the input hexcode for these 2 instructions? are they both in > ARM > > mode + little endian? > > $ LANG=C /usr/arm-linux-gnueabi/bin/objdump -d postincrement.o > > postincrement.o: file format elf32-littlearm > > > Disassembly of section .text: > > 00000000 <.text>: > 0: 000080f4 strdeq r8, [r0], -r4 > 4: 008080f4 strdeq r8, [r0], r4 > this needs a new field named "subtracted" in cs_arm_op struct. i pushed a commit to do this: https://github.com/aquynh/capstone/commit/8fb2eab4596e0c5920c86929b3a0cd47028db70e find the test_arm.c in above commit to see how to extract this new field "subtracted". thanks, Q |