wargio / r2dec-js

radare2 plugin - converts asm to pseudo-C code.
511 stars 48 forks source link

Add support for asm.arch=r2ghidra #233

Closed trufae closed 3 years ago

wargio commented 3 years ago

what is that arch? can you provide a description and a test ?

wargio commented 3 years ago

a pddi file should be enough

trufae commented 3 years ago

r2ghidra asm and anal plugins uses asm.cpu to define the architecture selected. The arch is taken from a different config var. you must install r2ghidra to test this. But i can confirm this works fine locally. Could be a bit painful to test in ci

wargio commented 3 years ago

r2ghidra asm and anal plugins uses asm.cpu to define the architecture selected. The arch is taken from a different config var. you must install r2ghidra to test this. But i can confirm this works fine locally. Could be a bit painful to test in ci

with pddi output i can test this

trufae commented 3 years ago

For an x86-64 hello world: a.json.zip

trufae commented 3 years ago

ping