Robert Marsh
|
b9785ea7b2
|
C++: autoformat
|
2024-02-13 01:07:41 +00:00 |
|
Robert Marsh
|
f791b0ebbf
|
C++: Model for smart pointer destructors
|
2024-02-13 01:00:46 +00:00 |
|
Robert Marsh
|
b6cf64cff3
|
C++: simplify TranslatedBlock::getLastChild
|
2024-02-13 00:46:53 +00:00 |
|
Robert Marsh
|
7d8872bb99
|
C++: Fix for multiple for-loop variables with destructors
|
2024-02-13 00:40:19 +00:00 |
|
Robert Marsh
|
6663420d39
|
C++: test for multiple for loop variables with destructors
|
2024-02-13 00:35:56 +00:00 |
|
Robert Marsh
|
b94c4a6e1b
|
C++: fix for destructor of while-loop condition
|
2024-02-13 00:13:22 +00:00 |
|
Robert Marsh
|
bac7e46b0f
|
C++: tests for destructors after a while-loop condition
|
2024-02-12 23:55:42 +00:00 |
|
Mathias Vorreiter Pedersen
|
a799399639
|
C++: Accept test changes.
|
2024-02-12 16:51:25 +00:00 |
|
Mathias Vorreiter Pedersen
|
70c7c1a5e7
|
C++: Add flow from the fill character to the output pointer.
|
2024-02-12 16:51:16 +00:00 |
|
Mathias Vorreiter Pedersen
|
8635b5d316
|
C++: Add test with missing flow.
|
2024-02-12 16:44:38 +00:00 |
|
Benjamin Rodes
|
091416131b
|
Removing 'const' specifier filtering after discussions with the team. We will test if this causes undesirable cases in DCA and then choose which approach is best.
|
2024-02-12 09:38:00 -05:00 |
|
Robert Marsh
|
d1160f86e1
|
C++: Autoformat for named destructors in IR
|
2024-02-09 22:35:12 +00:00 |
|
Robert Marsh
|
1b571f8992
|
C++: Accept test changes
|
2024-02-09 22:32:08 +00:00 |
|
Geoffrey White
|
0c3aa7b7f2
|
C++: Add an inline test for interpretElement matching.
|
2024-02-09 18:57:05 +00:00 |
|
Geoffrey White
|
8bdb67cc15
|
C++: Allow member variables to be picked as input nodes.
|
2024-02-09 14:24:37 +00:00 |
|
Mathias Vorreiter Pedersen
|
4eae191430
|
C++: Accept test changes.
|
2024-02-09 14:07:57 +00:00 |
|
Mathias Vorreiter Pedersen
|
4728cf5a12
|
C++: Allow the 'x' in 'x = source()' to be marked as a sink in MaD.
|
2024-02-09 14:07:48 +00:00 |
|
Mathias Vorreiter Pedersen
|
cd41a1ca8c
|
C++: Accept test changes.
|
2024-02-09 13:27:40 +00:00 |
|
Mathias Vorreiter Pedersen
|
3719e10ce8
|
C++: Add a case for global or namespace variables in 'interpretElement0'.
|
2024-02-09 13:27:32 +00:00 |
|
Mathias Vorreiter Pedersen
|
52a1d905f1
|
C++: Qualified import of 'cpp' to make the file compile.
|
2024-02-09 13:25:17 +00:00 |
|
Anders Schack-Mulligen
|
566351a49a
|
Merge pull request #15549 from aschackmull/dataflow/empty-provenance
Dataflow: Add empty provenance column to PathGraph.
|
2024-02-09 12:58:09 +01:00 |
|
Mathias Vorreiter Pedersen
|
a42c845b32
|
Merge pull request #15559 from MathiasVP/fix-constness-type
C++: Don't strip specifiers in `Node.getType`
|
2024-02-09 11:00:13 +00:00 |
|
Anders Schack-Mulligen
|
7eb5e1833d
|
C++: Add empty provenance column to expected files.
|
2024-02-09 11:32:08 +01:00 |
|
Mathias Vorreiter Pedersen
|
dd3d70134c
|
C++: Undo a change that wasn't actually necessary.
|
2024-02-09 10:28:24 +00:00 |
|
Anders Schack-Mulligen
|
b7d4a6926f
|
Dataflow: Add empty provenance column to PathGraph.
|
2024-02-09 11:27:30 +01:00 |
|
Mathias Vorreiter Pedersen
|
f7d1544ccf
|
C++: Fix Code Scanning errors.
|
2024-02-08 17:01:07 +00:00 |
|
Mathias Vorreiter Pedersen
|
1dfddaf9ab
|
C++: Also mark indirections of glvalue instructions as glvalue nodes.
|
2024-02-08 16:52:09 +00:00 |
|
Mathias Vorreiter Pedersen
|
4d01a93107
|
C++: Use 'getUnderlyingType' instead of 'getUnspecifiedType'.
|
2024-02-08 16:49:15 +00:00 |
|
Mathias Vorreiter Pedersen
|
78ce857ef2
|
C++: Add consistency test and accept consistency failures.
|
2024-02-08 16:16:24 +00:00 |
|
Benjamin Rodes
|
d4bc2ceb37
|
Minor efficiency improvements and comments.
|
2024-02-08 10:11:50 -05:00 |
|
Dave Bartolomeo
|
92bd550c55
|
Merge pull request #15531 from github/post-release-prep/codeql-cli-2.16.2
Post-release preparation for codeql-cli-2.16.2
|
2024-02-08 05:58:17 -08:00 |
|
Benjamin Rodes
|
915aa94b13
|
Merge branch '51-2cppnon-constant-format-alter-not-const-source' of https://github.com/microsoft/codeql into 51-2cppnon-constant-format-alter-not-const-source
|
2024-02-07 14:15:40 -05:00 |
|
Benjamin Rodes
|
f12a1ecdf2
|
Simplifying the query.
|
2024-02-07 14:15:16 -05:00 |
|
Ben Rodes
|
2c962d51a9
|
Merge branch 'main' into 51-2cppnon-constant-format-alter-not-const-source
|
2024-02-07 10:57:31 -08:00 |
|
Benjamin Rodes
|
50134e644f
|
Merge branch '50-model-gettext-family-of-string-operations' into 51-2cppnon-constant-format-alter-not-const-source
# Conflicts:
# cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql
|
2024-02-07 13:56:39 -05:00 |
|
Benjamin Rodes
|
9fc2405681
|
Updating non-const source logic and associated tests and expected files.
|
2024-02-07 13:54:56 -05:00 |
|
Robert Marsh
|
174966164d
|
Merge branch 'main' into rdmarsh2/cpp/ir-synthetic-destructors
|
2024-02-07 18:25:12 +00:00 |
|
Geoffrey White
|
a354ab84e9
|
C++: More robust InterpretNode.asCall.
|
2024-02-07 18:00:57 +00:00 |
|
Geoffrey White
|
e98485df7f
|
Update cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowSummaryImpl.qll
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
|
2024-02-07 17:53:22 +00:00 |
|
Mathias Vorreiter Pedersen
|
ebefcb8d35
|
Merge pull request #15513 from microsoft/50-model-gettext-family-of-string-operations
Added model for gettext variants.
|
2024-02-07 15:48:16 +00:00 |
|
Mathias Vorreiter Pedersen
|
0ee3c9987f
|
Merge pull request #15539 from MathiasVP/fix-ir-gen-for-conditional-decl-expr-without-var-access
C++: Fix IR generation when `ConditionDeclExpr` does not have an immediate `VariableAccess`
|
2024-02-07 15:19:16 +00:00 |
|
Benjamin Rodes
|
5866fc1fd0
|
Updating expected file.
|
2024-02-07 10:12:25 -05:00 |
|
Mathias Vorreiter Pedersen
|
df181f2dc4
|
C++: Accept more test changes.
|
2024-02-07 14:50:18 +00:00 |
|
Mathias Vorreiter Pedersen
|
950b5f2235
|
C++: Block flow out of 'gettext' in 'cpp/non-constant-format'. (#52)
|
2024-02-07 09:10:12 -05:00 |
|
Mathias Vorreiter Pedersen
|
fe5eca4134
|
C++: Accept test changes.
|
2024-02-07 11:45:40 +00:00 |
|
Mathias Vorreiter Pedersen
|
edc7903c69
|
C++: Add a predicate for getting the 0'th child of a 'ConditionDeclExpr' without casting it to a 'VariableAccess' and use it in IR generation.
|
2024-02-07 11:45:13 +00:00 |
|
Mathias Vorreiter Pedersen
|
d0b0440427
|
C++: Add a testcase with failing IR generation.
|
2024-02-07 11:38:02 +00:00 |
|
Mathias Vorreiter Pedersen
|
4b046ad670
|
C++: Also clear the 0'th argument of 'swap'.
|
2024-02-07 10:31:18 +00:00 |
|
Mathias Vorreiter Pedersen
|
c5dc88345d
|
Merge pull request #15528 from MathiasVP/flow-barrier-interface
C++: Add an interface for models to block flow
|
2024-02-07 09:58:08 +00:00 |
|
Robert Marsh
|
5653c3f972
|
C++: Update IR test expectations for named destructors
|
2024-02-06 21:04:52 +00:00 |
|