i'm using libmemtrace_simple.so to record the mem access,and i print the add in the test code like this:
void test(void)
{
char data = (char)malloc(100);
printf("data 0x%x\n", data);
}
the result in the code which show "data 0x20e55670." but in the memtrace.a.out.02859.0000.log it show 0x7f0a20e55670,why?how could i get the real addr?
besides. i want to capture the memaddr and show the result as struct member?any example?
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/55207cf8-3a40-4108-812f-f70a4483134an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/354bc71b-746d-4d8a-b781-00028d066deen%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/21582e0a-034b-49bd-89f0-dba167993835n%40googlegroups.com.