Class LongNamesMember
- java.lang.Object
 - 
- ghidra.app.util.bin.format.coff.archive.LongNamesMember
 
 
- 
- All Implemented Interfaces:
 StructConverter
public final class LongNamesMember extends java.lang.Object implements StructConverter
A string table that contains the full filenames of COFF archive members who's actual filenames can not fit in the fixed-length namefield.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.
 
- 
- 
Constructor Summary
Constructors Constructor Description LongNamesMember(BinaryReader reader, CoffArchiveMemberHeader header) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringfindName(ByteProvider provider, CoffArchiveMemberHeader archiveMemberHeader)longgetFileOffset()java.lang.StringgetStringAtOffset(ByteProvider provider, long offset)DataTypetoDataType()Returns a structure datatype representing the contents of the implementor of this interface. 
 - 
 
- 
- 
Constructor Detail
- 
LongNamesMember
public LongNamesMember(BinaryReader reader, CoffArchiveMemberHeader header) throws java.io.IOException
- Throws:
 java.io.IOException
 
 - 
 
- 
Method Detail
- 
getFileOffset
public long getFileOffset()
 
- 
getStringAtOffset
public java.lang.String getStringAtOffset(ByteProvider provider, long offset) throws java.io.IOException
- Throws:
 java.io.IOException
 
- 
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
 
- 
findName
public java.lang.String findName(ByteProvider provider, CoffArchiveMemberHeader archiveMemberHeader) throws java.io.IOException
- Throws:
 java.io.IOException
 
 - 
 
 -