Skip to content
项目

maiyao1988/ExAndroidNativeEmu

在 GitHub 查看

关于

AndroidNativeEmu 的改进版,可在 PC 上运行 Android ELF 文件。

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ExAndroidNativeEmu

This is a personal improved version of AndroidNativeEmu.Allow running android elf code on pc.

Improvment compare with AndroidNativeEmu

  • Rewrite memory mapping module, fully support jemalloc
  • More debug utils, pretty printing for instruction and memory.
  • Some misc bug fix
  • Stop all runing when getting exception instead of just skiping one emulator runing for easily bug detecting...
  • Auto Load dependency so.
  • Auto generate /proc/[pid]/maps according to current memory map
  • Fix R_ARM_ABS32 relocation bug.
  • Use program header to load so instead of section header
  • Support Java reflection
  • Support Arm64
  • Support multi-threaded like pthread_create etc.
  • Add Function hook feature

TODO

  • Simulate linker TLS initialization.
  • Support well known virtual file like /proc/self/maps...
  • Get rid of dependency on Section Header when loading ELF.

Usage

In the future this will be possible through pypi.

Make sure you are using python 3.7 above.

  1. Clone the repository
  2. Run pip install -r requirements.txt
  3. Run python example_jni.py

Dependencies

Text sources

Code sources

Disclaimer

  • This Project is just for personal educational purposed only.You can modify it for your personal used.But we do not take any resonsibility for issues caused by any modification of this project.

探索相关项目

加载中…