Python: Refactor Dill.qll

So it matches the layout of all our other qll modules modeling a PyPI
package.
This commit is contained in:
Rasmus Wriedt Larsen
2021-10-08 09:37:39 +02:00
parent f9333fc551
commit 9180257afe

View File

@@ -1,5 +1,5 @@
/** /**
* Provides classes modeling security-relevant aspects of the 'dill' package. * Provides classes modeling security-relevant aspects of the `dill` PyPI package.
* See https://pypi.org/project/dill/. * See https://pypi.org/project/dill/.
*/ */
@@ -9,6 +9,11 @@ private import semmle.python.dataflow.new.RemoteFlowSources
private import semmle.python.Concepts private import semmle.python.Concepts
private import semmle.python.ApiGraphs private import semmle.python.ApiGraphs
/**
* Provides models for the `dill` PyPI package.
* See https://pypi.org/project/dill/.
*/
private module Dill {
/** /**
* A call to `dill.loads` * A call to `dill.loads`
* See https://pypi.org/project/dill/ (which currently refers you * See https://pypi.org/project/dill/ (which currently refers you
@@ -25,3 +30,4 @@ private class DillLoadsCall extends Decoding::Range, DataFlow::CallCfgNode {
override string getFormat() { result = "dill" } override string getFormat() { result = "dill" }
} }
}