Package ghidra.pcode.exec
Class PcodeProgram.MyAppender
- Enclosing class:
- PcodeProgram
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final StringBufferprotected final booleanprotected intprotected final PcodeProgramFields inherited from class ghidra.app.util.pcode.AbstractAppenderindent, language
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddefault voidappendLineLabel(long label) Append a line label, usually meant to be on its own lineprotected voidappendString(String string) Append a plain string.protected voidendLine()finish()protected StringstringifyUseropUnchecked(Language language, int id) Lookup a given userop nameMethods inherited from class ghidra.app.util.pcode.AbstractAppenderappendAddressWordOffcut, appendCharacter, appendLabel, appendLineLabelRef, appendMnemonic, appendRawVarnode, appendRegister, appendScalar, appendSpace, appendUnique, appendUserop, getLanguage, stringifyLineLabel, stringifyOpMnemonic, stringifyRawVarnode, stringifyRegister, stringifyScalarValue, stringifySpace, stringifyUnique, stringifyUserop, stringifyWordOffcut
- 
Field Details- 
opIdxprotected int opIdx
- 
program
- 
numberOpsprotected final boolean numberOps
- 
buf
 
- 
- 
Constructor Details- 
MyAppender
 
- 
- 
Method Details- 
appendStringDescription copied from class:AbstractAppenderAppend a plain string.By default, all append method delegate to this, so either it must be implemented, or every other append method must be overridden to avoid ever invoking this method. The default implementation throws an assertion error. - Overrides:
- appendStringin class- AbstractAppender<String>
- Parameters:
- string- the string to append
 
- 
endLineprotected void endLine()
- 
stringifyUseropUncheckedDescription copied from class:AbstractAppenderLookup a given userop name- Overrides:
- stringifyUseropUncheckedin class- AbstractAppender<String>
- Parameters:
- language- the language containing the userop
- id- the userop id
- Returns:
- the display string, i.e., its name, or null if it doesn't exist
 
- 
finish
- 
appendIndentpublic void appendIndent()- Overrides:
- appendIndentin class- AbstractAppender<String>
 
- 
appendLineLabeldefault void appendLineLabel(long label) Append a line label, usually meant to be on its own line- Parameters:
- label- the label number
 
 
-