kriw / radeco

radare decompiler tool based on radeco-lib

Home Page:http://www.radare.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

radeco

Radeco is the radare decompiler tool using the radeco-lib rust crate.

Build Status

Usage

$ echo '#include<stdio.h>\nint main() {printf("Hello, world.\\n"); return 0;}' | gcc -xc -
$ cargo run
>> load a.out
Cannot find function here
[*] Fixing Callee Information
>> fn_list
sym._init
sym.imp.puts
entry0
sym.deregister_tm_clones
sym.register_tm_clones
sym.__do_global_dtors_aux
entry1.init
sym.main
sym.__libc_csu_init
sym.__libc_csu_fini
sym._fini
>> analyze sym.main
[+] Analyzing: sym.main @ 0x1139
  [*] Eliminating Dead Code
  [*] Propagating Constants
  [*] Eliminating More DeadCode
  [*] Eliminating Common SubExpressions
  [*] Verifying SSA's Validity
>> decompile sym.main
fn sym.main () {
    unsigned int tmp;
    *((rsp - 8)) = rbp
    tmp = sym.imp.puts("Hello, world.", rsi, rdx, rcx, r8, r9)
}
>>

Installation

make install

License

Licensed under The BSD 3-Clause License. Please check COPYING file for complete license.

About

radare decompiler tool based on radeco-lib

http://www.radare.org/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Rust 73.2%Language:C 20.9%Language:Makefile 3.9%Language:Shell 2.0%