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

Skip to content

Commit e4422fc

Browse files
committed
Python, doc: Remove section on taint-tracking
1 parent 76e936c commit e4422fc

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

docs/codeql/codeql-language-guides/codeql-library-for-python.rst

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ When you need to analyze a Python program, you can make use of the large collect
88
About the CodeQL library for Python
99
-----------------------------------
1010

11-
The CodeQL library for each programming language uses classes with abstractions and predicates to present data in an object-oriented form.
11+
The CodeQL library for each programming language uses classes with abstractions and predicates to present data in an object-oriented form.
1212

1313
Each CodeQL library is implemented as a set of QL modules, that is, files with the extension ``.qll``. The module ``python.qll`` imports all the core Python library modules, so you can include the complete library by beginning your query with:
1414

@@ -21,7 +21,6 @@ The CodeQL library for Python incorporates a large number of classes. Each class
2121
- **Syntactic** - classes that represent entities in the Python source code.
2222
- **Control flow** - classes that represent entities from the control flow graphs.
2323
- **Type inference** - classes that represent the inferred values and types of entities in the Python source code.
24-
- **Taint tracking** - classes that represent the source, sinks and kinds of taint used to implement taint-tracking queries.
2524

2625
Syntactic classes
2726
-----------------
@@ -294,7 +293,7 @@ The classes in the control-flow part of the library are:
294293
Type-inference classes
295294
----------------------
296295

297-
The CodeQL library for Python also supplies some classes for accessing the inferred types of values. The classes ``Value`` and ``ClassValue`` allow you to query the possible classes that an expression may have at runtime.
296+
The CodeQL library for Python also supplies some classes for accessing the inferred types of values. The classes ``Value`` and ``ClassValue`` allow you to query the possible classes that an expression may have at runtime.
298297

299298
Example
300299
^^^^^^^
@@ -324,24 +323,9 @@ Summary
324323

325324
For more information about these classes, see ":doc:`Pointer analysis and type inference in Python <pointer-analysis-and-type-inference-in-python>`."
326325

327-
Taint-tracking classes
328-
----------------------
329-
330-
The CodeQL library for Python also supplies classes to specify taint-tracking analyses. The ``Configuration`` class can be overridden to specify a taint-tracking analysis, by specifying source, sinks, sanitizers and additional flow steps. For those analyses that require additional types of taint to be tracked the ``TaintKind`` class can be overridden.
331-
332-
333-
Summary
334-
^^^^^^^
335-
336-
- `TaintKind <https://codeql.github.com/codeql-standard-libraries/python/semmle/python/dataflow/old/TaintTracking.qll/type.TaintTracking$TaintKind.html>`__
337-
- `Configuration <https://codeql.github.com/codeql-standard-libraries/python/semmle/python/dataflow/old/Configuration.qll/type.Configuration$TaintTracking$Configuration.html>`__
338-
339-
For more information about these classes, see ":doc:`Analyzing data flow and tracking tainted data in Python <analyzing-data-flow-and-tracking-tainted-data-in-python>`."
340-
341326

342327
Further reading
343328
---------------
344329

345330
.. include:: ../reusables/python-further-reading.rst
346331
.. include:: ../reusables/codeql-ref-tools-further-reading.rst
347-

0 commit comments

Comments
 (0)