Robert Marsh
|
7d8872bb99
|
C++: Fix for multiple for-loop variables with destructors
|
2024-02-13 00:40:19 +00:00 |
|
Robert Marsh
|
b94c4a6e1b
|
C++: fix for destructor of while-loop condition
|
2024-02-13 00:13:22 +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 |
|
Robert Marsh
|
d1160f86e1
|
C++: Autoformat for named destructors in IR
|
2024-02-09 22:35:12 +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
|
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 |
|
Robert Marsh
|
174966164d
|
Merge branch 'main' into rdmarsh2/cpp/ir-synthetic-destructors
|
2024-02-07 18:25:12 +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 |
|
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
|
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 |
|
Mathias Vorreiter Pedersen
|
7948911415
|
C++: Delete dead code.
|
2024-02-06 17:38:22 +00:00 |
|
Mathias Vorreiter Pedersen
|
359b6e14c6
|
C++: Block flow out of 'swap'.
|
2024-02-06 16:15:21 +00:00 |
|
Mathias Vorreiter Pedersen
|
e539aca337
|
C++: Add an interface for blocking flow out of functions that reach a certain argument.
|
2024-02-06 16:15:21 +00:00 |
|
Robert Marsh
|
40e06b7877
|
C++: suppress destructor calls on delete in IR generation
This avoids an issue with duplicated qualifiers that was causing broken control flow
|
2024-02-06 14:55:00 +00:00 |
|
Robert Marsh
|
8013c2a074
|
C++: QLDoc and naming updates for implicit destructors in IR
|
2024-02-05 19:14:56 +00:00 |
|
Ben Rodes
|
88a06ffc66
|
Update GetText.qll
Fixing issue based on review.
|
2024-02-05 09:18:30 -05:00 |
|
Robert Marsh
|
820f4a5571
|
C++: custom destructor handling for for loops
|
2024-02-02 17:39:23 +00:00 |
|
Robert Marsh
|
85d1d079c8
|
C++: Add implicit named destructosrs to the IR CFG
|
2024-02-02 17:36:02 +00:00 |
|
Robert Marsh
|
3a404cec67
|
C++: Add getLastInstruction to IR generation
|
2024-02-02 17:10:47 +00:00 |
|
Benjamin Rodes
|
022276badc
|
Added model for gettext variants.
|
2024-02-02 12:05:52 -05:00 |
|
Robert Marsh
|
47720e0998
|
C++: generate instructions for destructor calls in IR
|
2024-02-02 17:05:40 +00:00 |
|
Mathias Vorreiter Pedersen
|
8d53bce842
|
Merge pull request #15476 from geoffw0/preprocblock
C++: Add PreprocBlock.qll library
|
2024-02-02 15:06:17 +00:00 |
|
Jeroen Ketema
|
6b13a8c568
|
Merge pull request #15504 from MathiasVP/block-summary-flow-out-of-strdup-and-friends
C++: Block summary flow through `strdup` and friends
|
2024-02-02 14:47:05 +01:00 |
|
Geoffrey White
|
72948cbc46
|
C++: Remove all cached tags.
|
2024-02-02 12:23:06 +00:00 |
|
Mathias Vorreiter Pedersen
|
0729c602c5
|
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowPrivate.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2024-02-02 10:39:40 +00:00 |
|
Geoffrey White
|
7c37be2e88
|
C++: Address implicit this.
|
2024-02-02 09:49:13 +00:00 |
|
Mathias Vorreiter Pedersen
|
5ad3e97798
|
C++: Fix TODO by blocking summary flow through functions that don't preserve identity.
|
2024-02-01 20:15:15 +00:00 |
|
Jeroen Ketema
|
a79754b696
|
C++: Resolve functions using complete mangled names
|
2024-02-01 16:12:53 +01:00 |
|
Jeroen Ketema
|
972d86c0a0
|
C++: Add column to mangled_name table with completeness information
|
2024-02-01 16:12:53 +01:00 |
|
Mathias Vorreiter Pedersen
|
f3eac550c3
|
Merge pull request #15461 from MathiasVP/propagate-edge-kinds
C++: Support function calls throwing exceptions in the IR
|
2024-01-31 09:25:46 +00:00 |
|
Geoffrey White
|
1b433c7af3
|
C++: Add QLDoc comments.
|
2024-01-30 17:54:28 +00:00 |
|
Geoffrey White
|
c29d0b78ce
|
C++: Add top of file doc comment.
|
2024-01-30 17:29:18 +00:00 |
|
Geoffrey White
|
af17ae236f
|
C++: Autoformat.
|
2024-01-30 13:47:11 +00:00 |
|
Geoffrey White
|
310c78d1e7
|
C++: Add PreprocBlock.qll library.
|
2024-01-30 13:47:07 +00:00 |
|
Mathias Vorreiter Pedersen
|
1dfd32ee5c
|
C++: Model function calls throwing exceptions.
|
2024-01-30 11:32:50 +00:00 |
|
Mathias Vorreiter Pedersen
|
eb94203f04
|
C++: Add an 'EdgeKind' column to 'getExceptionSuccessorInstruction'.
|
2024-01-30 11:32:50 +00:00 |
|
Mathias Vorreiter Pedersen
|
8bb17a7127
|
C++: Add an 'EdgeKind' column to 'getInitializationSuccessor'.
|
2024-01-30 11:32:50 +00:00 |
|
Mathias Vorreiter Pedersen
|
4fb20e14f5
|
C++: Add an 'EdgeKind' column to 'getChildTrueSuccessor' and 'getChildFalseSuccessor'.
|
2024-01-30 11:32:47 +00:00 |
|
Mathias Vorreiter Pedersen
|
10ae793de5
|
C++: Add an 'EdgeKind' column to 'getFirstInstruction'.
|
2024-01-30 11:31:41 +00:00 |
|
Mathias Vorreiter Pedersen
|
d2e8b88b24
|
C++: Add an 'EdgeKind' column to 'getChildSuccessor'.
|
2024-01-30 11:26:46 +00:00 |
|
Mathias Vorreiter Pedersen
|
a4727b5597
|
C++: Fix 'asExpr' duplication.
|
2024-01-29 14:11:01 +00:00 |
|
Mathias Vorreiter Pedersen
|
863e6c8009
|
Merge pull request #15427 from MathiasVP/asexpr-and-asindirectexpr-tests
C++: Add `asExpr` and `asIndirectExpr` library tests (and fix more duplication)
|
2024-01-25 16:58:18 +00:00 |
|
Robert Marsh
|
0bc023139b
|
C++: autoformat for first-class destructors
|
2024-01-24 18:52:54 +00:00 |
|
Robert Marsh
|
56c9566867
|
C++: more documentation for implict destructor calls
|
2024-01-24 18:52:54 +00:00 |
|