Mathias Vorreiter Pedersen
|
2329b31601
|
C++: Replace the new SmartPointerPartialDefinition with additional steps in AddressFlow.qll
|
2021-04-09 20:49:45 +02:00 |
|
Mathias Vorreiter Pedersen
|
a460e3ad3d
|
Merge branch 'main' into ast-flow-smart-pointers
|
2021-04-09 19:41:10 +02:00 |
|
Geoffrey White
|
3b437fe6cf
|
C++: Replace GVN with some other libraries.
|
2021-04-09 15:21:42 +01:00 |
|
Jonas Jensen
|
e1d0bbb021
|
Merge pull request #5607 from MathiasVP/smart-pointer-ast-read-store-steps
C++: read and store steps for smart pointers in AST dataflow
|
2021-04-09 16:11:48 +02:00 |
|
Mathias Vorreiter Pedersen
|
996cda9b97
|
C++: Fix incorrect test annotation.
|
2021-04-09 14:46:46 +02:00 |
|
Mathias Vorreiter Pedersen
|
80d5b17900
|
C++: Remove the dataflow rule for smart_ptr -> *smart_ptr.
|
2021-04-09 14:20:51 +02:00 |
|
Mathias Vorreiter Pedersen
|
cae0060a89
|
C++: Replace the new rules in DataFlowUtil with a dataflow model for pointer wrapper classes.
|
2021-04-09 14:06:58 +02:00 |
|
Mathias Vorreiter Pedersen
|
0a6aef71a2
|
C++: Respond to review comments.
|
2021-04-09 12:29:13 +02:00 |
|
ihsinme
|
9b3ccade43
|
Update test.c
|
2021-04-08 22:06:35 +03:00 |
|
ihsinme
|
3d117243e4
|
Update test.c
|
2021-04-08 22:05:31 +03:00 |
|
ihsinme
|
02eb447a35
|
Update InsufficientControlFlowManagementWhenUsingBitOperations.expected
|
2021-04-08 22:04:08 +03:00 |
|
Geoffrey White
|
517fd23ca5
|
C++: Correct and add to test cases.
|
2021-04-08 09:48:38 +01:00 |
|
ihsinme
|
cbf158ea6b
|
Add files via upload
|
2021-04-07 13:12:30 +03:00 |
|
ihsinme
|
ed2a8db8c9
|
Add files via upload
|
2021-04-07 13:10:01 +03:00 |
|
Geoffrey White
|
a8193dac08
|
C++: Reintroduce the exprMightOverflowNegatively bit.
|
2021-04-06 22:36:59 +01:00 |
|
Geoffrey White
|
60e4faba4c
|
C++: Add linear expression logic.
|
2021-04-06 22:28:36 +01:00 |
|
Geoffrey White
|
48ff8e237c
|
C++: Rewrite the range analysis exclusion to be recursive and more robust.
|
2021-04-06 22:26:55 +01:00 |
|
Geoffrey White
|
3ecd13531f
|
C++: Improve isGuarded.
|
2021-04-06 22:21:59 +01:00 |
|
Geoffrey White
|
59ff3f315b
|
C++: Add test cases exploring issues and potential issues with the query (especially related to simple range analysis).
|
2021-04-06 22:21:25 +01:00 |
|
Mathias Vorreiter Pedersen
|
8382e85901
|
C++: Add flow into the source of read step and out of the target of a store step for smart pointers in AST dataflow.
|
2021-04-06 14:05:55 +02:00 |
|
Mathias Vorreiter Pedersen
|
f07d844362
|
C++: Add a test containing missing read/store dataflow steps for smart pointers.
|
2021-04-06 13:59:27 +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 |
|
Mathias Vorreiter Pedersen
|
32a8b9a857
|
C++: Move copy constructor to its own line and accept test changes.
|
2021-04-06 08:56:14 +02:00 |
|
Mathias Vorreiter Pedersen
|
9ff894bf83
|
C++: Add support for AST dataflow out of functions that take a smart pointer by value.
|
2021-03-31 13:54:32 +02:00 |
|
Mathias Vorreiter Pedersen
|
e9e93c0eea
|
Merge pull request #5558 from geoffw0/replace-tostring
Replace toString use
|
2021-03-31 13:50:41 +02:00 |
|
Mathias Vorreiter Pedersen
|
8159098dc0
|
C++: Add test from issue #5190.
|
2021-03-31 11:32:01 +02:00 |
|
Mathias Vorreiter Pedersen
|
fe76b0849b
|
Merge pull request #5569 from geoffw0/memoryfree
C++: Add a test of memory freed queries with strdup.
|
2021-03-30 17:22:18 +02:00 |
|
Mathias Vorreiter Pedersen
|
92839123ae
|
Merge pull request #5570 from geoffw0/mutextest
C++: Add mutex test cases.
|
2021-03-30 17:16:19 +02:00 |
|
Geoffrey White
|
a8284d5b97
|
C++: Add mutex test case.
|
2021-03-30 15:39:21 +01:00 |
|
Geoffrey White
|
244966e216
|
C++: Add a test with strdup.
|
2021-03-30 14:49:05 +01:00 |
|
Geoffrey White
|
ec952248a9
|
C++: Test strdup with AV Rule 79.
|
2021-03-30 12:58:04 +01:00 |
|
Geoffrey White
|
f27203cc43
|
C++: Test spacing.
|
2021-03-30 12:57:43 +01:00 |
|
Mathias Vorreiter Pedersen
|
09ba25fe9b
|
C++: Accept test changes. I'm actually not sure why we lose these results (and lose the field conflation, yay) It might be due to #3364.
|
2021-03-30 10:24:01 +02:00 |
|
Mathias Vorreiter Pedersen
|
8c95a9ae39
|
Merge branch 'main' into definitions-for-unique_ptr
|
2021-03-30 10:20:36 +02:00 |
|
Mathias Vorreiter Pedersen
|
5a4efab742
|
C++: Add tests for shared_ptr.
|
2021-03-29 18:04:20 +02:00 |
|
ihsinme
|
093c63ea3b
|
Update OperatorPrecedenceLogicErrorWhenUseBoolType.expected
|
2021-03-28 23:42:36 +03:00 |
|
Geoffrey White
|
c6e7b8d4fd
|
C++: Repair test.
|
2021-03-26 19:12:09 +00:00 |
|
Geoffrey White
|
4100d68a71
|
C++: Test failures.
|
2021-03-26 18:21:05 +00:00 |
|
Mathias Vorreiter Pedersen
|
8dc7b6403a
|
C++: Add shared_ptr and unique_ptr implementations. Also add some very basic tests.
|
2021-03-26 12:03:59 +01:00 |
|
Mathias Vorreiter Pedersen
|
c7c65736a9
|
C++: Accept test changes. These happened because of the incorrect usage of multiple configurations in 6c1ec6d96b.
|
2021-03-26 10:57:58 +01:00 |
|
Mathias Vorreiter Pedersen
|
983b64a05f
|
Merge branch 'main' into rdmarsh/cpp/use-taint-configuration-dtt
|
2021-03-26 09:11:12 +01:00 |
|
Geoffrey White
|
b38a9d51e6
|
C++: Effect of 'Don't override getParameterSizeIndex in the model for Accept'...
|
2021-03-23 12:26:59 +00:00 |
|
Geoffrey White
|
13eb9e0833
|
C++: Fix the test.
|
2021-03-23 12:26:58 +00:00 |
|
Geoffrey White
|
30e1b88b7f
|
C++: Extend test.
|
2021-03-23 12:26:58 +00:00 |
|
Mathias Vorreiter Pedersen
|
0b4650a4c9
|
C++: Accept test changes.
|
2021-03-23 10:27:19 +01:00 |
|
Mathias Vorreiter Pedersen
|
7d0cfc69f1
|
C++: Don't override getParameterSizeIndex in the model for Accept. This fixes IR construction of calls to accept.
|
2021-03-23 09:53:09 +01:00 |
|
Mathias Vorreiter Pedersen
|
0ff7cc845c
|
C++: Add reduced testcase that broke IR construction in #5492.
|
2021-03-23 09:53:04 +01:00 |
|
Mathias Vorreiter Pedersen
|
6c1ec6d96b
|
C++: Accept test changes.
|
2021-03-19 16:09:05 +01:00 |
|
Jonas Jensen
|
98c1aa5298
|
Merge pull request #5271 from github/files-query
C++: Summary metrics queries
|
2021-03-19 12:56:19 +01:00 |
|