Mathias Vorreiter Pedersen
|
c51153203b
|
C++: Fix two bad joins that happen in 'UnboundedWrite' on #18207.
|
2024-12-06 15:10:08 +00:00 |
|
REDMOND\brodes
|
3619b01ace
|
Merge branch 'brodes/seh_flow_phase2_splitting_seh_edges' of https://github.com/microsoft/codeql into brodes/seh_flow_phase2_splitting_seh_edges
|
2024-12-05 10:50:17 -05:00 |
|
REDMOND\brodes
|
48c86979f0
|
Deleting unused predicate.
|
2024-12-05 10:50:06 -05:00 |
|
Ben Rodes
|
3115833847
|
Update cpp/ql/lib/semmle/code/cpp/ir/implementation/EdgeKind.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2024-12-05 10:49:33 -05:00 |
|
Ben Rodes
|
6cbaa73d58
|
Update cpp/ql/lib/semmle/code/cpp/ir/implementation/EdgeKind.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2024-12-05 10:48:40 -05:00 |
|
Ben Rodes
|
1fbd75fee3
|
Update cpp/ql/lib/semmle/code/cpp/ir/implementation/EdgeKind.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2024-12-05 10:48:34 -05:00 |
|
Ben Rodes
|
e9ccf37d4d
|
Update cpp/ql/lib/semmle/code/cpp/ir/implementation/EdgeKind.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2024-12-05 10:48:23 -05:00 |
|
Ben Rodes
|
008d58b425
|
Update cpp/ql/lib/semmle/code/cpp/ir/implementation/EdgeKind.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2024-12-05 10:48:16 -05:00 |
|
Ben Rodes
|
ca6d3b0038
|
Update cpp/ql/lib/semmle/code/cpp/ir/implementation/EdgeKind.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
|
2024-12-05 10:48:00 -05:00 |
|
REDMOND\brodes
|
57fc3fbfe3
|
Switching from isSeh bools to sublcassed ExceptionEdge.
|
2024-12-05 10:10:56 -05:00 |
|
REDMOND\brodes
|
defa8696d3
|
Merge remote-tracking branch 'mathiasvp/final-alias-edge-kind' into brodes/seh_flow_phase2_splitting_seh_edges
# Conflicts:
# cpp/ql/lib/semmle/code/cpp/ir/implementation/EdgeKind.qll
|
2024-12-05 09:35:13 -05:00 |
|
Mathias Vorreiter Pedersen
|
667abb19d7
|
C++: Expose a final alias instead of the abstract class.
|
2024-12-05 13:13:44 +00:00 |
|
Ben Rodes
|
779376e281
|
Merge branch 'main' into brodes/seh_flow_phase2_splitting_seh_edges
|
2024-12-04 13:30:21 -05:00 |
|
REDMOND\brodes
|
cc43bb1969
|
Merge branch 'brodes/seh_flow_phase1_throwing_models' into brodes/seh_flow_phase2_splitting_seh_edges
|
2024-12-04 13:28:21 -05:00 |
|
Henry Mercer
|
963f084d87
|
Merge branch 'main' into henrymercer/merge-back-rc-3.16
|
2024-12-04 13:39:10 +00:00 |
|
Jeroen Ketema
|
9c4030ed45
|
Merge pull request #18014 from microsoft/brodes/seh_flow_phase1_throwing_models
Brodes/seh flow phase1 throwing models
|
2024-12-04 13:55:05 +01:00 |
|
Anders Schack-Mulligen
|
a66de28d8e
|
C++: Remove references to the deleted api.
|
2024-12-03 20:08:32 +01:00 |
|
Mathias Vorreiter Pedersen
|
2c58279137
|
C++: Add QLDoc to 'isClassConstructedFrom' and 'isFunctionConstructedFrom'.
|
2024-12-03 17:52:29 +00:00 |
|
REDMOND\brodes
|
e6641e7630
|
Code and comment simplifications
|
2024-12-03 11:06:08 -05:00 |
|
Anders Schack-Mulligen
|
8ea973f838
|
C++: Update use of deleted api.
|
2024-12-03 15:20:07 +01:00 |
|
Anders Schack-Mulligen
|
371a11e6da
|
C++: Delete deprecated data flow api.
|
2024-12-03 14:52:14 +01:00 |
|
Tom Hvitved
|
012ea4bbf1
|
Merge pull request #18113 from hvitved/dataflow/more-common
Data flow: Move more logic into `DataFlowImplCommon`
|
2024-12-02 12:38:39 +01:00 |
|
Mathias Vorreiter Pedersen
|
3c0af498db
|
C++: Fix bug introduced in an earlier commit and accept test changes. They all look good.
|
2024-11-27 19:04:25 +00:00 |
|
Mathias Vorreiter Pedersen
|
d69de0cc76
|
C++: Add a MaD model for 'CRegKey' and mark query calls as local flow sources.
|
2024-11-27 16:41:57 +00:00 |
|
Mathias Vorreiter Pedersen
|
33212da876
|
C++: Add a MaD model for 'CAtlTemporaryFile' and mark reads as local flow sources.
|
2024-11-27 16:41:53 +00:00 |
|
Mathias Vorreiter Pedersen
|
3709151353
|
C++: Add a MaD model for 'CAtlFileMappingBase' and mark reads as local flow sources.
|
2024-11-27 16:41:51 +00:00 |
|
Mathias Vorreiter Pedersen
|
74eae4a18d
|
C++: Add a MaD model for 'CAtlFile' and mark reads as local flow sources.
|
2024-11-27 16:41:48 +00:00 |
|
Mathias Vorreiter Pedersen
|
c61395b973
|
C++: Add implicit read of the 'm_strPath' member.
|
2024-11-27 16:41:37 +00:00 |
|
Mathias Vorreiter Pedersen
|
948be09257
|
C++: Add an taint step from object to field for 'CComBSTR's.
|
2024-11-27 16:41:31 +00:00 |
|
Mathias Vorreiter Pedersen
|
c00f84d74a
|
C++: Work around the 'wrong' function name for conversion operators.
|
2024-11-27 16:41:20 +00:00 |
|
Mathias Vorreiter Pedersen
|
763b991408
|
C++: Add models.
|
2024-11-27 16:41:18 +00:00 |
|
Mathias Vorreiter Pedersen
|
f688470324
|
C++: Since isConstructedFrom only holds for templates we need to explicitly handle the case where the function (or class) is not a template.
|
2024-11-27 16:41:16 +00:00 |
|
Tom Hvitved
|
7402276ec7
|
Data flow: Move more logic into DataFlowImplCommon
|
2024-11-27 09:03:37 +01:00 |
|
Mathias Vorreiter Pedersen
|
e42c7452ef
|
C++: Cleanup conjuncts. This doesn't change any behavior.
|
2024-11-26 13:57:51 +00:00 |
|
Mathias Vorreiter Pedersen
|
f7cf5af720
|
C++: Actually check the function name.
|
2024-11-26 13:56:22 +00:00 |
|
Mathias Vorreiter Pedersen
|
8fd581dd7e
|
Merge pull request #18093 from MathiasVP/more-win32-command-execution-functions
C++: Add more `CommandExecutionFunction`s
|
2024-11-25 15:26:50 +00:00 |
|
Mathias Vorreiter Pedersen
|
03ab74e07d
|
C++: Add more 'CommandExecutionFunction's.
|
2024-11-25 13:43:20 +00:00 |
|
Calum Grant
|
fcf16848d2
|
Revert "Revert "C++: Implement compilation_build_mode""
|
2024-11-22 15:48:50 +00:00 |
|
Calum Grant
|
169671ad93
|
Revert "C++: Implement compilation_build_mode"
|
2024-11-22 11:42:39 +00:00 |
|
REDMOND\brodes
|
66cf736b4c
|
printf formatting.
|
2024-11-21 12:44:28 -05:00 |
|
REDMOND\brodes
|
583651ba40
|
Missing NonCppThrowingFunction changes in Printf.qll
|
2024-11-21 12:41:26 -05:00 |
|
REDMOND\brodes
|
7059fc3e31
|
Adding intermediate solution towards deprecating ThrowingFunction
|
2024-11-21 12:10:42 -05:00 |
|
REDMOND\brodes
|
44126913cd
|
Delaying deprecation of ThrowingFunction.
|
2024-11-21 12:08:04 -05:00 |
|
REDMOND\brodes
|
9b2590ec7a
|
Updating PR per review comments. Moving more towards a simplified model.
|
2024-11-21 11:28:11 -05:00 |
|
Jeroen Ketema
|
fa8aba88af
|
Revert "Merge pull request #17938 from MathiasVP/fix-fp-in-missing-check-scanf-fixing-take-2"
This reverts commit 6785b93ed8, reversing
changes made to d9b86f55c8.
|
2024-11-21 15:39:00 +01:00 |
|
Calum Grant
|
6f3e6edd0e
|
C++: Implement compilation_build_mode
|
2024-11-21 13:45:13 +00:00 |
|
REDMOND\brodes
|
4078d79f2a
|
Adds SEH exception edge types, disjoint from normal C++ edges. Does not apply the edges yet, just stipulates the types.
|
2024-11-20 14:37:32 -05:00 |
|
REDMOND\brodes
|
4e777561f0
|
Changing terminology back to "throws" vs "rasis" for alwaysThrowsException to be consistent with other backward compatibility changes.
|
2024-11-19 15:10:15 -05:00 |
|
REDMOND\brodes
|
a69daa0d20
|
Missing change to 'mayThrowException' in StructuredExceptionHandling.qll
|
2024-11-19 13:35:45 -05:00 |
|
REDMOND\brodes
|
07847762e1
|
bringing back mayThrowException to make it cleaner/easier for backwards compatibility.
|
2024-11-19 13:17:10 -05:00 |
|