Class RegionDescriptor
java.lang.Object
ghidra.app.plugin.exceptionhandlers.gcc.RegionDescriptor
RegionDescriptor holds information about a call frame.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the action table for this region's frame.Gets the call site table for this region's frame.Gets the exception handling memory block associated with this region.Gets the FDE associated with this region.getLSDAAddress
(Address addr) Gets the address of the start of the LSDA.Gets the LSDA table for this frame region.getRange()
Gets the address range of the IP (instructions) for this region.long
Gets the size of the address range for the IP.Gets the start (minimum address) of the IP range for this region.Gets the type table for this region's frame.void
setFrameDescriptorEntry
(FrameDescriptionEntry frameDescriptionEntry) Sets the FDE associated with the region.void
setIPRange
(AddressRange range) Sets the address range of the IP (instructions) for this region.void
setLSDAAddress
(Address addr) Sets the address of the start of the LSDA.void
setLSDATable
(LSDATable lsdaTable) Sets the LSDA table for this frame region.
-
Constructor Details
-
RegionDescriptor
Constructor for a region descriptor.- Parameters:
ehblock
- the exception handling memory block for the region to be described.
-
-
Method Details
-
getEHMemoryBlock
Gets the exception handling memory block associated with this region.- Returns:
- the memory block
-
setIPRange
Sets the address range of the IP (instructions) for this region.- Parameters:
range
- the address range to associate with this region.
-
getRange
Gets the address range of the IP (instructions) for this region.- Returns:
- the instruction addresses
-
getRangeStart
Gets the start (minimum address) of the IP range for this region.- Returns:
- the IP range start address
-
getRangeSize
public long getRangeSize()Gets the size of the address range for the IP.- Returns:
- the IP address range size
-
setLSDAAddress
Sets the address of the start of the LSDA.- Parameters:
addr
- the LSDA address.
-
getLSDAAddress
Gets the address of the start of the LSDA.- Returns:
- the LSDA address.
-
setLSDATable
Sets the LSDA table for this frame region.- Parameters:
lsdaTable
- the LSDA table
-
getLSDATable
Gets the LSDA table for this frame region.- Returns:
- the LSDA table
-
getCallSiteTable
Gets the call site table for this region's frame.- Returns:
- the call site table
-
getActionTable
Gets the action table for this region's frame.- Returns:
- the action table or null if it hasn't been set for this region
-
getTypeTable
Gets the type table for this region's frame.- Returns:
- the LSDA type table or null if it hasn't been set for this region
-
setFrameDescriptorEntry
Sets the FDE associated with the region.- Parameters:
frameDescriptionEntry
- the FDE
-
getFrameDescriptorEntry
Gets the FDE associated with this region.- Returns:
- the FDE
-