Class CliAbstractSig
java.lang.Object
ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
ghidra.app.util.bin.format.pe.cli.blobs.CliAbstractSig
- All Implemented Interfaces:
CliRepresentable,StructConverter
- Direct Known Subclasses:
CliSigAssembly,CliSigAssemblyRef,CliSigConstant,CliSigField,CliSigLocalVar,CliSigMethodDef,CliSigMethodRef,CliSigMethodSpec,CliSigProperty,CliSigStandAloneMethod,CliSigTypeSpec
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic classstatic classstatic classstatic enumclassclassclassclassclassclassstatic classclassclassclassclassclassclassclass -
Field Summary
FieldsFields inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
blobOffset, contentsOffset, contentsSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataTypeabstract StringGets the comment associated with this blob's contents.abstract DataTypeGets the data type associated with this blob's contents.abstract StringGets the name associated with this blob's contents.final StringGets the string representation of this blob.final StringgetRepresentation(CliStreamMetadata stream) protected abstract StringgetRepresentationCommon(CliStreamMetadata stream, boolean isShort) This is the method that subclasses should override.protected StringgetRepresentationOf(CliRepresentable obj, CliStreamMetadata stream, boolean isShort) final Stringfinal StringreadCliType(BinaryReader reader) 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, toDataType
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
CliAbstractSig
-
-
Method Details
-
getContentsDataType
Description copied from class:CliBlobGets the data type associated with this blob's contents.- Overrides:
getContentsDataTypein classCliBlob- Returns:
- The data type associated with this blob's contents.
-
getContentsName
Description copied from class:CliBlobGets the name associated with this blob's contents.- Overrides:
getContentsNamein classCliBlob- Returns:
- The name associated with this blob's contents.
-
getContentsComment
Description copied from class:CliBlobGets the comment associated with this blob's contents.- Overrides:
getContentsCommentin classCliBlob- Returns:
- The comment associated with this blob's contents.
-
getRepresentationCommon
This 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. -
getRepresentation
Description copied from class:CliBlobGets the string representation of this blob.- Specified by:
getRepresentationin interfaceCliRepresentable- Overrides:
getRepresentationin classCliBlob- Returns:
- The string representation of this blob.
-
getShortRepresentation
- Specified by:
getShortRepresentationin interfaceCliRepresentable
-
getRepresentation
- Specified by:
getRepresentationin interfaceCliRepresentable
-
getShortRepresentation
- Specified by:
getShortRepresentationin interfaceCliRepresentable
-
getRepresentationOf
protected String getRepresentationOf(CliRepresentable obj, CliStreamMetadata stream, boolean isShort) -
convertTypeCodeToDataType
-
readCliType
public CliAbstractSig.CliSigType readCliType(BinaryReader reader) throws IOException, InvalidInputException - Throws:
IOExceptionInvalidInputException
-