mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
JS: Update TRAP files
This commit is contained in:
@@ -260,257 +260,259 @@ variables(#20096,"x",#20000)
|
||||
variables(#20097,"y",#20000)
|
||||
variables(#20096,"x",#20000)
|
||||
variables(#20097,"y",#20000)
|
||||
#20098=*
|
||||
stmts(#20098,18,#20001,0,"var x = 42, y = 19;")
|
||||
hasLocation(#20098,#20003)
|
||||
stmt_containers(#20098,#20001)
|
||||
#20098=@"var;{this};{#20000}"
|
||||
variables(#20098,"this",#20000)
|
||||
#20099=*
|
||||
exprs(#20099,64,#20098,0,"x = 42")
|
||||
#20100=@"loc,{#10000},1,5,1,10"
|
||||
locations_default(#20100,#10000,1,5,1,10)
|
||||
hasLocation(#20099,#20100)
|
||||
enclosing_stmt(#20099,#20098)
|
||||
expr_containers(#20099,#20001)
|
||||
#20101=*
|
||||
exprs(#20101,78,#20099,0,"x")
|
||||
hasLocation(#20101,#20019)
|
||||
enclosing_stmt(#20101,#20098)
|
||||
expr_containers(#20101,#20001)
|
||||
literals("x","x",#20101)
|
||||
decl(#20101,#20096)
|
||||
stmts(#20099,18,#20001,0,"var x = 42, y = 19;")
|
||||
hasLocation(#20099,#20003)
|
||||
stmt_containers(#20099,#20001)
|
||||
#20100=*
|
||||
exprs(#20100,64,#20099,0,"x = 42")
|
||||
#20101=@"loc,{#10000},1,5,1,10"
|
||||
locations_default(#20101,#10000,1,5,1,10)
|
||||
hasLocation(#20100,#20101)
|
||||
enclosing_stmt(#20100,#20099)
|
||||
expr_containers(#20100,#20001)
|
||||
#20102=*
|
||||
exprs(#20102,3,#20099,1,"42")
|
||||
hasLocation(#20102,#20023)
|
||||
enclosing_stmt(#20102,#20098)
|
||||
exprs(#20102,78,#20100,0,"x")
|
||||
hasLocation(#20102,#20019)
|
||||
enclosing_stmt(#20102,#20099)
|
||||
expr_containers(#20102,#20001)
|
||||
literals("42","42",#20102)
|
||||
literals("x","x",#20102)
|
||||
decl(#20102,#20096)
|
||||
#20103=*
|
||||
exprs(#20103,64,#20098,1,"y = 19")
|
||||
#20104=@"loc,{#10000},1,13,1,18"
|
||||
locations_default(#20104,#10000,1,13,1,18)
|
||||
hasLocation(#20103,#20104)
|
||||
enclosing_stmt(#20103,#20098)
|
||||
exprs(#20103,3,#20100,1,"42")
|
||||
hasLocation(#20103,#20023)
|
||||
enclosing_stmt(#20103,#20099)
|
||||
expr_containers(#20103,#20001)
|
||||
#20105=*
|
||||
exprs(#20105,78,#20103,0,"y")
|
||||
hasLocation(#20105,#20027)
|
||||
enclosing_stmt(#20105,#20098)
|
||||
expr_containers(#20105,#20001)
|
||||
literals("y","y",#20105)
|
||||
decl(#20105,#20097)
|
||||
literals("42","42",#20103)
|
||||
#20104=*
|
||||
exprs(#20104,64,#20099,1,"y = 19")
|
||||
#20105=@"loc,{#10000},1,13,1,18"
|
||||
locations_default(#20105,#10000,1,13,1,18)
|
||||
hasLocation(#20104,#20105)
|
||||
enclosing_stmt(#20104,#20099)
|
||||
expr_containers(#20104,#20001)
|
||||
#20106=*
|
||||
exprs(#20106,3,#20103,1,"19")
|
||||
hasLocation(#20106,#20031)
|
||||
enclosing_stmt(#20106,#20098)
|
||||
exprs(#20106,78,#20104,0,"y")
|
||||
hasLocation(#20106,#20027)
|
||||
enclosing_stmt(#20106,#20099)
|
||||
expr_containers(#20106,#20001)
|
||||
literals("19","19",#20106)
|
||||
literals("y","y",#20106)
|
||||
decl(#20106,#20097)
|
||||
#20107=*
|
||||
stmts(#20107,24,#20001,1,"let (x ... + y);\n}")
|
||||
#20108=@"loc,{#10000},3,1,5,1"
|
||||
locations_default(#20108,#10000,3,1,5,1)
|
||||
hasLocation(#20107,#20108)
|
||||
stmt_containers(#20107,#20001)
|
||||
#20109=*
|
||||
scopes(#20109,4)
|
||||
scopenodes(#20107,#20109)
|
||||
scopenesting(#20109,#20000)
|
||||
#20110=@"var;{x};{#20109}"
|
||||
variables(#20110,"x",#20109)
|
||||
#20111=@"var;{y};{#20109}"
|
||||
variables(#20111,"y",#20109)
|
||||
#20112=*
|
||||
exprs(#20112,64,#20107,0,"x = 23")
|
||||
#20113=@"loc,{#10000},3,6,3,11"
|
||||
locations_default(#20113,#10000,3,6,3,11)
|
||||
hasLocation(#20112,#20113)
|
||||
enclosing_stmt(#20112,#20107)
|
||||
expr_containers(#20112,#20001)
|
||||
#20114=*
|
||||
exprs(#20114,78,#20112,0,"x")
|
||||
hasLocation(#20114,#20039)
|
||||
enclosing_stmt(#20114,#20107)
|
||||
expr_containers(#20114,#20001)
|
||||
literals("x","x",#20114)
|
||||
decl(#20114,#20110)
|
||||
exprs(#20107,3,#20104,1,"19")
|
||||
hasLocation(#20107,#20031)
|
||||
enclosing_stmt(#20107,#20099)
|
||||
expr_containers(#20107,#20001)
|
||||
literals("19","19",#20107)
|
||||
#20108=*
|
||||
stmts(#20108,24,#20001,1,"let (x ... + y);\n}")
|
||||
#20109=@"loc,{#10000},3,1,5,1"
|
||||
locations_default(#20109,#10000,3,1,5,1)
|
||||
hasLocation(#20108,#20109)
|
||||
stmt_containers(#20108,#20001)
|
||||
#20110=*
|
||||
scopes(#20110,4)
|
||||
scopenodes(#20108,#20110)
|
||||
scopenesting(#20110,#20000)
|
||||
#20111=@"var;{x};{#20110}"
|
||||
variables(#20111,"x",#20110)
|
||||
#20112=@"var;{y};{#20110}"
|
||||
variables(#20112,"y",#20110)
|
||||
#20113=*
|
||||
exprs(#20113,64,#20108,0,"x = 23")
|
||||
#20114=@"loc,{#10000},3,6,3,11"
|
||||
locations_default(#20114,#10000,3,6,3,11)
|
||||
hasLocation(#20113,#20114)
|
||||
enclosing_stmt(#20113,#20108)
|
||||
expr_containers(#20113,#20001)
|
||||
#20115=*
|
||||
exprs(#20115,3,#20112,1,"23")
|
||||
hasLocation(#20115,#20043)
|
||||
enclosing_stmt(#20115,#20107)
|
||||
exprs(#20115,78,#20113,0,"x")
|
||||
hasLocation(#20115,#20039)
|
||||
enclosing_stmt(#20115,#20108)
|
||||
expr_containers(#20115,#20001)
|
||||
literals("23","23",#20115)
|
||||
literals("x","x",#20115)
|
||||
decl(#20115,#20111)
|
||||
#20116=*
|
||||
exprs(#20116,64,#20107,1,"y = 19")
|
||||
#20117=@"loc,{#10000},3,14,3,19"
|
||||
locations_default(#20117,#10000,3,14,3,19)
|
||||
hasLocation(#20116,#20117)
|
||||
enclosing_stmt(#20116,#20107)
|
||||
exprs(#20116,3,#20113,1,"23")
|
||||
hasLocation(#20116,#20043)
|
||||
enclosing_stmt(#20116,#20108)
|
||||
expr_containers(#20116,#20001)
|
||||
#20118=*
|
||||
exprs(#20118,78,#20116,0,"y")
|
||||
hasLocation(#20118,#20047)
|
||||
enclosing_stmt(#20118,#20107)
|
||||
expr_containers(#20118,#20001)
|
||||
literals("y","y",#20118)
|
||||
decl(#20118,#20111)
|
||||
literals("23","23",#20116)
|
||||
#20117=*
|
||||
exprs(#20117,64,#20108,1,"y = 19")
|
||||
#20118=@"loc,{#10000},3,14,3,19"
|
||||
locations_default(#20118,#10000,3,14,3,19)
|
||||
hasLocation(#20117,#20118)
|
||||
enclosing_stmt(#20117,#20108)
|
||||
expr_containers(#20117,#20001)
|
||||
#20119=*
|
||||
exprs(#20119,3,#20116,1,"19")
|
||||
hasLocation(#20119,#20051)
|
||||
enclosing_stmt(#20119,#20107)
|
||||
exprs(#20119,78,#20117,0,"y")
|
||||
hasLocation(#20119,#20047)
|
||||
enclosing_stmt(#20119,#20108)
|
||||
expr_containers(#20119,#20001)
|
||||
literals("19","19",#20119)
|
||||
literals("y","y",#20119)
|
||||
decl(#20119,#20112)
|
||||
#20120=*
|
||||
stmts(#20120,1,#20107,-1,"{\n con ... + y);\n}")
|
||||
#20121=@"loc,{#10000},3,22,5,1"
|
||||
locations_default(#20121,#10000,3,22,5,1)
|
||||
hasLocation(#20120,#20121)
|
||||
stmt_containers(#20120,#20001)
|
||||
#20122=*
|
||||
stmts(#20122,2,#20120,0,"console.log(x + y);")
|
||||
#20123=@"loc,{#10000},4,3,4,21"
|
||||
locations_default(#20123,#10000,4,3,4,21)
|
||||
hasLocation(#20122,#20123)
|
||||
stmt_containers(#20122,#20001)
|
||||
#20124=*
|
||||
exprs(#20124,13,#20122,0,"console.log(x + y)")
|
||||
#20125=@"loc,{#10000},4,3,4,20"
|
||||
locations_default(#20125,#10000,4,3,4,20)
|
||||
hasLocation(#20124,#20125)
|
||||
enclosing_stmt(#20124,#20122)
|
||||
expr_containers(#20124,#20001)
|
||||
#20126=*
|
||||
exprs(#20126,14,#20124,-1,"console.log")
|
||||
#20127=@"loc,{#10000},4,3,4,13"
|
||||
locations_default(#20127,#10000,4,3,4,13)
|
||||
hasLocation(#20126,#20127)
|
||||
enclosing_stmt(#20126,#20122)
|
||||
expr_containers(#20126,#20001)
|
||||
#20128=*
|
||||
exprs(#20128,79,#20126,0,"console")
|
||||
hasLocation(#20128,#20057)
|
||||
enclosing_stmt(#20128,#20122)
|
||||
expr_containers(#20128,#20001)
|
||||
literals("console","console",#20128)
|
||||
#20129=@"var;{console};{#20000}"
|
||||
variables(#20129,"console",#20000)
|
||||
bind(#20128,#20129)
|
||||
#20130=*
|
||||
exprs(#20130,0,#20126,1,"log")
|
||||
hasLocation(#20130,#20061)
|
||||
enclosing_stmt(#20130,#20122)
|
||||
expr_containers(#20130,#20001)
|
||||
literals("log","log",#20130)
|
||||
exprs(#20120,3,#20117,1,"19")
|
||||
hasLocation(#20120,#20051)
|
||||
enclosing_stmt(#20120,#20108)
|
||||
expr_containers(#20120,#20001)
|
||||
literals("19","19",#20120)
|
||||
#20121=*
|
||||
stmts(#20121,1,#20108,-1,"{\n con ... + y);\n}")
|
||||
#20122=@"loc,{#10000},3,22,5,1"
|
||||
locations_default(#20122,#10000,3,22,5,1)
|
||||
hasLocation(#20121,#20122)
|
||||
stmt_containers(#20121,#20001)
|
||||
#20123=*
|
||||
stmts(#20123,2,#20121,0,"console.log(x + y);")
|
||||
#20124=@"loc,{#10000},4,3,4,21"
|
||||
locations_default(#20124,#10000,4,3,4,21)
|
||||
hasLocation(#20123,#20124)
|
||||
stmt_containers(#20123,#20001)
|
||||
#20125=*
|
||||
exprs(#20125,13,#20123,0,"console.log(x + y)")
|
||||
#20126=@"loc,{#10000},4,3,4,20"
|
||||
locations_default(#20126,#10000,4,3,4,20)
|
||||
hasLocation(#20125,#20126)
|
||||
enclosing_stmt(#20125,#20123)
|
||||
expr_containers(#20125,#20001)
|
||||
#20127=*
|
||||
exprs(#20127,14,#20125,-1,"console.log")
|
||||
#20128=@"loc,{#10000},4,3,4,13"
|
||||
locations_default(#20128,#10000,4,3,4,13)
|
||||
hasLocation(#20127,#20128)
|
||||
enclosing_stmt(#20127,#20123)
|
||||
expr_containers(#20127,#20001)
|
||||
#20129=*
|
||||
exprs(#20129,79,#20127,0,"console")
|
||||
hasLocation(#20129,#20057)
|
||||
enclosing_stmt(#20129,#20123)
|
||||
expr_containers(#20129,#20001)
|
||||
literals("console","console",#20129)
|
||||
#20130=@"var;{console};{#20000}"
|
||||
variables(#20130,"console",#20000)
|
||||
bind(#20129,#20130)
|
||||
#20131=*
|
||||
exprs(#20131,34,#20124,0,"x + y")
|
||||
#20132=@"loc,{#10000},4,15,4,19"
|
||||
locations_default(#20132,#10000,4,15,4,19)
|
||||
hasLocation(#20131,#20132)
|
||||
enclosing_stmt(#20131,#20122)
|
||||
exprs(#20131,0,#20127,1,"log")
|
||||
hasLocation(#20131,#20061)
|
||||
enclosing_stmt(#20131,#20123)
|
||||
expr_containers(#20131,#20001)
|
||||
#20133=*
|
||||
exprs(#20133,79,#20131,0,"x")
|
||||
hasLocation(#20133,#20065)
|
||||
enclosing_stmt(#20133,#20122)
|
||||
expr_containers(#20133,#20001)
|
||||
literals("x","x",#20133)
|
||||
bind(#20133,#20110)
|
||||
literals("log","log",#20131)
|
||||
#20132=*
|
||||
exprs(#20132,34,#20125,0,"x + y")
|
||||
#20133=@"loc,{#10000},4,15,4,19"
|
||||
locations_default(#20133,#10000,4,15,4,19)
|
||||
hasLocation(#20132,#20133)
|
||||
enclosing_stmt(#20132,#20123)
|
||||
expr_containers(#20132,#20001)
|
||||
#20134=*
|
||||
exprs(#20134,79,#20131,1,"y")
|
||||
hasLocation(#20134,#20069)
|
||||
enclosing_stmt(#20134,#20122)
|
||||
exprs(#20134,79,#20132,0,"x")
|
||||
hasLocation(#20134,#20065)
|
||||
enclosing_stmt(#20134,#20123)
|
||||
expr_containers(#20134,#20001)
|
||||
literals("y","y",#20134)
|
||||
literals("x","x",#20134)
|
||||
bind(#20134,#20111)
|
||||
#20135=*
|
||||
stmts(#20135,2,#20001,2,"console.log(x - y);")
|
||||
hasLocation(#20135,#20015)
|
||||
stmt_containers(#20135,#20001)
|
||||
exprs(#20135,79,#20132,1,"y")
|
||||
hasLocation(#20135,#20069)
|
||||
enclosing_stmt(#20135,#20123)
|
||||
expr_containers(#20135,#20001)
|
||||
literals("y","y",#20135)
|
||||
bind(#20135,#20112)
|
||||
#20136=*
|
||||
exprs(#20136,13,#20135,0,"console.log(x - y)")
|
||||
#20137=@"loc,{#10000},7,1,7,18"
|
||||
locations_default(#20137,#10000,7,1,7,18)
|
||||
hasLocation(#20136,#20137)
|
||||
enclosing_stmt(#20136,#20135)
|
||||
expr_containers(#20136,#20001)
|
||||
#20138=*
|
||||
exprs(#20138,14,#20136,-1,"console.log")
|
||||
#20139=@"loc,{#10000},7,1,7,11"
|
||||
locations_default(#20139,#10000,7,1,7,11)
|
||||
hasLocation(#20138,#20139)
|
||||
enclosing_stmt(#20138,#20135)
|
||||
expr_containers(#20138,#20001)
|
||||
#20140=*
|
||||
exprs(#20140,79,#20138,0,"console")
|
||||
hasLocation(#20140,#20076)
|
||||
enclosing_stmt(#20140,#20135)
|
||||
expr_containers(#20140,#20001)
|
||||
literals("console","console",#20140)
|
||||
bind(#20140,#20129)
|
||||
stmts(#20136,2,#20001,2,"console.log(x - y);")
|
||||
hasLocation(#20136,#20015)
|
||||
stmt_containers(#20136,#20001)
|
||||
#20137=*
|
||||
exprs(#20137,13,#20136,0,"console.log(x - y)")
|
||||
#20138=@"loc,{#10000},7,1,7,18"
|
||||
locations_default(#20138,#10000,7,1,7,18)
|
||||
hasLocation(#20137,#20138)
|
||||
enclosing_stmt(#20137,#20136)
|
||||
expr_containers(#20137,#20001)
|
||||
#20139=*
|
||||
exprs(#20139,14,#20137,-1,"console.log")
|
||||
#20140=@"loc,{#10000},7,1,7,11"
|
||||
locations_default(#20140,#10000,7,1,7,11)
|
||||
hasLocation(#20139,#20140)
|
||||
enclosing_stmt(#20139,#20136)
|
||||
expr_containers(#20139,#20001)
|
||||
#20141=*
|
||||
exprs(#20141,0,#20138,1,"log")
|
||||
hasLocation(#20141,#20080)
|
||||
enclosing_stmt(#20141,#20135)
|
||||
exprs(#20141,79,#20139,0,"console")
|
||||
hasLocation(#20141,#20076)
|
||||
enclosing_stmt(#20141,#20136)
|
||||
expr_containers(#20141,#20001)
|
||||
literals("log","log",#20141)
|
||||
literals("console","console",#20141)
|
||||
bind(#20141,#20130)
|
||||
#20142=*
|
||||
exprs(#20142,35,#20136,0,"x - y")
|
||||
#20143=@"loc,{#10000},7,13,7,17"
|
||||
locations_default(#20143,#10000,7,13,7,17)
|
||||
hasLocation(#20142,#20143)
|
||||
enclosing_stmt(#20142,#20135)
|
||||
exprs(#20142,0,#20139,1,"log")
|
||||
hasLocation(#20142,#20080)
|
||||
enclosing_stmt(#20142,#20136)
|
||||
expr_containers(#20142,#20001)
|
||||
#20144=*
|
||||
exprs(#20144,79,#20142,0,"x")
|
||||
hasLocation(#20144,#20084)
|
||||
enclosing_stmt(#20144,#20135)
|
||||
expr_containers(#20144,#20001)
|
||||
literals("x","x",#20144)
|
||||
bind(#20144,#20096)
|
||||
literals("log","log",#20142)
|
||||
#20143=*
|
||||
exprs(#20143,35,#20137,0,"x - y")
|
||||
#20144=@"loc,{#10000},7,13,7,17"
|
||||
locations_default(#20144,#10000,7,13,7,17)
|
||||
hasLocation(#20143,#20144)
|
||||
enclosing_stmt(#20143,#20136)
|
||||
expr_containers(#20143,#20001)
|
||||
#20145=*
|
||||
exprs(#20145,79,#20142,1,"y")
|
||||
hasLocation(#20145,#20088)
|
||||
enclosing_stmt(#20145,#20135)
|
||||
exprs(#20145,79,#20143,0,"x")
|
||||
hasLocation(#20145,#20084)
|
||||
enclosing_stmt(#20145,#20136)
|
||||
expr_containers(#20145,#20001)
|
||||
literals("y","y",#20145)
|
||||
bind(#20145,#20097)
|
||||
literals("x","x",#20145)
|
||||
bind(#20145,#20096)
|
||||
#20146=*
|
||||
entry_cfg_node(#20146,#20001)
|
||||
#20147=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20147,#10000,1,1,1,0)
|
||||
hasLocation(#20146,#20147)
|
||||
#20148=*
|
||||
exit_cfg_node(#20148,#20001)
|
||||
hasLocation(#20148,#20094)
|
||||
successor(#20135,#20140)
|
||||
successor(#20145,#20142)
|
||||
successor(#20144,#20145)
|
||||
successor(#20142,#20136)
|
||||
successor(#20141,#20138)
|
||||
successor(#20140,#20141)
|
||||
successor(#20138,#20144)
|
||||
successor(#20136,#20148)
|
||||
successor(#20107,#20114)
|
||||
successor(#20122,#20128)
|
||||
successor(#20134,#20131)
|
||||
successor(#20133,#20134)
|
||||
successor(#20131,#20124)
|
||||
successor(#20130,#20126)
|
||||
successor(#20128,#20130)
|
||||
successor(#20126,#20133)
|
||||
successor(#20124,#20135)
|
||||
successor(#20120,#20122)
|
||||
successor(#20119,#20116)
|
||||
successor(#20118,#20119)
|
||||
successor(#20116,#20120)
|
||||
successor(#20115,#20112)
|
||||
successor(#20114,#20115)
|
||||
successor(#20112,#20118)
|
||||
successor(#20098,#20101)
|
||||
successor(#20106,#20103)
|
||||
successor(#20105,#20106)
|
||||
successor(#20103,#20107)
|
||||
successor(#20102,#20099)
|
||||
successor(#20101,#20102)
|
||||
successor(#20099,#20105)
|
||||
successor(#20146,#20098)
|
||||
exprs(#20146,79,#20143,1,"y")
|
||||
hasLocation(#20146,#20088)
|
||||
enclosing_stmt(#20146,#20136)
|
||||
expr_containers(#20146,#20001)
|
||||
literals("y","y",#20146)
|
||||
bind(#20146,#20097)
|
||||
#20147=*
|
||||
entry_cfg_node(#20147,#20001)
|
||||
#20148=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20148,#10000,1,1,1,0)
|
||||
hasLocation(#20147,#20148)
|
||||
#20149=*
|
||||
exit_cfg_node(#20149,#20001)
|
||||
hasLocation(#20149,#20094)
|
||||
successor(#20136,#20141)
|
||||
successor(#20146,#20143)
|
||||
successor(#20145,#20146)
|
||||
successor(#20143,#20137)
|
||||
successor(#20142,#20139)
|
||||
successor(#20141,#20142)
|
||||
successor(#20139,#20145)
|
||||
successor(#20137,#20149)
|
||||
successor(#20108,#20115)
|
||||
successor(#20123,#20129)
|
||||
successor(#20135,#20132)
|
||||
successor(#20134,#20135)
|
||||
successor(#20132,#20125)
|
||||
successor(#20131,#20127)
|
||||
successor(#20129,#20131)
|
||||
successor(#20127,#20134)
|
||||
successor(#20125,#20136)
|
||||
successor(#20121,#20123)
|
||||
successor(#20120,#20117)
|
||||
successor(#20119,#20120)
|
||||
successor(#20117,#20121)
|
||||
successor(#20116,#20113)
|
||||
successor(#20115,#20116)
|
||||
successor(#20113,#20119)
|
||||
successor(#20099,#20102)
|
||||
successor(#20107,#20104)
|
||||
successor(#20106,#20107)
|
||||
successor(#20104,#20108)
|
||||
successor(#20103,#20100)
|
||||
successor(#20102,#20103)
|
||||
successor(#20100,#20106)
|
||||
successor(#20147,#20099)
|
||||
numlines(#10000,7,5,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
Reference in New Issue
Block a user