|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lib.dwfl.DwarfDie
public class DwarfDie
Method Summary | |
---|---|
void |
addOps(int operator,
int operand1,
int operand2,
int offset)
|
void |
addScopeVarName(String name)
|
List |
getAddr()
|
boolean |
getAttrBoolean(DwAt attr)
|
int |
getAttrConstant(DwAt attr)
|
String |
getAttrString(DwAt attr)
|
DwarfDie |
getChild()
|
long |
getDataMemberLocation()
|
static DwarfDie |
getDecl(Dwarf dw,
String sym)
Get die for static symbol sym in dw. |
int |
getDeclColumn()
|
static DwarfDie |
getDeclCU(DwarfDie[] scopes,
String sym)
Get die for static symbol sym in CU dw. |
File |
getDeclFile()
|
int |
getDeclLine()
|
DwarfDie |
getDefinition()
|
ArrayList |
getEntryBreakpoints()
|
long |
getEntryPc()
|
List |
getFormData(long pc)
|
List |
getFrameBase(long pc)
|
long |
getHighPC()
|
ArrayList |
getInlinedInstances()
|
long |
getLowPC()
|
String |
getName()
|
long |
getOffset()
|
DwarfDie |
getOriginalDie()
If this die has a DW_AT_abstract_origin or DW_AT_specification this function returns the die pointed to by those attributes. |
String |
getProducer()
|
long |
getScope(int index)
|
long |
getScopeIndex()
|
DwarfDie[] |
getScopes(long addr)
This function assumes that this die is a one corresponding to a Compilation Unit Die. |
DwarfDie[] |
getScopesDie()
Return the scopes containing this die. |
DwarfDie |
getScopeVar(DwarfDie[] scopes,
String variable)
|
List |
getScopeVarNames(DwarfDie[] scopes,
String variable)
|
DwarfDie |
getSibling()
|
DwTag |
getTag()
|
DwarfDie |
getType()
|
DwarfDie |
getUltimateType()
|
boolean |
hasAttribute(DwAt attr)
|
boolean |
isDeclaration()
|
boolean |
isDefinitionOnly()
returns true of this die represents a definition of an object, and the declaration is somewhere else. |
boolean |
isInlineDeclaration()
|
boolean |
isInlinedFunction()
|
void |
setManageDie(boolean value)
|
void |
setScopes(DwarfDie[] scopes)
|
StringBuilder |
toPrint()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public long getHighPC()
public long getLowPC()
public long getEntryPc()
public String getName()
public String getProducer()
public File getDeclFile()
public int getDeclLine()
public int getDeclColumn()
public void setScopes(DwarfDie[] scopes)
public void setManageDie(boolean value)
public DwarfDie[] getScopes(long addr)
addr
- PC address.
getScopesDie
public DwarfDie[] getScopesDie()
public DwarfDie getScopeVar(DwarfDie[] scopes, String variable)
scopes
- variable
-
public List getScopeVarNames(DwarfDie[] scopes, String variable)
scopes
- variable
-
public void addScopeVarName(String name)
public void addOps(int operator, int operand1, int operand2, int offset)
public long getScopeIndex()
public long getScope(int index)
index
- Scopes index.
public List getAddr()
Return
- address of die. Typically this is a static
address or ptr+disp.public DwarfDie getUltimateType()
public DwarfDie getType()
public boolean getAttrBoolean(DwAt attr)
public String getAttrString(DwAt attr)
public DwTag getTag()
public int getAttrConstant(DwAt attr)
public long getOffset()
public DwarfDie getChild()
public DwarfDie getSibling()
public List getFrameBase(long pc)
pc
- Program Counter
public List getFormData(long pc)
pc
- - PC
public long getDataMemberLocation()
public boolean isInlinedFunction()
public boolean hasAttribute(DwAt attr)
public String toString()
toString
in class Object
public StringBuilder toPrint()
public static DwarfDie getDecl(Dwarf dw, String sym)
dw
- sym
-
public static DwarfDie getDeclCU(DwarfDie[] scopes, String sym)
scopes
- sym
-
public DwarfDie getOriginalDie()
public boolean isDefinitionOnly()
public boolean isDeclaration()
public DwarfDie getDefinition()
public ArrayList getEntryBreakpoints()
public boolean isInlineDeclaration()
public ArrayList getInlinedInstances()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |