bytedance / bytedance/android-inline-hook

trying to execute non-executable memory

Open
#111 0 comments 0 reactions 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

16

### Android ABIs

arm64-v8a

### Device Manufacturers and Models

xiaomi phone, Android16

### Describe the Bug

i just call shadowhook_init(SHADOWHOOK_MODE_UNIQUE, false) in so constructor , but crash in libvndksupport.so
DEBUG : Cause: trying to execute non-executable memory.
03-02 18:32:42.689 22583 22583 F DEBUG : backtrace:
03-02 18:32:42.689 22583 22583 F DEBUG : #00 pc 00000000002ae4c0
03-02 18:32:42.689 22583 22583 F DEBUG : #01 pc 0000000000004110 /apex/com.android.runtime/lib64/bionic/libdl.so (android_dlopen_ext+16) (BuildId: 75ace89fd123d9cadc8130779cd80a52)
03-02 18:32:42.689 22583 22583 F DEBUG : #02 pc 00000000000040d4 /odm/lib64/libvndksupport.so (android_load_sphal_library+100) (BuildId: 3ebd923f0b3b7c998dbe543bc9a12399)

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.