Class DyldCacheLocalSymbolsInfo
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.dyld.DyldCacheLocalSymbolsInfo
-
- All Implemented Interfaces:
StructConverter
public class DyldCacheLocalSymbolsInfo extends java.lang.Object implements StructConverter
Represents a dyld_cache_local_symbols_info structure.- See Also:
- dyld3/shared-cache/dyld_cache_format.h
-
-
Constructor Summary
Constructors Constructor Description DyldCacheLocalSymbolsInfo(BinaryReader reader, DyldArchitecture architecture)Create a newDyldCacheLocalSymbolsInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DyldCacheLocalSymbolsEntry>getLocalSymbols()Gets theListofDyldCacheLocalSymbolsEntrys.java.util.List<NList>getNList()Gets theListofNList.voidmarkup(Program program, Address localSymbolsInfoAddr, TaskMonitor monitor, MessageLog log)Marks up thisDyldCacheLocalSymbolsInfowith data structures and comments.voidparse(MessageLog log, TaskMonitor monitor)Parses the structures referenced by thisDyldCacheLocalSymbolsInfo.DataTypetoDataType()Returns a structure datatype representing the contents of the implementor of this interface.
-
-
-
Constructor Detail
-
DyldCacheLocalSymbolsInfo
public DyldCacheLocalSymbolsInfo(BinaryReader reader, DyldArchitecture architecture) throws java.io.IOException
Create a newDyldCacheLocalSymbolsInfo.- Parameters:
reader- ABinaryReaderpositioned at the start of a DYLD local symbols infoarchitecture- TheDyldArchitecture- Throws:
java.io.IOException- if there was an IO-related problem creating the DYLD local symbols info
-
-
Method Detail
-
parse
public void parse(MessageLog log, TaskMonitor monitor) throws CancelledException
Parses the structures referenced by thisDyldCacheLocalSymbolsInfo.- Parameters:
log- The logmonitor- A cancellable task monitor- Throws:
CancelledException- if the user cancelled the operation
-
markup
public void markup(Program program, Address localSymbolsInfoAddr, TaskMonitor monitor, MessageLog log) throws CancelledException
Marks up thisDyldCacheLocalSymbolsInfowith data structures and comments.- Parameters:
program- TheProgramto mark uplocalSymbolsInfoAddr- TheAddressof theDyldCacheLocalSymbolsInfomonitor- A cancellable task monitorlog- The log- Throws:
CancelledException- if the user cancelled the operation
-
getLocalSymbols
public java.util.List<DyldCacheLocalSymbolsEntry> getLocalSymbols()
Gets theListofDyldCacheLocalSymbolsEntrys.- Returns:
- The
ListofDyldCacheLocalSymbolsEntry
-
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.IOException
Description 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.
- Specified by:
toDataTypein interfaceStructConverter- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException- when a datatype of the same name already existsjava.io.IOException- See Also:
StructureDataType
-
-