mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
JS: Update TRAP
This commit is contained in:
@@ -43,44 +43,21 @@ enclosingStmt(#20011,#20010)
|
||||
exprContainers(#20011,#20001)
|
||||
literals("/dice/y","/dice/y",#20011)
|
||||
#20012=*
|
||||
regexpterm(#20012,1,#20011,0,"dice")
|
||||
regexpterm(#20012,14,#20011,0,"dice")
|
||||
#20013=@"loc,{#10000},1,2,1,5"
|
||||
locations_default(#20013,#10000,1,2,1,5)
|
||||
hasLocation(#20012,#20013)
|
||||
regexpConstValue(#20012,"dice")
|
||||
#20014=*
|
||||
regexpterm(#20014,14,#20012,0,"d")
|
||||
#20015=@"loc,{#10000},1,2,1,2"
|
||||
locations_default(#20015,#10000,1,2,1,2)
|
||||
entry_cfg_node(#20014,#20001)
|
||||
#20015=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20015,#10000,1,1,1,0)
|
||||
hasLocation(#20014,#20015)
|
||||
regexpConstValue(#20014,"d")
|
||||
#20016=*
|
||||
regexpterm(#20016,14,#20012,1,"i")
|
||||
#20017=@"loc,{#10000},1,3,1,3"
|
||||
locations_default(#20017,#10000,1,3,1,3)
|
||||
hasLocation(#20016,#20017)
|
||||
regexpConstValue(#20016,"i")
|
||||
#20018=*
|
||||
regexpterm(#20018,14,#20012,2,"c")
|
||||
#20019=@"loc,{#10000},1,4,1,4"
|
||||
locations_default(#20019,#10000,1,4,1,4)
|
||||
hasLocation(#20018,#20019)
|
||||
regexpConstValue(#20018,"c")
|
||||
#20020=*
|
||||
regexpterm(#20020,14,#20012,3,"e")
|
||||
#20021=@"loc,{#10000},1,5,1,5"
|
||||
locations_default(#20021,#10000,1,5,1,5)
|
||||
hasLocation(#20020,#20021)
|
||||
regexpConstValue(#20020,"e")
|
||||
#20022=*
|
||||
entry_cfg_node(#20022,#20001)
|
||||
#20023=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20023,#10000,1,1,1,0)
|
||||
hasLocation(#20022,#20023)
|
||||
#20024=*
|
||||
exit_cfg_node(#20024,#20001)
|
||||
hasLocation(#20024,#20009)
|
||||
exit_cfg_node(#20016,#20001)
|
||||
hasLocation(#20016,#20009)
|
||||
successor(#20010,#20011)
|
||||
successor(#20011,#20024)
|
||||
successor(#20022,#20010)
|
||||
successor(#20011,#20016)
|
||||
successor(#20014,#20010)
|
||||
numlines(#10000,1,1,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
@@ -240,153 +240,171 @@ enclosingStmt(#20081,#20075)
|
||||
exprContainers(#20081,#20001)
|
||||
literals("x","""x""",#20081)
|
||||
#20082=*
|
||||
exprs(#20082,44,#20077,1,"(r = /[ ... && r[0]")
|
||||
#20083=@"loc,{#10000},5,3,5,33"
|
||||
locations_default(#20083,#10000,5,3,5,33)
|
||||
regexpterm(#20082,14,#20081,0,"x")
|
||||
#20083=@"loc,{#10000},4,4,4,4"
|
||||
locations_default(#20083,#10000,4,4,4,4)
|
||||
hasLocation(#20082,#20083)
|
||||
enclosingStmt(#20082,#20075)
|
||||
exprContainers(#20082,#20001)
|
||||
regexpConstValue(#20082,"x")
|
||||
#20084=*
|
||||
exprs(#20084,63,#20082,0,"(r = /[ ... c(""x""))")
|
||||
#20085=@"loc,{#10000},5,3,5,25"
|
||||
locations_default(#20085,#10000,5,3,5,25)
|
||||
exprs(#20084,44,#20077,1,"(r = /[ ... && r[0]")
|
||||
#20085=@"loc,{#10000},5,3,5,33"
|
||||
locations_default(#20085,#10000,5,3,5,33)
|
||||
hasLocation(#20084,#20085)
|
||||
enclosingStmt(#20084,#20075)
|
||||
exprContainers(#20084,#20001)
|
||||
#20086=*
|
||||
exprs(#20086,47,#20084,0,"r = /[\ ... ec(""x"")")
|
||||
#20087=@"loc,{#10000},5,4,5,24"
|
||||
locations_default(#20087,#10000,5,4,5,24)
|
||||
exprs(#20086,63,#20084,0,"(r = /[ ... c(""x""))")
|
||||
#20087=@"loc,{#10000},5,3,5,25"
|
||||
locations_default(#20087,#10000,5,3,5,25)
|
||||
hasLocation(#20086,#20087)
|
||||
enclosingStmt(#20086,#20075)
|
||||
exprContainers(#20086,#20001)
|
||||
#20088=*
|
||||
exprs(#20088,79,#20086,0,"r")
|
||||
hasLocation(#20088,#20033)
|
||||
exprs(#20088,47,#20086,0,"r = /[\ ... ec(""x"")")
|
||||
#20089=@"loc,{#10000},5,4,5,24"
|
||||
locations_default(#20089,#10000,5,4,5,24)
|
||||
hasLocation(#20088,#20089)
|
||||
enclosingStmt(#20088,#20075)
|
||||
exprContainers(#20088,#20001)
|
||||
literals("r","r",#20088)
|
||||
bind(#20088,#20071)
|
||||
#20089=*
|
||||
exprs(#20089,13,#20086,1,"/[\x]+/.exec(""x"")")
|
||||
#20090=@"loc,{#10000},5,8,5,24"
|
||||
locations_default(#20090,#10000,5,8,5,24)
|
||||
hasLocation(#20089,#20090)
|
||||
enclosingStmt(#20089,#20075)
|
||||
exprContainers(#20089,#20001)
|
||||
#20090=*
|
||||
exprs(#20090,79,#20088,0,"r")
|
||||
hasLocation(#20090,#20033)
|
||||
enclosingStmt(#20090,#20075)
|
||||
exprContainers(#20090,#20001)
|
||||
literals("r","r",#20090)
|
||||
bind(#20090,#20071)
|
||||
#20091=*
|
||||
exprs(#20091,14,#20089,-1,"/[\x]+/.exec")
|
||||
#20092=@"loc,{#10000},5,8,5,19"
|
||||
locations_default(#20092,#10000,5,8,5,19)
|
||||
exprs(#20091,13,#20088,1,"/[\x]+/.exec(""x"")")
|
||||
#20092=@"loc,{#10000},5,8,5,24"
|
||||
locations_default(#20092,#10000,5,8,5,24)
|
||||
hasLocation(#20091,#20092)
|
||||
enclosingStmt(#20091,#20075)
|
||||
exprContainers(#20091,#20001)
|
||||
#20093=*
|
||||
exprs(#20093,5,#20091,0,"/[\x]+/")
|
||||
hasLocation(#20093,#20037)
|
||||
exprs(#20093,14,#20091,-1,"/[\x]+/.exec")
|
||||
#20094=@"loc,{#10000},5,8,5,19"
|
||||
locations_default(#20094,#10000,5,8,5,19)
|
||||
hasLocation(#20093,#20094)
|
||||
enclosingStmt(#20093,#20075)
|
||||
exprContainers(#20093,#20001)
|
||||
literals("/[\x]+/","/[\x]+/",#20093)
|
||||
#20094=*
|
||||
regexpterm(#20094,9,#20093,0,"[\x]+")
|
||||
#20095=@"loc,{#10000},5,9,5,13"
|
||||
locations_default(#20095,#10000,5,9,5,13)
|
||||
hasLocation(#20094,#20095)
|
||||
isGreedy(#20094)
|
||||
#20095=*
|
||||
exprs(#20095,5,#20093,0,"/[\x]+/")
|
||||
hasLocation(#20095,#20037)
|
||||
enclosingStmt(#20095,#20075)
|
||||
exprContainers(#20095,#20001)
|
||||
literals("/[\x]+/","/[\x]+/",#20095)
|
||||
#20096=*
|
||||
regexpterm(#20096,23,#20094,0,"[\x]")
|
||||
#20097=@"loc,{#10000},5,9,5,12"
|
||||
locations_default(#20097,#10000,5,9,5,12)
|
||||
regexpterm(#20096,9,#20095,0,"[\x]+")
|
||||
#20097=@"loc,{#10000},5,9,5,13"
|
||||
locations_default(#20097,#10000,5,9,5,13)
|
||||
hasLocation(#20096,#20097)
|
||||
isGreedy(#20096)
|
||||
#20098=*
|
||||
regexpterm(#20098,15,#20096,0,"\x")
|
||||
#20099=@"loc,{#10000},5,10,5,11"
|
||||
locations_default(#20099,#10000,5,10,5,11)
|
||||
regexpterm(#20098,23,#20096,0,"[\x]")
|
||||
#20099=@"loc,{#10000},5,9,5,12"
|
||||
locations_default(#20099,#10000,5,9,5,12)
|
||||
hasLocation(#20098,#20099)
|
||||
regexpConstValue(#20098," | ||||