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

Init linker mod failed #91

Open
AndroidMaster25 opened this issue Nov 28, 2024 · 3 comments
Open

Init linker mod failed #91

AndroidMaster25 opened this issue Nov 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@AndroidMaster25
Copy link

ShadowHook Version

1.1.1

Android OS Version

9, 11, 12, 15

Android ABIs

arm64-v8a

Device Manufacturers and Models

Memuplay, MuMu 12, Moto 5G Plus, Google Pixel 9

Describe the Bug

Shadowhook 1.1.1 is broken. It always return error 12 - Init linker mod failed when trying to hook. It can be replicated with the shadowhook_hook_sym_name example
1.0.10 works perfectly on phones and x86 emulators

@AndroidMaster25 AndroidMaster25 added the bug Something isn't working label Nov 28, 2024
@uniking
Copy link

uniking commented Dec 3, 2024

I encountered the same issue, but I used a .a static library compiled from shadowhook. I tested shadowhook's examples, and they worked fine. Are there any specific considerations when using the .a static library?

@caikelun
Copy link
Member

caikelun commented Dec 3, 2024

  1. shadowhook does NOT support x86 houdini VM.
  2. A new dynamic library is added in version 1.1.1: libshadowhook_nothing.so. If you compile the source code yourself, it is recommended to refer to CMakeLists.txt again.

@chiteroman
Copy link

2. A new dynamic library is added in version 1.1.1: libshadowhook_nothing.so. If you compile the source code yourself, it is recommended to refer to CMakeLists.txt again.

SH_LOG_ERROR("linker: dlopen nothing.so FAILED");

Thanks for allowing us to use static lib...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants