Class LongNamesMember
java.lang.Object
ghidra.app.util.bin.format.coff.archive.LongNamesMember
- All Implemented Interfaces:
StructConverter
A string table that contains the full filenames of COFF archive members who's actual
filenames can not fit in the fixed-length name
field
.
This string table is held in a special archive member named "//" and is usually one of the first members of the archive.
With MS libs, this will typically be the 3rd member in the archive, right after the first and second "/" special members.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindName
(ByteProvider provider, CoffArchiveMemberHeader archiveMemberHeader) long
getStringAtOffset
(ByteProvider provider, long offset) Returns a structure datatype representing the contents of the implementor of this interface.
-
Constructor Details
-
LongNamesMember
- Throws:
IOException
-
-
Method Details
-
getFileOffset
public long getFileOffset() -
getStringAtOffset
- Throws:
IOException
-
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:
-
findName
public String findName(ByteProvider provider, CoffArchiveMemberHeader archiveMemberHeader) throws IOException - Throws:
IOException
-