Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62910f0

Browse files
committed
Python: Add cloudpickle model
This one didn't seem to fit into the subclass approach, so I just modeled it manually.
1 parent d263e48 commit 62910f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ module StdlibPrivate {
12981298
// pickle
12991299
// ---------------------------------------------------------------------------
13001300
/** Gets a reference to any of the `pickle` modules. */
1301-
API::Node pickle() { result = API::moduleImport(["pickle", "cPickle", "_pickle"]) }
1301+
API::Node pickle() { result = API::moduleImport(["pickle", "cPickle", "_pickle", "cloudpickle"]) }
13021302

13031303
/**
13041304
* A call to `pickle.load`

0 commit comments

Comments
 (0)