public int analyze(TaskMonitor monitor) throws MemoryAccessException,
			AddressOutOfBoundsException, ExceptionHandlerFrameException {

		MemoryBlock memBlock = program.getMemory().getBlock(EH_FRAME_HEADER_BLOCK_NAME);

		if (memBlock != null && !monitor.isCancelled()) {
			return analyzeSection(memBlock, monitor);
		}
		return 0;
	}
Analyzes and annotates the eh frame header.
@param monitor a status monitor for indicating progress or allowing a task to be cancelled.
@return 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.
@throws AddressOutOfBoundsException if one or more expected addresses weren't in the program.
@throws ExceptionHandlerFrameException if the FDE table can't be decoded.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/exceptionhandlers/gcc/sections/EhFrameHeaderSection.java