mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
python: type tracking uses source nodes
This commit is contained in:
committed by
GitHub
parent
81ca479ca9
commit
d85844bb89
@@ -35,10 +35,10 @@ string getPossibleContentName() {
|
||||
*/
|
||||
pragma[nomagic]
|
||||
private DataFlowPrivate::DataFlowCallable getCallableForArgument(
|
||||
DataFlowPublic::ArgumentNode nodeFrom, int i
|
||||
DataFlowPublic::ArgumentSourceNode nodeFrom, int i
|
||||
) {
|
||||
exists(DataFlowPrivate::DataFlowSourceCall call |
|
||||
nodeFrom.argumentOf(call, i) and
|
||||
nodeFrom.sourceArgumentOf(call, i) and
|
||||
result = call.getCallable()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user