https://github.com/ColinKinloch created
https://github.com/llvm/llvm-project/pull/161737
This MR implements in clang some of the overflow and over-read checks
implemented in bionics [`FORTIFY`
headers](https://cs.android.com/android/platform/superproject/main/+/main:bionic/libc/include/bits/f
https://github.com/ColinKinloch edited
https://github.com/llvm/llvm-project/pull/161737
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ColinKinloch edited
https://github.com/llvm/llvm-project/pull/161737
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ColinKinloch edited
https://github.com/llvm/llvm-project/pull/161737
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ColinKinloch updated
https://github.com/llvm/llvm-project/pull/161737
>From 98912f07d2b6f3a1d8c79d2e38407dc1d9ba2905 Mon Sep 17 00:00:00 2001
From: Colin Kinloch
Date: Thu, 2 Oct 2025 22:01:40 +0100
Subject: [PATCH 1/7] [clang][Sema] Add fortify warnings for `unistd.h`
Defin
https://github.com/ColinKinloch updated
https://github.com/llvm/llvm-project/pull/161737
>From 98912f07d2b6f3a1d8c79d2e38407dc1d9ba2905 Mon Sep 17 00:00:00 2001
From: Colin Kinloch
Date: Thu, 2 Oct 2025 22:01:40 +0100
Subject: [PATCH 1/3] [clang][Sema] Add fortify warnings for `unistd.h`
Defin
@@ -12528,9 +12528,12 @@ static QualType DecodeTypeFromStr(const char *&Str,
const ASTContext &Context,
assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'b'!");
Type = Context.BoolTy;
break;
- case 'z': // size_t.
-assert(HowLong == 0 && !Sig