Owen Mansel-Chan
de4fe6d25c
Use inline expectations for query test
2026-03-26 15:27:17 +00:00
Owen Mansel-Chan
64a52ba07f
Update test that uses zmq models
2026-03-26 14:53:33 +00:00
Geoffrey White
208ae7aa01
Merge pull request #21514 from geoffw0/suspicioussizeof
...
C++: Fix an issue with cpp/suspicious-add-sizeof in BMN databases
2026-03-20 09:41:39 +00:00
Geoffrey White
92c9a8e146
Update cpp/ql/test/query-tests/Security/CWE/CWE-468/semmle/SuspiciousAddWithSizeof/buildless.cpp
2026-03-19 13:51:03 +00:00
Geoffrey White
0f794b57ed
C++: Fix the issue.
2026-03-19 13:16:16 +00:00
Geoffrey White
2e987f8d78
C++: Add test cases emulating cpp/suspicious-add-sizeof in buildless mode.
2026-03-19 13:00:58 +00:00
Geoffrey White
34f405f465
C++: Update test annotations.
2026-03-18 13:13:22 +00:00
Geoffrey White
a57f803b37
C++: Address false positive results.
2026-03-16 19:03:10 +00:00
Geoffrey White
1130870168
Merge remote-tracking branch 'upstream/main' into wrongtypeformat
2026-03-16 19:03:02 +00:00
Geoffrey White
eeb09ae389
C++: Fix typo.
2026-03-16 16:12:30 +00:00
Geoffrey White
3c4a386f3f
C++: Clarify two cases in the test.
2026-03-16 16:08:35 +00:00
Geoffrey White
6552c849f0
C++: Fix BMN issue in cpp/integer-multiplication-cast-to-long.
2026-03-11 17:49:36 +00:00
Geoffrey White
da7da80b2b
C++: Add pseudo-buildless test cases (some missing declarations).
2026-03-11 17:47:25 +00:00
Geoffrey White
da99d3660d
C++: Turns out we can simplify.
2026-03-06 11:53:43 +00:00
Geoffrey White
7f6fd34d46
C++: Expose a type resolution issue.
2026-03-06 11:34:57 +00:00
Geoffrey White
d23a3f821e
C++: Add a test case for WrongTypeFormatArguments involving code that's included twice.
2026-03-06 11:34:16 +00:00
Owen Mansel-Chan
ddebdad9e1
c++: Inline expectation should have space before $
2026-03-04 13:11:30 +00:00
Jeroen Ketema
197ee9b9a6
Revert "Merge pull request #21208 from jketema/jketema/softfloat"
...
This reverts commit 99de5d4238 , reversing
changes made to 12bd709219 .
2026-02-24 11:08:25 +01:00
Jeroen Ketema
a935d97190
C++: Update expected test results after extractor changes
2026-02-23 11:54:58 +01:00
Mathias Vorreiter Pedersen
1dba99f47d
Merge pull request #21292 from microsoft/UncheckedLeaprYearAfterModification_Refactor_Upstream
...
C++: Refactor of UncheckedLeapYearAfterModification
2026-02-20 12:11:45 +00:00
REDMOND\brodes
38219f6ebb
C++: Fixing FP in unit tests.
2026-02-19 14:08:36 -05:00
Geoffrey White
d7250a8abe
Address more non-ascii characters.
2026-02-18 11:23:01 +00:00
Jeroen Ketema
e299cccb6e
C++: Simplify test
2026-02-16 19:09:30 +01:00
Jeroen Ketema
4efbc6ea9b
C++: Handle allowInterproceduralFlow correctly in case of recursive functions
2026-02-16 19:04:23 +01:00
Jeroen Ketema
366ebcad83
C++: Add cpp/return-stack-allocated-memory test case
2026-02-16 18:58:39 +01:00
REDMOND\brodes
8e36316ebf
C++: Addressing Copilot PR suggestions.
2026-02-09 10:42:34 -05:00
REDMOND\brodes
36cc20989c
C++: Accept test changes (removing false negative)
2026-02-06 16:11:51 -05:00
REDMOND\brodes
a534d26449
C++: Accept test changes.
2026-02-06 16:07:44 -05:00
REDMOND\brodes
d9feadcfec
C++. Accept test changes. One false positive introduced, and one false negative remains.
2026-02-06 16:05:38 -05:00
REDMOND\brodes
6c171c804f
C++: Add more tests for modified years with and without leap year checks (UncheckedLeapYearAfterYearModification). Switch to using 'postprocess' for unit tests.
2026-02-06 16:03:25 -05:00
Simon Friis Vindum
26bd332617
Merge pull request #21113 from paldepind/cpp/range-analysis-float-ceil
...
C++: Remove `safeFloor` in simple range analysis
2026-01-08 13:07:30 +01:00
Simon Friis Vindum
f5ddb1d51d
C++: Remove safeFloor in simple range analysis
2026-01-07 12:49:09 +01:00
Jeroen Ketema
3cd9938ebe
C++: Update expected test results after IR changes
2026-01-06 17:37:22 +01:00
Jeroen Ketema
5117b5906b
C++: Exclude comparisons from enum constants in `cpp/constant-comparison
2026-01-06 13:53:44 +01:00
Jeroen Ketema
112eaadfae
C++: Add another cpp/constant-comparison FP test case
2026-01-06 13:53:43 +01:00
Jeroen Ketema
90d6c9fc56
C++: Exclude more comparisons from cpp/constant-comparison
2026-01-06 13:53:40 +01:00
Jeroen Ketema
509cbf7049
C++: Add cpp/constant-comparison FP test cases after frontend update
2026-01-06 13:53:38 +01:00
Jeroen Ketema
87a9065d61
C++: Update expected test results after frontend update
2026-01-06 13:53:34 +01:00
Mingjie Shen
25a46a82ba
C++: Use appropriate sizeof in CWE-119 memcpy tests
...
Signed-off-by: Mingjie Shen <shen497@purdue.edu >
2025-11-27 05:15:51 +00:00
Mingjie Shen
b293dfe3a6
C++: Fix CWE-119 memcpy tests
...
sizeof(pointer) only gives the pointer size, not the buffer
size, so use explicit 10/20 lengths in tests.cpp and update
OverflowBuffer.expected to accept the resulting memcpy diagnostics.
Signed-off-by: Mingjie Shen <shen497@purdue.edu >
2025-11-19 22:06:06 +00:00
Mathias Vorreiter Pedersen
2dc783d91f
C++: Accept test changes.
2025-09-18 12:16:16 +01:00
Jeroen Ketema
352610d651
C++: Add GOOD annotation
2025-09-12 10:29:27 +02:00
Jeroen Ketema
2bc035cfcf
C++: Update test results after extractor changes
2025-09-11 10:31:01 +02:00
Jeroen Ketema
d224f85b24
C++: Add uninitialized variable FP test
2025-09-11 10:31:00 +02:00
Jeroen Ketema
6b580ac12d
C++: Update expected test results
2025-08-29 10:57:03 +02:00
Jeroen Ketema
a145e52faf
C++: Add uninitialized local test
2025-08-29 10:55:10 +02:00
Ian Lynagh
fd020b52e4
Merge pull request #20232 from igfoo/igfoo/SloppyGlobal
...
C++: SloppyGlobal: Don't alert on template instantiations, only the template
2025-08-18 11:39:30 +01:00
Ian Lynagh
3157fcdf79
C++: Add some BAD annotations to SloppyGlobal test
2025-08-15 12:07:09 +01:00
Ian Lynagh
bfd4c41ed9
C++: SloppyGlobal: Accept test changes
...
We no longer alert on template instantiations, just the template.
2025-08-15 11:24:19 +01:00
Ian Lynagh
0b68c1c974
C++: Add some more tests for SloppyGlobal
2025-08-15 11:20:31 +01:00