wargio/r2dec-js

r2dec has crashed when processing .exe

karliss opened this issue · 0 comments

Describe the bug'
Processing most functions in ninja windows executable causes r2dec to crash. Doesn't seem to be happening with other executables I tried.

r2dec version 70927b3
r2 version 4.5

Exception: TypeError: undefined not callable
    at [anon] (duk_js_call.c:1339) internal
    at [anon] (libdec/arch/x86.js:915)
    at [anon] (libdec/core.js:104)
    at decompile_offset (r2dec-duk.js:56)
    at r2dec_main (r2dec-duk.js:116)
    at eval (eval:1) preventsyield 

Executable downloaded from here.
ninja-win.zip

Component

  • core
  • arm
  • avr
  • m68k
  • mips
  • ppc
  • sparc
  • v850
  • wasm
  • x86-64

Reproduce via JSON (pddi)

r2dec-issue.txt