Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36b9f02 commit 8a3e87fCopy full SHA for 8a3e87f
1 file changed
javascript/ql/src/Performance/ReDoS.ql
@@ -887,14 +887,8 @@ StatePair getAForkPair(State fork) {
887
predicate isPumpable(State fork, string w) {
888
exists(StatePair q, Trace t |
889
isReachableFromFork(fork, q, t, _) and
890
- (
891
- q = getAForkPair(fork) and w = concretise(t)
892
- or
893
- exists(InputSymbol s1, InputSymbol s2 |
894
- step(q, s1, s2, getAForkPair(fork)) and
895
- w = concretise(Step(s1, s2, t))
896
- )
897
+ q = getAForkPair(fork) and
+ w = concretise(t)
898
)
899
}
900
0 commit comments