public class MachO64.Symbol extends Object implements Comparable<Object>
Modifier and Type | Field and Description |
---|---|
boolean |
is64 |
static int |
MAX_SECT |
static int |
N_ABS |
static int |
N_BCOMM |
static int |
N_BINCL |
static int |
N_BNSYM |
short |
n_desc |
static int |
N_DESC_DISCARDED |
static int |
N_ECOML |
static int |
N_ECOMM |
static int |
N_EINCL |
static int |
N_ENSYM |
static int |
N_ENTRY |
static int |
N_EXCL |
static int |
N_EXT |
static int |
N_FNAME |
static int |
N_FUN |
static int |
N_GSYM |
static int |
N_INDR |
static int |
N_LBRAC |
static int |
N_LCSYM |
static int |
N_LENG |
static int |
N_LSYM |
static int |
N_OLEVEL |
static int |
N_OPT |
static int |
N_PARAMS |
static int |
N_PBUD |
static int |
N_PEXT |
static int |
N_PSYM |
static int |
N_RBRAC |
static int |
N_RSYM |
byte |
n_sect |
static int |
N_SECT |
static int |
N_SLINE |
static int |
N_SO |
static int |
N_SOL |
static int |
N_SSYM |
static int |
N_STAB |
long |
n_strx |
static int |
N_STSYM |
byte |
n_type |
static int |
N_TYPE |
static int |
N_UNDF |
long |
n_value |
static int |
N_VERSION |
static int |
N_WEAK_DEF |
static int |
N_WEAK_REF |
static int |
NO_SECT |
static int |
REFERENCE_FLAG_DEFINED |
static int |
REFERENCE_FLAG_PRIVATE_DEFINED |
static int |
REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY |
static int |
REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY |
static int |
REFERENCE_FLAG_UNDEFINED_LAZY |
static int |
REFERENCE_FLAG_UNDEFINED_NON_LAZY |
static int |
REFERENCE_TYPE |
static int |
REFERENCED_DYNAMICALLY |
Constructor and Description |
---|
Symbol() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj) |
String |
getFilename()
If the filename is available from the symbol information,
this will return the base filename information.
|
int |
getFuncLineNumber()
Returns the line number of the function which is closest
associated with the address if it is available.
|
String |
getFunction()
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.
|
String |
lineInfo()
Returns line information in the form of filename:line
and if the information is not available may return null
_or_ may return ??:??
|
String |
lineInfo(long vma) |
boolean |
n_desc(int val) |
boolean |
n_type_mask(int mask) |
boolean |
n_type(int val) |
String |
toString() |
public static final int N_STAB
public static final int N_PEXT
public static final int N_EXT
public static final int N_TYPE
public static final int N_UNDF
public static final int N_ABS
public static final int N_SECT
public static final int N_PBUD
public static final int N_INDR
public static final int N_GSYM
public static final int N_FNAME
public static final int N_FUN
public static final int N_STSYM
public static final int N_LCSYM
public static final int N_BNSYM
public static final int N_OPT
public static final int N_RSYM
public static final int N_SLINE
public static final int N_ENSYM
public static final int N_SSYM
public static final int N_SO
public static final int N_LSYM
public static final int N_BINCL
public static final int N_SOL
public static final int N_PARAMS
public static final int N_VERSION
public static final int N_OLEVEL
public static final int N_PSYM
public static final int N_EINCL
public static final int N_ENTRY
public static final int N_LBRAC
public static final int N_EXCL
public static final int N_RBRAC
public static final int N_BCOMM
public static final int N_ECOMM
public static final int N_ECOML
public static final int N_LENG
public static final int NO_SECT
public static final int MAX_SECT
public static final int REFERENCE_TYPE
public static final int REFERENCE_FLAG_UNDEFINED_NON_LAZY
public static final int REFERENCE_FLAG_UNDEFINED_LAZY
public static final int REFERENCE_FLAG_DEFINED
public static final int REFERENCE_FLAG_PRIVATE_DEFINED
public static final int REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY
public static final int REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY
public static final int REFERENCED_DYNAMICALLY
public static final int N_DESC_DISCARDED
public static final int N_WEAK_REF
public static final int N_WEAK_DEF
public long n_strx
public long n_value
public short n_desc
public byte n_type
public byte n_sect
public boolean is64
public boolean n_type_mask(int mask)
public boolean n_type(int val)
public boolean n_desc(int val)
public int compareTo(Object obj)
compareTo
in interface Comparable<Object>
public String lineInfo()
public String lineInfo(long vma)
public String getFunction()
public String getFilename()
public int getFuncLineNumber()
public int getLineNumber(long vma)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.