Class GnuVernaux

java.lang.Object
ghidra.app.util.bin.format.elf.GnuVernaux
All Implemented Interfaces:
StructConverter

public class GnuVernaux extends 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 Details

    • 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, 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 interface StructConverter
      Returns:
      returns a structure datatype representing the implementor of this interface
      Throws:
      DuplicateNameException - when a datatype of the same name already exists
      IOException
      See Also: