bytedance / bytedance/android-inline-hook

主apk和插件apk模式下,两个apk都包含了libshadowhook的情况,插件apk调用shadowhook_init时死循环

Open
#109 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
C
Stars
2.4k
Forks
410
Avg merge
3d 14h
Merged PRs (30d)
2

Description

### ShadowHook Version

2.0.0

### Android OS Version

15.0

### Android ABIs

arm64-v8a

### Device Manufacturers and Models

Xiaomi

### Describe the Bug

主apk和插件apk模式下(主apk动态加载插件apk),两个apk都包含了libshadowhook.so的情况,主apk成功进行了hook,然后插件apk也进行了hook,但在调用"shadowhook_init"(传入MULTI模式)时中产生死循环(在"shadowhook_proxy_android_linker_soinfo_call_constructors" -> "sh_linker_orig_soinfo_call_ctors"间不断调用)。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.