Jeroen Ketema
|
a546e6e01c
|
C++: Update test to run with C++14
The test uses an `auto` return type without a trailing return type, which is
a C++14 feature.
|
2022-04-25 21:13:24 +02:00 |
|
Mathias Vorreiter Pedersen
|
dfb20f7721
|
Merge pull request #8368 from MathiasVP/add-must-flow-lib
C++: Factor must-flow predicates out of two queries
|
2022-03-09 17:07:23 +00:00 |
|
Mathias Vorreiter Pedersen
|
69417e150a
|
C++: Address review comments.
|
2022-03-08 13:15:02 +00:00 |
|
Mathias Vorreiter Pedersen
|
bf10456bf5
|
C++: Add a path explanation to the 'cpp/using-expired-stack-address' query.
|
2022-03-03 13:55:00 +00:00 |
|
Mathias Vorreiter Pedersen
|
9df923a7c8
|
C++: Catch more true positives by stepping into calls in the 'cpp/using-expired-stack-address' query.
|
2022-03-03 13:53:09 +00:00 |
|
Mathias Vorreiter Pedersen
|
e4af34253a
|
C++: Actually fix incorrect annotation
|
2022-02-24 11:06:57 +00:00 |
|
Mathias Vorreiter Pedersen
|
033edc24f4
|
C++: Respond to review comments.
|
2022-02-23 16:23:49 +00:00 |
|
Mathias Vorreiter Pedersen
|
53299d61eb
|
C++: Add more tests.
|
2022-02-23 11:38:01 +00:00 |
|
Mathias Vorreiter Pedersen
|
ea35f56212
|
C++: Add a query for detecting uses of expired stack pointers that escaped through global variables.
|
2022-02-22 19:12:08 +00:00 |
|
Mathias Vorreiter Pedersen
|
48064c1c8f
|
C++: Fix false positive.
|
2022-01-21 15:16:02 +00:00 |
|
Mathias Vorreiter Pedersen
|
7c8c2090f7
|
C++: Add real-world false positive from the 'cpp/return-stack-allocated-memory' query.
|
2022-01-21 15:14:18 +00:00 |
|
Mathias Vorreiter Pedersen
|
117795c409
|
Merge pull request #7682 from MathiasVP/rewrite-return-stack-allocated-memory-to-use-ir
C++: Use the IR for `cpp/return-stack-allocated-memory`.
|
2022-01-21 14:57:30 +00:00 |
|
Mathias Vorreiter Pedersen
|
e689f6bad2
|
C++: Use the IR for 'cpp/return-stack-allocated-memory'.
|
2022-01-20 18:22:49 +00:00 |
|
Geoffrey White
|
548a62d1ab
|
C++: Fix branch related FPs in cpp/improper-null-termination.
|
2022-01-18 11:13:08 +00:00 |
|
Mathias Vorreiter Pedersen
|
65c301c39f
|
Update cpp/ql/test/query-tests/Likely Bugs/Arithmetic/BadAdditionOverflowCheck/templates.cpp
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
|
2021-12-15 09:22:41 +00:00 |
|
Mathias Vorreiter Pedersen
|
b2082cc3da
|
C++: Fix false positive in 'cpp/cpp/comparison-of-identical-expressions'.
|
2021-12-14 16:39:25 +00:00 |
|
Mathias Vorreiter Pedersen
|
9d14a85f3f
|
C++: Add false positive.
|
2021-12-14 16:38:19 +00:00 |
|
Mathias Vorreiter Pedersen
|
c998370c84
|
C++: Accept more test changes.
|
2021-11-17 15:22:17 +00:00 |
|
Geoffrey White
|
5379b25146
|
C++: Add tests.
|
2021-10-20 15:44:56 +01:00 |
|
Geoffrey White
|
11b8d4191f
|
C++: Repair .expected following merge.
|
2021-10-04 16:53:33 +01:00 |
|
Geoffrey White
|
2c64fa50d2
|
Merge branch 'main' into impropnullfp
|
2021-10-04 16:51:21 +01:00 |
|
Geoffrey White
|
ada30800c9
|
C++: Exclude results where identity-like functions obscure operations on a variable.
|
2021-10-01 16:16:06 +01:00 |
|
Geoffrey White
|
11d7a0b712
|
C++: Exclude results where the address of the variable is taken.
|
2021-10-01 14:39:02 +01:00 |
|
Geoffrey White
|
ec2e4f432a
|
C++: Add more test cases, inspired by FPs on LGTM with the query.
|
2021-10-01 14:03:41 +01:00 |
|
Geoffrey White
|
74957dcb2e
|
C++: Test spacing.
|
2021-10-01 13:59:34 +01:00 |
|
Geoffrey White
|
7e7dfe2cc4
|
C++: Understand format arguments.
|
2021-09-24 19:25:43 +01:00 |
|
Geoffrey White
|
91a8b9fdd9
|
C++: Add suggested test (and a good variant).
|
2021-09-24 18:34:28 +01:00 |
|
Anders Peter Fugmann
|
1bbadb57a2
|
Merge pull request #6568 from andersfugmann/andersfugmann/improve_upper_bound
C++: Improve predicate upperBound in SimpleRangeAnalysis
|
2021-09-10 09:49:48 +02:00 |
|
Anders Schack-Mulligen
|
f30dad7705
|
Dataflow: Update test expected outputs.
|
2021-09-07 13:02:20 +02:00 |
|
Anders Fugmann
|
ddbaf585ec
|
Merge branch 'main' into andersfugmann/improve_upper_bound
|
2021-09-06 10:32:44 +02:00 |
|
Geoffrey White
|
4e60fd5fc7
|
C++:Add the ImproperNullTerminationTainted.ql query to the test.
|
2021-09-03 15:53:24 +01:00 |
|
Geoffrey White
|
ccf1a44a2b
|
C++: Extend tests for cpp/improper-null-termination.
|
2021-09-03 15:48:36 +01:00 |
|
Anders Fugmann
|
c110508b4e
|
C++: Add tests to expose potential improvements available to SimpleRangeAnalysis
|
2021-09-02 21:20:33 +02:00 |
|
Anders Fugmann
|
c04ba7b724
|
C++: Revert benign change of return type from 'unsigned int' to 'int' in testcase, and add 'GOOD' annotation to the testcase
|
2021-08-23 14:58:43 +02:00 |
|
Anders Fugmann
|
9324d8f348
|
C++: Fix case where implicit downcasts were not detected when using reference
|
2021-08-23 14:44:49 +02:00 |
|
Anders Fugmann
|
8939a9b2c1
|
C++: Add tests for implicit downcast involving references
|
2021-08-23 14:42:36 +02:00 |
|
Geoffrey White
|
ae35ae10e6
|
C++: Fix readlink FPs.
|
2021-07-28 17:45:18 +01:00 |
|
Geoffrey White
|
c2ef58d29d
|
C++: Support 'readlinkat'.
|
2021-07-28 16:15:28 +01:00 |
|
Geoffrey White
|
358d89f3ce
|
C++: Add tests.
|
2021-07-28 16:15:16 +01:00 |
|
Geoffrey White
|
6e49891ed9
|
C++: Accept Microsoft/non-Microsoft format specifiers on the opposite platform.
|
2021-06-29 16:45:46 +01:00 |
|
Mathias Vorreiter Pedersen
|
e857ac1149
|
C++: Add more tests and remove redundant conjunct.
|
2021-05-25 09:17:42 +02:00 |
|
Mathias Vorreiter Pedersen
|
8d0cfb4e91
|
C++: Merge tests from 'cpp/access-memory-location-after-end-buffer-strncat' into the tests from 'cpp/unsafe-strncat'.
|
2021-05-21 10:34:59 +02:00 |
|
Mathias Vorreiter Pedersen
|
93e55e2631
|
C++: Fix FP in cpp/return-stack-allocated-memory.
|
2021-04-20 13:58:12 +02:00 |
|
Mathias Vorreiter Pedersen
|
1797b6c7f9
|
C++: Add FP test from the work on smart pointers in dataflow.
|
2021-04-20 13:54:57 +02:00 |
|
Mathias Vorreiter Pedersen
|
a5f4d43d61
|
C++: Fix false positive by adding another allow-list pattern in AssignWhereCompareMeant.
|
2021-04-06 11:01:38 +02:00 |
|
Mathias Vorreiter Pedersen
|
7045597139
|
C++: Add testcase with false positive from #5318.
|
2021-04-06 10:58:15 +02:00 |
|
Geoffrey White
|
708d3870ee
|
C++: Actually it's more appropriate to remove the implementation of vswprintf.
|
2021-02-02 13:42:27 +00:00 |
|
Geoffrey White
|
4e904dd87d
|
C++: Repair the test.
|
2021-02-02 13:08:46 +00:00 |
|
Geoffrey White
|
eed2aee17d
|
C++: Effect on tests.
|
2021-02-02 10:59:14 +00:00 |
|
Geoffrey White
|
93dfeac3c8
|
C++: Make specsAreKnown more accurate.
|
2020-12-15 17:43:28 +00:00 |
|