Skip to content

Commit 0fac4f1

Browse files
Update Concepts.qll
1 parent 413f194 commit 0fac4f1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

python/ql/src/experimental/semmle/python/Concepts.qll

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ module CopyFile {
2727
/**
2828
* Gets the argument containing the path.
2929
*/
30-
abstract DataFlow::Node getAPathArgument();
30+
abstract DataFlow::Node getAPathArgument();
31+
/**
32+
* Gets fsrc argument.
33+
*/
34+
abstract DataFlow::Node getfsrcArgument();
3135
}
3236
}
3337

@@ -43,6 +47,8 @@ class CopyFile extends DataFlow::Node {
4347
CopyFile() { this = range }
4448

4549
DataFlow::Node getAPathArgument() { result = range.getAPathArgument() }
50+
51+
DataFlow::Node getfsrcArgument() { result = range.getfsrcArgument() }
4652
}
4753

4854
/** Provides classes for modeling log related APIs. */

0 commit comments

Comments
 (0)