I hope you are staying safe and healthy through these unusual times!
Many of you may already know about the project I am working on and the progress we made through my blog post https://blogs.coreboot.org/blog/2020/07/16/gsoc-address-sanitizer-part-1/. We had added support for ASan in ramstage for all x86 platforms.
In the next phase, to check the boards on which ASan in romstage can be enabled, I ran 'make what-jenkins-does' and build failed only for the boards having either Braswell or i440bx chipsets. So, I am pretty hopeful we can add support for ASan in romstage on all x86 platforms except these two.
We have already tested and added support for ASan in romstage on Haswell https://review.coreboot.org/c/coreboot/+/44160 and Apollolake https://review.coreboot.org/c/coreboot/+/44159 platforms based on the hardware that Werner and I had access to.
I am currently in the final phase of GSoC and before signing off, I want this debugging tool to be available on as many platforms as possible. So, if you have access to a hardware based on an x86 platform (other than Haswell and Apollolake), I would be grateful if you volunteer to test this feature.
Please follow these steps if you are willing to test ASan: 1. Pull this change: https://review.coreboot.org/c/coreboot/+/43938 2. Rebuild the toolchain 3. Select 'Address sanitizer support' from the 'General setup' menu 3. Build coreboot 4. Flash the image and run it on your hardware
It should boot cleanly and you must see statements prefixed with 'ASan' in your console log in case of both romstage and ramstage.
If ASan in romstage works on your hardware, please reply to this thread with the x86 platform name and the name of the board you used, so that I can push a change enabling ASan on that platform.
If it gets stuck while booting or you get a compile error while building, please share the log along with the hardware details. We might be able to resolve those errors and add support for ASan on that platform too.
Thanking you in advance,
Best, Harshit (hst on IRC)