Werner Zeh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44814 )
Change subject: Documentation: Add ASan documentation ......................................................................
Patch Set 7: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/44814/7/Documentation/technotes/asa... File Documentation/technotes/asan.md:
https://review.coreboot.org/c/coreboot/+/44814/7/Documentation/technotes/asa... PS7, Line 283: 1/8th of the : program memory
It might be worth explaining somewhere why it has to be this way (in the code or in the docs)?
Because currently every program byte is monitored by a single bit in the shadow memory? If you follow the above mentioned link to ASan (https://github.com/google/sanitizers/wiki/AddressSanitizer) and from there to "AddressSanitizerAlgorithm -- if you are curious how it works." you will find in the description: "AddressSanitizer maps 8 bytes of the application memory into 1 byte of the shadow memory."