File:  [NetBSD Developer Wiki] / wikisrc / projects / project / kasan.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Sat Jan 27 16:43:18 2018 UTC (2 years, 2 months ago) by kamil
Branches: MAIN
CVS tags: HEAD
Mark kasan as hard

[[!template id=project

title="Kernel Address SANitizer"


[Kamil Rytarowski](

duration="3 months"


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.


* 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.


[[!tag gsoc]]

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb