r2dec-js icon indicating copy to clipboard operation
r2dec-js copied to clipboard

radare2 plugin - converts asm to pseudo-C code.

Results 51 r2dec-js issues
Sort by recently updated
recently updated
newest added

Is there any way to use r2dec-js more simple like terminal? I think it will be more usable to make it extensible to all sorts of tools.

It may be based on https://github.com/gereeter/hsdecomp

enhancement
arch

Example: ``` [0x00000000]> wx a142b1428113913760 [0x00000000]> af [0x00000000]> pdf ┌ 9: fcn.0 (int8_t arg_100h, int8_t arg_101h); │ 0x00000000 a142 lda (0x42,x) │ 0x00000002 b142 lda (0x42),y │ 0x00000004 8113 sta...

bug
arch

Following up on a current r2dec SH4 usecase... here you have a `pdda`: ``` ; assembly | /* r2dec pseudo code output */ | /* sh4.out @ 0x8009c20 */ |...

arch

r2 have flags with all those case labels, r2dec should display them and use them to render the correct `switch(){ case .. : } ` syntax instead of this [a.json.zip](https://github.com/wargio/r2dec-js/files/3195728/a.json.zip)

enhancement
controlflow

``` __asm (xorps xmm0, xmm0); __asm (movaps xmmword [local_40h], xmm0); __asm (movaps xmmword [local_50h], xmm0); __asm (movaps xmmword [local_60h], xmm0); __asm (movaps xmmword [local_70h], xmm0); __asm (movaps xmmword [local_80h], xmm0);...

enhancement
arch

In ioli0x00 ELF: ``` 0x0804841d mov eax, 0 | eax = 0; 0x08048422 add eax, 0xf | eax += 0xf; 0x08048425 add eax, 0xf | eax += 0xf; 0x08048428 shr...

enhancement
core

A partial list of such features: - Default function argument value - Keyword `let` - Keywords used for iterators: `yield`, `yield*`, `function*` - Arrow functions `=>` - Ellipsis arguments unpacking...

enhancement
core

To be able to reverse Gameboy ROM

enhancement
arch