Class CliSigLocalVar
- java.lang.Object
-
- ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
-
- ghidra.app.util.bin.format.pe.cli.blobs.CliAbstractSig
-
- ghidra.app.util.bin.format.pe.cli.blobs.CliSigLocalVar
-
- All Implemented Interfaces:
CliRepresentable,StructConverter
public class CliSigLocalVar extends CliAbstractSig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliAbstractSig
CliAbstractSig.CliArrayShape, CliAbstractSig.CliConstraint, CliAbstractSig.CliCustomAttrib, CliAbstractSig.CliCustomMod, CliAbstractSig.CliElem, CliAbstractSig.CliElementType, CliAbstractSig.CliFixedArg, CliAbstractSig.CliNamedArg, CliAbstractSig.CliParam, CliAbstractSig.CliRetType, CliAbstractSig.CliSigType, CliAbstractSig.CliTypeArray, CliAbstractSig.CliTypeBase, CliAbstractSig.CliTypeClass, CliAbstractSig.CliTypeCodeDataType, CliAbstractSig.CliTypeFnPtr, CliAbstractSig.CliTypeGenericInst, CliAbstractSig.CliTypePrimitive, CliAbstractSig.CliTypePtr, CliAbstractSig.CliTypeSzArray, CliAbstractSig.CliTypeValueType, CliAbstractSig.CliTypeVarOrMvar
-
-
Field Summary
Fields Modifier and Type Field Description static intidentifier-
Fields inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliAbstractSig
PATH
-
Fields inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
blobOffset, contentsOffset, contentsSize
-
-
Constructor Summary
Constructors Constructor Description CliSigLocalVar(CliBlob blob)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentsComment()Gets the comment associated with this blob's contents.DataTypegetContentsDataType()Gets the data type associated with this blob's contents.java.lang.StringgetContentsName()Gets the name associated with this blob's contents.java.lang.StringgetRepresentationCommon(CliStreamMetadata stream, boolean isShort)This is the method that subclasses should override.static booleanisLocalVarSig(CliBlob blob)Checks whether this could *possibly* be a LocalVarSig.-
Methods inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliAbstractSig
convertTypeCodeToDataType, getRepresentation, getRepresentation, getRepresentationOf, getShortRepresentation, getShortRepresentation, readCliType
-
Methods inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
decodeCompressedSigned, decodeCompressedSigned, decodeCompressedSigned, decodeCompressedSignedInt, decodeCompressedUnsigned, decodeCompressedUnsigned, decodeCompressedUnsigned, decodeCompressedUnsignedInt, getContents, getContentsReader, getContentsSize, getDataTypeForBytes, getName, getSize, getSizeDataType, getStreamIndex, isLittleEndian, testSizeDecoding, toDataType
-
-
-
-
Field Detail
-
identifier
public static final int identifier
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CliSigLocalVar
public CliSigLocalVar(CliBlob blob) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
isLocalVarSig
public static boolean isLocalVarSig(CliBlob blob) throws java.io.IOException
Checks whether this could *possibly* be a LocalVarSig. Only looks at the identifier byte. Useful for signature index that could be to different kinds of signatures.- Parameters:
reader-- Returns:
- Throws:
java.io.IOException
-
getContentsName
public java.lang.String getContentsName()
Description copied from class:CliBlobGets the name associated with this blob's contents.- Specified by:
getContentsNamein classCliAbstractSig- Returns:
- The name associated with this blob's contents.
-
getContentsComment
public java.lang.String getContentsComment()
Description copied from class:CliBlobGets the comment associated with this blob's contents.- Specified by:
getContentsCommentin classCliAbstractSig- Returns:
- The comment associated with this blob's contents.
-
getContentsDataType
public DataType getContentsDataType()
Description copied from class:CliBlobGets the data type associated with this blob's contents.- Specified by:
getContentsDataTypein classCliAbstractSig- Returns:
- The data type associated with this blob's contents.
-
getRepresentationCommon
public java.lang.String getRepresentationCommon(CliStreamMetadata stream, boolean isShort)
Description copied from class:CliAbstractSigThis is the method that subclasses should override. If stream is null, the method must not cause a NullPointerException, i.e. it must handle this as if there was no stream to begin with.- Specified by:
getRepresentationCommonin classCliAbstractSig
-
-