255
GitHub - zhkl0228/emulator: Allows you to emulate an Android ARM32 and/or ARM64...
source link: https://github.com/zhkl0228/emulator
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
emulator
Allows you to emulate an Android ARM32 and/or ARM64 native library.
This is an educational project to learn more about the ELF file format and ARM assembly.
Usage
Simple tests under src/test directory
- src/test/java/com/bytedance/frameworks/core/encrypt/TTEncrypt.java
- src/test/java/com/sun/jna/JniDispatch32.java
- src/test/java/com/sun/jna/JniDispatch64.java
- src/test/java/org/telegram/messenger/Utilities32.java
- src/test/java/org/telegram/messenger/Utilities64.java
Features
- Emulation of the JNI Invocation API so JNI_OnLoad can be called.
- Support JavaVM, JNIEnv.
- Emulation of syscalls instruction.
- Support ARM32 and ARM64 bit ELF.
- Inline hook, thanks to HookZz.
- Import hook, thanks to xHook.
- Support simple debugger, instruction trace, memory read/write trace.
Thanks
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK