Skip to content

Commit 1473778

Browse files
authored
Merge pull request github#5493 from yoff/python-add-experimental-structure
Python: Add stub structure to `experimental` for external contributions
2 parents a1ccbcd + 61cff8f commit 1473778

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/**
2+
* This version resides in the experimental area and provides a space for
3+
* external contributors to place new concepts, keeping to our preferred
4+
* structure while remaining in the experimental area.
5+
*
6+
* Provides abstract classes representing generic concepts such as file system
7+
* access or system command execution, for which individual framework libraries
8+
* provide concrete subclasses.
9+
*/
10+
11+
private import python
12+
private import semmle.python.dataflow.new.DataFlow
13+
private import semmle.python.dataflow.new.RemoteFlowSources
14+
private import semmle.python.dataflow.new.TaintTracking
15+
private import experimental.semmle.python.Frameworks
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* Helper file that imports all framework modeling.
3+
*/
4+
5+
private import experimental.semmle.python.frameworks.Stdlib
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Provides classes modeling security-relevant aspects of the standard libraries.
3+
* Note: some modeling is done internally in the dataflow/taint tracking implementation.
4+
*/
5+
6+
private import python
7+
private import semmle.python.dataflow.new.DataFlow
8+
private import semmle.python.dataflow.new.TaintTracking
9+
private import semmle.python.dataflow.new.RemoteFlowSources
10+
private import experimental.semmle.python.Concepts
11+
private import semmle.python.ApiGraphs

0 commit comments

Comments
 (0)