Package ghidra.pcode.exec
Class PcodeFrame.MyAppender
- Enclosing class:
PcodeFrame
-
Field Summary
Fields inherited from class ghidra.app.util.pcode.AbstractAppender
indent, language
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
appendLineLabel
(long label) protected void
appendString
(String string) Append a plain string.protected void
endLine()
finish()
protected String
stringifyUseropUnchecked
(Language language, int id) Lookup a given userop nameMethods inherited from class ghidra.app.util.pcode.AbstractAppender
appendAddressWordOffcut, appendCharacter, appendLabel, appendLineLabelRef, appendMnemonic, appendRawVarnode, appendRegister, appendScalar, appendSpace, appendUnique, appendUserop, getLanguage, stringifyLineLabel, stringifyOpMnemonic, stringifyRawVarnode, stringifyRegister, stringifyScalarValue, stringifySpace, stringifyUnique, stringifyUserop, stringifyWordOffcut
-
Field Details
-
buf
-
isLineLabel
protected boolean isLineLabel -
i
protected int i
-
-
Constructor Details
-
MyAppender
-
-
Method Details
-
appendString
Description copied from class:AbstractAppender
Append 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:
appendString
in classAbstractAppender<String>
- Parameters:
string
- the string to append
-
appendLineLabel
public void appendLineLabel(long label) -
appendIndent
public void appendIndent()- Overrides:
appendIndent
in classAbstractAppender<String>
-
endLine
protected void endLine() -
stringifyUseropUnchecked
Description copied from class:AbstractAppender
Lookup a given userop name- Overrides:
stringifyUseropUnchecked
in classAbstractAppender<String>
- Parameters:
language
- the language containing the useropid
- the userop id- Returns:
- the display string, i.e., its name, or null if it doesn't exist
-
finish
-