File:  [NetBSD Developer Wiki] / wikisrc / projects / project / kasan.mdwn
Revision 1.5: download - view: text, annotated - select for diffs
Tue Aug 21 12:34:11 2018 UTC (15 months, 2 weeks ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by maya: adjust done_by to include both people.

[[!template id=project

title="Kernel Address SANitizer"

contact="""
[tech-kern](mailto:tech-kern@NetBSD.org)
"""

mentors="""
[Kamil Rytarowski](mailto:kamil@NetBSD.org)
"""

category="analyzers"
difficulty="hard"
duration="3 months"
done_by="Maxime Villard and Siddharth Muralee"

description="""

Port LLVM and/or GCC kernel ASan pieces to the NetBSD/amd64 kernel.
Integrate the support with the toolchain inside src/.
Add support for a new kernel option (and perhaps configuration) KASAN.

The toolchain support on the LLVM side is done. GCC should work too.

Milestones:

* Build manually the NetBSD kernel against KASan.
* Ensure that we don't violate the license - either ask for relicense or reimplement the needed code. There are around 2k LOC. This code should be relicensed.
* Integrate KASan with the kernel configuration.
* Execute the kernel, attempt to boot to shell.
* Run ATF tests against the kernel.
* Report bugs.

"""
]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb