Skip to content

Commit f180497

Browse files
authored
Merge pull request #4192 from max-schaefer/js/ssa__implicitinit
Approved by asgerf
2 parents c8ffde2 + cd64ce7 commit f180497

File tree

1 file changed

+3
-0
lines changed
  • javascript/ql/src/semmle/javascript

1 file changed

+3
-0
lines changed

javascript/ql/src/semmle/javascript/SSA.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,9 @@ class SsaRefinementNode extends SsaPseudoDefinition, TRefinement {
737737
}
738738

739739
module SSA {
740+
/** Gets the SSA definition corresponding to the implicit initialization of `v`. */
741+
SsaImplicitInit implicitInit(SsaSourceVariable v) { result.getSourceVariable() = v }
742+
740743
/** Gets the SSA definition corresponding to `d`. */
741744
SsaExplicitDefinition definition(VarDef d) { result.getDef() = d }
742745

0 commit comments

Comments
 (0)