pancake
pancake
I want to use pdg and quickly see where am I like pdgo + highlighted offset, but changing the bgcolor of the line associated with the current offset. **How to...
``` $ cat cc.c int calling(int a, int b, int c, int d, int e, int f) { return a + b + c + d +e +f; } main()...
[hello-arm.zip](https://github.com/radareorg/r2ghidra-dec/files/4086962/hello-arm.zip) ``` $ rizin -c 's main;af;pdg' a.out // WARNING: [r2ghidra] Matching calling convention arm32 of function main failed, args may be inaccurate. // WARNING: [r2ghidra] Matching calling convention arm32...
**Describe the issue** Decompiling objc code results in useless code because the strings are not resolved, ths screenshot shows it all **How to reproduce?** Get any objc binary from iOS...
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)
``` __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);...
The usage of the '*' suffix in r2 specifies that it will print the commands, not execute them. You can use a different modifier like `pdd**` to do this internally...
Ideally r2dec should output C-style code using the coding style of r2: * [x] } else { * [x] no empty lines * [x] Simplify pointers with no delta `*((int64_t*)...
* [ ] `__asm (bt ecx, eax);` * [x] `__asm (pxor xmm0, xmm0);` * [ ] `__asm (movdqu xmm0, xmmword [r14]);` * [ ] `__asm (movdqa xmmword [r13 + 0x110],...
i wrote a js file that parses the output of r2dec and performs the following substituions. we can use that as inspiration to improve the r2dec core. I have initially...