File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed
javascript/ql/lib/semmle/javascript/security/regexp
java/ql/lib/semmle/code/java/security/regexp
python/ql/lib/semmle/python/security/regexp
ruby/ql/lib/codeql/ruby/security/regexp Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -968,7 +968,11 @@ module PrefixConstruction<isCandidateSig/1 isCandidate> {
968968 exists ( State s | isCandidate ( s ) | getRoot ( s .getRepr ( ) ) = getRoot ( this .getRepr ( ) ) )
969969 }
970970
971- string toString ( ) { result = "RelevantState" }
971+ /** Gets a string representation for this state in a regular expression. */
972+ string toString ( ) { result = State .super .toString ( ) }
973+
974+ /** Gets the term represented by this state. */
975+ RegExpTerm getRepr ( ) { result = State .super .getRepr ( ) }
972976 }
973977}
974978
Original file line number Diff line number Diff line change @@ -968,7 +968,11 @@ module PrefixConstruction<isCandidateSig/1 isCandidate> {
968968 exists ( State s | isCandidate ( s ) | getRoot ( s .getRepr ( ) ) = getRoot ( this .getRepr ( ) ) )
969969 }
970970
971- string toString ( ) { result = "RelevantState" }
971+ /** Gets a string representation for this state in a regular expression. */
972+ string toString ( ) { result = State .super .toString ( ) }
973+
974+ /** Gets the term represented by this state. */
975+ RegExpTerm getRepr ( ) { result = State .super .getRepr ( ) }
972976 }
973977}
974978
Original file line number Diff line number Diff line change @@ -968,7 +968,11 @@ module PrefixConstruction<isCandidateSig/1 isCandidate> {
968968 exists ( State s | isCandidate ( s ) | getRoot ( s .getRepr ( ) ) = getRoot ( this .getRepr ( ) ) )
969969 }
970970
971- string toString ( ) { result = "RelevantState" }
971+ /** Gets a string representation for this state in a regular expression. */
972+ string toString ( ) { result = State .super .toString ( ) }
973+
974+ /** Gets the term represented by this state. */
975+ RegExpTerm getRepr ( ) { result = State .super .getRepr ( ) }
972976 }
973977}
974978
Original file line number Diff line number Diff line change @@ -968,7 +968,11 @@ module PrefixConstruction<isCandidateSig/1 isCandidate> {
968968 exists ( State s | isCandidate ( s ) | getRoot ( s .getRepr ( ) ) = getRoot ( this .getRepr ( ) ) )
969969 }
970970
971- string toString ( ) { result = "RelevantState" }
971+ /** Gets a string representation for this state in a regular expression. */
972+ string toString ( ) { result = State .super .toString ( ) }
973+
974+ /** Gets the term represented by this state. */
975+ RegExpTerm getRepr ( ) { result = State .super .getRepr ( ) }
972976 }
973977}
974978
You can’t perform that action at this time.
0 commit comments