Package ghidra.app.util.bin.format.pef
Class ImportedSymbol
java.lang.Object
ghidra.app.util.bin.format.pef.ImportedSymbol
- All Implemented Interfaces:
- StructConverter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intWeak symbol maskstatic final int
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Returns the symbol's name.Returns the symbol's class.intThe offset (in bytes) from the beginning of the loader string table to the null-terminated name of the symbol.booleanisWeak()The imported symbol does not have to be present at fragment preparation time in order for execution to continue.Returns a structure datatype representing the contents of the implementor of this interface.toString()
- 
Field Details- 
SIZEOFpublic static final int SIZEOF- See Also:
 
- 
kPEFWeakImportSymMaskpublic static final int kPEFWeakImportSymMaskWeak symbol mask- See Also:
 
 
- 
- 
Method Details- 
getNameReturns the symbol's name.- Returns:
- the symbol's name
 
- 
getSymbolClassReturns the symbol's class.- Returns:
- the symbol's class
 
- 
isWeakpublic boolean isWeak()The imported symbol does not have to be present at fragment preparation time in order for execution to continue.- Returns:
- if the symbol is weak
 
- 
getSymbolNameOffsetpublic int getSymbolNameOffset()The offset (in bytes) from the beginning of the loader string table to the null-terminated name of the symbol.- Returns:
- offset to the null-terminated name of the symbol
 
- 
toDataTypeDescription copied from interface:StructConverterReturns a structure datatype representing the contents of the implementor of this interface.For example, given: class A { int foo; double bar; }The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments. - Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
- DuplicateNameException- when a datatype of the same name already exists
- IOException- if an IO-related error occurs
- See Also:
 
- 
toString
 
-