All Projects → maiyao1988 → Exandroidnativeemu

maiyao1988 / Exandroidnativeemu

An improved version of AndroidNativeEmu,Allow running android elf on PC

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Exandroidnativeemu

Awesome Emulators Simulators
A curated list of software emulators and simulators of PCs, home computers, mainframes, consoles, robots and much more...
Stars: ✭ 94 (-64.39%)
Mutual labels:  emulation, simulation
Shadow
Shadow is a unique discrete-event network simulator that runs real applications like Tor, and distributed systems of thousands of nodes on a single machine. Shadow combines the accuracy of emulation with the efficiency and control of simulation, achieving the best of both approaches.
Stars: ✭ 769 (+191.29%)
Mutual labels:  emulation, simulation
Cosmic
A 𝒔𝒕𝒆𝒍𝒍𝒂𝒓 simulated 8-bit computer architecture
Stars: ✭ 97 (-63.26%)
Mutual labels:  emulation, simulation
Higan Verilog
This is a higan/Verilator co-simulation example/framework
Stars: ✭ 35 (-86.74%)
Mutual labels:  emulation, simulation
awesome-edge-computing
A curated list of awesome edge computing, including Frameworks, Simulators, Tools, etc.
Stars: ✭ 149 (-43.56%)
Mutual labels:  simulation, emulation
RAWSim-O
A simulation framework for Robotic Mobile Fulfillment Systems
Stars: ✭ 82 (-68.94%)
Mutual labels:  simulation
computational-economy
An agent-based computational economy with macroeconomic equilibria from microeconomic behaviors
Stars: ✭ 67 (-74.62%)
Mutual labels:  simulation
machine-learning-and-simulation
All the handwritten notes 📝 and source code files 🖥️ used in my YouTube Videos on Machine Learning & Simulation (https://www.youtube.com/channel/UCh0P7KwJhuQ4vrzc3IRuw4Q)
Stars: ✭ 93 (-64.77%)
Mutual labels:  simulation
emuiibo
Virtual amiibo (amiibo emulation) system for Nintendo Switch
Stars: ✭ 584 (+121.21%)
Mutual labels:  emulation
Python corona simulation
An agent-based simulation of corona and other viruses in python
Stars: ✭ 261 (-1.14%)
Mutual labels:  simulation
ftrace
trace local function calls like strace and ltrace
Stars: ✭ 60 (-77.27%)
Mutual labels:  elf
lewis
Let's write intricate simulators!
Stars: ✭ 17 (-93.56%)
Mutual labels:  simulation
multiphysics
Interactive Multiphysics Simulation for Everyone
Stars: ✭ 41 (-84.47%)
Mutual labels:  simulation
orkid
Orkid Media Engine (C++/Lua/Python3/Linux/MacOs/OpenVR/Qt5)
Stars: ✭ 20 (-92.42%)
Mutual labels:  simulation
mutator
mutator is an experimental suite of tools aimed at analysis and automation of C/C++ code development
Stars: ✭ 62 (-76.52%)
Mutual labels:  elf
Growthnodes
A Blender plugin for generative content creation and simulation of organic growth processes on polygonal surfaces.
Stars: ✭ 257 (-2.65%)
Mutual labels:  simulation
rpl-attacks
RPL attacks framework for simulating WSN with a malicious mote based on Contiki
Stars: ✭ 56 (-78.79%)
Mutual labels:  simulation
Adroit
ShadowHand / ADROIT MuJoCo models
Stars: ✭ 30 (-88.64%)
Mutual labels:  simulation
ros-docker-images
🐳 Bring ROS to any Linux distributions.
Stars: ✭ 15 (-94.32%)
Mutual labels:  simulation
simplu3D
A library to generate buildings from local urban regulations.
Stars: ✭ 18 (-93.18%)
Mutual labels:  simulation

ExAndroidNativeEmu

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

Difference between 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...
  • Support ELF DT_INIT call
  • 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

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.

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

If you have trouble getting the keystone-engine dependency on Windows (as I did):

  1. Clone their repository
  2. Open a terminal in bindings/python
  3. Run python setup.py install (Make sure you are using python 3.7)
  4. Download their Windows - Core engine package here for your python arch.
  5. Put the keystone.dll in C:\location_to_python\Lib\site-packages\keystone\.

Dependencies

Text sources

Code sources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].