Interface ObjectFile

All Superinterfaces:
AutoCloseable, Closeable

public interface ObjectFile extends Closeable
A generic API to introspect object files in a format-agnostic manner.
  • Method Details

    • getSymbolValueAsByte

      int getSymbolValueAsByte(String name)
    • getSymbolValueAsInt

      int getSymbolValueAsInt(String name)
    • getSymbolValueAsLong

      long getSymbolValueAsLong(String name)
    • getSymbolAsBytes

      byte[] getSymbolAsBytes(String name, int size)
    • getSymbolValueAsUtfString

      String getSymbolValueAsUtfString(String name, int nbytes)
    • getSymbolSize

      long getSymbolSize(String name)
    • getByteOrder

      ByteOrder getByteOrder()
    • getCpu

      Cpu getCpu()
    • getObjectType

      ObjectType getObjectType()
    • getSection

      Section getSection(String name)
    • getRelocationSymbolForSymbolValue

      String getRelocationSymbolForSymbolValue(String symbol)
    • getStackMapSectionName

      String getStackMapSectionName()