Class DyldCacheImageInfo
java.lang.Object
ghidra.app.util.bin.format.macho.dyld.DyldCacheImageInfo
- All Implemented Interfaces:
DyldCacheImage,StructConverter
Represents a dyld_cache_image_info structure.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the address the start of the imagegetPath()Gets the path of the imageReturns a structure datatype representing the contents of the implementor of this interface.
-
Constructor Details
-
DyldCacheImageInfo
Create a newDyldCacheImageInfo.- Parameters:
reader- ABinaryReaderpositioned at the start of a DYLD image info- Throws:
IOException- if there was an IO-related problem creating the DYLD image info
-
-
Method Details
-
getAddress
public long getAddress()Description copied from interface:DyldCacheImageGets the address the start of the image- Specified by:
getAddressin interfaceDyldCacheImage- Returns:
- The address of the start of the image
-
getPath
Description copied from interface:DyldCacheImageGets the path of the image- Specified by:
getPathin interfaceDyldCacheImage- Returns:
- The path of the image
-
toDataType
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 existsIOException- if an IO-related error occurs- See Also:
-