Hollo,

I am profiling some stuff in Marss and I have an issue with addressing. I
am recording the uop.rip in issue() function as the physical address of
instruction(am I right?), at the end I print it out :
tb_logfile<<hexstring(iter->first)
and I get application addresses like this:
ffffffff8139135c392
but when I dumpobj my executable
objdump -g -M i386 -S --adjust-vma=0xffffffff00000000 mcf>>here.dump
I see addresses like:
ffffffff00401f88

I don't understand what I am missing here, incorrect machine option in
compilation or dump?! maybe...
***the reason that I am doing this is I need to find out the relation
between binary instructions and actual code lines to find the branches that
I am interested in C code.

I appreciate if anybody can help me with this.

Thank you
Alireza
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to