On Tue, Nov 24, 2009 at 7:51 PM, <rvn...@few.vu.nl> wrote: > > I am working on a project that extends qemu to track the memory accesses. > All the functions in target-i386/ops_mem.h are instrumented. > Logging the reads work fine, the writes give are troublesome. > The code that I am tracking contains a lot of xor instructions. > > I have tracked the generation of an example xorl $0x9432bf80, (%esi) > instruction > in target-i386/translate.c. The result of the xorl instruction results in the > generation of op_stl_raw_T0_A0 by gen_op_stl_raw_T0_A0. The op_stl_raw_T0_A0 > instruction in instrumented in the ops_mem.h header file but somehow nothing > is > logged.
You seem to be using a very old version of QEMU. You'd better use a more recent one if you want to get more help :-) Laurent > So to conclude, the reads are logged, but the writes give me some problems. > Is there any documentation regarding to the softmmu and these memory operands. > > Kind regards, > > Remco > > >