[lkml]   [2020]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH v2 3/3] KASAN: Port KASAN Tests to KUnit
On Thu, Mar 19, 2020 at 9:42 AM Patricia Alfonso
<> wrote:
> Transfer all previous tests for KASAN to KUnit so they can be run
> more easily. Using kunit_tool, developers can run these tests with their
> other KUnit tests and see "pass" or "fail" with the appropriate KASAN
> report instead of needing to parse each KASAN report to test KASAN
> functionalities. All KASAN reports are still printed to dmesg.
> Stack tests do not work in UML so those tests are protected inside an
> "#if IS_ENABLED(CONFIG_KASAN_STACK)" so this only runs if stack
> instrumentation is enabled.
> copy_user_test cannot be run in KUnit so there is a separate test file
> for those tests, which can be run as before as a module.
> Signed-off-by: Patricia Alfonso <>

Reviewed-by: Brendan Higgins <>

 \ /
  Last update: 2020-03-24 19:21    [W:0.116 / U:12.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site