mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
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.
This commit is contained in:
@@ -45,4 +45,4 @@ def test_library_call():
|
||||
for x in map(set, [1]):
|
||||
pass
|
||||
|
||||
SINK(captured["x"]) #$ MISSING:captured
|
||||
SINK(captured["x"]) #$ captured
|
||||
|
||||
Reference in New Issue
Block a user