Hi,

I tried to instrument a strip-ed chrome, as a workaround the
processCreate issue(s) , only to find another problem, this time in
image::findMain()

findMain() assumes the entry point address to be an immediate operand:
 mov    $0x40051b,%rdi
 callq  0x7ffff7fef3f0

For chrome, I found this instead
 lea -0x34f7(%rip),%rdi
 callq 26f20 <__libc_start_main@plt>

Josh found the same issue with a strip-ed stap, or as he put it
 "/usr/bin/stap is PIE, and I removed the debuginfo package"



Any suggestions for this one ?



thanks,
adrian
_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to