Class MachO.Symbol

  • All Implemented Interfaces:
    java.lang.Comparable<java.lang.Object>
    Enclosing class:
    MachO

    public class MachO.Symbol
    extends java.lang.Object
    implements java.lang.Comparable<java.lang.Object>
    • Constructor Detail

      • Symbol

        public Symbol()
    • Method Detail

      • n_type_mask

        public boolean n_type_mask​(int mask)
      • n_type

        public boolean n_type​(int val)
      • n_desc

        public boolean n_desc​(int val)
      • compareTo

        public int compareTo​(java.lang.Object obj)
        Specified by:
        compareTo in interface java.lang.Comparable<java.lang.Object>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • lineInfo

        public java.lang.String lineInfo()
        Returns line information in the form of filename:line and if the information is not available may return null _or_ may return ??:??
      • lineInfo

        public java.lang.String lineInfo​(long vma)
      • getFunction

        public java.lang.String getFunction()
        If the function is available from the symbol information, this will return the function name. May return null if the function can't be determined.
      • getFilename

        public java.lang.String getFilename()
        If the filename is available from the symbol information, this will return the base filename information. May return null if the filename can't be determined.
      • getFuncLineNumber

        public int getFuncLineNumber()
        Returns the line number of the function which is closest associated with the address if it is available. from the symbol information. If it is not available, then -1 is returned.
      • getLineNumber

        public int getLineNumber​(long vma)
        Returns the line number of the file if it is available from the symbol information. If it is not available, then -1 is returned.