Robert Marsh
|
0e3e35f233
|
C++: don't dump global vars without initializers
|
2022-04-12 11:21:41 -04:00 |
|
Geoffrey White
|
8d1e8e9ecb
|
C++: Flow states and transformers.
|
2022-04-08 17:19:18 +01:00 |
|
Geoffrey White
|
3aaa058308
|
C++: Get the simplest part of the query working, disable the rest for now, fix metadata, formatting etc.
|
2022-04-07 19:01:30 +01:00 |
|
Geoffrey White
|
9a0880f516
|
C++: Clean up the tests, make them a bit more realistic, and add many more test cases.
|
2022-04-07 19:00:30 +01:00 |
|
Geoffrey White
|
e2eda65fe1
|
C++: Rename test, add .expected.
|
2022-04-07 18:59:51 +01:00 |
|
Jeroen Ketema
|
bfe9fb1721
|
Revert "Revert "Merge pull request #8592 from jketema/implied-cctor-source""
This reverts commit b1d9a070f4.
|
2022-04-07 12:29:43 +02:00 |
|
Jeroen Ketema
|
b1d9a070f4
|
Revert "Merge pull request #8592 from jketema/implied-cctor-source"
This reverts commit d4834cb7ff, reversing
changes made to 268a3fd1c5.
|
2022-04-07 12:02:37 +02:00 |
|
Mathias Vorreiter Pedersen
|
d4834cb7ff
|
Merge pull request #8592 from jketema/implied-cctor-source
C++: Add tests for copy constructor calls with implied source
|
2022-04-07 11:00:40 +01:00 |
|
Robert Marsh
|
3a35a40062
|
WIP: start on CWE-611 tests
|
2022-04-06 12:55:56 +01:00 |
|
ihsinme
|
275b29a288
|
Update DangerousUseOfExceptionBlocks.expected
|
2022-04-05 22:48:11 +03:00 |
|
Jeroen Ketema
|
d19504fca2
|
C++: Add cpp/unused-local-variable test case with switch initializer
This is similar to the test case with the `if` initializer, and we should
not forget about it once we support `if` initialization.
|
2022-04-05 18:27:53 +02:00 |
|
Geoffrey White
|
04b8306f06
|
C++: Add some more patterns.
|
2022-04-04 16:57:00 +01:00 |
|
Geoffrey White
|
d42ee7d279
|
C++: Extend tests.
|
2022-04-04 16:46:56 +01:00 |
|
Jeroen Ketema
|
e91c04234e
|
C++: Update tests for copy constructor calls with implied source
|
2022-04-04 12:48:02 +02:00 |
|
Jeroen Ketema
|
e710cf7921
|
C++: Add tests for copy constructor direct initializations
|
2022-04-04 12:48:01 +02:00 |
|
Jeroen Ketema
|
e1fa58a6f2
|
C++: Update tests after generating reference conversion
|
2022-04-01 18:32:46 +02:00 |
|
Jeroen Ketema
|
1d51b618d1
|
C++: Update tests for handling op bitwise copy in lambda captures
|
2022-04-01 18:32:46 +02:00 |
|
Jeroen Ketema
|
3fed59fd13
|
C++: Add more lambda capture IR tests
|
2022-04-01 18:32:45 +02:00 |
|
Geoffrey White
|
b296b0150a
|
C++: Some enhancements to SensitiveExprs.qll as well, inspired by csharp.
|
2022-03-31 10:24:17 +01:00 |
|
Geoffrey White
|
146318dbc1
|
Merge pull request #8580 from geoffw0/privdata
C++: Port PrivateData.qll from C# and use it in cpp/cleartext-transmission
|
2022-03-31 10:12:46 +01:00 |
|
Robert Marsh
|
3ce7c521d1
|
C++: fix IR global var init for string constants
|
2022-03-30 14:01:59 -04:00 |
|
Robert Marsh
|
e01799827a
|
C++: add test for string global var inits in IR
|
2022-03-30 13:38:25 -04:00 |
|
Robert Marsh
|
fb0a848e5a
|
C++: fix inconsistency with global var constructor
|
2022-03-30 13:32:02 -04:00 |
|
Robert Marsh
|
9d4aac61fd
|
C++: add IR tests for global var with constructor
|
2022-03-30 13:20:26 -04:00 |
|
Robert Marsh
|
417b0b5353
|
C++: accept test changes for updated extractor
|
2022-03-30 10:23:17 -04:00 |
|
Dave Bartolomeo
|
e2396a5e03
|
Remove PrintIR tests for range analysis
These were only used for debugging, and don't actually make good tests.
|
2022-03-30 06:45:28 -04:00 |
|
Dave Bartolomeo
|
19789fa738
|
Merge remote-tracking branch 'upstream/main' into semantic-scratch
|
2022-03-30 06:39:14 -04:00 |
|
Jeroen Ketema
|
d1857a9e37
|
C++: Remove debugging options from library tests
|
2022-03-29 17:24:18 +02:00 |
|
Geoffrey White
|
cf5c6baadd
|
C++: More test cases for salary.
|
2022-03-29 15:05:27 +01:00 |
|
Geoffrey White
|
b94ade3bdd
|
C++: Improve the regexps.
|
2022-03-29 10:03:58 +01:00 |
|
Robert Marsh
|
3c1ec5a595
|
Merge branch 'main' into rdmarsh2/ir-global-vars
|
2022-03-28 16:06:17 -04:00 |
|
Robert Marsh
|
5811d0b2ad
|
C++: add AliasedDefinition to IR global var inits
|
2022-03-28 14:53:43 -04:00 |
|
Geoffrey White
|
18f80eb3e3
|
C++: Loosen a few constraints slightly.
|
2022-03-28 11:16:57 +01:00 |
|
Geoffrey White
|
3fed7bf6d0
|
C++: Extend cpp/cleartext-transmission using PrivateData.qll.
|
2022-03-28 11:16:56 +01:00 |
|
Geoffrey White
|
bb272003b4
|
C++: More test cases.
|
2022-03-28 10:54:54 +01:00 |
|
Geoffrey White
|
9f3fd57534
|
Merge branch 'main' into cwe497b
|
2022-03-25 11:57:30 +00:00 |
|
Jeroen Ketema
|
94f014d948
|
C++: Update tests for handling of bitwise copies in copy constructors
|
2022-03-25 11:43:01 +01:00 |
|
Mathias Vorreiter Pedersen
|
a81024a485
|
Merge pull request #8525 from MathiasVP/more-precise-is-before
C++: Consider columns in `Location.isBefore`
|
2022-03-23 11:04:34 +00:00 |
|
Robert Marsh
|
6be3db8575
|
C++: update test expectations for extractor changes
|
2022-03-22 13:01:56 -04:00 |
|
Mathias Vorreiter Pedersen
|
93346a574f
|
C++: Add a new 'Location.isBefore' predicate that also considers columns.
|
2022-03-22 12:16:53 +00:00 |
|
Mathias Vorreiter Pedersen
|
c6c3206031
|
C++: Add example of 'goto' on the same line as the destination label.
|
2022-03-22 12:11:29 +00:00 |
|
Robert Marsh
|
23e9963a19
|
Merge branch 'main' into rdmarsh2/ir-global-vars
|
2022-03-21 16:13:40 -04:00 |
|
Robert Marsh
|
5bb6441047
|
C++: Fix consistency issues with aggregate inits
|
2022-03-21 16:01:24 -04:00 |
|
Robert Marsh
|
a36c6f2dab
|
C++: restrict IR generation to global vars w inits
|
2022-03-21 14:26:29 -04:00 |
|
Robert Marsh
|
c27dfb5120
|
C++: IR translation for global variable inits
|
2022-03-21 13:17:05 -04:00 |
|
Jeroen Ketema
|
8b4c42dd07
|
C++: Add cpp/command-line-injection test using a wrapper macro
|
2022-03-21 11:19:54 +01:00 |
|
ihsinme
|
22cf3f7b20
|
Update test.cpp
|
2022-03-21 09:50:30 +03:00 |
|
Jeroen Ketema
|
f8198c3123
|
C++: Use flow states in cpp/command-line-injection
|
2022-03-18 20:06:45 +01:00 |
|
Jeroen Ketema
|
d37ef1b5ca
|
C++: Add command line injection test that currently results in a false positive
|
2022-03-18 16:12:09 +01:00 |
|
Jeroen Ketema
|
459870ac1e
|
C++: Add additional command line injection tests
|
2022-03-18 13:42:27 +01:00 |
|