Class DynamicLibrary

java.lang.Object
ghidra.app.util.bin.format.macho.commands.DynamicLibrary
All Implemented Interfaces:
StructConverter

public class DynamicLibrary extends Object implements StructConverter
Represents a dylib structure.
See Also:
  • Constructor Details

  • Method Details

    • getName

      public LoadCommandString getName()
    • getTimestamp

      public int getTimestamp()
    • getCurrentVersion

      public int getCurrentVersion()
    • getCompatibilityVersion

      public int getCompatibilityVersion()
    • 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:
    • toString

      public String toString()
      Overrides:
      toString in class Object