I am building a dynamorio tool which prints the instruction details and the memory address which was wirtten by this instruction alongside the new content of this memory address.Therefore I am using the function "dr_insert_call_instrumentation" in "event_app_instruction" (drmgr_register_bb_instrumentation_event(NULL, event_app_instruction, NULL);)The function which is called by "dr_insert_call_instrumentation" provides a target_addr which is in case of a "call" the written memory address. But for example if a "push" is executed the instruction also writes to the memory but then the target_addr is 0x00000000.
Now the question is, is there a possibility to get the memory address which is written for EACH instruction?Best regards,Peter
--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To post to this group, send email to dynamor...@googlegroups.com.
Visit this group at http://groups.google.com/group/dynamorio-users.
For more options, visit https://groups.google.com/d/optout.
I already looked at the memor_simple example but my problem was, how do i get the corresponding instruction to the memory reference?My output should be like this:push rbp ; Thread_ID: 2543; as byte: 55 ; Instr-Addr: 0x00007f6af790c066writes Memory? 1/0 (if 1-->) memoryaddress:memoryContentchanged register: RSP: 0x00007ffc5919a990