Skip to content

Commit 50b1ddf

Browse files
Max Schaeferjf205
andauthored
JavaScript: Apply suggestions from code review
Co-Authored-By: jf205 <42464962+jf205@users.noreply.github.com>
1 parent e92a1c3 commit 50b1ddf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

javascript/documentation/library-customization.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ definition.
9191
In addition to regular definitions corresponding to assignments and increment/decrement expressions,
9292
the SSA form also introduces pseudo-definitions such as
9393

94-
- `phi nodes` where multiple possible values for a variable are merged
95-
- `refinement nodes` (also known as `pi nodes`) marking program points where additional information about a variable becomes available that may restrict its possible set of values.
94+
- *phi nodes*, where multiple possible values for a variable are merged
95+
- *refinement nodes* (also known as *pi nodes*) marking program points where additional information about a variable becomes available that may restrict its possible set of values.
9696

9797
Local data flow
9898
~~~~~~~~~~~~~~~
@@ -186,7 +186,7 @@ Type inference
186186

187187
You can override ``AnalyzedNode::getAValue`` to customize the type inference. Note that the type
188188
inference is expected to be sound, that is (as far as practical), the abstract values inferred for a
189-
data-flow nodes should cover all possible concrete values this node may take on at runtime.
189+
data-flow node should cover all possible concrete values this node may take on at runtime.
190190

191191
You can also extend the set of abstract values. To add individual abstract values that are
192192
independent of the program being analyzed, define a subclass of ``CustomAbstractValueTag``
@@ -232,7 +232,7 @@ Most security queries consist of:
232232

233233
- one QL file defining the query
234234
- one configuration module defining the taint-tracking configuration
235-
- one customization module defining sources, sinks and sanitizers
235+
- one customization module defining sources, sinks, and sanitizers
236236

237237
For example, ``Security/CWE-078/CommandInjection.ql`` defines the command-injection query. It
238238
imports the module ``semmle.javascript.security.dataflow.CommandInjection``, which defines the

0 commit comments

Comments
 (0)