Jeroen Ketema
|
04cfd37f53
|
C++: Fix comments in tests
|
2026-04-07 10:52:12 +02:00 |
|
Jeroen Ketema
|
b19c648965
|
C++: Add heuristic for GNU autoconf config files
|
2026-04-07 10:43:15 +02:00 |
|
Jeroen Ketema
|
5122f7cf92
|
C++: Add heuristics for meson configuration files
|
2026-03-31 11:02:26 +02:00 |
|
Jeroen Ketema
|
afd33e4dcd
|
C++: Add test for meson configuration files
|
2026-03-31 10:23:51 +02:00 |
|
Geoffrey White
|
0ce409efd7
|
Update cpp/ql/test/query-tests/Likely Bugs/Likely Typos/ExprHasNoEffect/CMakeFiles/CMakeScratch/TryCompile-abcdef/CheckFunctionExists.c
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2025-01-09 15:17:57 +00:00 |
|
Jeroen Ketema
|
06f6bac169
|
C++: Silence alerts coming from CMake test compilation files
|
2025-01-07 14:12:55 +01:00 |
|
Jeroen Ketema
|
ede801ed88
|
C++: Add CMake test compilation test
|
2025-01-07 14:12:11 +01:00 |
|
Geoffrey White
|
f4e4e238ba
|
C++: Add test cases for IncorrectNotOperatorUsage.ql.
|
2024-05-02 17:17:55 +01:00 |
|
Mathias Vorreiter Pedersen
|
104416cc59
|
C++: Accept test changes.
|
2023-08-25 16:40:06 +01:00 |
|
Mathias Vorreiter Pedersen
|
759f939edd
|
C++: Add false positive.
|
2023-08-25 16:38:48 +01: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
|
3cf11eca2a
|
C++: And more test cases.
|
2020-08-07 17:30:07 +01:00 |
|
Geoffrey White
|
7d491afaeb
|
C++: More test cases.
|
2020-08-07 17:05:13 +01:00 |
|
Geoffrey White
|
b7d2e0ca63
|
C++: Make all the tests meaningful.
|
2020-08-07 14:18:28 +01:00 |
|
Geoffrey White
|
0b5b7fa095
|
C++: Fix another edge case.
|
2020-08-06 19:06:42 +01:00 |
|
Geoffrey White
|
b3f3f6d95a
|
C++: Fix edge case.
|
2020-08-06 19:03:43 +01:00 |
|
Geoffrey White
|
cbf30e37ed
|
C++: Fix the issue.
|
2020-08-06 18:50:18 +01:00 |
|
Geoffrey White
|
a7564c9e0e
|
C++: Add a test of unsigned count-down loops.
|
2020-08-06 18:44:22 +01:00 |
|
Mathias Vorreiter Pedersen
|
111f1dbd19
|
Merge branch 'assign-where-compare-meant-false-positives' of github.com:MathiasVP/ql into assign-where-compare-meant-false-positives
|
2020-01-10 13:14:00 +01:00 |
|
Mathias Vorreiter Pedersen
|
f80c13abd7
|
C++: Fixed incorrect comments in testcases
|
2020-01-10 12:24:43 +01:00 |
|
Mathias Vorreiter Pedersen
|
21c99d1827
|
Typo fix
Co-Authored-By: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
|
2020-01-10 11:46:14 +01:00 |
|
Mathias Vorreiter Pedersen
|
d9f931da3c
|
C++: Fix false positives
|
2020-01-07 14:16:50 +01:00 |
|
Mathias Vorreiter Pedersen
|
6bbe2c48bf
|
C++: Add testcase demonstrating false positive
|
2020-01-07 14:13:34 +01:00 |
|
Mathias Vorreiter Pedersen
|
9a841636dc
|
C++: Fix false positive
|
2020-01-07 13:22:07 +01:00 |
|
Mathias Vorreiter Pedersen
|
faa9d83567
|
C++: Add testcase demonstrating false positive
|
2020-01-07 13:18:38 +01:00 |
|
Mathias Vorreiter Pedersen
|
bdd0589223
|
C++: Fix false positive
|
2020-01-07 13:16:47 +01:00 |
|
Mathias Vorreiter Pedersen
|
428e357488
|
C++: Add testcase demonstrating false positive
|
2020-01-07 11:41:48 +01:00 |
|
Geoffrey White
|
676e8a2c2e
|
Merge pull request #2399 from jbj/ExprHasNoEffect-templates
C++: Suppress ExprHasNoEffect on template code
|
2019-11-21 18:01:41 +00:00 |
|
Jonas Jensen
|
b325427d29
|
C++: Suppress ExprHasNoEffect on template code
|
2019-11-20 15:12:25 +01:00 |
|
Jonas Jensen
|
4dafa16572
|
C++: Fix FP on unevaluated code
This fixes false positives on tenzir/vast.
|
2019-11-20 10:42:36 +01:00 |
|
Jonas Jensen
|
a1af96e521
|
C++: Reproduce a reported FP
|
2019-11-19 16:17:49 +01:00 |
|
Geoffrey White
|
9a0645ac0b
|
CPP: Calls to weak functions should be considered impure.
|
2019-06-24 22:04:12 +01:00 |
|
Geoffrey White
|
aee2af7ca1
|
CPP: Add a test of ExprHasNoEffect.ql with a call to a 'weak' function.
|
2019-06-24 22:01:46 +01:00 |
|
Ziemowit Laski
|
5a092d0fed
|
[CPP-340] Create three QL queries: (1) mismatched argument types,
(2) too few arguments and (3) too many arguments.
Create new 'UnderspecifiedFunction' folders for both queries and tests.
|
2019-03-20 19:42:51 -07:00 |
|
Ziemowit Laski
|
2def0ee9c1
|
[CPP-340] Re-work QL query; treat undeclared C functions the same way as
()-declared functions.
|
2019-03-19 16:01:35 -07:00 |
|
Ziemowit Laski
|
0c350dc504
|
[CPP-340] Create QL query for function call argument count mismatches.
Update QHELP file, test and test results.
|
2019-03-19 16:00:02 -07:00 |
|
semmle-qlci
|
bf64fee4bd
|
Merge pull request #790 from rdmarsh2/rdmarsh/cpp/futile-params
Approved by semmledocs-ac
|
2019-01-28 22:11:44 +00:00 |
|
Robert Marsh
|
44d8e6b6e2
|
C++: respond to PR comments
|
2019-01-24 10:50:56 -08:00 |
|
Jonas Jensen
|
61e23bed88
|
Merge branch 'master' into strcpy-fixups
|
2019-01-24 10:51:51 +01:00 |
|
Robert Marsh
|
fa02042fda
|
C++: add more tests and rename test functions
|
2019-01-23 11:42:44 -08:00 |
|
Jonas Jensen
|
189d82b79a
|
C++: Change exclusion to not be only operator=
|
2019-01-18 11:19:38 +01:00 |
|
Robert Marsh
|
64ed9305d3
|
C++: new query for futile arguments to C functions
|
2019-01-17 10:45:10 -08:00 |
|
Jonas Jensen
|
9751a91087
|
C++: Accept changes to alert message in test
|
2019-01-14 21:43:57 +01:00 |
|
Jonas Jensen
|
6385dd38cf
|
C++: Exclude operator= in ExprHasNoEffect
|
2019-01-11 13:30:08 +01:00 |
|
Jonas Jensen
|
95e457cb49
|
C++: Add test with FP in ExprHasNoEffect
|
2019-01-11 13:18:44 +01:00 |
|
Jonas Jensen
|
aa0f2f2da3
|
C++: Support ?: in UsingStrcpyAsBoolean.ql
I removed some unnecessary parentheses for symmetry, causing whitespace
changes.
|
2019-01-10 08:35:54 +01:00 |
|
Jonas Jensen
|
0f88a4b312
|
C++: Test ?: support in UsingStrcpyAsBoolean.ql
This test shows that the query only supports the ternary operator in
C++, not C.
|
2019-01-10 08:35:54 +01:00 |
|
Jonas Jensen
|
4dd36772ef
|
C++: Remove UsingStrcpyAsBoolean.ql duplicates
|
2019-01-10 08:35:54 +01:00 |
|
Jonas Jensen
|
3a6a515a1d
|
C++: Tabs to spaces and // Bug comments in test
This changes the column numbers in the expected test output.
|
2019-01-10 08:35:53 +01:00 |
|