Class DyldCacheImageTextInfo
java.lang.Object
ghidra.app.util.bin.format.macho.dyld.DyldCacheImageTextInfo
- All Implemented Interfaces:
DyldCacheImage
,StructConverter
Represents a dyld_cache_image_text_info structure.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDyldCacheImageTextInfo
(BinaryReader reader) Create a newDyldCacheImageTextInfo
. -
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
-
DyldCacheImageTextInfo
Create a newDyldCacheImageTextInfo
.- Parameters:
reader
- ABinaryReader
positioned at the start of a DYLD image text info- Throws:
IOException
- if there was an IO-related problem creating the DYLD image text 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:
-