Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hooker-test does not work on CentOS 7 #8

Open
CaledoniaProject opened this issue Jan 9, 2022 · 1 comment
Open

hooker-test does not work on CentOS 7 #8

CaledoniaProject opened this issue Jan 9, 2022 · 1 comment

Comments

@CaledoniaProject
Copy link

main=0x400abe
test_replace=0x40084a
test_replace2=0x4008fd
==============================
testfunc
==============================
Before Hook:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000401dbc in ZydisInputPeek ()
Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.x86_64 libgcc-4.8.5-44.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64
(gdb) bt
#0  0x0000000000401dbc in ZydisInputPeek ()
#1  0x0000000000408995 in ZydisCollectOptionalPrefixes ()
#2  0x000000000040bb40 in ZydisDecoderDecodeBuffer ()
#3  0x00000000004009cb in main::{lambda(void (*)(), int)#1}::operator()(void (*)(), int) const ()
#4  0x0000000000400a35 in main::{lambda(char const*, void (*)(), void (**)(), void (*)())#2}::operator()(char const*, void (*)(), void (**)(), void (*)()) const ()
#5  0x0000000000400b6b in main ()
@Menooker
Copy link
Owner

thanks for the issue. I will invesitigate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants