Kenrel: Implement two more KUBSAN checks

This patch adds the following UndefinedBehaviorSanitizer sub-options:

* signed-integer-overflow
* vla-bound
This commit is contained in:
Andreas Kling 2021-02-05 20:03:07 +01:00
commit d164f89ada
Notes: sideshowbarker 2024-07-18 22:34:40 +09:00
3 changed files with 51 additions and 7 deletions

View file

@ -74,4 +74,14 @@ struct NonnullArgData {
int argument_index;
};
struct OverflowData {
SourceLocation location;
const TypeDescriptor& type;
};
struct VLABoundData {
SourceLocation location;
const TypeDescriptor& type;
};
}