gaasedelen / tenet

A Trace Explorer for Reverse Engineers
MIT License
1.33k stars 130 forks source link

Pin tool consistently crashes on the first instruction (32bit, Linux) #5

Closed zixcoolx closed 3 years ago

zixcoolx commented 3 years ago

I got the intel pin tool you provided but after I compile it in Linux, and I try to run it, pin -t pintenet.so -w a.out -- ./a.out

it gives me

White-listing image: a.out

Loaded image: 0x56605000:0x5660572f -> a.out

Loaded image: 0xf7f0a000:0xf7f2f4e3 -> ld-linux.so.2

Loaded image: 0xf7f09000:0xf7f09c0f -> [vdso]

Loaded image: 0xed317000:0xed4f2a1f -> libc.so.6

C: Tool (or Pin) caused signal 11 at PC 0xf6dd0a8d

Segmentation fault (core dumped)
gaasedelen commented 3 years ago

Good catch, I was able to reproduce the issue specifically with a 32bit binary on ubuntu.

Fix is on the develop branch. But please keep in mind, these tracers are ... very experimental :-)