| Modifier and Type | Field and Description |
|---|---|
| private Address | |
| private CDebugInfoDataBase | |
| private WindbgDebugger | |
| private MemoizedObject | |
| private String | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ClosestSymbol | closestSymbolToPC(Address pcAsAddr)
Implements sun. Fetch the name of the closest exported symbol and the distance of the PC to that symbol. |
| public BlockSym | debugInfoForPC(Address pc)
Implements sun. Get debug information for the given program counter. |
| public Address | getBase()
Implements sun. Base address at which this loadobject was relocated at run-time |
| public CDebugInfoDataBase | getDebugInfoDataBase()
Implements sun. Returns a debug info database for this loadobject if debug info is present; otherwise, returns null. |
| private ExportDirectoryTable | |
| private COFFFile | |
| public String | getName()
Implements sun. Returns the full path name of this DLL/EXE, or null if this DLL object was created by parsing the target process's address space. |
| public long | getSize()
Implements sun. Size of the loadobject in bytes (determines the range of program counters and data contained within this loadobject) |
| public boolean | |
| public LineNumberInfo | lineNumberForPC(Address pc)
Implements sun. Returns line number information for the given PC, including source file name (not specified whether this is an absolute or relative path) and start and end PCs for this line. |
| public Address | lookupSymbol(String symbol)
Look up a symbol; returns absolute address or null if symbol was not found. |
| private Address |
| addr | back to summary |
|---|---|
| private Address addr | |
| db | back to summary |
|---|---|
| private CDebugInfoDataBase db | |
| dbg | back to summary |
|---|---|
| private WindbgDebugger dbg | |
| file | back to summary |
|---|---|
| private MemoizedObject file | |
| fullPathName | back to summary |
|---|---|
| private String fullPathName | |
| size | back to summary |
|---|---|
| private long size | |
| DLL | back to summary |
|---|---|
| public DLL(WindbgDebugger dbg, String filename, long size, Address relocation) throws COFFException | |
| DLL | back to summary |
|---|---|
| public DLL(Address base) throws COFFException This constructor was originally used to fetch the DLL's name out of the target process to match it up with the known DLL names, before the fetching of the DLL names and bases was folded into one command. It is no longer used. If it is used, getName() will return null and getSize() will return 0. | |
| close | back to summary |
|---|---|
| public void close() | |
| closestSymbolToPC | back to summary |
|---|---|
| public ClosestSymbol closestSymbolToPC(Address pcAsAddr) throws DebuggerException Implements sun. Doc from sun. Fetch the name of the closest exported symbol and the distance of the PC to that symbol. Returns null if the PC was not within this loadobject or if a symbol could not be found before this PC. FIXME: specify whether this is mangled/demangled. | |
| debugInfoForPC | back to summary |
|---|---|
| public BlockSym debugInfoForPC(Address pc) throws DebuggerException Implements sun. Doc from sun. Get debug information for the given program counter. PC must be contained within this loadobject or a DebuggerException is thrown. Returns null if there is no debug information available (i.e., because this is not a debug build). | |
| getBase | back to summary |
|---|---|
| public Address getBase() Implements sun. Doc from sun. Base address at which this loadobject was relocated at run-time | |
| getDebugInfoDataBase | back to summary |
|---|---|
| public CDebugInfoDataBase getDebugInfoDataBase() throws DebuggerException Implements sun. Doc from sun. Returns a debug info database for this loadobject if debug info is present; otherwise, returns null. | |
| getExportDirectoryTable | back to summary |
|---|---|
| private ExportDirectoryTable getExportDirectoryTable() | |
| getFile | back to summary |
|---|---|
| private COFFFile getFile() | |
| getName | back to summary |
|---|---|
| public String getName() Implements sun. Returns the full path name of this DLL/EXE, or null if this DLL object was created by parsing the target process's address space. | |
| getSize | back to summary |
|---|---|
| public long getSize() Implements sun. Doc from sun. Size of the loadobject in bytes (determines the range of program counters and data contained within this loadobject) | |
| isDLL | back to summary |
|---|---|
| public boolean isDLL() Indicates whether this is really a DLL or actually a .EXE file. | |
| lineNumberForPC | back to summary |
|---|---|
| public LineNumberInfo lineNumberForPC(Address pc) throws DebuggerException Implements sun. Doc from sun. Returns line number information for the given PC, including source file name (not specified whether this is an absolute or relative path) and start and end PCs for this line. Returns null if no line number information is available or if the given PC is not in this loadobject. | |
| lookupSymbol | back to summary |
|---|---|
| public Address lookupSymbol(String symbol) throws COFFException Look up a symbol; returns absolute address or null if symbol was not found. | |
| lookupSymbol | back to summary |
|---|---|
| private Address lookupSymbol(String symbol, ExportDirectoryTable exports, int loIdx, int hiIdx) | |