Code Monkey home page Code Monkey logo

juniemu's Introduction

Overview

JuniEmu is an emulator interface designed for ARM 32-bit.

JuniEmu is using Unicorn framework for emulation, Capstone disassembly framework and Python's standard GUI package - Tkinter.

The goal of the project was to visually emulate (single step, breakpoint, memory view\edit) raw ARM binaries (bootloaders, embedded firmware, standalone functions, etc).

Features

  • Single steeping and breakpoint support
  • Memory view and edit
  • Registers view and edit
  • Instruction highlighting

Commandline cmd

help - print help

d <addr> - dump memory to current view windows e.g. d 0x1030

u <addr> - unassemble address or register e.g. u pc, u 0x1030, u 0x1031 (disasm 0x1030 in Thumb mode)

bp <addr> - set breakpoint

bc <addr> - clear breakpoint

bl - list breakpoints

r <register> <value> - change register value e.g. r r0 0x101

rr - print registers

? - calc expression

dump <addr> <range> "PATH" - dump memory range to a file e.g. dump 0x1030 100 "/Users/bob/Desktop/dump.bin"

Question

  • How to change program counter register to e.g. 0x1030 (ARM mode) ?

r pc 0x1030

  • How to change program counter to e.g. 0x1030 (Thumb mode) ?

To switch into thumb mode provide unaligned address (add +1 to the destination address)

r pc 0x1031

Issues

  • Not tested with Python 3
  • Not fully tested on Windows, MacOS
  • Input server will freeze the UI until until receiving bytes from the client

Dependencies (Python bindings)

juniemu's People

Contributors

arkup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

juniemu's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.