Class DWARFLocation
java.lang.Object
ghidra.app.util.bin.format.dwarf4.DWARFLocation
-
Constructor Summary
ConstructorsConstructorDescriptionDWARFLocation(DWARFRange addressRange, byte[] location) Create a Location given an address range and location expression. -
Method Summary
Modifier and TypeMethodDescriptionstatic DWARFLocationgetEntryLocation(List<DWARFLocation> locList, long funcAddr) static DWARFLocationgetFirstLocation(List<DWARFLocation> locList) byte[]getRange()static DWARFLocationgetTopLocation(List<DWARFLocation> locList, long funcAddr) Get the location that corresponds to the entry point of the function If there is only a single location, assume it applies to whole function
-
Constructor Details
-
DWARFLocation
Create a Location given an address range and location expression.- Parameters:
addressRange- memory range of this locationlocation- byte array holding location expression
-
-
Method Details
-
getRange
-
getLocation
public byte[] getLocation() -
getTopLocation
Get the location that corresponds to the entry point of the function If there is only a single location, assume it applies to whole function- Parameters:
locList-funcAddr-- Returns:
- the byte array corresponding to the location expression
-
getEntryLocation
-
getFirstLocation
-