Package ghidra.app.util.bin.format.dwarf
Class DWARFLocation
java.lang.Object
ghidra.app.util.bin.format.dwarf.DWARFLocation
Represents the location of an item that is only valid for a certain range of program-counter
locations.
An instance that does not have a DWARFRange is considered valid for any pc.
-
Constructor Summary
ConstructorDescriptionDWARFLocation
(long start, long end, byte[] expr) Create a Location given an address range and location expression.DWARFLocation
(DWARFRange addressRange, byte[] expr) -
Method Summary
-
Constructor Details
-
DWARFLocation
public DWARFLocation(long start, long end, byte[] expr) Create a Location given an address range and location expression.- Parameters:
start
- start address rangeend
- end of address rangeexpr
- bytes of a DWARFExpression
-
DWARFLocation
-
-
Method Details
-
getRange
-
getExpr
public byte[] getExpr() -
isWildcard
public boolean isWildcard() -
getOffset
public long getOffset(long pc) -
contains
public boolean contains(long addr) -
evaluate
- Throws:
DWARFExpressionException
-
toString
-