Class DyldCacheLocalSymbolsEntry
java.lang.Object
ghidra.app.util.bin.format.macho.dyld.DyldCacheLocalSymbolsEntry
- All Implemented Interfaces:
StructConverter
Represents a dyld_cache_local_symbols_entry structure.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDyldCacheLocalSymbolsEntry
(BinaryReader reader, boolean use64bitOffsets) Create a newDyldCacheLocalSymbolsEntry
. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns The dylib offset.int
Returns The nlist count.int
Returns The nlist start index.Returns a structure datatype representing the contents of the implementor of this interface.
-
Constructor Details
-
DyldCacheLocalSymbolsEntry
Create a newDyldCacheLocalSymbolsEntry
.- Parameters:
reader
- ABinaryReader
positioned at the start of a DYLD local symbols entryuse64bitOffsets
- True if the DYLD local symbol entries use 64-bit dylib offsets; false if they use 32-bit- Throws:
IOException
- if there was an IO-related problem creating the DYLD local symbols entry
-
-
Method Details
-
getDylibOffset
public long getDylibOffset()Returns The dylib offset.- Returns:
- The dylib offset
-
getNListStartIndex
public int getNListStartIndex()Returns The nlist start index.- Returns:
- The nlist start index
-
getNListCount
public int getNListCount()Returns The nlist count.- Returns:
- The nlist count
-
toDataType
Description copied from interface:StructConverter
Returns 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.
- Specified by:
toDataType
in interfaceStructConverter
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsIOException
- if an IO-related error occurs- See Also:
-