|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lib.dwfl.Dwfl
public class Dwfl
Field Summary | |
---|---|
private long |
callbacks
|
private int |
devMajor
|
private int |
devMinor
|
protected DwarfDieFactory |
factory
|
private static Log |
fine
|
private static Log |
finest
|
private long |
high
|
private int |
inode
|
private long |
low
|
private LinkedHashMap |
modules
Maintain a set of known modules, it is rebuilt each time there's a report begin/end. |
private DwflModule[] |
modulesArray
|
private String |
name
|
private long |
pointer
|
private long |
vdso
|
Constructor Summary | |
---|---|
Dwfl(String debugInfoPath)
Create a dwfl with the specified debug-info search path. |
Method Summary | |
---|---|
private static long |
callbacksBegin(String debugInfoSearchPath)
|
private static void |
callbacksEnd(long callbacks)
|
void |
close()
|
private static long |
dwflBegin(long callbacks)
|
private static void |
dwflEnd(long pointer)
|
protected void |
finalize()
|
DwflDie |
getCompilationUnit(long addr)
|
DwarfDieFactory |
getFactory()
|
LinkedList |
getLineAddresses(String fileName,
int lineNo,
int column)
Get all the DwflLine objects associated with a line in a source file. |
DwflModule |
getModule(long addr)
Get the DwflModule associated with an address. |
DwflModule[] |
getModules()
Return all the DwflModule objects associated with this Dwfl. |
(package private) long |
getPointer()
|
DwflLine |
getSourceLine(long addr)
|
boolean |
isLineExecutable(String fileName,
int lineNo,
int column)
Test to see if the requested line number is executable. |
void |
mapBegin(long vdso)
Start refreshing the address map using raw information extracted from /proc/pid/maps. |
void |
mapEnd()
Finish reporting a raw address map. |
void |
mapModule(String name,
long low,
long high,
int devMajor,
int devMinor,
int inode)
Report a single raw line from /proc/pid/maps. |
void |
reportBegin()
Start a refresh of the address map. |
private static void |
reportBegin(long pointer)
|
void |
reportEnd()
Finish a refresh of the address map. |
private static void |
reportEnd(long pointer)
|
private static long |
reportModule(long pointer,
String moduleName,
long low,
long high)
|
void |
reportModule(String moduleName,
long low,
long high)
Report a mapped component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Log fine
private static final Log finest
private long pointer
private long callbacks
protected final DwarfDieFactory factory
private final LinkedHashMap modules
private DwflModule[] modulesArray
private String name
private long low
private long high
private int devMajor
private int devMinor
private int inode
private long vdso
Constructor Detail |
---|
public Dwfl(String debugInfoPath)
Method Detail |
---|
private static long callbacksBegin(String debugInfoSearchPath)
private static long dwflBegin(long callbacks)
protected void finalize()
finalize
in class Object
public void close()
private static void dwflEnd(long pointer)
private static void callbacksEnd(long callbacks)
public DwflLine getSourceLine(long addr)
public DwflDie getCompilationUnit(long addr)
long getPointer()
public LinkedList getLineAddresses(String fileName, int lineNo, int column)
public boolean isLineExecutable(String fileName, int lineNo, int column)
public DwarfDieFactory getFactory()
public void reportBegin()
private static void reportBegin(long pointer)
public void reportEnd()
private static void reportEnd(long pointer)
public void reportModule(String moduleName, long low, long high)
private static long reportModule(long pointer, String moduleName, long low, long high)
public void mapBegin(long vdso)
public void mapModule(String name, long low, long high, int devMajor, int devMinor, int inode)
public void mapEnd()
public DwflModule[] getModules()
public DwflModule getModule(long addr)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |