|
From: jee <hou...@gm...> - 2012-02-23 12:51:42
|
My code change itself with running, and, I use VALGRIND_DISCARD_TRANSLATIONS with I changed the function's assembly code. and my code is pure C++. i rewrite the assembly code like this: inline hook: mov addr, %rax jmp *%rax I insert this assembly code to the begin of functions, I can run my elf fine. but with valgrind, the code's behavior is....random. mostly, it goto deadly lock. |