Mathias Vorreiter Pedersen
|
4f4cdf434b
|
Merge pull request #22061 from MathiasVP/mad-write-through-model
Shared: Support flow summaries from `ReturnValue`s
|
2026-07-02 12:38:44 +01:00 |
|
Mathias Vorreiter Pedersen
|
f37b3e77ff
|
Merge branch 'main' into remove-mad-support-for-variables
|
2026-06-30 17:38:37 +01:00 |
|
Mathias Vorreiter Pedersen
|
b7b731bab7
|
Merge branch 'main' into mad-write-through-model
|
2026-06-30 15:12:02 +01:00 |
|
Mathias Vorreiter Pedersen
|
06f54d1bbb
|
C++: Add a TODO comment to remove support for unqualified field names.
|
2026-06-30 13:55:26 +01:00 |
|
Mathias Vorreiter Pedersen
|
396bea6e6a
|
Update cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowSummaryImpl.qll
Co-authored-by: Tom Hvitved <hvitved@github.com>
|
2026-06-30 13:44:14 +01:00 |
|
Mathias Vorreiter Pedersen
|
fc954c3e1a
|
C++: Remove support for marking variables as sources and sinks in MaD.
|
2026-06-30 12:30:40 +01:00 |
|
Mathias Vorreiter Pedersen
|
2625c304bf
|
C++: Support fully qualified field names in MaD.
|
2026-06-29 18:02:20 +01:00 |
|
Mathias Vorreiter Pedersen
|
662f522032
|
C++: Properly instantiate the new reverse flow feature.
|
2026-06-23 20:33:31 +01:00 |
|
Mathias Vorreiter Pedersen
|
076b01cbfc
|
C++: Fixes after changes to the flow summary API.
|
2026-06-23 20:33:08 +01:00 |
|
Owen Mansel-Chan
|
a7fdc4b543
|
Replace acceptingvalue with acceptingValue
|
2026-03-27 22:15:45 +00:00 |
|
Mathias Vorreiter Pedersen
|
85875c2879
|
C++: Remove unnecessary recursion through Node.toString.
|
2026-02-27 16:32:01 +00:00 |
|
Tom Hvitved
|
3b1e062985
|
C++: Adapt to changes in FlowSummaryImpl
|
2026-01-26 12:40:20 +01:00 |
|
Mathias Vorreiter Pedersen
|
c11b464492
|
C++: Autoformat.
|
2026-01-19 11:58:11 +00:00 |
|
Anders Schack-Mulligen
|
48254800b1
|
WIP
C++: Add support for MaD barriers and barrier guards.
|
2026-01-19 11:30:21 +00:00 |
|
Anders Schack-Mulligen
|
5ab26e481b
|
Add dummy instantiations for other languages.
|
2025-12-11 16:24:27 +01:00 |
|
Simon Friis Vindum
|
7d6e2060e5
|
Adapt all languages to changes in shared library
|
2025-09-22 14:18:58 +02:00 |
|
Mathias Vorreiter Pedersen
|
07c4eca4d8
|
C++: Implement the new predicate for C++.
|
2025-05-23 11:16:49 +01:00 |
|
Tom Hvitved
|
1b31c90d26
|
Implement FlowSummaryImpl stubs
|
2025-01-06 13:26:51 +01:00 |
|
Geoffrey White
|
eefbb676e9
|
C++: Support alert provenance.
|
2024-07-16 09:33:48 +01:00 |
|
Mathias Vorreiter Pedersen
|
3e9862391b
|
C++: No need for 'decodeUnknownContent' if we specify the MaD summary rows correctly. This avoids a bad join in a compiler-generated predicate.
|
2024-06-21 14:04:03 +01:00 |
|
Mathias Vorreiter Pedersen
|
901fac4282
|
C++: Support 'Element' content in flow summaries.
|
2024-06-19 13:40:06 +01:00 |
|
Geoffrey White
|
9302b167d8
|
C++: Fix further merge conflicts.
|
2024-04-12 19:38:38 +01:00 |
|
Geoffrey White
|
36db493723
|
C++: Autoformat.
|
2024-04-10 15:02:19 +01:00 |
|
Geoffrey White
|
4d5f158652
|
C++: Pivot ReturnKind solution to derive types from SSA + AST, rather than SSA + MAD.
|
2024-04-09 13:49:21 +01:00 |
|
Geoffrey White
|
13734d4e62
|
C++: Improve indirectionForModelledFunction.
|
2024-04-09 12:06:03 +01:00 |
|
Mathias Vorreiter Pedersen
|
448a9015c0
|
C++: Compute the number of indirections from MaD using a new predicate.
|
2024-04-09 10:33:06 +01:00 |
|
Geoffrey White
|
06d369ba11
|
C++: Remove untested PostUpdateNode code for now, and field cases that don't work anyway.
|
2024-04-08 16:05:18 +01:00 |
|
Geoffrey White
|
f2ef4ad6ac
|
C++: Update for the provenance changes.
|
2024-04-02 16:15:08 +01:00 |
|
Geoffrey White
|
57beb73bf7
|
C++: Update for the dataflow hasLocationInfo -> getLocation change made on main.
|
2024-04-02 16:15:06 +01:00 |
|
Geoffrey White
|
5618001c3f
|
C++: More QLDoc refinement.
|
2024-03-28 21:50:07 +00:00 |
|
Geoffrey White
|
103932fec8
|
C++: Resolve discussed TODO comment.
|
2024-03-27 16:44:50 +00:00 |
|
Geoffrey White
|
76780d74d9
|
C++: Unify four implementations of repeatStars. Note that the recursive approach is faster for very large strings (well over 100 stars), while the concat approach appears to be faster for short strings and does not require an upper bound.
|
2024-03-25 18:10:21 +00:00 |
|
Geoffrey White
|
95db7aa776
|
C++: Clean up argument / parameter position logic.
|
2024-03-25 18:10:21 +00:00 |
|
Geoffrey White
|
dec5fc0f48
|
C++: Switch MAD syntax from *Argument[0] style to Argument[*0] style.
|
2024-03-25 11:20:55 +00:00 |
|
Geoffrey White
|
b598b4ac45
|
C++: Fix for field content indirection (1-based).
|
2024-03-25 11:20:55 +00:00 |
|
Geoffrey White
|
73e95d67b9
|
C++: Implement Field indirection.
|
2024-03-25 11:20:55 +00:00 |
|
Geoffrey White
|
14deb06e80
|
C++: Implement Argument + Parameter indirection.
|
2024-03-25 11:20:55 +00:00 |
|
Geoffrey White
|
638bfff09d
|
C++: Implement ReturnValue indirection (this version only worked with a small change to the shared library parsing to permit '*' in the token name; we no longer need this, so I rebased it out).
|
2024-03-25 11:20:09 +00:00 |
|
Geoffrey White
|
cbacd51337
|
C++: Make Argument[-1] refer to *this rather than this.
|
2024-03-12 17:51:43 +00:00 |
|
Geoffrey White
|
4bc272da73
|
C++: Doc correction and TODOs for interpretOutput, interpretInput.
|
2024-03-11 10:16:46 +00:00 |
|
Geoffrey White
|
e8d0f1fa3e
|
C++: Comments.
|
2024-03-08 18:25:01 +00:00 |
|
Geoffrey White
|
8faad92cfd
|
C++: Define DataFlowCallable.getUnderlyingCallable and use it to fix some issues.
|
2024-03-01 09:59:31 +00:00 |
|
Geoffrey White
|
bc42e2bc35
|
C++: Workaround to get the tests passing again.
|
2024-02-27 17:28:38 +00:00 |
|
Geoffrey White
|
5787dcc82d
|
C++: Make getStaticCallTarget() return a DataFlowCallable.
|
2024-02-20 14:49:51 +00:00 |
|
Geoffrey White
|
1ace9ee50f
|
C++: Create a proper class for DataFlowCallable, that includes summarized callables.
|
2024-02-20 14:48:02 +00:00 |
|
Geoffrey White
|
e1a5a84253
|
C++: Create a proper class for DataFlowCall, that includes summarized callables.
|
2024-02-20 14:48:02 +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
|
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
|
52a1d905f1
|
C++: Qualified import of 'cpp' to make the file compile.
|
2024-02-09 13:25:17 +00:00 |
|
Geoffrey White
|
a354ab84e9
|
C++: More robust InterpretNode.asCall.
|
2024-02-07 18:00:57 +00:00 |
|