You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/documentation/library-customization.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,8 +91,8 @@ definition.
91
91
In addition to regular definitions corresponding to assignments and increment/decrement expressions,
92
92
the SSA form also introduces pseudo-definitions such as
93
93
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.
96
96
97
97
Local data flow
98
98
~~~~~~~~~~~~~~~
@@ -186,7 +186,7 @@ Type inference
186
186
187
187
You can override ``AnalyzedNode::getAValue`` to customize the type inference. Note that the type
188
188
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.
190
190
191
191
You can also extend the set of abstract values. To add individual abstract values that are
192
192
independent of the program being analyzed, define a subclass of ``CustomAbstractValueTag``
@@ -232,7 +232,7 @@ Most security queries consist of:
232
232
233
233
- one QL file defining the query
234
234
- 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
236
236
237
237
For example, ``Security/CWE-078/CommandInjection.ql`` defines the command-injection query. It
238
238
imports the module ``semmle.javascript.security.dataflow.CommandInjection``, which defines the
0 commit comments