Jeroen Ketema
|
b43cbf7f95
|
Update cpp/ql/test/query-tests/Likely Bugs/Format/NonConstantFormat/test.cpp
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
|
2022-10-31 17:03:29 +01:00 |
|
Jeroen Ketema
|
abe9258943
|
C++: Add strcpy test for cpp/non-constant-format
|
2022-10-31 15:29:17 +01:00 |
|
Jeroen Ketema
|
83afc2a0ad
|
C++: Add strcpy prototype to test
|
2022-10-31 15:25:35 +01:00 |
|
Mathias Vorreiter Pedersen
|
aa8214addf
|
C++: Simplify 'Buffer.qll' by avoiding 'asIndirectExpr'. This removes the flow from 'x' to 'x++', which makes the whole library a lot simpler.
|
2022-10-30 12:58:53 +01:00 |
|
Mathias Vorreiter Pedersen
|
9888de8acb
|
Merge branch 'replace-ast-with-ir-use-usedataflow' into rdmarsh2/repair-365-days-per-year
|
2022-10-28 13:48:12 +02:00 |
|
Mathias Vorreiter Pedersen
|
172261495f
|
Merge branch 'replace-ast-with-ir-use-usedataflow' into fix-as-expr
|
2022-10-28 10:32:31 +02:00 |
|
Robert Marsh
|
a334dc9b2b
|
C++: repair Adding365DaysPerYear.ql
|
2022-10-27 15:06:48 -04:00 |
|
Robert Marsh
|
b7e42e805b
|
Merge pull request #10994 from rdmarsh2/rdmarsh2/return-cstr-repair
C++: repair the ReturnCstr query
|
2022-10-27 14:25:22 -04:00 |
|
Mathias Vorreiter Pedersen
|
2fc7e6159e
|
C++: Accept test changes.
|
2022-10-27 12:12:34 +02:00 |
|
Mathias Vorreiter Pedersen
|
e43422a090
|
Merge pull request #10975 from rdmarsh2/rdmarsh2/inconsistent-loop-direction-repair
C++: repair InconsistentLoopDirection
|
2022-10-26 18:17:53 +02:00 |
|
Mathias Vorreiter Pedersen
|
562f052eb0
|
C++: Accept test changes.
|
2022-10-26 17:06:38 +02:00 |
|
Robert Marsh
|
de89b4c69f
|
C++: repair the ReturnCstr query
|
2022-10-26 11:02:23 -04:00 |
|
Mathias Vorreiter Pedersen
|
4bcba16748
|
Merge pull request #10833 from MathiasVP/repair-badly-bounded-write-2
C++: Prepare `Buffer.qll` for IR-based use-use dataflow
|
2022-10-26 16:38:33 +02:00 |
|
Mathias Vorreiter Pedersen
|
2ba94f7c89
|
Merge pull request #10838 from MathiasVP/repair-cleartext-transmission-2
C++: Prepare `cpp/cleartext-transmission` for IR-based use-use dataflow
|
2022-10-26 13:43:56 +02:00 |
|
Robert Marsh
|
8a125d1ae5
|
C++: repair InconsistentLoopDirection
|
2022-10-25 13:34:08 -04:00 |
|
Mathias Vorreiter Pedersen
|
1bd48f8d02
|
Merge branch 'replace-ast-with-ir-use-usedataflow' into repair-cleartext-transmission-2
|
2022-10-25 14:27:33 +02:00 |
|
Mathias Vorreiter Pedersen
|
c8f81bc6b8
|
Merge branch 'replace-ast-with-ir-use-usedataflow' into repair-badly-bounded-write-2
|
2022-10-25 14:24:38 +02:00 |
|
Mathias Vorreiter Pedersen
|
39b268194a
|
C++: Accept test changes.
|
2022-10-25 14:10:51 +02:00 |
|
Mathias Vorreiter Pedersen
|
b85d3bc829
|
Merge branch 'main' into replace-ast-with-ir-use-usedataflow
|
2022-10-25 12:51:30 +02:00 |
|
Mathias Vorreiter Pedersen
|
a7d6f4ff19
|
C++: Fix pointer/pointee conflation and handle flow through '++' when tracking indirect flow.
|
2022-10-24 14:23:43 +02:00 |
|
Geoffrey White
|
73f977c98c
|
Merge pull request #10510 from geoffw0/staticfn
C++: Fix FPs for cpp/unused-static-function in files that were not extracted completely
|
2022-10-18 14:53:49 +01:00 |
|
Robert Marsh
|
500004dbe0
|
Merge pull request #10841 from MathiasVP/repair-command-line-injection-2
C++: Prepare `cpp/command-line-injection` for IR-based use-use dataflow
|
2022-10-17 13:42:32 -04:00 |
|
Robert Marsh
|
ccea372fd0
|
Merge pull request #10842 from MathiasVP/repair-non-constant-format-2
C++: Prepare `cpp/non-constant-format` for IR-based use-use dataflow
|
2022-10-17 13:39:56 -04:00 |
|
Mathias Vorreiter Pedersen
|
e7b0536896
|
C++: Repair 'cpp/non-constant-format' in preparation for IR-based use-use dataflow.
|
2022-10-14 15:26:25 +02:00 |
|
Mathias Vorreiter Pedersen
|
b1f93b07c9
|
C++: Repair the 'cpp/command-line-injection' query in preparation for IR-based use-use dataflow.
|
2022-10-14 15:11:41 +02:00 |
|
Mathias Vorreiter Pedersen
|
00a25dbe45
|
C++: Accept test changes.
|
2022-10-14 15:01:31 +02:00 |
|
Mathias Vorreiter Pedersen
|
7ad781e91c
|
C++: Repair the 'cpp/cleartext-transmission' query in preparation for IR-based use-use dataflow.
|
2022-10-14 14:37:59 +02:00 |
|
Mathias Vorreiter Pedersen
|
49f39d7602
|
C++: Accept test changes.
|
2022-10-14 12:35:46 +02:00 |
|
Mathias Vorreiter Pedersen
|
4c5953fce0
|
C++: Accept query-test changes.
|
2022-10-14 10:14:52 +02:00 |
|
Nora Dimitrijević
|
949d3e13fe
|
Merge branch 'main' into cpp/comma-before-misleading-indentation
|
2022-10-12 13:25:22 +02:00 |
|
Nora Dimitrijević
|
93c01371c3
|
C++: no parens in select message
Debatable; see comment thread in PR.
|
2022-10-12 13:01:37 +02:00 |
|
Geoffrey White
|
fd571538fb
|
Merge pull request #10706 from geoffw0/vaheuristic
C++: Tune cpp/unterminated-variadic-call
|
2022-10-10 13:39:40 +01:00 |
|
erik-krogh
|
66c9705502
|
fix some more style-guide violations in the alert-messages
|
2022-10-07 11:19:46 +02:00 |
|
Geoffrey White
|
3f78a244b9
|
C++: Make the tests use more repetitions.
|
2022-10-06 09:14:24 +01:00 |
|
Geoffrey White
|
9a365d83cf
|
C++: Tighten up the heuristic in cpp/unterminated-variadic-call.
|
2022-10-06 09:14:16 +01:00 |
|
Nora Dimitrijević
|
28606c561d
|
C++: Simplify normalizeExpr
This has a comparable but different set of FPs as the previous version.
But arguably it's an improvement.
|
2022-09-30 14:35:54 +02:00 |
|
Nora Dimitrijević
|
c37c6a004e
|
Merge branch 'main' into cpp/comma-before-misleading-indentation
|
2022-09-30 00:28:33 +02:00 |
|
Nora Dimitrijević
|
6eac4f52d9
|
C++: Accept Test Output
Some tricky FPs are preserved in there.
|
2022-09-30 00:13:23 +02:00 |
|
Nora Dimitrijević
|
891bc342be
|
C++: Fix another implicit/explicit this FP
|
2022-09-29 18:42:23 +02:00 |
|
Nora Dimitrijević
|
28bd591107
|
C++: Fix explicit this-> FP.
|
2022-09-29 17:04:11 +02:00 |
|
Nora Dimitrijević
|
29d7c0e21b
|
C++: Exclude commas in if-conditions.
|
2022-09-29 16:29:57 +02:00 |
|
Nora Dimitrijević
|
64903336f7
|
C++: Exclude all parenthesized CommaExprs.
|
2022-09-29 15:49:29 +02:00 |
|
Nora Dimitrijević
|
909b36a078
|
C++: Fix implicit-this FP, uncovered non-funptr FP
|
2022-09-29 13:14:36 +02:00 |
|
Nora Dimitrijević
|
19a9c5d7d3
|
C++: Identified another real-life FP
|
2022-09-28 21:19:45 +02:00 |
|
Nora Dimitrijević
|
96c73bcb19
|
C++: Fix FP: bad Location for FieldAccess exprs
|
2022-09-28 20:37:22 +02:00 |
|
Nora Dimitrijević
|
6d5df14547
|
C++: Remove arguable FPs re: sizeof/decltype
|
2022-09-28 20:01:14 +02:00 |
|
Nora Dimitrijević
|
592bc18a97
|
C++: Reduce FPs by excluding all commas in loop heads
This leads to a 50% reduction of alerts in MRVA 1000.
|
2022-09-28 19:38:41 +02:00 |
|
Nora Dimitrijević
|
823b0109f0
|
C++: Mark FPs that are hard to solve w/o source code
|
2022-09-28 16:20:13 +02:00 |
|
Nora Dimitrijević
|
0128b1702e
|
C++: Fix "LHS-end = RHS-begin" FP
|
2022-09-28 15:36:01 +02:00 |
|
Nora Dimitrijević
|
e7c1fadd94
|
C++: Fix member-call- and C-cast-related FPs
|
2022-09-28 15:02:22 +02:00 |
|