Skip to content

Commit 4d1b49a

Browse files
yoffshati-patel
andauthored
Apply suggestions from code review
Co-authored-by: Shati Patel <[email protected]>
1 parent ad35c01 commit 4d1b49a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.vscode/settings.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"omnisharp.autoStart": false,
3-
"restructuredtext.confPath": "${workspaceFolder}/docs/codeql"
4-
}
2+
"omnisharp.autoStart": false
3+
}

docs/codeql/codeql-language-guides/analyzing-data-flow-in-python.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The global data flow library is used by extending the class ``DataFlow::Configur
174174

175175
.. code-block:: ql
176176
177-
import csharp
177+
import python
178178
179179
class MyDataFlowConfiguration extends DataFlow::Configuration {
180180
MyDataFlowConfiguration() { this = "..." }
@@ -212,7 +212,7 @@ Global taint tracking is to global data flow what local taint tracking is to loc
212212

213213
.. code-block:: ql
214214
215-
import csharp
215+
import python
216216
217217
class MyTaintTrackingConfiguration extends TaintTracking::Configuration {
218218
MyTaintTrackingConfiguration() { this = "..." }
@@ -247,7 +247,7 @@ This query shows a data flow configuration that uses all network input as data s
247247

248248
.. code-block:: ql
249249
250-
import csharp
250+
import python
251251
import semmle.code.csharp.dataflow.flowsources.PublicCallableParameter
252252
253253
class MyDataFlowConfiguration extends DataFlow::Configuration {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Experiment and learn how to write effective and efficient queries for CodeQL dat
1919

2020
- :doc:`CodeQL library for Python <codeql-library-for-python>`: When you need to analyze a Python program, you can make use of the large collection of classes in the CodeQL library for Python.
2121

22-
- :doc:`Analyzing data flow in Python <analyzing-data-flow-in-python>`: You can use CodeQL to track the flow of data through a Python program. Tracking user-controlled, or tainted, data is a key technique for security researchers.
22+
- :doc:`Analyzing data flow in Python <analyzing-data-flow-in-python>`: You can use CodeQL to track the flow of data through a Python program to places where the data is used.
2323

2424
- :doc:`Functions in Python <functions-in-python>`: You can use syntactic classes from the standard CodeQL library to find Python functions and identify calls to them.
2525

0 commit comments

Comments
 (0)