Harshit Sharma has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44814 )
Change subject: Documentation: Add ASan documentation ......................................................................
Patch Set 5:
(5 comments)
Patch Set 4:
(3 comments)
Thank you for writing this.
https://review.coreboot.org/c/coreboot/+/44814/4/Documentation/technotes/asa... File Documentation/technotes/asan.md:
https://review.coreboot.org/c/coreboot/+/44814/4/Documentation/technotes/asa... PS4, Line 9: Address Sanitizer
Add a link to its Web site?
Done
https://review.coreboot.org/c/coreboot/+/44814/4/Documentation/technotes/asa... PS4, Line 93: Now, we have to use `ip` to retrieve the instruction which causes the error. : For this, first subtract the start address of the stage from `ip`. Now, : read the section headers from `<stage>.debug` file to determine the offset of : the text segment. Add this offset to the difference you calculated earlier. : Let's call the resultant address `ip'`. : : Next, read the contents of the symbol table and search for a function having : an address closest to `ip'`. This is the function in which our memory bug is : present. Let's denote the address of this function by `ip''`. (To get the : symbols in a sorted fashion. you should use `readelf` instead of `objdump`.) : : Finally, read the assembly contents of the object file where this function is : present. Look for the affected function. Here, the instruction which exists at : the offset `ip' - ip''` corresponds to the address `ip`. Therefore, the very : next instruction is the one which causes the error.
This is nice written. […]
Done
https://review.coreboot.org/c/coreboot/+/44814/4/Documentation/technotes/asa... PS4, Line 126: Apollolake
Apollo Lake
Done
https://review.coreboot.org/c/coreboot/+/44814/4/Documentation/technotes/asa... PS4, Line 130: ```
Probably it is hard to keep this list updated. […]
Done
https://review.coreboot.org/c/coreboot/+/44814/4/Documentation/technotes/asa... PS4, Line 145: platform.
Maybe add something the like: […]
Done