Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace header_size with Header Regions system #479
edb currently allows the architecture targets to specify that the PE/ELF headers have a certain number of bytes dedicated to their headers from their base address. This is the
However, the current system is a little naive. PE and ELF both support putting headers in arbitrary order at arbitrary positions. There can be gaps between what parts are considered headers (headers can even overlap!).
I propose that this be replaced with another mechanism that allows giving some sort of list of regions so that the header declaration can be considered more robust. Each region should have a start address, size, and probably a label or name that the GUI can show as a tooltip when mousing over the region.