1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:47:36 +00:00

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
parent 8e7ad28a33
commit d164f89ada
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;
};
}