Skip to content
/ unidbg Public
forked from zhkl0228/unidbg

Allows you to emulate an Android ARM32 and/or ARM64 native library, and an experimental iOS ARM emulation

License

Notifications You must be signed in to change notification settings

Lv9S/unidbg

 
 

Repository files navigation

unidbg

Allows you to emulate an Android ARM32 and/or ARM64 native library, and an experimental iOS ARM32 emulation.

This is an educational project to learn more about the ELF file format and ARM assembly.

License

Usage

VM options: -Djava.library.path=prebuilt/os -Djna.library.path=prebuilt/os
Where os may: linux64, win32, win64, osx64

Simple tests under src/test directory





More tests

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, gdb stub, instruction trace, memory read/write trace.

TODO

  • Working iOS emulation.
  • Add more iOS syscall.

Thanks

About

Allows you to emulate an Android ARM32 and/or ARM64 native library, and an experimental iOS ARM emulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.6%
  • Other 1.4%