Skip to content

Releases: elicn/r2dec-js

PoC ready RC1

20 Nov 13:54
Compare
Choose a tag to compare
PoC ready RC1 Pre-release
Pre-release

First useable r2dec core2 version

This version features:

  • Architectures
    • x86 (both 32 and 64 bits)
  • Data flow analysis
    • Function arguments and local variables
    • Symbols and flags
    • Function call arguments
  • Optimizations
    • Common subexpression elimination
    • Dead code elimination
    • Constant folding
  • Control flow analysis
    • Conditional branches
    • Converged conditions
    • Loops (basic support)
  • Friendly output
    • C syntax highlighted based on r2 theme
    • Configurable scope guidelines
    • Configurable tab size
    • Configurable opening curly braces position (on the same or new line)

Known issues:

  • Datatypes are not supported yet
    • No castnig
    • Local buffers may be shown with a redundant "address of" (&) operator
    • Weird bitmasks may appear out of nowhere
  • Calling conventions of imported library functions are not recognized
    • May crash on lib function calls
  • Loops support is still fuzzy
    • May crash on nested loops
    • May show orphan goto statements