Skip to content

在模拟器arm架构 hook libc.so失败 求解答!!! #94

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

Open
zhangrenquan opened this issue Feb 20, 2025 · 1 comment
Open

在模拟器arm架构 hook libc.so失败 求解答!!! #94

zhangrenquan opened this issue Feb 20, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@zhangrenquan
Copy link

the Feature, Motivation and Pitch

雷电模拟器 无法勾住libc.so

Image

Image

Image

代码:

shadowhook_init(SHADOWHOOK_MODE_UNIQUE, true);

shadowhook_hook_sym_name("libc.so", "clock_gettime",
                         (void *) hook_clock_gettime,
                         (void **) &original_clock_gettime);

shadowhook_hook_sym_name("libc.so", "gettimeofday",
                         (void *) hook_gettimeofday,
                         (void **) &orgin_gettimeofday);

模拟器:
Image

真机:
Image

Alternatives

No response

Additional context

No response

@zhangrenquan zhangrenquan added the enhancement New feature or request label Feb 20, 2025
@zhongqingsong
Copy link

不支持模拟器,以后也不会支持。

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

No branches or pull requests

2 participants