Class PcodeEmitObjects
java.lang.Object
ghidra.app.plugin.processors.sleigh.PcodeEmit
ghidra.app.plugin.processors.sleigh.PcodeEmitObjects
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPcodeEmitObjects
(ParserWalker walk) Pcode emitter constructor for producing PcodeOp objects for unimplemented, snippets or empty responses whenPcodeEmit.getFallOffset()
will not be used.PcodeEmitObjects
(ParserWalker walk, int fallOffset) Pcode emitter constructor for producing PcodeOp objects for unimplemented, snippets or empty responses.PcodeEmitObjects
(ParserWalker walk, InstructionContext ictx, int fallOffset, PcodeOverride override) -
Method Summary
Modifier and TypeMethodDescriptionPcodeOp[]
void
Now that we have seen all label templates and references convert the collected references into full relative addressesMethods inherited from class ghidra.app.plugin.processors.sleigh.PcodeEmit
build, getFallOffset, getStartAddress, getWalker
-
Constructor Details
-
PcodeEmitObjects
Pcode emitter constructor for producing PcodeOp objects for unimplemented, snippets or empty responses whenPcodeEmit.getFallOffset()
will not be used.- Parameters:
walk
- state of the ParserContext from which to generate p-code
-
PcodeEmitObjects
Pcode emitter constructor for producing PcodeOp objects for unimplemented, snippets or empty responses.- Parameters:
walk
- state of the ParserContext from which to generate p-codefallOffset
- default fall-through offset (i.e., the full length of instruction including delay-sloted instructions)
-
PcodeEmitObjects
public PcodeEmitObjects(ParserWalker walk, InstructionContext ictx, int fallOffset, PcodeOverride override) - Parameters:
walk
- state of the ParserContext from which to generate p-codeictx
- is the InstructionContext used to resolve delayslot and crossbuild directivesfallOffset
- default instruction fall offset (i.e., instruction length including delay slotted instructions)override
- required if pcode overrides are to be utilized
-
-
Method Details
-
getPcodeOp
-
resolveRelatives
public void resolveRelatives()Description copied from class:PcodeEmit
Now that we have seen all label templates and references convert the collected references into full relative addresses- Specified by:
resolveRelatives
in classPcodeEmit
-