Skip to content

Ghidra is a software reverse engineering (SRE) framework

Merge remote-tracking branch 'origin/patch'

Ryan Kurtz7554d16eedcb
diff --cc Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/SleighInstructionPrototype.java
index 9ab31edf14,de2d3bc94a..041197414a
--- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/SleighInstructionPrototype.java
+++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/SleighInstructionPrototype.java
@@@ -189,9 -187,10 +185,10 @@@ public class SleighInstructionPrototyp
}
/**
- * Walk the pcode templates in the order they would be emitted.
- * Collect flowFlags FlowRecords
+ * Walk the pcode templates in the order they would be emitted. Collect flowFlags FlowRecords
+ *
* @param walker the pcode template walker
+ * @return a summary of the flow information
*/
public static FlowSummary walkTemplates(OpTplWalker walker) {
FlowSummary res = new FlowSummary();
@@@ -1458,13 -1465,11 +1460,13 @@@
}
/**
- * Reconstruct the ParserContext's internal packed context array and its list of global
- * Reconstruct the ParserContext's internal packed context array and its list of global ContextSet directives
- * by walking a previously resolved ConstructState tree
- * @param protoContext is the SleighParserContext containing the tree and holding the context results
++ * Reconstruct the ParserContext's internal packed context array and its list of global
+ * ContextSet directives by walking a previously resolved ConstructState tree
+ *
+ * @param protoContext is the SleighParserContext containing the tree and holding the context
- * results
- * @param debug
- * @throws MemoryAccessException
++ * results
+ * @param debug (optional) logger for collecting information about the recovered context
+ * @throws MemoryAccessException if memory errors occur trying to recover context
*/
private void reconstructContext(SleighParserContext protoContext, SleighDebugLogger debug)
throws MemoryAccessException {