How to modify the pcode basic blocks and CFG of a binary file and re-decompile them? #5135
Unanswered
wanchouchou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am dealing with an obfuscated ARM binary file with GHIDRA. I have found out the obfuscation patterns, so I want to modified the pcode basic blocks to remove some useless pcodes and re-construct the CFG by writing a GHIDRA script. Finally, I also want to invoke the decompiler to generate C code upon these modified pcode basic blocks, but I failed.
I wondered whether I could modify the pcode basic blocks and it's CFG?Is it possible to invoke the decompiler to generate C code upon these modified pcode basic blocks and CFG?
If the answer is yes, please tell me how to implement it. Thanks in advance for your time.
Beta Was this translation helpful? Give feedback.
All reactions