Skip to content

Commit 7b83947

Browse files
committed
Merge branch 'main' into fewer-dataflow-branches
2 parents 1c73d43 + 9a555ba commit 7b83947

File tree

79 files changed

+12353
-3566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+12353
-3566
lines changed

cpp/ql/lib/DefaultOptions.qll

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ class Options extends string {
5252
/**
5353
* Holds if a call to this function will never return.
5454
*
55-
* By default, this holds for `exit`, `_exit`, `abort`, `__assert_fail`,
56-
* `longjmp`, `__builtin_unreachable` and any function with a
57-
* `noreturn` attribute or specifier.
55+
* By default, this holds for `exit`, `_exit`, `_Exit`, `abort`,
56+
* `__assert_fail`, `longjmp`, `__builtin_unreachable` and any
57+
* function with a `noreturn` or `__noreturn__` attribute or
58+
* `noreturn` specifier.
5859
*/
5960
predicate exits(Function f) {
60-
f.getAnAttribute().hasName("noreturn")
61+
f.getAnAttribute().hasName(["noreturn", "__noreturn__"])
6162
or
6263
f.getASpecifier().hasName("noreturn")
6364
or
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The `Guards` library has been replaced with the API-compatible `IRGuards` implementation, which has better precision in some cases.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The deprecated `DefaultTaintTracking` library has been removed.

0 commit comments

Comments
 (0)