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
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets 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
- ABinaryReader
positioned 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:DyldCacheImage
Gets the address the start of the image- Specified by:
getAddress
in interfaceDyldCacheImage
- Returns:
- The address of the start of the image
-
getPath
Description copied from interface:DyldCacheImage
Gets the path of the image- Specified by:
getPath
in interfaceDyldCacheImage
- Returns:
- The path of the image
-
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:
-