[coreboot] [RFC] Null pointer trap?

Jordan Crouse jordan at cosmicpenguin.net
Fri Nov 7 16:04:47 CET 2008


Carl-Daniel Hailfinger wrote:
> v3 does not have any mechanism to detect NULL pointers used by accident.
> 
> I propose to fill the zero page (0x0-0xfff) with a special POISON_BYTE,
> maybe 0x6b. 

I'm not sure what problem you are trying to solve here?  Are you trying 
to responsibly catch NULL pointers and report information, or are you 
trying to just be able to identify the situation on a debugger?

Jordan





More information about the coreboot mailing list