Rasmus Lerchedahl Petersen
efcdb3e67e
Python: filter local flow from a node to itself
2023-12-14 10:28:26 +01:00
Rasmus Lerchedahl Petersen
5471c92e9f
Python: exclusion for summary nodes
...
as in Ruby
2023-12-14 10:28:26 +01:00
Rasmus Lerchedahl Petersen
061fd014a6
Python: further restrict LibraryLambdaMethod
...
On the small test project, this reduces the number
of instances from 285 to 22.
2023-12-14 10:27:15 +01:00
Rasmus Lerchedahl Petersen
453ab9ca7b
Python: restrict LibraryLambdaMethod
2023-12-14 10:27:15 +01:00
Rasmus Lerchedahl Petersen
17a0029585
Python: support callbacks to library calls
...
TODO:
The member predicate `LibraryLambdaMethod::getACall` is
currently too permissive.
Ideally, we would have `libraryCallHasLambdaArg`
as in Ruby. But even a more precise
`libraryCall` predicate might be fine.
2023-12-14 10:27:15 +01:00
Rasmus Lerchedahl Petersen
7565873e83
Python: test callbacks to library calls
2023-12-14 10:27:15 +01:00
Rasmus Lerchedahl Petersen
797deebcdd
Python: exclude CaptureNodes
2023-12-14 10:27:15 +01:00
Rasmus Lerchedahl Petersen
b513871b9b
Python: add consistency exclusions
2023-12-14 10:27:15 +01:00
Rasmus Lerchedahl Petersen
c054ba6a97
python: instantiate module for variable capture
...
This provides variable capture in standard situations:
- nested functions
- lambdas
There are some deficiencies:
- we do not yet handle objects capturing variables.
- we do not handle variables captured via the `nonlocal` keyword.
This should be solved at the AST level, though, and then it
should "just work".
There are still inconsistencies in the case where
a `SynthesizedCaptureNode` has a comprehensions
as its enclosing callable. In this case,
`TFunction(cn.getEnclosingCallable())` is not
defined and so getEnclosingCallable does not exist
for the `CaptureNode`.
2023-12-14 10:25:39 +01:00
Rasmus Lerchedahl Petersen
6db55cd12f
Python: add missing annotation
2023-12-14 10:20:49 +01:00
Tamas Vajk
ee70de8879
Fix code review findings
2023-12-14 10:15:22 +01:00
Tom Hvitved
8fc6fb1ec0
Apply suggestions from code review
...
Co-authored-by: yoff <lerchedahl@gmail.com >
2023-12-14 10:10:53 +01:00
Koen Vlaswinkel
96feb2c787
C#: Rename getMethodName to getEndpointName
2023-12-14 10:04:46 +01:00
Tom Hvitved
098afb935b
Address more review comments
2023-12-14 09:48:45 +01:00
Tamas Vajk
728229e6e1
Fix code review findings
2023-12-14 09:44:20 +01:00
yoff
b78ceb61a3
Merge pull request #15099 from fossilet/fix-qll-typo
...
Fix typo in qll.
2023-12-14 09:43:26 +01:00
Chris Smowton
d884726490
Merge pull request #15098 from fossilet/fix-signature-doc
...
Fix typo.
2023-12-14 08:35:56 +00:00
fossilet
1cc2f073c4
Fix typo in qll.
2023-12-14 16:05:14 +08:00
Tom Hvitved
5a426d1800
Data flow: Use Boolean class
2023-12-14 09:04:16 +01:00
Michael Nebel
1653433f39
Merge pull request #15096 from github/workflow/coverage/update
...
Update CSV framework coverage reports
2023-12-14 08:51:34 +01:00
fossilet
9157dde4e2
Fix typo.
2023-12-14 15:35:13 +08:00
github-actions[bot]
c1325d798f
Add changed framework coverage reports
2023-12-14 00:16:18 +00:00
Edward Minnix III
14a76278b8
Merge pull request #14802 from egregius313/egregius313/java/update-ql-integration-test
...
Java: Add `.properties` file references in integration tests
2023-12-13 18:40:03 -05:00
Ed Minnix
717e69ac0e
Add properties file references
2023-12-13 16:54:55 -05:00
Yunus AYDIN
d899267acb
add httprouter example code
2023-12-14 00:23:09 +03:00
Yunus AYDIN
5f6de79c09
Fix select query, Add httprouter library and update test files
2023-12-14 00:19:11 +03:00
Robert Marsh
0e5255ea88
Swift: switch to shared, parameterized CFG library
2023-12-13 20:13:11 +00:00
Paolo Tranquilli
307da3417d
Merge pull request #15091 from github/redsun82/fix-cmake-bazel-version
...
Bazel/CMake: use bazelisk to use correct bazel version
2023-12-13 19:06:37 +01:00
Yunus AYDIN
a09505afc2
Update rules
2023-12-13 20:01:53 +03:00
Jeroen Ketema
4d922ddb0c
Merge pull request #15092 from jketema/mb12
...
Merge back `rc/3.12` into main
2023-12-13 17:45:58 +01:00
Geoffrey White
e8f8aa266f
Merge remote-tracking branch 'upstream/main' into pointermodels
2023-12-13 16:43:15 +00:00
Paolo Tranquilli
9e300a9906
Merge branch 'main' into redsun82/fix-cmake-bazel-version
2023-12-13 17:36:07 +01:00
Yunus AYDIN
5148054612
Update go/ql/src/experimental/CWE-525/WebCacheDeceptionLib.qll
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-12-13 19:36:07 +03:00
Yunus AYDIN
221e281f73
Update go/ql/src/experimental/CWE-525/WebCacheDeception.ql
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-12-13 19:35:59 +03:00
Yunus AYDIN
0ea27c6e9b
Update go/ql/src/experimental/CWE-525/WebCacheDeception.ql
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-12-13 19:35:53 +03:00
Yunus AYDIN
da275b374f
Update go/ql/src/experimental/CWE-525/WebCacheDeception.ql
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-12-13 19:35:36 +03:00
Jeroen Ketema
25a1b0532e
Merge pull request #15094 from github/revert-13870-commoncrypto1
...
Revert "Swift: CommonCrypto test cases for the BrokenCryptoAlgorithm query"
2023-12-13 17:21:44 +01:00
Mathias Vorreiter Pedersen
a478980e48
Revert "Swift: CommonCrypto test cases for the BrokenCryptoAlgorithm query"
2023-12-13 15:40:09 +00:00
Mathias Vorreiter Pedersen
5ddfb1f7c3
Merge pull request #15088 from MathiasVP/debug-mode-for-dataflow-printing
...
C++: Easier debugging of dataflow node `toString` output
2023-12-13 15:15:41 +00:00
Jeroen Ketema
99e65df6ce
Merge remote-tracking branch 'upstream/rc/3.12' into mb12
2023-12-13 15:43:39 +01:00
Paolo Tranquilli
819fc52854
Bazel/CMake: use bazelisk to use correct bazel version
2023-12-13 15:32:06 +01:00
Mathias Vorreiter Pedersen
401ab3b035
C++: Fix 'isDebugMode'. It was computing 'isNotDebugMode' (oops).
2023-12-13 14:31:45 +00:00
Mathias Vorreiter Pedersen
fcc3113bfc
C++: Privately import 'Node0ToString'.
2023-12-13 14:31:02 +00:00
Michael Nebel
b765ba387f
Merge pull request #13110 from GeekMasher/csharp-aws
...
[CSharp] AWS Lambda Modelling
2023-12-13 15:14:58 +01:00
Geoffrey White
023d72b6fb
Merge remote-tracking branch 'upstream/main' into pointermodels
2023-12-13 14:07:17 +00:00
Tamas Vajk
c870b0d4e9
Add more logging to the file filtering
2023-12-13 14:14:07 +01:00
Tamas Vajk
694be29311
Remove uneeded option from the help
2023-12-13 14:13:41 +01:00
Tom Hvitved
28a2d05cf8
InlineFlowTest: Allow for custom getArgString
2023-12-13 13:58:44 +01:00
Koen Vlaswinkel
e177f8783a
C#: Share qualified name module for model editor queries
2023-12-13 13:48:44 +01:00
Koen Vlaswinkel
ea504cddd1
C#: Use correct names for generic types/methods in model editor queries
2023-12-13 13:48:23 +01:00