Robert Marsh
|
128bc99f90
|
C++: delete some FIXMEs that turned out fine
|
2024-02-13 15:34:36 +00:00 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Mathias Vorreiter Pedersen
|
7948911415
|
C++: Delete dead code.
|
2024-02-06 17:38:22 +00:00 |
|
Mathias Vorreiter Pedersen
|
f7fe84adb4
|
C++: Add change note.
|
2024-02-06 16:23:59 +00:00 |
|
Mathias Vorreiter Pedersen
|
21b9b3b87f
|
C++: Accept test changes.
|
2024-02-06 16:15: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 |
|
Benjamin Rodes
|
fc509c2cbe
|
Added additional gettext variant test.
|
2024-02-06 09:17:10 -05:00 |
|
Ben Rodes
|
0023291903
|
Update cpp/ql/src/change-notes/2024-02-05-gettext-dataflows.md
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
|
2024-02-06 09:12:25 -05:00 |
|
Robert Marsh
|
8013c2a074
|
C++: QLDoc and naming updates for implicit destructors in IR
|
2024-02-05 19:14:56 +00:00 |
|
Robert Marsh
|
bbabf1dfcc
|
C++: add test for constructors in C++17 decl-in-if
|
2024-02-05 18:41:18 +00:00 |
|
Benjamin Rodes
|
256554df06
|
Added change log
|
2024-02-05 13:04:16 -05:00 |
|
Benjamin Rodes
|
5b2d15265f
|
gettext variant dataflow tests
|
2024-02-05 13:01:51 -05:00 |
|
Ben Rodes
|
88a06ffc66
|
Update GetText.qll
Fixing issue based on review.
|
2024-02-05 09:18:30 -05:00 |
|
Robert Marsh
|
2d010f69c6
|
C++: Test for destructors in declaration as if condition
|
2024-02-02 17:39:27 +00:00 |
|
Robert Marsh
|
984c7ab85a
|
C++: test for declarations in if statement
|
2024-02-02 17:39:26 +00:00 |
|
Robert Marsh
|
4513fd1b52
|
C++: test for destructors in range-based for
|
2024-02-02 17:39:26 +00: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
|
439d3d2438
|
C++: Add tests with higher level of indirection.
|
2024-02-02 12:09:46 +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
|
56538472cf
|
C++: Update the change note.
|
2024-02-02 09:55:44 +00:00 |
|
Geoffrey White
|
7c37be2e88
|
C++: Address implicit this.
|
2024-02-02 09:49:13 +00:00 |
|