public class DLL extends java.lang.Object implements LoadObject
Constructor and Description |
---|
DLL(Address base)
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.
|
DLL(WindbgDebugger dbg,
java.lang.String filename,
long size,
Address relocation) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ClosestSymbol |
closestSymbolToPC(Address pcAsAddr)
Fetch the name of the closest exported symbol and the distance
of the PC to that symbol.
|
BlockSym |
debugInfoForPC(Address pc)
Get debug information for the given program counter.
|
Address |
getBase()
Base address at which this loadobject was relocated at run-time
|
CDebugInfoDataBase |
getDebugInfoDataBase()
Returns a debug info database for this loadobject if debug info
is present; otherwise, returns null.
|
java.lang.String |
getName()
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.
|
long |
getSize()
Size of the loadobject in bytes (determines the range of program
counters and data contained within this loadobject)
|
boolean |
isDLL()
Indicates whether this is really a DLL or actually a .EXE
file.
|
LineNumberInfo |
lineNumberForPC(Address pc)
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.
|
Address |
lookupSymbol(java.lang.String symbol)
Look up a symbol; returns absolute address or null if symbol was
not found.
|
public DLL(WindbgDebugger dbg, java.lang.String filename, long size, Address relocation) throws COFFException
COFFException
public DLL(Address base) throws COFFException
COFFException
public boolean isDLL()
public Address lookupSymbol(java.lang.String symbol) throws COFFException
COFFException
public Address getBase()
LoadObject
getBase
in interface LoadObject
public java.lang.String getName()
getName
in interface LoadObject
public long getSize()
LoadObject
getSize
in interface LoadObject
public CDebugInfoDataBase getDebugInfoDataBase() throws DebuggerException
LoadObject
getDebugInfoDataBase
in interface LoadObject
DebuggerException
public BlockSym debugInfoForPC(Address pc) throws DebuggerException
LoadObject
debugInfoForPC
in interface LoadObject
DebuggerException
public ClosestSymbol closestSymbolToPC(Address pcAsAddr) throws DebuggerException
LoadObject
closestSymbolToPC
in interface LoadObject
DebuggerException
public LineNumberInfo lineNumberForPC(Address pc) throws DebuggerException
LoadObject
lineNumberForPC
in interface LoadObject
DebuggerException
public void close()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.