Class GnuVerneed

  • All Implemented Interfaces:
    StructConverter

    public class GnuVerneed
    extends java.lang.Object
    implements StructConverter
    Version dependency section.
     typedef struct {
       Elf32_Half   vn_version;             //Version of structure
       Elf32_Half   vn_cnt;                 //Number of associated aux entries
       Elf32_Word   vn_file;                //Offset of filename for this dependency
       Elf32_Word   vn_aux;                 //Offset in bytes to vernaux array
       Elf32_Word   vn_next;                //Offset in bytes to next verneed entry
     } Elf32_Verneed;
     
     typedef struct {
       Elf64_Half   vn_version;             //Version of structure
       Elf64_Half   vn_cnt;                 //Number of associated aux entries
       Elf64_Word   vn_file;                //Offset of filename for this dependency
       Elf64_Word   vn_aux;                 //Offset in bytes to vernaux array
       Elf64_Word   vn_next;                //Offset in bytes to next verneed entry
     } Elf64_Verneed;
     
     
    • Method Detail

      • getVersion

        public short getVersion()
      • getCnt

        public short getCnt()
      • getFile

        public int getFile()
      • getAux

        public int getAux()
      • 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 interface StructConverter
        Returns:
        returns a structure datatype representing the implementor of this interface
        Throws:
        DuplicateNameException - when a datatype of the same name already exists
        java.io.IOException
        See Also:
        StructConverter.toDataType()