Bug 218318 - KASAN (generic): tests for kasan_cache_create
Summary: KASAN (generic): tests for kasan_cache_create
Status: NEW
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Sanitizers (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: MM/Sanitizers virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-25 21:13 UTC by Andrey Konovalov
Modified: 2023-12-25 21:13 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Andrey Konovalov 2023-12-25 21:13:50 UTC
kasan_cache_create is the function that assigns the location and alloc and free metadata for the Generic mode. This function performs quite a few checks and calculations.

It makes sense to add tests that kasan_cache_create assigns the metadata locations properly for various test caches.

Note You need to log in before you can comment on or make changes to this bug.