mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
JS: Update TRAP files
This commit is contained in:
@@ -204,246 +204,254 @@ locations_default(#20073,#10000,1,1,8,0)
|
||||
hasLocation(#20001,#20073)
|
||||
#20074=@"var;{f};{#20000}"
|
||||
variables(#20074,"f",#20000)
|
||||
#20075=*
|
||||
stmts(#20075,17,#20001,0,"functio ... esult"")")
|
||||
hasLocation(#20075,#20003)
|
||||
stmt_containers(#20075,#20001)
|
||||
#20075=@"var;{this};{#20000}"
|
||||
variables(#20075,"this",#20000)
|
||||
#20076=*
|
||||
exprs(#20076,78,#20075,-1,"f")
|
||||
hasLocation(#20076,#20019)
|
||||
expr_containers(#20076,#20075)
|
||||
literals("f","f",#20076)
|
||||
decl(#20076,#20074)
|
||||
stmts(#20076,17,#20001,0,"functio ... esult"")")
|
||||
hasLocation(#20076,#20003)
|
||||
stmt_containers(#20076,#20001)
|
||||
#20077=*
|
||||
scopes(#20077,1)
|
||||
scopenodes(#20075,#20077)
|
||||
scopenesting(#20077,#20000)
|
||||
#20078=@"var;{x};{#20077}"
|
||||
variables(#20078,"x",#20077)
|
||||
#20079=*
|
||||
exprs(#20079,78,#20075,0,"x")
|
||||
hasLocation(#20079,#20023)
|
||||
expr_containers(#20079,#20075)
|
||||
literals("x","x",#20079)
|
||||
decl(#20079,#20078)
|
||||
#20080=@"var;{arguments};{#20077}"
|
||||
variables(#20080,"arguments",#20077)
|
||||
is_arguments_object(#20080)
|
||||
exprs(#20077,78,#20076,-1,"f")
|
||||
hasLocation(#20077,#20019)
|
||||
expr_containers(#20077,#20076)
|
||||
literals("f","f",#20077)
|
||||
decl(#20077,#20074)
|
||||
#20078=*
|
||||
scopes(#20078,1)
|
||||
scopenodes(#20076,#20078)
|
||||
scopenesting(#20078,#20000)
|
||||
#20079=@"var;{this};{#20078}"
|
||||
variables(#20079,"this",#20078)
|
||||
#20080=@"var;{x};{#20078}"
|
||||
variables(#20080,"x",#20078)
|
||||
#20081=*
|
||||
exprs(#20081,63,#20075,-2,"(""result"")")
|
||||
#20082=@"loc,{#10000},1,14,1,23"
|
||||
locations_default(#20082,#10000,1,14,1,23)
|
||||
hasLocation(#20081,#20082)
|
||||
expr_containers(#20081,#20075)
|
||||
exprs(#20081,78,#20076,0,"x")
|
||||
hasLocation(#20081,#20023)
|
||||
expr_containers(#20081,#20076)
|
||||
literals("x","x",#20081)
|
||||
decl(#20081,#20080)
|
||||
#20082=@"var;{arguments};{#20078}"
|
||||
variables(#20082,"arguments",#20078)
|
||||
is_arguments_object(#20082)
|
||||
#20083=*
|
||||
exprs(#20083,4,#20081,0,"""result""")
|
||||
hasLocation(#20083,#20029)
|
||||
expr_containers(#20083,#20075)
|
||||
literals("result","""result""",#20083)
|
||||
#20084=*
|
||||
regexpterm(#20084,14,#20083,0,"result")
|
||||
#20085=@"loc,{#10000},1,16,1,21"
|
||||
locations_default(#20085,#10000,1,16,1,21)
|
||||
hasLocation(#20084,#20085)
|
||||
regexp_const_value(#20084,"result")
|
||||
exprs(#20083,63,#20076,-2,"(""result"")")
|
||||
#20084=@"loc,{#10000},1,14,1,23"
|
||||
locations_default(#20084,#10000,1,14,1,23)
|
||||
hasLocation(#20083,#20084)
|
||||
expr_containers(#20083,#20076)
|
||||
#20085=*
|
||||
exprs(#20085,4,#20083,0,"""result""")
|
||||
hasLocation(#20085,#20029)
|
||||
expr_containers(#20085,#20076)
|
||||
literals("result","""result""",#20085)
|
||||
#20086=*
|
||||
stmts(#20086,2,#20001,1,"functio ... )\n }\n}")
|
||||
#20087=@"loc,{#10000},3,1,7,1"
|
||||
locations_default(#20087,#10000,3,1,7,1)
|
||||
regexpterm(#20086,14,#20085,0,"result")
|
||||
#20087=@"loc,{#10000},1,16,1,21"
|
||||
locations_default(#20087,#10000,1,16,1,21)
|
||||
hasLocation(#20086,#20087)
|
||||
stmt_containers(#20086,#20001)
|
||||
regexp_const_value(#20086,"result")
|
||||
#20088=*
|
||||
exprs(#20088,9,#20086,0,"functio ... )\n }\n}")
|
||||
hasLocation(#20088,#20087)
|
||||
enclosing_stmt(#20088,#20086)
|
||||
expr_containers(#20088,#20001)
|
||||
#20089=*
|
||||
scopes(#20089,1)
|
||||
scopenodes(#20088,#20089)
|
||||
scopenesting(#20089,#20000)
|
||||
#20090=@"var;{g};{#20089}"
|
||||
variables(#20090,"g",#20089)
|
||||
#20091=@"var;{b};{#20089}"
|
||||
variables(#20091,"b",#20089)
|
||||
#20092=*
|
||||
exprs(#20092,78,#20088,0,"b")
|
||||
hasLocation(#20092,#20037)
|
||||
expr_containers(#20092,#20088)
|
||||
literals("b","b",#20092)
|
||||
decl(#20092,#20091)
|
||||
#20093=@"var;{arguments};{#20089}"
|
||||
variables(#20093,"arguments",#20089)
|
||||
is_arguments_object(#20093)
|
||||
#20094=*
|
||||
stmts(#20094,1,#20088,-2,"{\n if ... )\n }\n}")
|
||||
#20095=@"loc,{#10000},3,13,7,1"
|
||||
locations_default(#20095,#10000,3,13,7,1)
|
||||
hasLocation(#20094,#20095)
|
||||
stmt_containers(#20094,#20088)
|
||||
#20096=*
|
||||
stmts(#20096,3,#20094,0,"if (b) ... t"")\n }")
|
||||
#20097=@"loc,{#10000},4,3,6,3"
|
||||
locations_default(#20097,#10000,4,3,6,3)
|
||||
hasLocation(#20096,#20097)
|
||||
stmt_containers(#20096,#20088)
|
||||
#20098=*
|
||||
exprs(#20098,79,#20096,0,"b")
|
||||
hasLocation(#20098,#20047)
|
||||
enclosing_stmt(#20098,#20096)
|
||||
expr_containers(#20098,#20088)
|
||||
literals("b","b",#20098)
|
||||
bind(#20098,#20091)
|
||||
stmts(#20088,2,#20001,1,"functio ... )\n }\n}")
|
||||
#20089=@"loc,{#10000},3,1,7,1"
|
||||
locations_default(#20089,#10000,3,1,7,1)
|
||||
hasLocation(#20088,#20089)
|
||||
stmt_containers(#20088,#20001)
|
||||
#20090=*
|
||||
exprs(#20090,9,#20088,0,"functio ... )\n }\n}")
|
||||
hasLocation(#20090,#20089)
|
||||
enclosing_stmt(#20090,#20088)
|
||||
expr_containers(#20090,#20001)
|
||||
#20091=*
|
||||
scopes(#20091,1)
|
||||
scopenodes(#20090,#20091)
|
||||
scopenesting(#20091,#20000)
|
||||
#20092=@"var;{g};{#20091}"
|
||||
variables(#20092,"g",#20091)
|
||||
#20093=@"var;{this};{#20091}"
|
||||
variables(#20093,"this",#20091)
|
||||
#20094=@"var;{b};{#20091}"
|
||||
variables(#20094,"b",#20091)
|
||||
#20095=*
|
||||
exprs(#20095,78,#20090,0,"b")
|
||||
hasLocation(#20095,#20037)
|
||||
expr_containers(#20095,#20090)
|
||||
literals("b","b",#20095)
|
||||
decl(#20095,#20094)
|
||||
#20096=@"var;{arguments};{#20091}"
|
||||
variables(#20096,"arguments",#20091)
|
||||
is_arguments_object(#20096)
|
||||
#20097=*
|
||||
stmts(#20097,1,#20090,-2,"{\n if ... )\n }\n}")
|
||||
#20098=@"loc,{#10000},3,13,7,1"
|
||||
locations_default(#20098,#10000,3,13,7,1)
|
||||
hasLocation(#20097,#20098)
|
||||
stmt_containers(#20097,#20090)
|
||||
#20099=*
|
||||
stmts(#20099,1,#20096,1,"{\n f ... t"")\n }")
|
||||
#20100=@"loc,{#10000},4,10,6,3"
|
||||
locations_default(#20100,#10000,4,10,6,3)
|
||||
stmts(#20099,3,#20097,0,"if (b) ... t"")\n }")
|
||||
#20100=@"loc,{#10000},4,3,6,3"
|
||||
locations_default(#20100,#10000,4,3,6,3)
|
||||
hasLocation(#20099,#20100)
|
||||
stmt_containers(#20099,#20088)
|
||||
stmt_containers(#20099,#20090)
|
||||
#20101=*
|
||||
stmts(#20101,17,#20099,0,"functio ... esult"")")
|
||||
#20102=@"loc,{#10000},5,5,5,33"
|
||||
locations_default(#20102,#10000,5,5,5,33)
|
||||
hasLocation(#20101,#20102)
|
||||
stmt_containers(#20101,#20088)
|
||||
#20103=*
|
||||
exprs(#20103,78,#20101,-1,"g")
|
||||
hasLocation(#20103,#20055)
|
||||
expr_containers(#20103,#20101)
|
||||
literals("g","g",#20103)
|
||||
decl(#20103,#20090)
|
||||
exprs(#20101,79,#20099,0,"b")
|
||||
hasLocation(#20101,#20047)
|
||||
enclosing_stmt(#20101,#20099)
|
||||
expr_containers(#20101,#20090)
|
||||
literals("b","b",#20101)
|
||||
bind(#20101,#20094)
|
||||
#20102=*
|
||||
stmts(#20102,1,#20099,1,"{\n f ... t"")\n }")
|
||||
#20103=@"loc,{#10000},4,10,6,3"
|
||||
locations_default(#20103,#10000,4,10,6,3)
|
||||
hasLocation(#20102,#20103)
|
||||
stmt_containers(#20102,#20090)
|
||||
#20104=*
|
||||
scopes(#20104,1)
|
||||
scopenodes(#20101,#20104)
|
||||
scopenesting(#20104,#20089)
|
||||
#20105=@"var;{y};{#20104}"
|
||||
variables(#20105,"y",#20104)
|
||||
stmts(#20104,17,#20102,0,"functio ... esult"")")
|
||||
#20105=@"loc,{#10000},5,5,5,33"
|
||||
locations_default(#20105,#10000,5,5,5,33)
|
||||
hasLocation(#20104,#20105)
|
||||
stmt_containers(#20104,#20090)
|
||||
#20106=*
|
||||
exprs(#20106,78,#20101,0,"y")
|
||||
hasLocation(#20106,#20059)
|
||||
expr_containers(#20106,#20101)
|
||||
literals("y","y",#20106)
|
||||
decl(#20106,#20105)
|
||||
#20107=@"var;{arguments};{#20104}"
|
||||
variables(#20107,"arguments",#20104)
|
||||
is_arguments_object(#20107)
|
||||
#20108=*
|
||||
exprs(#20108,63,#20101,-2,"(""other result"")")
|
||||
#20109=@"loc,{#10000},5,18,5,33"
|
||||
locations_default(#20109,#10000,5,18,5,33)
|
||||
hasLocation(#20108,#20109)
|
||||
expr_containers(#20108,#20101)
|
||||
exprs(#20106,78,#20104,-1,"g")
|
||||
hasLocation(#20106,#20055)
|
||||
expr_containers(#20106,#20104)
|
||||
literals("g","g",#20106)
|
||||
decl(#20106,#20092)
|
||||
#20107=*
|
||||
scopes(#20107,1)
|
||||
scopenodes(#20104,#20107)
|
||||
scopenesting(#20107,#20091)
|
||||
#20108=@"var;{this};{#20107}"
|
||||
variables(#20108,"this",#20107)
|
||||
#20109=@"var;{y};{#20107}"
|
||||
variables(#20109,"y",#20107)
|
||||
#20110=*
|
||||
exprs(#20110,4,#20108,0,"""other result""")
|
||||
hasLocation(#20110,#20065)
|
||||
expr_containers(#20110,#20101)
|
||||
literals("other result","""other result""",#20110)
|
||||
#20111=*
|
||||
regexpterm(#20111,14,#20110,0,"other result")
|
||||
#20112=@"loc,{#10000},5,20,5,31"
|
||||
locations_default(#20112,#10000,5,20,5,31)
|
||||
hasLocation(#20111,#20112)
|
||||
regexp_const_value(#20111,"other result")
|
||||
#20113=*
|
||||
entry_cfg_node(#20113,#20001)
|
||||
#20114=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20114,#10000,1,1,1,0)
|
||||
hasLocation(#20113,#20114)
|
||||
exprs(#20110,78,#20104,0,"y")
|
||||
hasLocation(#20110,#20059)
|
||||
expr_containers(#20110,#20104)
|
||||
literals("y","y",#20110)
|
||||
decl(#20110,#20109)
|
||||
#20111=@"var;{arguments};{#20107}"
|
||||
variables(#20111,"arguments",#20107)
|
||||
is_arguments_object(#20111)
|
||||
#20112=*
|
||||
exprs(#20112,63,#20104,-2,"(""other result"")")
|
||||
#20113=@"loc,{#10000},5,18,5,33"
|
||||
locations_default(#20113,#10000,5,18,5,33)
|
||||
hasLocation(#20112,#20113)
|
||||
expr_containers(#20112,#20104)
|
||||
#20114=*
|
||||
exprs(#20114,4,#20112,0,"""other result""")
|
||||
hasLocation(#20114,#20065)
|
||||
expr_containers(#20114,#20104)
|
||||
literals("other result","""other result""",#20114)
|
||||
#20115=*
|
||||
exit_cfg_node(#20115,#20001)
|
||||
hasLocation(#20115,#20072)
|
||||
successor(#20086,#20088)
|
||||
successor(#20088,#20115)
|
||||
#20116=*
|
||||
entry_cfg_node(#20116,#20088)
|
||||
#20117=@"loc,{#10000},3,1,3,0"
|
||||
locations_default(#20117,#10000,3,1,3,0)
|
||||
hasLocation(#20116,#20117)
|
||||
#20118=*
|
||||
exit_cfg_node(#20118,#20088)
|
||||
#20119=@"loc,{#10000},7,2,7,1"
|
||||
locations_default(#20119,#10000,7,2,7,1)
|
||||
hasLocation(#20118,#20119)
|
||||
successor(#20096,#20098)
|
||||
regexpterm(#20115,14,#20114,0,"other result")
|
||||
#20116=@"loc,{#10000},5,20,5,31"
|
||||
locations_default(#20116,#10000,5,20,5,31)
|
||||
hasLocation(#20115,#20116)
|
||||
regexp_const_value(#20115,"other result")
|
||||
#20117=*
|
||||
entry_cfg_node(#20117,#20001)
|
||||
#20118=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20118,#10000,1,1,1,0)
|
||||
hasLocation(#20117,#20118)
|
||||
#20119=*
|
||||
exit_cfg_node(#20119,#20001)
|
||||
hasLocation(#20119,#20072)
|
||||
successor(#20088,#20090)
|
||||
successor(#20090,#20119)
|
||||
#20120=*
|
||||
guard_node(#20120,1,#20098)
|
||||
hasLocation(#20120,#20047)
|
||||
successor(#20120,#20099)
|
||||
#20121=*
|
||||
guard_node(#20121,0,#20098)
|
||||
hasLocation(#20121,#20047)
|
||||
successor(#20121,#20118)
|
||||
successor(#20098,#20120)
|
||||
successor(#20098,#20121)
|
||||
successor(#20101,#20118)
|
||||
entry_cfg_node(#20120,#20090)
|
||||
#20121=@"loc,{#10000},3,1,3,0"
|
||||
locations_default(#20121,#10000,3,1,3,0)
|
||||
hasLocation(#20120,#20121)
|
||||
#20122=*
|
||||
entry_cfg_node(#20122,#20101)
|
||||
#20123=@"loc,{#10000},5,5,5,4"
|
||||
locations_default(#20123,#10000,5,5,5,4)
|
||||
exit_cfg_node(#20122,#20090)
|
||||
#20123=@"loc,{#10000},7,2,7,1"
|
||||
locations_default(#20123,#10000,7,2,7,1)
|
||||
hasLocation(#20122,#20123)
|
||||
successor(#20099,#20101)
|
||||
#20124=*
|
||||
exit_cfg_node(#20124,#20101)
|
||||
#20125=@"loc,{#10000},5,34,5,33"
|
||||
locations_default(#20125,#10000,5,34,5,33)
|
||||
hasLocation(#20124,#20125)
|
||||
successor(#20108,#20110)
|
||||
successor(#20110,#20124)
|
||||
successor(#20106,#20108)
|
||||
successor(#20122,#20106)
|
||||
successor(#20103,#20101)
|
||||
successor(#20099,#20103)
|
||||
successor(#20094,#20096)
|
||||
successor(#20092,#20094)
|
||||
successor(#20116,#20092)
|
||||
successor(#20075,#20086)
|
||||
guard_node(#20124,1,#20101)
|
||||
hasLocation(#20124,#20047)
|
||||
successor(#20124,#20102)
|
||||
#20125=*
|
||||
guard_node(#20125,0,#20101)
|
||||
hasLocation(#20125,#20047)
|
||||
successor(#20125,#20122)
|
||||
successor(#20101,#20124)
|
||||
successor(#20101,#20125)
|
||||
successor(#20104,#20122)
|
||||
#20126=*
|
||||
entry_cfg_node(#20126,#20075)
|
||||
hasLocation(#20126,#20114)
|
||||
#20127=*
|
||||
exit_cfg_node(#20127,#20075)
|
||||
#20128=@"loc,{#10000},1,24,1,23"
|
||||
locations_default(#20128,#10000,1,24,1,23)
|
||||
hasLocation(#20127,#20128)
|
||||
successor(#20081,#20083)
|
||||
successor(#20083,#20127)
|
||||
successor(#20079,#20081)
|
||||
successor(#20126,#20079)
|
||||
successor(#20076,#20075)
|
||||
successor(#20113,#20076)
|
||||
#20129=*
|
||||
js_parse_errors(#20129,#20001,"Error: Missing function name","function(b) {
|
||||
")
|
||||
hasLocation(#20129,#20035)
|
||||
entry_cfg_node(#20126,#20104)
|
||||
#20127=@"loc,{#10000},5,5,5,4"
|
||||
locations_default(#20127,#10000,5,5,5,4)
|
||||
hasLocation(#20126,#20127)
|
||||
#20128=*
|
||||
exit_cfg_node(#20128,#20104)
|
||||
#20129=@"loc,{#10000},5,34,5,33"
|
||||
locations_default(#20129,#10000,5,34,5,33)
|
||||
hasLocation(#20128,#20129)
|
||||
successor(#20112,#20114)
|
||||
successor(#20114,#20128)
|
||||
successor(#20110,#20112)
|
||||
successor(#20126,#20110)
|
||||
successor(#20106,#20104)
|
||||
successor(#20102,#20106)
|
||||
successor(#20097,#20099)
|
||||
successor(#20095,#20097)
|
||||
successor(#20120,#20095)
|
||||
successor(#20076,#20088)
|
||||
#20130=*
|
||||
lines(#20130,#20001,"function f(x)(""result"")","
|
||||
")
|
||||
hasLocation(#20130,#20003)
|
||||
entry_cfg_node(#20130,#20076)
|
||||
hasLocation(#20130,#20118)
|
||||
#20131=*
|
||||
lines(#20131,#20001,"","
|
||||
")
|
||||
hasLocation(#20131,#20005)
|
||||
#20132=*
|
||||
lines(#20132,#20001,"function(b) {","
|
||||
")
|
||||
hasLocation(#20132,#20007)
|
||||
exit_cfg_node(#20131,#20076)
|
||||
#20132=@"loc,{#10000},1,24,1,23"
|
||||
locations_default(#20132,#10000,1,24,1,23)
|
||||
hasLocation(#20131,#20132)
|
||||
successor(#20083,#20085)
|
||||
successor(#20085,#20131)
|
||||
successor(#20081,#20083)
|
||||
successor(#20130,#20081)
|
||||
successor(#20077,#20076)
|
||||
successor(#20117,#20077)
|
||||
#20133=*
|
||||
lines(#20133,#20001," if (b) {","
|
||||
js_parse_errors(#20133,#20001,"Error: Missing function name","function(b) {
|
||||
")
|
||||
hasLocation(#20133,#20009)
|
||||
indentation(#10000,4," ",2)
|
||||
hasLocation(#20133,#20035)
|
||||
#20134=*
|
||||
lines(#20134,#20001," function g(y)(""other result"")","
|
||||
lines(#20134,#20001,"function f(x)(""result"")","
|
||||
")
|
||||
hasLocation(#20134,#20011)
|
||||
indentation(#10000,5," ",4)
|
||||
hasLocation(#20134,#20003)
|
||||
#20135=*
|
||||
lines(#20135,#20001," }","
|
||||
lines(#20135,#20001,"","
|
||||
")
|
||||
hasLocation(#20135,#20013)
|
||||
indentation(#10000,6," ",2)
|
||||
hasLocation(#20135,#20005)
|
||||
#20136=*
|
||||
lines(#20136,#20001,"}","
|
||||
lines(#20136,#20001,"function(b) {","
|
||||
")
|
||||
hasLocation(#20136,#20015)
|
||||
hasLocation(#20136,#20007)
|
||||
#20137=*
|
||||
lines(#20137,#20001," if (b) {","
|
||||
")
|
||||
hasLocation(#20137,#20009)
|
||||
indentation(#10000,4," ",2)
|
||||
#20138=*
|
||||
lines(#20138,#20001," function g(y)(""other result"")","
|
||||
")
|
||||
hasLocation(#20138,#20011)
|
||||
indentation(#10000,5," ",4)
|
||||
#20139=*
|
||||
lines(#20139,#20001," }","
|
||||
")
|
||||
hasLocation(#20139,#20013)
|
||||
indentation(#10000,6," ",2)
|
||||
#20140=*
|
||||
lines(#20140,#20001,"}","
|
||||
")
|
||||
hasLocation(#20140,#20015)
|
||||
numlines(#20001,7,0,0)
|
||||
numlines(#10000,7,6,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
Reference in New Issue
Block a user