wargio/r2dec-js

arm64 crash

Closed this issue · 1 comments

Describe the bug
Before opening a bug report run r2pm install r2dec and verify it crashes also on the latest version.
A clear and concise description of what the bug is (if known).

Component

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

Reproduce via JSON (pddi)

b.json.zip

$ r2 -s 0x10036485c -c 'af;pdd' Signal
Exception: bigint are forbidden in JSON.stringify (TypeError)
    at stringify (native)
    at default (../js/libdec/core/classes.js:9)
    at _session (../js/libdec/core.js:152)
    at decompile_offset (../js/r2dec-plugin.js:30)
    at main (../js/r2dec-plugin.js:88)
    at <anonymous> (../js/r2dec-plugin.js:109)

r2dec has crashed (info: Signal @ 0x10036482c).
Please report the bug at https://github.com/wargio/r2dec-js/issues
Use the command 'pddi' to generate the needed data for the issue.
[0x10036485c]>

I've observed several issues while trying to investigate the bug:

  • backtrace lines does not match source
  • cant load the pddi json (i cant even find any documentation about it)
  • the r2dec-standalone.c is not compiled

can't repro now