mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
JS: Update TRAP files
This commit is contained in:
@@ -223,208 +223,212 @@ hasLocation(#20001,#20080)
|
||||
variables(#20081,"x",#20000)
|
||||
#20082=@"var;{o};{#20000}"
|
||||
variables(#20082,"o",#20000)
|
||||
#20083=*
|
||||
stmts(#20083,18,#20001,0,"var x = ... \n };")
|
||||
hasLocation(#20083,#20080)
|
||||
stmt_containers(#20083,#20001)
|
||||
#20083=@"var;{this};{#20000}"
|
||||
variables(#20083,"this",#20000)
|
||||
#20084=*
|
||||
exprs(#20084,64,#20083,0,"x = 42")
|
||||
#20085=@"loc,{#10000},1,5,1,10"
|
||||
locations_default(#20085,#10000,1,5,1,10)
|
||||
hasLocation(#20084,#20085)
|
||||
enclosing_stmt(#20084,#20083)
|
||||
expr_containers(#20084,#20001)
|
||||
#20086=*
|
||||
exprs(#20086,78,#20084,0,"x")
|
||||
hasLocation(#20086,#20017)
|
||||
enclosing_stmt(#20086,#20083)
|
||||
expr_containers(#20086,#20001)
|
||||
literals("x","x",#20086)
|
||||
decl(#20086,#20081)
|
||||
stmts(#20084,18,#20001,0,"var x = ... \n };")
|
||||
hasLocation(#20084,#20080)
|
||||
stmt_containers(#20084,#20001)
|
||||
#20085=*
|
||||
exprs(#20085,64,#20084,0,"x = 42")
|
||||
#20086=@"loc,{#10000},1,5,1,10"
|
||||
locations_default(#20086,#10000,1,5,1,10)
|
||||
hasLocation(#20085,#20086)
|
||||
enclosing_stmt(#20085,#20084)
|
||||
expr_containers(#20085,#20001)
|
||||
#20087=*
|
||||
exprs(#20087,3,#20084,1,"42")
|
||||
hasLocation(#20087,#20021)
|
||||
enclosing_stmt(#20087,#20083)
|
||||
exprs(#20087,78,#20085,0,"x")
|
||||
hasLocation(#20087,#20017)
|
||||
enclosing_stmt(#20087,#20084)
|
||||
expr_containers(#20087,#20001)
|
||||
literals("42","42",#20087)
|
||||
literals("x","x",#20087)
|
||||
decl(#20087,#20081)
|
||||
#20088=*
|
||||
exprs(#20088,64,#20083,1,"o = {\n ... }\n }")
|
||||
#20089=@"loc,{#10000},2,5,6,5"
|
||||
locations_default(#20089,#10000,2,5,6,5)
|
||||
hasLocation(#20088,#20089)
|
||||
enclosing_stmt(#20088,#20083)
|
||||
exprs(#20088,3,#20085,1,"42")
|
||||
hasLocation(#20088,#20021)
|
||||
enclosing_stmt(#20088,#20084)
|
||||
expr_containers(#20088,#20001)
|
||||
#20090=*
|
||||
exprs(#20090,78,#20088,0,"o")
|
||||
hasLocation(#20090,#20025)
|
||||
enclosing_stmt(#20090,#20083)
|
||||
expr_containers(#20090,#20001)
|
||||
literals("o","o",#20090)
|
||||
decl(#20090,#20082)
|
||||
literals("42","42",#20088)
|
||||
#20089=*
|
||||
exprs(#20089,64,#20084,1,"o = {\n ... }\n }")
|
||||
#20090=@"loc,{#10000},2,5,6,5"
|
||||
locations_default(#20090,#10000,2,5,6,5)
|
||||
hasLocation(#20089,#20090)
|
||||
enclosing_stmt(#20089,#20084)
|
||||
expr_containers(#20089,#20001)
|
||||
#20091=*
|
||||
exprs(#20091,8,#20088,1,"{\n ... }\n }")
|
||||
#20092=@"loc,{#10000},2,9,6,5"
|
||||
locations_default(#20092,#10000,2,9,6,5)
|
||||
hasLocation(#20091,#20092)
|
||||
enclosing_stmt(#20091,#20083)
|
||||
exprs(#20091,78,#20089,0,"o")
|
||||
hasLocation(#20091,#20025)
|
||||
enclosing_stmt(#20091,#20084)
|
||||
expr_containers(#20091,#20001)
|
||||
#20093=*
|
||||
properties(#20093,#20091,0,0,"[""prop"" ... ()]: 23")
|
||||
#20094=@"loc,{#10000},3,9,3,36"
|
||||
locations_default(#20094,#10000,3,9,3,36)
|
||||
hasLocation(#20093,#20094)
|
||||
#20095=*
|
||||
exprs(#20095,34,#20093,0,"""prop"" ... andom()")
|
||||
#20096=@"loc,{#10000},3,10,3,31"
|
||||
locations_default(#20096,#10000,3,10,3,31)
|
||||
hasLocation(#20095,#20096)
|
||||
enclosing_stmt(#20095,#20083)
|
||||
expr_containers(#20095,#20001)
|
||||
#20097=*
|
||||
exprs(#20097,4,#20095,0,"""prop""")
|
||||
hasLocation(#20097,#20033)
|
||||
enclosing_stmt(#20097,#20083)
|
||||
expr_containers(#20097,#20001)
|
||||
literals("prop","""prop""",#20097)
|
||||
literals("o","o",#20091)
|
||||
decl(#20091,#20082)
|
||||
#20092=*
|
||||
exprs(#20092,8,#20089,1,"{\n ... }\n }")
|
||||
#20093=@"loc,{#10000},2,9,6,5"
|
||||
locations_default(#20093,#10000,2,9,6,5)
|
||||
hasLocation(#20092,#20093)
|
||||
enclosing_stmt(#20092,#20084)
|
||||
expr_containers(#20092,#20001)
|
||||
#20094=*
|
||||
properties(#20094,#20092,0,0,"[""prop"" ... ()]: 23")
|
||||
#20095=@"loc,{#10000},3,9,3,36"
|
||||
locations_default(#20095,#10000,3,9,3,36)
|
||||
hasLocation(#20094,#20095)
|
||||
#20096=*
|
||||
exprs(#20096,34,#20094,0,"""prop"" ... andom()")
|
||||
#20097=@"loc,{#10000},3,10,3,31"
|
||||
locations_default(#20097,#10000,3,10,3,31)
|
||||
hasLocation(#20096,#20097)
|
||||
enclosing_stmt(#20096,#20084)
|
||||
expr_containers(#20096,#20001)
|
||||
#20098=*
|
||||
exprs(#20098,13,#20095,1,"Math.random()")
|
||||
#20099=@"loc,{#10000},3,19,3,31"
|
||||
locations_default(#20099,#10000,3,19,3,31)
|
||||
hasLocation(#20098,#20099)
|
||||
enclosing_stmt(#20098,#20083)
|
||||
exprs(#20098,4,#20096,0,"""prop""")
|
||||
hasLocation(#20098,#20033)
|
||||
enclosing_stmt(#20098,#20084)
|
||||
expr_containers(#20098,#20001)
|
||||
#20100=*
|
||||
exprs(#20100,14,#20098,-1,"Math.random")
|
||||
#20101=@"loc,{#10000},3,19,3,29"
|
||||
locations_default(#20101,#10000,3,19,3,29)
|
||||
hasLocation(#20100,#20101)
|
||||
enclosing_stmt(#20100,#20083)
|
||||
expr_containers(#20100,#20001)
|
||||
#20102=*
|
||||
exprs(#20102,79,#20100,0,"Math")
|
||||
hasLocation(#20102,#20037)
|
||||
enclosing_stmt(#20102,#20083)
|
||||
expr_containers(#20102,#20001)
|
||||
literals("Math","Math",#20102)
|
||||
#20103=@"var;{Math};{#20000}"
|
||||
variables(#20103,"Math",#20000)
|
||||
bind(#20102,#20103)
|
||||
#20104=*
|
||||
exprs(#20104,0,#20100,1,"random")
|
||||
hasLocation(#20104,#20041)
|
||||
enclosing_stmt(#20104,#20083)
|
||||
expr_containers(#20104,#20001)
|
||||
literals("random","random",#20104)
|
||||
literals("prop","""prop""",#20098)
|
||||
#20099=*
|
||||
exprs(#20099,13,#20096,1,"Math.random()")
|
||||
#20100=@"loc,{#10000},3,19,3,31"
|
||||
locations_default(#20100,#10000,3,19,3,31)
|
||||
hasLocation(#20099,#20100)
|
||||
enclosing_stmt(#20099,#20084)
|
||||
expr_containers(#20099,#20001)
|
||||
#20101=*
|
||||
exprs(#20101,14,#20099,-1,"Math.random")
|
||||
#20102=@"loc,{#10000},3,19,3,29"
|
||||
locations_default(#20102,#10000,3,19,3,29)
|
||||
hasLocation(#20101,#20102)
|
||||
enclosing_stmt(#20101,#20084)
|
||||
expr_containers(#20101,#20001)
|
||||
#20103=*
|
||||
exprs(#20103,79,#20101,0,"Math")
|
||||
hasLocation(#20103,#20037)
|
||||
enclosing_stmt(#20103,#20084)
|
||||
expr_containers(#20103,#20001)
|
||||
literals("Math","Math",#20103)
|
||||
#20104=@"var;{Math};{#20000}"
|
||||
variables(#20104,"Math",#20000)
|
||||
bind(#20103,#20104)
|
||||
#20105=*
|
||||
exprs(#20105,3,#20093,1,"23")
|
||||
hasLocation(#20105,#20051)
|
||||
enclosing_stmt(#20105,#20083)
|
||||
exprs(#20105,0,#20101,1,"random")
|
||||
hasLocation(#20105,#20041)
|
||||
enclosing_stmt(#20105,#20084)
|
||||
expr_containers(#20105,#20001)
|
||||
literals("23","23",#20105)
|
||||
is_computed(#20093)
|
||||
literals("random","random",#20105)
|
||||
#20106=*
|
||||
properties(#20106,#20091,1,0,"x")
|
||||
hasLocation(#20106,#20055)
|
||||
exprs(#20106,3,#20094,1,"23")
|
||||
hasLocation(#20106,#20051)
|
||||
enclosing_stmt(#20106,#20084)
|
||||
expr_containers(#20106,#20001)
|
||||
literals("23","23",#20106)
|
||||
is_computed(#20094)
|
||||
#20107=*
|
||||
exprs(#20107,0,#20106,0,"x")
|
||||
properties(#20107,#20092,1,0,"x")
|
||||
hasLocation(#20107,#20055)
|
||||
enclosing_stmt(#20107,#20083)
|
||||
expr_containers(#20107,#20001)
|
||||
literals("x","x",#20107)
|
||||
#20108=*
|
||||
exprs(#20108,79,#20106,1,"x")
|
||||
exprs(#20108,0,#20107,0,"x")
|
||||
hasLocation(#20108,#20055)
|
||||
enclosing_stmt(#20108,#20083)
|
||||
enclosing_stmt(#20108,#20084)
|
||||
expr_containers(#20108,#20001)
|
||||
literals("x","x",#20108)
|
||||
bind(#20108,#20081)
|
||||
#20109=*
|
||||
properties(#20109,#20091,2,0,"m() { return 56; }")
|
||||
#20110=@"loc,{#10000},5,9,5,26"
|
||||
locations_default(#20110,#10000,5,9,5,26)
|
||||
hasLocation(#20109,#20110)
|
||||
#20111=*
|
||||
exprs(#20111,0,#20109,0,"m")
|
||||
hasLocation(#20111,#20059)
|
||||
enclosing_stmt(#20111,#20083)
|
||||
expr_containers(#20111,#20001)
|
||||
literals("m","m",#20111)
|
||||
exprs(#20109,79,#20107,1,"x")
|
||||
hasLocation(#20109,#20055)
|
||||
enclosing_stmt(#20109,#20084)
|
||||
expr_containers(#20109,#20001)
|
||||
literals("x","x",#20109)
|
||||
bind(#20109,#20081)
|
||||
#20110=*
|
||||
properties(#20110,#20092,2,0,"m() { return 56; }")
|
||||
#20111=@"loc,{#10000},5,9,5,26"
|
||||
locations_default(#20111,#10000,5,9,5,26)
|
||||
hasLocation(#20110,#20111)
|
||||
#20112=*
|
||||
exprs(#20112,9,#20109,1,"() { return 56; }")
|
||||
#20113=@"loc,{#10000},5,10,5,26"
|
||||
locations_default(#20113,#10000,5,10,5,26)
|
||||
hasLocation(#20112,#20113)
|
||||
enclosing_stmt(#20112,#20083)
|
||||
exprs(#20112,0,#20110,0,"m")
|
||||
hasLocation(#20112,#20059)
|
||||
enclosing_stmt(#20112,#20084)
|
||||
expr_containers(#20112,#20001)
|
||||
#20114=*
|
||||
scopes(#20114,1)
|
||||
scopenodes(#20112,#20114)
|
||||
scopenesting(#20114,#20000)
|
||||
#20115=@"var;{arguments};{#20114}"
|
||||
variables(#20115,"arguments",#20114)
|
||||
is_arguments_object(#20115)
|
||||
#20116=*
|
||||
stmts(#20116,1,#20112,-2,"{ return 56; }")
|
||||
#20117=@"loc,{#10000},5,13,5,26"
|
||||
locations_default(#20117,#10000,5,13,5,26)
|
||||
hasLocation(#20116,#20117)
|
||||
stmt_containers(#20116,#20112)
|
||||
literals("m","m",#20112)
|
||||
#20113=*
|
||||
exprs(#20113,9,#20110,1,"() { return 56; }")
|
||||
#20114=@"loc,{#10000},5,10,5,26"
|
||||
locations_default(#20114,#10000,5,10,5,26)
|
||||
hasLocation(#20113,#20114)
|
||||
enclosing_stmt(#20113,#20084)
|
||||
expr_containers(#20113,#20001)
|
||||
#20115=*
|
||||
scopes(#20115,1)
|
||||
scopenodes(#20113,#20115)
|
||||
scopenesting(#20115,#20000)
|
||||
#20116=@"var;{this};{#20115}"
|
||||
variables(#20116,"this",#20115)
|
||||
#20117=@"var;{arguments};{#20115}"
|
||||
variables(#20117,"arguments",#20115)
|
||||
is_arguments_object(#20117)
|
||||
#20118=*
|
||||
stmts(#20118,9,#20116,0,"return 56;")
|
||||
#20119=@"loc,{#10000},5,15,5,24"
|
||||
locations_default(#20119,#10000,5,15,5,24)
|
||||
stmts(#20118,1,#20113,-2,"{ return 56; }")
|
||||
#20119=@"loc,{#10000},5,13,5,26"
|
||||
locations_default(#20119,#10000,5,13,5,26)
|
||||
hasLocation(#20118,#20119)
|
||||
stmt_containers(#20118,#20112)
|
||||
stmt_containers(#20118,#20113)
|
||||
#20120=*
|
||||
exprs(#20120,3,#20118,0,"56")
|
||||
hasLocation(#20120,#20069)
|
||||
enclosing_stmt(#20120,#20118)
|
||||
expr_containers(#20120,#20112)
|
||||
literals("56","56",#20120)
|
||||
is_method(#20109)
|
||||
#20121=*
|
||||
entry_cfg_node(#20121,#20001)
|
||||
#20122=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20122,#10000,1,1,1,0)
|
||||
hasLocation(#20121,#20122)
|
||||
stmts(#20120,9,#20118,0,"return 56;")
|
||||
#20121=@"loc,{#10000},5,15,5,24"
|
||||
locations_default(#20121,#10000,5,15,5,24)
|
||||
hasLocation(#20120,#20121)
|
||||
stmt_containers(#20120,#20113)
|
||||
#20122=*
|
||||
exprs(#20122,3,#20120,0,"56")
|
||||
hasLocation(#20122,#20069)
|
||||
enclosing_stmt(#20122,#20120)
|
||||
expr_containers(#20122,#20113)
|
||||
literals("56","56",#20122)
|
||||
is_method(#20110)
|
||||
#20123=*
|
||||
exit_cfg_node(#20123,#20001)
|
||||
hasLocation(#20123,#20079)
|
||||
successor(#20083,#20086)
|
||||
successor(#20091,#20097)
|
||||
successor(#20112,#20109)
|
||||
#20124=*
|
||||
entry_cfg_node(#20124,#20112)
|
||||
#20125=@"loc,{#10000},5,10,5,9"
|
||||
locations_default(#20125,#10000,5,10,5,9)
|
||||
hasLocation(#20124,#20125)
|
||||
entry_cfg_node(#20123,#20001)
|
||||
#20124=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20124,#10000,1,1,1,0)
|
||||
hasLocation(#20123,#20124)
|
||||
#20125=*
|
||||
exit_cfg_node(#20125,#20001)
|
||||
hasLocation(#20125,#20079)
|
||||
successor(#20084,#20087)
|
||||
successor(#20092,#20098)
|
||||
successor(#20113,#20110)
|
||||
#20126=*
|
||||
exit_cfg_node(#20126,#20112)
|
||||
#20127=@"loc,{#10000},5,27,5,26"
|
||||
locations_default(#20127,#10000,5,27,5,26)
|
||||
entry_cfg_node(#20126,#20113)
|
||||
#20127=@"loc,{#10000},5,10,5,9"
|
||||
locations_default(#20127,#10000,5,10,5,9)
|
||||
hasLocation(#20126,#20127)
|
||||
successor(#20120,#20118)
|
||||
successor(#20118,#20126)
|
||||
successor(#20116,#20120)
|
||||
successor(#20124,#20116)
|
||||
successor(#20111,#20112)
|
||||
successor(#20109,#20088)
|
||||
successor(#20108,#20106)
|
||||
successor(#20107,#20108)
|
||||
successor(#20106,#20111)
|
||||
successor(#20105,#20093)
|
||||
successor(#20104,#20100)
|
||||
successor(#20102,#20104)
|
||||
successor(#20100,#20098)
|
||||
successor(#20098,#20095)
|
||||
successor(#20097,#20102)
|
||||
successor(#20095,#20105)
|
||||
successor(#20093,#20107)
|
||||
successor(#20090,#20091)
|
||||
successor(#20088,#20123)
|
||||
successor(#20087,#20084)
|
||||
successor(#20086,#20087)
|
||||
successor(#20084,#20090)
|
||||
successor(#20121,#20083)
|
||||
#20128=*
|
||||
exit_cfg_node(#20128,#20113)
|
||||
#20129=@"loc,{#10000},5,27,5,26"
|
||||
locations_default(#20129,#10000,5,27,5,26)
|
||||
hasLocation(#20128,#20129)
|
||||
successor(#20122,#20120)
|
||||
successor(#20120,#20128)
|
||||
successor(#20118,#20122)
|
||||
successor(#20126,#20118)
|
||||
successor(#20112,#20113)
|
||||
successor(#20110,#20089)
|
||||
successor(#20109,#20107)
|
||||
successor(#20108,#20109)
|
||||
successor(#20107,#20112)
|
||||
successor(#20106,#20094)
|
||||
successor(#20105,#20101)
|
||||
successor(#20103,#20105)
|
||||
successor(#20101,#20099)
|
||||
successor(#20099,#20096)
|
||||
successor(#20098,#20103)
|
||||
successor(#20096,#20106)
|
||||
successor(#20094,#20108)
|
||||
successor(#20091,#20092)
|
||||
successor(#20089,#20125)
|
||||
successor(#20088,#20085)
|
||||
successor(#20087,#20088)
|
||||
successor(#20085,#20091)
|
||||
successor(#20123,#20084)
|
||||
numlines(#10000,6,6,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
Reference in New Issue
Block a user