Package org.eclipse.cdt.utils.macho
Class MachO64.Symbol
java.lang.Object
org.eclipse.cdt.utils.macho.MachO64.Symbol
- All Implemented Interfaces:
Comparable<Object>
- Enclosing class:
MachO64
-
Field Summary
Modifier and TypeFieldDescriptionboolean
static final int
static final int
static final int
static final int
static final int
short
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
byte
static final int
static final int
static final int
static final int
static final int
static final int
long
static final int
byte
static final int
static final int
long
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
If the filename is available from the symbol information, this will return the base filename information.int
Returns the line number of the function which is closest associated with the address if it is available.If the function is available from the symbol information, this will return the function name.int
getLineNumber
(long vma) Returns the line number of the file if it is available from the symbol information.lineInfo()
Returns line information in the form of filename:line and if the information is not available may return null _or_ may return ??:??lineInfo
(long vma) boolean
n_desc
(int val) boolean
n_type
(int val) boolean
n_type_mask
(int mask) toString()
-
Field Details
-
N_STAB
public static final int N_STAB- See Also:
-
N_PEXT
public static final int N_PEXT- See Also:
-
N_EXT
public static final int N_EXT- See Also:
-
N_TYPE
public static final int N_TYPE- See Also:
-
N_UNDF
public static final int N_UNDF- See Also:
-
N_ABS
public static final int N_ABS- See Also:
-
N_SECT
public static final int N_SECT- See Also:
-
N_PBUD
public static final int N_PBUD- See Also:
-
N_INDR
public static final int N_INDR- See Also:
-
N_GSYM
public static final int N_GSYM- See Also:
-
N_FNAME
public static final int N_FNAME- See Also:
-
N_FUN
public static final int N_FUN- See Also:
-
N_STSYM
public static final int N_STSYM- See Also:
-
N_LCSYM
public static final int N_LCSYM- See Also:
-
N_BNSYM
public static final int N_BNSYM- See Also:
-
N_OPT
public static final int N_OPT- See Also:
-
N_RSYM
public static final int N_RSYM- See Also:
-
N_SLINE
public static final int N_SLINE- See Also:
-
N_ENSYM
public static final int N_ENSYM- See Also:
-
N_SSYM
public static final int N_SSYM- See Also:
-
N_SO
public static final int N_SO- See Also:
-
N_LSYM
public static final int N_LSYM- See Also:
-
N_BINCL
public static final int N_BINCL- See Also:
-
N_SOL
public static final int N_SOL- See Also:
-
N_PARAMS
public static final int N_PARAMS- See Also:
-
N_VERSION
public static final int N_VERSION- See Also:
-
N_OLEVEL
public static final int N_OLEVEL- See Also:
-
N_PSYM
public static final int N_PSYM- See Also:
-
N_EINCL
public static final int N_EINCL- See Also:
-
N_ENTRY
public static final int N_ENTRY- See Also:
-
N_LBRAC
public static final int N_LBRAC- See Also:
-
N_EXCL
public static final int N_EXCL- See Also:
-
N_RBRAC
public static final int N_RBRAC- See Also:
-
N_BCOMM
public static final int N_BCOMM- See Also:
-
N_ECOMM
public static final int N_ECOMM- See Also:
-
N_ECOML
public static final int N_ECOML- See Also:
-
N_LENG
public static final int N_LENG- See Also:
-
NO_SECT
public static final int NO_SECT- See Also:
-
MAX_SECT
public static final int MAX_SECT- See Also:
-
REFERENCE_TYPE
public static final int REFERENCE_TYPE- See Also:
-
REFERENCE_FLAG_UNDEFINED_NON_LAZY
public static final int REFERENCE_FLAG_UNDEFINED_NON_LAZY- See Also:
-
REFERENCE_FLAG_UNDEFINED_LAZY
public static final int REFERENCE_FLAG_UNDEFINED_LAZY- See Also:
-
REFERENCE_FLAG_DEFINED
public static final int REFERENCE_FLAG_DEFINED- See Also:
-
REFERENCE_FLAG_PRIVATE_DEFINED
public static final int REFERENCE_FLAG_PRIVATE_DEFINED- See Also:
-
REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY
public static final int REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY- See Also:
-
REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY
public static final int REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY- See Also:
-
REFERENCED_DYNAMICALLY
public static final int REFERENCED_DYNAMICALLY- See Also:
-
N_DESC_DISCARDED
public static final int N_DESC_DISCARDED- See Also:
-
N_WEAK_REF
public static final int N_WEAK_REF- See Also:
-
N_WEAK_DEF
public static final int N_WEAK_DEF- See Also:
-
n_strx
public long n_strx -
n_value
public long n_value -
n_desc
public short n_desc -
n_type
public byte n_type -
n_sect
public byte n_sect -
is64
public boolean is64
-
-
Constructor Details
-
Symbol
public Symbol()
-
-
Method Details
-
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
- Specified by:
compareTo
in interfaceComparable<Object>
-
toString
-
lineInfo
Returns line information in the form of filename:line and if the information is not available may return null _or_ may return ??:?? -
lineInfo
-
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
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.
-