https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/78079
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -975,6 +981,61 @@ void StreamChecker::evalFprintf(const FnDescription *Desc,
C.addTransition(StateFailed);
}
+void StreamChecker::evalFscanf(const FnDescription *Desc, const CallEvent
&Call,
+ CheckerContext &C) const {
+ ProgramStateRef St
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/77902
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/78079
>From fd350eea466db33324f07e59469775e81479b33d Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sun, 14 Jan 2024 12:44:45 +0800
Subject: [PATCH 1/2] [clang][analyzer] Improve modeling of two functions in
StdLibrar
@@ -248,3 +248,25 @@ void check_fflush_all(void) {
if (errno) {}// no-warning
}
}
+
+void check_opendir(const char *Path) {
+ DIR *Dir = opendir(Path);
+ if (Dir == NULL) {
+clang_analyzer_eval(errno != 0); // expected-warning{{TRUE}}
+if (er
https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/78079
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/78079
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/78079
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
https://github.com/benshi001 approved this pull request.
https://github.com/llvm/llvm-project/pull/78180
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/78680
None
>From 29b2f54387096951ecad53514251c4729d7c1947 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Fri, 19 Jan 2024 16:08:30 +0800
Subject: [PATCH] [clang][analyzer] Improve modeling of 'fdopen' in
StdLibraryFu
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/78693
None
>From 9af31b61fce0df9a26e46f2c83e7cd8f3432b4a4 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Fri, 19 Jan 2024 18:51:40 +0800
Subject: [PATCH] [clang][analyzer] Support 'getdelim' and 'getline' in
StreamCh
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/78693
>From f047ec2137d63f04668f0b07be362a25fb612622 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Fri, 19 Jan 2024 18:51:40 +0800
Subject: [PATCH] [clang][analyzer] Support 'getdelim' and 'getline' in
StreamChecker
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/78680
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= ,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= ,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
https://github.com/benshi001 approved this pull request.
https://github.com/llvm/llvm-project/pull/76979
___
cfe-commi
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
@@ -2201,6 +2214,56 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
ErrnoNEZeroIrrelevant, GenericFailureMsg)
.ArgConstraint(NotNull(A
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/76979
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://l
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
@@ -2201,6 +2214,56 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
ErrnoNEZeroIrrelevant, GenericFailureMsg)
.ArgConstraint(NotNull(A
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
@@ -2201,6 +2214,56 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
ErrnoNEZeroIrrelevant, GenericFailureMsg)
.ArgConstraint(NotNull(A
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= ,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= ,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
@@ -2201,6 +2214,56 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
ErrnoNEZeroIrrelevant, GenericFailureMsg)
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
@@ -2201,6 +2214,56 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
ErrnoNEZeroIrrelevant, GenericFailureMsg)
.ArgConstraint(NotNull(A
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= ,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= ,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
@@ -2201,6 +2214,56 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
ErrnoNEZeroIrrelevant, GenericFailureMsg)
benshi001 wrote:
> I have already a working code to simplify code repetitions, but want to merge
> first patches #76979 and #78180 (@NagyDonat could you look at these too?).
How about merge this patch first, then apply your simplification one? Since my
current one also is affected.
https://gi
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/78886
None
>From 7d0c3f5ce7f6a8d753bf6d5a2020baefeef35703 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sun, 21 Jan 2024 15:20:24 +0800
Subject: [PATCH] [clang][analyzer][NFC] Simplify argument range in
StdLibraryFu
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/78895
None
>From b093d705ee949227ec0f7fe23bb65d43c7f9e51f Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sun, 21 Jan 2024 18:29:06 +0800
Subject: [PATCH] [clang][analyzer] Improve modeling of 'popen' and 'pclose' in
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/78886
>From 8c58bd507c12cd119f1a06d8763e6c4d3c5ad1bc Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sun, 21 Jan 2024 15:20:24 +0800
Subject: [PATCH] [clang][analyzer][NFC] Simplify EOF involved ranges in
StdLibraryFun
https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/78886
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/78886
>From c3f97bd20af18c7bef98408b11d9e92cea614dc6 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sun, 21 Jan 2024 15:20:24 +0800
Subject: [PATCH] [clang][analyzer][NFC] Simplify ranges in
StdLibraryFunctionsChecker
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/78895
>From f2d64a755adc8393d4670d370f6b9a64e368a43b Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sun, 21 Jan 2024 18:29:06 +0800
Subject: [PATCH] [clang][analyzer] Improve modeling of 'popen' and 'pclose' in
StdLib
https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/78886
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/78886
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/78930
These functions always return -1 and set 'errno'.
>From 74a43113ee4152eb0cb6aaeb4fbc917bcf0abcf8 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Mon, 22 Jan 2024 12:42:43 +0800
Subject: [PATCH] [clang[analyzer] I
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/69844
None
>From 0e8edd8448b0bacfaf35f415a5760d5d1a3aabb7 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sat, 21 Oct 2023 21:33:50 +0800
Subject: [PATCH] [analyzer][NFC] Substitute operator() with lambda in
StreamChe
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/69844
>From 615c6f8ecc4a97eeedc69c04b9a805ee56822c30 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sat, 21 Oct 2023 21:33:50 +0800
Subject: [PATCH] [analyzer][NFC] Substitute operator() with lambda in
StreamChecker
@@ -407,23 +407,15 @@ class StreamChecker : public Checker std::string {
+ if (BR.isInteresting(StreamSym) &&
+ &BR.getBugType() == &(this->BT_ResourceLeak))
benshi001 wrote:
Thanks. I fixed it.
https://github.com/llvm/llvm-project/pull/698
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/70170
Methods StreamChecker::preFread and StreamChecker::preFwrite are quite similar,
so they can be combined to StreamChecker::preFreadFwrite.
>From 99a826f3a2219ea6ee368e4ffd3db8c391e9ae2c Mon Sep 17 00:00:00 2001
https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/70170
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/70170
>From d32442f4f38d45ca9a8fab490f3618ccc31dd632 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Wed, 25 Oct 2023 14:58:55 +0800
Subject: [PATCH] [analyzer][NFC] Combine similar methods of StreamChecker
Methods Str
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/70170
>From 3c23adbb74972c5ba98e08561a48bfd14a06b70f Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Wed, 25 Oct 2023 14:58:55 +0800
Subject: [PATCH] [analyzer][NFC] Combine similar methods of StreamChecker
Methods Str
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/70170
>From 44a9b1cc4a526b69c78aaed739df99af6c94bd79 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Wed, 25 Oct 2023 14:58:55 +0800
Subject: [PATCH] [clang][analyzer][NFC] Combine similar methods of
StreamChecker
Met
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/70170
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ben Shi
Date: 2020-11-17T23:28:41+08:00
New Revision: bba96c99655579f5b94abb1e2d07bf2b4b497718
URL:
https://github.com/llvm/llvm-project/commit/bba96c99655579f5b94abb1e2d07bf2b4b497718
DIFF:
https://github.com/llvm/llvm-project/commit/bba96c99655579f5b94abb1e2d07bf2b4b497718.diff
LOG:
Author: Ben Shi
Date: 2020-10-29T11:49:21+08:00
New Revision: 5be50d79c0b8e01e7085a668aa5cac1e20807c30
URL:
https://github.com/llvm/llvm-project/commit/5be50d79c0b8e01e7085a668aa5cac1e20807c30
DIFF:
https://github.com/llvm/llvm-project/commit/5be50d79c0b8e01e7085a668aa5cac1e20807c30.diff
LOG:
Author: Ben Shi
Date: 2021-05-12T22:05:26+08:00
New Revision: 892c56eabe250acaeb761eaddf783f47d95f7f4d
URL:
https://github.com/llvm/llvm-project/commit/892c56eabe250acaeb761eaddf783f47d95f7f4d
DIFF:
https://github.com/llvm/llvm-project/commit/892c56eabe250acaeb761eaddf783f47d95f7f4d.diff
LOG:
Author: Ben Shi
Date: 2021-05-18T07:06:12+08:00
New Revision: b99e2c56166a3a74ac9c49512c584d5b158ac9c6
URL:
https://github.com/llvm/llvm-project/commit/b99e2c56166a3a74ac9c49512c584d5b158ac9c6
DIFF:
https://github.com/llvm/llvm-project/commit/b99e2c56166a3a74ac9c49512c584d5b158ac9c6.diff
LOG:
Author: Ben Shi
Date: 2021-05-30T22:39:07+08:00
New Revision: c1ee4fb5af49af5911ad7dc7932d975073030ec3
URL:
https://github.com/llvm/llvm-project/commit/c1ee4fb5af49af5911ad7dc7932d975073030ec3
DIFF:
https://github.com/llvm/llvm-project/commit/c1ee4fb5af49af5911ad7dc7932d975073030ec3.diff
LOG:
Author: Ben Shi
Date: 2021-01-25T12:01:26+08:00
New Revision: 89a5147e5a0c2e886cdf7ffa34799c069d825940
URL:
https://github.com/llvm/llvm-project/commit/89a5147e5a0c2e886cdf7ffa34799c069d825940
DIFF:
https://github.com/llvm/llvm-project/commit/89a5147e5a0c2e886cdf7ffa34799c069d825940.diff
LOG:
Author: Ben Shi
Date: 2021-01-25T16:33:58+08:00
New Revision: 01d9f13c3a5914baf9739348ef666e348a7b2a2f
URL:
https://github.com/llvm/llvm-project/commit/01d9f13c3a5914baf9739348ef666e348a7b2a2f
DIFF:
https://github.com/llvm/llvm-project/commit/01d9f13c3a5914baf9739348ef666e348a7b2a2f.diff
LOG:
Author: Ben Shi
Date: 2021-02-02T22:45:52+08:00
New Revision: 9b0b435d7931bdb1fb128861cc9063a365a9e648
URL:
https://github.com/llvm/llvm-project/commit/9b0b435d7931bdb1fb128861cc9063a365a9e648
DIFF:
https://github.com/llvm/llvm-project/commit/9b0b435d7931bdb1fb128861cc9063a365a9e648.diff
LOG:
Author: Ben Shi
Date: 2021-02-03T18:23:01+08:00
New Revision: d38973aa4d6a2c8be97b9781ca7325ca3eb0c40d
URL:
https://github.com/llvm/llvm-project/commit/d38973aa4d6a2c8be97b9781ca7325ca3eb0c40d
DIFF:
https://github.com/llvm/llvm-project/commit/d38973aa4d6a2c8be97b9781ca7325ca3eb0c40d.diff
LOG:
Author: Ben Shi
Date: 2021-02-03T20:00:06+08:00
New Revision: 3fda262b7d7bdbf9db5b1d6602602733b4cf4f35
URL:
https://github.com/llvm/llvm-project/commit/3fda262b7d7bdbf9db5b1d6602602733b4cf4f35
DIFF:
https://github.com/llvm/llvm-project/commit/3fda262b7d7bdbf9db5b1d6602602733b4cf4f35.diff
LOG:
Author: Ben Shi
Date: 2021-06-10T09:14:14+08:00
New Revision: b0eb3919835a7bb57cb28ae684d77fece8ff025c
URL:
https://github.com/llvm/llvm-project/commit/b0eb3919835a7bb57cb28ae684d77fece8ff025c
DIFF:
https://github.com/llvm/llvm-project/commit/b0eb3919835a7bb57cb28ae684d77fece8ff025c.diff
LOG:
Author: Matt Jacobson
Date: 2021-08-06T10:14:23+08:00
New Revision: dae7adda949993bd96aa50c551dc64ddebba7923
URL:
https://github.com/llvm/llvm-project/commit/dae7adda949993bd96aa50c551dc64ddebba7923
DIFF:
https://github.com/llvm/llvm-project/commit/dae7adda949993bd96aa50c551dc64ddebba7923.diff
Author: Matt Jacobson
Date: 2021-08-07T10:24:14+08:00
New Revision: 71e71067f3fa621d961e2607f1c8cea7cdce3f9d
URL:
https://github.com/llvm/llvm-project/commit/71e71067f3fa621d961e2607f1c8cea7cdce3f9d
DIFF:
https://github.com/llvm/llvm-project/commit/71e71067f3fa621d961e2607f1c8cea7cdce3f9d.diff
Author: Ben Shi
Date: 2021-08-17T11:51:35+08:00
New Revision: b31199bab4865deef4e778d7a028c8ec64285654
URL:
https://github.com/llvm/llvm-project/commit/b31199bab4865deef4e778d7a028c8ec64285654
DIFF:
https://github.com/llvm/llvm-project/commit/b31199bab4865deef4e778d7a028c8ec64285654.diff
LOG:
Author: Ben Shi
Date: 2021-06-29T11:32:39+08:00
New Revision: c94c8d8b5d999c97ea424b35a1cb540d2a1d3bc6
URL:
https://github.com/llvm/llvm-project/commit/c94c8d8b5d999c97ea424b35a1cb540d2a1d3bc6
DIFF:
https://github.com/llvm/llvm-project/commit/c94c8d8b5d999c97ea424b35a1cb540d2a1d3bc6.diff
LOG:
Author: jacquesguan
Date: 2021-07-09T13:18:42+08:00
New Revision: 88326bbce38c53f4782ba3b593b6720438a9569c
URL:
https://github.com/llvm/llvm-project/commit/88326bbce38c53f4782ba3b593b6720438a9569c
DIFF:
https://github.com/llvm/llvm-project/commit/88326bbce38c53f4782ba3b593b6720438a9569c.diff
L
Author: Ben Shi
Date: 2021-10-27T01:28:35Z
New Revision: 9c7ace60aa629ecb7bc836802a7f4e33ee1045f1
URL:
https://github.com/llvm/llvm-project/commit/9c7ace60aa629ecb7bc836802a7f4e33ee1045f1
DIFF:
https://github.com/llvm/llvm-project/commit/9c7ace60aa629ecb7bc836802a7f4e33ee1045f1.diff
LOG: [CUDA
Author: Ben Shi
Date: 2022-08-13T20:40:21+08:00
New Revision: 44a647d21d946f8cc3eb7c1fea33311cf778f303
URL:
https://github.com/llvm/llvm-project/commit/44a647d21d946f8cc3eb7c1fea33311cf778f303
DIFF:
https://github.com/llvm/llvm-project/commit/44a647d21d946f8cc3eb7c1fea33311cf778f303.diff
LOG:
Author: Ben Shi
Date: 2022-08-16T07:55:41+08:00
New Revision: 65c022a75fa7ca87dbf8375527c76eaf7d5f16c5
URL:
https://github.com/llvm/llvm-project/commit/65c022a75fa7ca87dbf8375527c76eaf7d5f16c5
DIFF:
https://github.com/llvm/llvm-project/commit/65c022a75fa7ca87dbf8375527c76eaf7d5f16c5.diff
LOG:
Author: Ben Shi
Date: 2022-08-16T09:22:50+08:00
New Revision: f45d89d73d3fcf4fd105a4d31c40eee9f0aa7fa1
URL:
https://github.com/llvm/llvm-project/commit/f45d89d73d3fcf4fd105a4d31c40eee9f0aa7fa1
DIFF:
https://github.com/llvm/llvm-project/commit/f45d89d73d3fcf4fd105a4d31c40eee9f0aa7fa1.diff
LOG:
Author: Ben Shi
Date: 2022-12-21T20:33:49+08:00
New Revision: b2638a7a34d97066caa234999055bf580cbab02f
URL:
https://github.com/llvm/llvm-project/commit/b2638a7a34d97066caa234999055bf580cbab02f
DIFF:
https://github.com/llvm/llvm-project/commit/b2638a7a34d97066caa234999055bf580cbab02f.diff
LOG:
Author: Ben Shi
Date: 2022-11-17T08:38:44+08:00
New Revision: 84ef7235732896530564289c8db59291a7d5413e
URL:
https://github.com/llvm/llvm-project/commit/84ef7235732896530564289c8db59291a7d5413e
DIFF:
https://github.com/llvm/llvm-project/commit/84ef7235732896530564289c8db59291a7d5413e.diff
LOG:
Author: Ben Shi
Date: 2023-01-13T10:04:22+08:00
New Revision: 485ba407a6a903b2443a8b6b7912de234cc60ffd
URL:
https://github.com/llvm/llvm-project/commit/485ba407a6a903b2443a8b6b7912de234cc60ffd
DIFF:
https://github.com/llvm/llvm-project/commit/485ba407a6a903b2443a8b6b7912de234cc60ffd.diff
LOG:
Author: Ben Shi
Date: 2023-01-13T17:22:15+08:00
New Revision: 16f9451b07619cd84e0b88ff17ca2b27a2c1f9cc
URL:
https://github.com/llvm/llvm-project/commit/16f9451b07619cd84e0b88ff17ca2b27a2c1f9cc
DIFF:
https://github.com/llvm/llvm-project/commit/16f9451b07619cd84e0b88ff17ca2b27a2c1f9cc.diff
LOG:
Author: Ben Shi
Date: 2022-06-13T23:38:59Z
New Revision: d7599be9e84fb205b7f50de406dc87858aebc0f4
URL:
https://github.com/llvm/llvm-project/commit/d7599be9e84fb205b7f50de406dc87858aebc0f4
DIFF:
https://github.com/llvm/llvm-project/commit/d7599be9e84fb205b7f50de406dc87858aebc0f4.diff
LOG: [Driv
Author: Ben Shi
Date: 2022-06-14T09:12:21+08:00
New Revision: 520d17bfa012e07daf7abda68cf903838b374848
URL:
https://github.com/llvm/llvm-project/commit/520d17bfa012e07daf7abda68cf903838b374848
DIFF:
https://github.com/llvm/llvm-project/commit/520d17bfa012e07daf7abda68cf903838b374848.diff
LOG:
Author: Ben Shi
Date: 2022-06-14T01:30:49Z
New Revision: 3b6e166999bb83197c8b70468c2d371c58cf0c25
URL:
https://github.com/llvm/llvm-project/commit/3b6e166999bb83197c8b70468c2d371c58cf0c25
DIFF:
https://github.com/llvm/llvm-project/commit/3b6e166999bb83197c8b70468c2d371c58cf0c25.diff
LOG: [Driv
Author: Ben Shi
Date: 2022-06-15T02:57:31Z
New Revision: 753b915167bd40375e879866c66be14b7b6a8db8
URL:
https://github.com/llvm/llvm-project/commit/753b915167bd40375e879866c66be14b7b6a8db8
DIFF:
https://github.com/llvm/llvm-project/commit/753b915167bd40375e879866c66be14b7b6a8db8.diff
LOG: [Driv
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/68484
If '-r' is specified with target AVR:
1. Do not link to the avr-libc.
2. Do not emit some conflict options.
3. Do not emit any sub-target related address information/warning.
>From ddf6da9bbbc6a5a65ae34912d176
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/68484
>From 67f8eaebefdf2a91bcc972cc83533264df144336 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sat, 7 Oct 2023 20:49:36 +0800
Subject: [PATCH] [clang][driver] Support option '-r' for target AVR
If '-r' is specifi
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/68484
>From 88e173ea772e2b4996c874a093bab087d5c98187 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sat, 7 Oct 2023 20:49:36 +0800
Subject: [PATCH] [clang][driver] Support option '-r' for target AVR
If '-r' is specifi
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/68507
If `-fuse-ld=lld` is specified but no user linker script is offered, we try to
use avr-libc's default one for lld. (not needed for GNU ld)
>From 2ac033cc4750ffda8f1aded4b896de93713047ad Mon Sep 17 00:00:00 200
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/68507
>From f13fad7cfcfbf654052d595cf3dd985fbaefeb76 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sun, 8 Oct 2023 15:00:32 +0800
Subject: [PATCH] [clang][driver] Add avr-libc's default linker script to lld
If `-fuse
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/68484
>From 329c4e231a2d039bec48699058e615da3fa3a6e8 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sat, 7 Oct 2023 20:49:36 +0800
Subject: [PATCH] [clang][driver] Support option '-r' for target AVR
If '-r' is specifi
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/68484
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/68507
>From b2a442d6aca019a42baef45e1f245dc1ea5bd8a1 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Wed, 11 Oct 2023 14:05:14 +0800
Subject: [PATCH] [clang][driver] Add avr-libc's default linker script to lld
If lld i
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/68507
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ben Shi
Date: 2023-10-15T15:29:14+08:00
New Revision: fad99d398a714f2fed18e2e65aef47a9b273f2f7
URL:
https://github.com/llvm/llvm-project/commit/fad99d398a714f2fed18e2e65aef47a9b273f2f7
DIFF:
https://github.com/llvm/llvm-project/commit/fad99d398a714f2fed18e2e65aef47a9b273f2f7.diff
LOG:
Author: Ben Shi
Date: 2023-03-15T16:44:49+08:00
New Revision: 96cc2d07e15a5ce9ad134ed8db0a88d7c6c0d657
URL:
https://github.com/llvm/llvm-project/commit/96cc2d07e15a5ce9ad134ed8db0a88d7c6c0d657
DIFF:
https://github.com/llvm/llvm-project/commit/96cc2d07e15a5ce9ad134ed8db0a88d7c6c0d657.diff
LOG:
Author: Ben Shi
Date: 2023-03-22T12:57:58+08:00
New Revision: 0d37efdbc599e61ce2a0418723a66d6b45aea8d7
URL:
https://github.com/llvm/llvm-project/commit/0d37efdbc599e61ce2a0418723a66d6b45aea8d7
DIFF:
https://github.com/llvm/llvm-project/commit/0d37efdbc599e61ce2a0418723a66d6b45aea8d7.diff
LOG:
Author: Ben Shi
Date: 2023-03-01T15:55:30+08:00
New Revision: 1c112897b20274852a9280d20cebd5c9f3619a7a
URL:
https://github.com/llvm/llvm-project/commit/1c112897b20274852a9280d20cebd5c9f3619a7a
DIFF:
https://github.com/llvm/llvm-project/commit/1c112897b20274852a9280d20cebd5c9f3619a7a.diff
LOG:
Author: Ben Shi
Date: 2023-02-24T07:16:31+08:00
New Revision: 91610433907ebc335576f0da286f0c8a7793e3a9
URL:
https://github.com/llvm/llvm-project/commit/91610433907ebc335576f0da286f0c8a7793e3a9
DIFF:
https://github.com/llvm/llvm-project/commit/91610433907ebc335576f0da286f0c8a7793e3a9.diff
LOG:
https://github.com/benshi001 approved this pull request.
https://github.com/llvm/llvm-project/pull/82228
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
https://github.com/benshi001 edited
https://github.com/llvm/llvm-project/pull/81842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
https://github.com/benshi001 approved this pull request.
https://github.com/llvm/llvm-project/pull/81842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
@@ -268,6 +268,16 @@ void test_clearerr(FILE *F) {
// expected-warning@-1{{FALSE}}
}
+void test_fileno(FILE *F) {
+ errno = 0;
+ int A = fileno(F);
+ clang_analyzer_eval(F != NU
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
@@ -1404,6 +1486,47 @@ void StreamChecker::evalFeofFerror(const FnDescription
*Desc,
}
}
+void StreamChecker::evalFileno(const FnDescription *Desc, const CallEvent
&Call,
+ CheckerContext &C)
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
https://github.com/benshi001 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/102580
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/85921
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ben Shi
Date: 2022-01-19T11:24:01Z
New Revision: a2f488c6a5ce251426e4108fe3276f554f5bafac
URL:
https://github.com/llvm/llvm-project/commit/a2f488c6a5ce251426e4108fe3276f554f5bafac
DIFF:
https://github.com/llvm/llvm-project/commit/a2f488c6a5ce251426e4108fe3276f554f5bafac.diff
LOG: [clan
Author: Chenbing.Zheng
Date: 2022-01-20T08:27:05Z
New Revision: 0be3da1fab5a88d497081026fbcab7c0f6c88ef4
URL:
https://github.com/llvm/llvm-project/commit/0be3da1fab5a88d497081026fbcab7c0f6c88ef4
DIFF:
https://github.com/llvm/llvm-project/commit/0be3da1fab5a88d497081026fbcab7c0f6c88ef4.diff
LOG
Author: Ben Shi
Date: 2022-01-30T02:24:35Z
New Revision: ac3894cf1e093baff747d63bd37844b9176bcbe0
URL:
https://github.com/llvm/llvm-project/commit/ac3894cf1e093baff747d63bd37844b9176bcbe0
DIFF:
https://github.com/llvm/llvm-project/commit/ac3894cf1e093baff747d63bd37844b9176bcbe0.diff
LOG: [Clan
Author: Ben Shi
Date: 2022-01-30T02:26:19Z
New Revision: 653836251ac41775e3d376e9ee28efd2ea0232b2
URL:
https://github.com/llvm/llvm-project/commit/653836251ac41775e3d376e9ee28efd2ea0232b2
DIFF:
https://github.com/llvm/llvm-project/commit/653836251ac41775e3d376e9ee28efd2ea0232b2.diff
LOG: [clan
Author: Ben Shi
Date: 2022-02-25T00:23:46Z
New Revision: 91c587b3b1d6452da772109de6fb2938d1c11059
URL:
https://github.com/llvm/llvm-project/commit/91c587b3b1d6452da772109de6fb2938d1c11059
DIFF:
https://github.com/llvm/llvm-project/commit/91c587b3b1d6452da772109de6fb2938d1c11059.diff
LOG: [clan
Author: Lian Wang
Date: 2022-01-13T02:53:00Z
New Revision: 16877c5d2cd3f5c45642c9dc546c376ac87aa54d
URL:
https://github.com/llvm/llvm-project/commit/16877c5d2cd3f5c45642c9dc546c376ac87aa54d
DIFF:
https://github.com/llvm/llvm-project/commit/16877c5d2cd3f5c45642c9dc546c376ac87aa54d.diff
LOG: [RI
Author: Chenbing.Zheng
Date: 2022-01-15T08:40:09Z
New Revision: 8123e2ed7490440693ed69d00618aa4f13e70b50
URL:
https://github.com/llvm/llvm-project/commit/8123e2ed7490440693ed69d00618aa4f13e70b50
DIFF:
https://github.com/llvm/llvm-project/commit/8123e2ed7490440693ed69d00618aa4f13e70b50.diff
LOG
Author: Ben Shi
Date: 2021-04-10T11:23:55+08:00
New Revision: 4f173c0c42d02b14ab388a826ef0d463a07d7953
URL:
https://github.com/llvm/llvm-project/commit/4f173c0c42d02b14ab388a826ef0d463a07d7953
DIFF:
https://github.com/llvm/llvm-project/commit/4f173c0c42d02b14ab388a826ef0d463a07d7953.diff
LOG:
Author: Ben Shi
Date: 2021-04-17T07:17:34+08:00
New Revision: 06995fe256ec5a80092d5045c30b2c94f5ed8232
URL:
https://github.com/llvm/llvm-project/commit/06995fe256ec5a80092d5045c30b2c94f5ed8232
DIFF:
https://github.com/llvm/llvm-project/commit/06995fe256ec5a80092d5045c30b2c94f5ed8232.diff
LOG:
Author: jacquesguan
Date: 2021-10-12T10:26:25Z
New Revision: 477f5f4fca2b1d994045a0cb821ffb3873519243
URL:
https://github.com/llvm/llvm-project/commit/477f5f4fca2b1d994045a0cb821ffb3873519243
DIFF:
https://github.com/llvm/llvm-project/commit/477f5f4fca2b1d994045a0cb821ffb3873519243.diff
LOG: [
Author: Ben Shi
Date: 2021-09-03T22:35:42+08:00
New Revision: 12fee64daf576c9f4a91fab8ddd5eb512fa14307
URL:
https://github.com/llvm/llvm-project/commit/12fee64daf576c9f4a91fab8ddd5eb512fa14307
DIFF:
https://github.com/llvm/llvm-project/commit/12fee64daf576c9f4a91fab8ddd5eb512fa14307.diff
LOG:
201 - 300 of 353 matches
Mail list logo