================================================ KASAN Stack Out-of-Bounds Detection ================================================ Test Module Source ================== .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow This C code, intentionally introduces Array Out of Bounds writing at Line 9 .. literalinclude:: kasan_stack_test/kasan_stack_test.c :language: c :linenos: :emphasize-lines: 9 Build Configuration =================== The following Makefile automates the build process using the standard Linux Kbuild system. .. literalinclude:: kasan_stack_test/Makefile :language: makefile :linenos: Execution Logs ============== The following three sections show the step-by-step terminal output from cleaning, building, and executing the test. Step 1: make clean ------------------ .. literalinclude:: kasan_stack_test/make_clean.log :language: bash Step 2: make all ---------------- .. literalinclude:: kasan_stack_test/make_all.log :language: bash Step 3: make test ----------------- .. literalinclude:: kasan_stack_test/make_test.log :language: bash :emphasize-lines: 11,12,13,14