All Projects → liuzhengyang → Hsdis

liuzhengyang / Hsdis

hotspot disassembler hsdis

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Hsdis

Dithumb
Minimal ARM/Thumb linear sweep disassembler similar to objdump
Stars: ✭ 5 (-95.15%)
Mutual labels:  disassembler
Peasauce
Peasauce Interactive Disassembler
Stars: ✭ 33 (-67.96%)
Mutual labels:  disassembler
Univdisasm
x86 Disassembler and Analyzer
Stars: ✭ 74 (-28.16%)
Mutual labels:  disassembler
Ret Sync
ret-sync is a set of plugins that helps to synchronize a debugging session (WinDbg/GDB/LLDB/OllyDbg2/x64dbg) with IDA/Ghidra/Binary Ninja disassemblers.
Stars: ✭ 896 (+769.9%)
Mutual labels:  disassembler
Reko
Reko is a binary decompiler.
Stars: ✭ 942 (+814.56%)
Mutual labels:  disassembler
Redasm
The OpenSource Disassembler
Stars: ✭ 1,042 (+911.65%)
Mutual labels:  disassembler
Vdexextractor
Tool to decompile & extract Android Dex bytecode from Vdex files
Stars: ✭ 691 (+570.87%)
Mutual labels:  disassembler
Panopticon
A libre cross-platform disassembler.
Stars: ✭ 1,376 (+1235.92%)
Mutual labels:  disassembler
Medusa
An open source interactive disassembler
Stars: ✭ 946 (+818.45%)
Mutual labels:  disassembler
Skoolkit
A suite of tools for creating disassemblies of ZX Spectrum games.
Stars: ✭ 70 (-32.04%)
Mutual labels:  disassembler
Chiasm Shell
Python-based interactive assembler/disassembler CLI, powered by Keystone/Capstone.
Stars: ✭ 24 (-76.7%)
Mutual labels:  disassembler
Befa Library
High-level library for executable binary file analysis
Stars: ✭ 12 (-88.35%)
Mutual labels:  disassembler
Iced
Blazing fast and correct x86/x64 disassembler, assembler, decoder, encoder for .NET, Rust, Python, JavaScript
Stars: ✭ 1,102 (+969.9%)
Mutual labels:  disassembler
Distorm
Powerful Disassembler Library For x86/AMD64
Stars: ✭ 829 (+704.85%)
Mutual labels:  disassembler
Corewar
School 42 project // Implementation of programming game “Core War” [Champions + Assembler + Disassembler + Virtual Machine + Visualizer]
Stars: ✭ 76 (-26.21%)
Mutual labels:  disassembler
Ghidra
Ghidra is a software reverse engineering (SRE) framework
Stars: ✭ 30,371 (+29386.41%)
Mutual labels:  disassembler
Pince
A reverse engineering tool that'll supply the place of Cheat Engine for linux
Stars: ✭ 987 (+858.25%)
Mutual labels:  disassembler
Bap
Binary Analysis Platform
Stars: ✭ 1,385 (+1244.66%)
Mutual labels:  disassembler
Ida7.0
🏁IDA7.0 Freeware for Windows,Linux and Mac
Stars: ✭ 88 (-14.56%)
Mutual labels:  disassembler
Vidi
ViDi Visual Disassembler (experimental)
Stars: ✭ 67 (-34.95%)
Mutual labels:  disassembler

hsdis

Hotspot disassembler extracted from openjdk.

Precondition on linux

To build hsdis on linux you need to make sure you have the standard build tools

apt-get install build-essential

Usage

git clone https://github.com/liuzhengyang/hsdis
cd hsdis
tar -zxvf binutils-2.26.tar.gz
make BINUTILS=binutils-2.26 ARCH=amd64

And then copy hsdis build file to the target folder in JDK.

OSX

sudo cp build/macosx-amd64/hsdis-amd64.dylib /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/server/

Linux

sudo cp build/linux-amd64/hsdis-amd64.so /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/

After that, you could add -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly in the Java Run Param to see the program's assebmle code. One Example:

java -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly -Xcomp -XX:CompileCommand=compileonly,*VolatileTest.main com.io.lzy.VolatileTest

There is already a prebuild hsdis-amd64 for OSX 64 in build/macosx-amd64/macosx-amd64.dylib and for linux in build/linux-amd64/hsdis-amd64.so and was build for/with Unbuntu 16.04

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].