Interactive shell of assembly language(X86/X64) based on unicorn and rasm2
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
imgs
8086.go
LICENSE
basic_machine.go
color_print.go
const.go
main.go
readme.md
util.go
x64.go
x86.go

readme.md

Overview

ASM shell based on unicorn

Currently only support x86 and x64 arch,

Because rasm2 only support 32/64 bits opcode to machine code conversion

Releases

https://github.com/cch123/asm-cli/releases

Snapshots

X64 mode : x64

X86 mode : x86

Dependency

  1. rasm2 in radare2
  2. unicorn-engine/unicorn
  3. golang (https://golang.org/doc/install)
  4. that's all!

Build From Source

  1. install radare2
  2. install unicorn (https://github.com/unicorn-engine/unicorn)
  3. install golang (https://golang.org/doc/install)
  4. build this project

Build

  1. go get -u github.com/c-bata/go-prompt
  2. go get -u github.com/unicorn-engine/unicorn/bindings/go/unicorn
  3. cd $GOROOT/
  4. go build *.go

Run

./8086 -a x86 #32bit mode

./8086 -a x64 #64bit mode (default, even on x86)