Skip to content

j0nathanj/Homemade-Decompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homemade-Decompiler

Authors: Jonathan Jacobi && Shahaf Cohen Tarica

We wrote a decompiler in Python as our final project for our degree, and this is the result!

This is not perfect, there is still a long way until this becomes anywhere near HexRays' decompiler level ... yet we're pretty happy with what we made :)

Requirements

  • This is aimed to be used on x86_64 ELF binaries.
  • Python2.7 installed.
  • pwntools

Usage

python2.7 ./src/decompiler.py [-h] [--output OUTPUT_FILE] input_file input_function

TODOs

  • Add better support for functions with return value.
  • Add support for pointers / dereferences.
  • Add variable declerations for local variables.
  • More... :)

About

An x86_64 Linux decompiler written in Python!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages