Class EhFrameHeaderSection
- java.lang.Object
-
- ghidra.app.plugin.exceptionhandlers.gcc.sections.EhFrameHeaderSection
-
public class EhFrameHeaderSection extends java.lang.ObjectParses the exception handling structures within an '.eh_frame_hdr' memory section; contains the frame header record and the FDE table.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEH_FRAME_HEADER_BLOCK_NAME
-
Constructor Summary
Constructors Constructor Description EhFrameHeaderSection(Program program)Constructor for an eh frame header section.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intanalyze(TaskMonitor monitor)Analyzes and annotates the eh frame header.
-
-
-
Field Detail
-
EH_FRAME_HEADER_BLOCK_NAME
public static final java.lang.String EH_FRAME_HEADER_BLOCK_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EhFrameHeaderSection
public EhFrameHeaderSection(Program program)
Constructor for an eh frame header section.- Parameters:
program- the program containing this eh frame header.
-
-
Method Detail
-
analyze
public int analyze(TaskMonitor monitor) throws MemoryAccessException, AddressOutOfBoundsException, ExceptionHandlerFrameException
Analyzes and annotates the eh frame header.- Parameters:
monitor- a status monitor for indicating progress or allowing a task to be cancelled.- Returns:
- the number of records in the FDE table or 0 if there was no EH frame header to analyze.
- Throws:
MemoryAccessException- if memory couldn't be read/written while processing the header.AddressOutOfBoundsException- if one or more expected addresses weren't in the program.ExceptionHandlerFrameException- if the FDE table can't be decoded.
-
-