Need help with Pcode BlockMap, BlockIfElse, BlockGraph #4314
Replies: 3 comments 6 replies
-
@anzosasuke Up until recently, this place I would have recommended you look was the GraphASTAndFlowScript, which built combined data- and control-flow graphs. This functionality was recently re-factored into the PCodeCfgGraphTask and PCodeDfgGraphTasks in Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decomple/actions. |
Beta Was this translation helpful? Give feedback.
-
@anzosasuke It's possible that the method |
Beta Was this translation helpful? Give feedback.
-
Regarding your email question about creating a Jung graph, you should be able to create a |
Beta Was this translation helpful? Give feedback.
-
I am trying to use pcodes to detect the if/else loop in the program. I came across the BlockIfElse in ghidra. It seems it needs blockgraph and blockmap, but i am having trouble with finding the way to make a blockgraph and blockmap. I have made a basicblock of pcode using highfunction in decompilerutils. I am trying to figure out how to proceed further. Could someone help me with this please? That would be great!
snippet of pcodebasicblock:
Beta Was this translation helpful? Give feedback.
All reactions