Package ghidra.app.util.bin.format.elf
Class GnuVernaux
- java.lang.Object
-
- ghidra.app.util.bin.format.elf.GnuVernaux
-
- All Implemented Interfaces:
StructConverter
public class GnuVernaux extends java.lang.Object implements StructConverter
Auxiliary needed version information.typedef struct { Elf32_Word vna_hash; //Hash value of dependency name Elf32_Half vna_flags; //Dependency specific information Elf32_Half vna_other; //Unused Elf32_Word vna_name; //Dependency name string offset Elf32_Word vna_next; //Offset in bytes to next vernaux entry } Elf32_Vernaux; typedef struct { Elf64_Word vna_hash; //Hash value of dependency name Elf64_Half vna_flags; //Dependency specific information Elf64_Half vna_other; //Unused Elf64_Word vna_name; //Dependency name string offset Elf64_Word vna_next; //Offset in bytes to next vernaux entry } Elf64_Vernaux;
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getFlags()
int
getHash()
int
getName()
int
getNext()
short
getOther()
DataType
toDataType()
Returns a structure datatype representing the contents of the implementor of this interface.
-
-
-
Method Detail
-
getHash
public int getHash()
-
getFlags
public short getFlags()
-
getOther
public short getOther()
-
getName
public int getName()
-
getNext
public int getNext()
-
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.IOException
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 existsjava.io.IOException
- See Also:
StructConverter.toDataType()
-
-