Class EhFrameHeaderSection
java.lang.Object
ghidra.app.plugin.exceptionhandlers.gcc.sections.EhFrameHeaderSection
Parses the exception handling structures within an '.eh_frame_hdr' memory section; contains
the frame header record and the FDE table.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEhFrameHeaderSection
(Program program) Constructor for an eh frame header section. -
Method Summary
Modifier and TypeMethodDescriptionint
analyze
(TaskMonitor monitor) Analyzes and annotates the eh frame header.
-
Field Details
-
EH_FRAME_HEADER_BLOCK_NAME
- See Also:
-
-
Constructor Details
-
EhFrameHeaderSection
Constructor for an eh frame header section.- Parameters:
program
- the program containing this eh frame header.
-
-
Method Details
-
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.
-