mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
468 lines
12 KiB
Plaintext
468 lines
12 KiB
Plaintext
#10000=@"/forof.js;sourcefile"
|
|
files(#10000,"/forof.js")
|
|
#10001=@"/;folder"
|
|
folders(#10001,"/")
|
|
containerparent(#10001,#10000)
|
|
#10002=@"loc,{#10000},0,0,0,0"
|
|
locations_default(#10002,#10000,0,0,0,0)
|
|
hasLocation(#10000,#10002)
|
|
#20000=@"global_scope"
|
|
scopes(#20000,0)
|
|
#20001=@"script;{#10000},1,1"
|
|
#20002=*
|
|
lines(#20002,#20001,"for (let x of [1,2,3]) {","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,24"
|
|
locations_default(#20003,#10000,1,1,1,24)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," let y = x+1;","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,16"
|
|
locations_default(#20005,#10000,2,1,2,16)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,2," ",4)
|
|
#20006=*
|
|
lines(#20006,#20001,"}","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,1"
|
|
locations_default(#20007,#10000,3,1,3,1)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
lines(#20008,#20001,"","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,0"
|
|
locations_default(#20009,#10000,4,1,4,0)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
lines(#20010,#20001,"function f() {","
|
|
")
|
|
#20011=@"loc,{#10000},5,1,5,14"
|
|
locations_default(#20011,#10000,5,1,5,14)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
lines(#20012,#20001," for (var x of []);","
|
|
")
|
|
#20013=@"loc,{#10000},6,1,6,22"
|
|
locations_default(#20013,#10000,6,1,6,22)
|
|
hasLocation(#20012,#20013)
|
|
indentation(#10000,6," ",4)
|
|
#20014=*
|
|
lines(#20014,#20001,"}","
|
|
")
|
|
#20015=@"loc,{#10000},7,1,7,1"
|
|
locations_default(#20015,#10000,7,1,7,1)
|
|
hasLocation(#20014,#20015)
|
|
numlines(#20001,7,6,0)
|
|
#20016=*
|
|
tokeninfo(#20016,7,#20001,0,"for")
|
|
#20017=@"loc,{#10000},1,1,1,3"
|
|
locations_default(#20017,#10000,1,1,1,3)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,8,#20001,1,"(")
|
|
#20019=@"loc,{#10000},1,5,1,5"
|
|
locations_default(#20019,#10000,1,5,1,5)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,7,#20001,2,"let")
|
|
#20021=@"loc,{#10000},1,6,1,8"
|
|
locations_default(#20021,#10000,1,6,1,8)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,6,#20001,3,"x")
|
|
#20023=@"loc,{#10000},1,10,1,10"
|
|
locations_default(#20023,#10000,1,10,1,10)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,6,#20001,4,"of")
|
|
#20025=@"loc,{#10000},1,12,1,13"
|
|
locations_default(#20025,#10000,1,12,1,13)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,8,#20001,5,"[")
|
|
#20027=@"loc,{#10000},1,15,1,15"
|
|
locations_default(#20027,#10000,1,15,1,15)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,3,#20001,6,"1")
|
|
#20029=@"loc,{#10000},1,16,1,16"
|
|
locations_default(#20029,#10000,1,16,1,16)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,7,",")
|
|
#20031=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20031,#10000,1,17,1,17)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,3,#20001,8,"2")
|
|
#20033=@"loc,{#10000},1,18,1,18"
|
|
locations_default(#20033,#10000,1,18,1,18)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,8,#20001,9,",")
|
|
#20035=@"loc,{#10000},1,19,1,19"
|
|
locations_default(#20035,#10000,1,19,1,19)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,3,#20001,10,"3")
|
|
#20037=@"loc,{#10000},1,20,1,20"
|
|
locations_default(#20037,#10000,1,20,1,20)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,8,#20001,11,"]")
|
|
#20039=@"loc,{#10000},1,21,1,21"
|
|
locations_default(#20039,#10000,1,21,1,21)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,12,")")
|
|
#20041=@"loc,{#10000},1,22,1,22"
|
|
locations_default(#20041,#10000,1,22,1,22)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,8,#20001,13,"{")
|
|
#20043=@"loc,{#10000},1,24,1,24"
|
|
locations_default(#20043,#10000,1,24,1,24)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,7,#20001,14,"let")
|
|
#20045=@"loc,{#10000},2,5,2,7"
|
|
locations_default(#20045,#10000,2,5,2,7)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,6,#20001,15,"y")
|
|
#20047=@"loc,{#10000},2,9,2,9"
|
|
locations_default(#20047,#10000,2,9,2,9)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,8,#20001,16,"=")
|
|
#20049=@"loc,{#10000},2,11,2,11"
|
|
locations_default(#20049,#10000,2,11,2,11)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,6,#20001,17,"x")
|
|
#20051=@"loc,{#10000},2,13,2,13"
|
|
locations_default(#20051,#10000,2,13,2,13)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,8,#20001,18,"+")
|
|
#20053=@"loc,{#10000},2,14,2,14"
|
|
locations_default(#20053,#10000,2,14,2,14)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,3,#20001,19,"1")
|
|
#20055=@"loc,{#10000},2,15,2,15"
|
|
locations_default(#20055,#10000,2,15,2,15)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
tokeninfo(#20056,8,#20001,20,";")
|
|
#20057=@"loc,{#10000},2,16,2,16"
|
|
locations_default(#20057,#10000,2,16,2,16)
|
|
hasLocation(#20056,#20057)
|
|
#20058=*
|
|
tokeninfo(#20058,8,#20001,21,"}")
|
|
hasLocation(#20058,#20007)
|
|
#20059=*
|
|
tokeninfo(#20059,7,#20001,22,"function")
|
|
#20060=@"loc,{#10000},5,1,5,8"
|
|
locations_default(#20060,#10000,5,1,5,8)
|
|
hasLocation(#20059,#20060)
|
|
#20061=*
|
|
tokeninfo(#20061,6,#20001,23,"f")
|
|
#20062=@"loc,{#10000},5,10,5,10"
|
|
locations_default(#20062,#10000,5,10,5,10)
|
|
hasLocation(#20061,#20062)
|
|
#20063=*
|
|
tokeninfo(#20063,8,#20001,24,"(")
|
|
#20064=@"loc,{#10000},5,11,5,11"
|
|
locations_default(#20064,#10000,5,11,5,11)
|
|
hasLocation(#20063,#20064)
|
|
#20065=*
|
|
tokeninfo(#20065,8,#20001,25,")")
|
|
#20066=@"loc,{#10000},5,12,5,12"
|
|
locations_default(#20066,#10000,5,12,5,12)
|
|
hasLocation(#20065,#20066)
|
|
#20067=*
|
|
tokeninfo(#20067,8,#20001,26,"{")
|
|
#20068=@"loc,{#10000},5,14,5,14"
|
|
locations_default(#20068,#10000,5,14,5,14)
|
|
hasLocation(#20067,#20068)
|
|
#20069=*
|
|
tokeninfo(#20069,7,#20001,27,"for")
|
|
#20070=@"loc,{#10000},6,5,6,7"
|
|
locations_default(#20070,#10000,6,5,6,7)
|
|
hasLocation(#20069,#20070)
|
|
#20071=*
|
|
tokeninfo(#20071,8,#20001,28,"(")
|
|
#20072=@"loc,{#10000},6,9,6,9"
|
|
locations_default(#20072,#10000,6,9,6,9)
|
|
hasLocation(#20071,#20072)
|
|
#20073=*
|
|
tokeninfo(#20073,7,#20001,29,"var")
|
|
#20074=@"loc,{#10000},6,10,6,12"
|
|
locations_default(#20074,#10000,6,10,6,12)
|
|
hasLocation(#20073,#20074)
|
|
#20075=*
|
|
tokeninfo(#20075,6,#20001,30,"x")
|
|
#20076=@"loc,{#10000},6,14,6,14"
|
|
locations_default(#20076,#10000,6,14,6,14)
|
|
hasLocation(#20075,#20076)
|
|
#20077=*
|
|
tokeninfo(#20077,6,#20001,31,"of")
|
|
#20078=@"loc,{#10000},6,16,6,17"
|
|
locations_default(#20078,#10000,6,16,6,17)
|
|
hasLocation(#20077,#20078)
|
|
#20079=*
|
|
tokeninfo(#20079,8,#20001,32,"[")
|
|
#20080=@"loc,{#10000},6,19,6,19"
|
|
locations_default(#20080,#10000,6,19,6,19)
|
|
hasLocation(#20079,#20080)
|
|
#20081=*
|
|
tokeninfo(#20081,8,#20001,33,"]")
|
|
#20082=@"loc,{#10000},6,20,6,20"
|
|
locations_default(#20082,#10000,6,20,6,20)
|
|
hasLocation(#20081,#20082)
|
|
#20083=*
|
|
tokeninfo(#20083,8,#20001,34,")")
|
|
#20084=@"loc,{#10000},6,21,6,21"
|
|
locations_default(#20084,#10000,6,21,6,21)
|
|
hasLocation(#20083,#20084)
|
|
#20085=*
|
|
tokeninfo(#20085,8,#20001,35,";")
|
|
#20086=@"loc,{#10000},6,22,6,22"
|
|
locations_default(#20086,#10000,6,22,6,22)
|
|
hasLocation(#20085,#20086)
|
|
#20087=*
|
|
tokeninfo(#20087,8,#20001,36,"}")
|
|
hasLocation(#20087,#20015)
|
|
#20088=*
|
|
tokeninfo(#20088,0,#20001,37,"")
|
|
#20089=@"loc,{#10000},8,1,8,0"
|
|
locations_default(#20089,#10000,8,1,8,0)
|
|
hasLocation(#20088,#20089)
|
|
toplevels(#20001,0)
|
|
#20090=@"loc,{#10000},1,1,8,0"
|
|
locations_default(#20090,#10000,1,1,8,0)
|
|
hasLocation(#20001,#20090)
|
|
#20091=@"var;{f};{#20000}"
|
|
variables(#20091,"f",#20000)
|
|
#20092=*
|
|
stmts(#20092,21,#20001,0,"for (le ... x+1;\n}")
|
|
#20093=@"loc,{#10000},1,1,3,1"
|
|
locations_default(#20093,#10000,1,1,3,1)
|
|
hasLocation(#20092,#20093)
|
|
stmt_containers(#20092,#20001)
|
|
#20094=*
|
|
exprs(#20094,7,#20092,1,"[1,2,3]")
|
|
#20095=@"loc,{#10000},1,15,1,21"
|
|
locations_default(#20095,#10000,1,15,1,21)
|
|
hasLocation(#20094,#20095)
|
|
enclosing_stmt(#20094,#20092)
|
|
expr_containers(#20094,#20001)
|
|
#20096=*
|
|
exprs(#20096,3,#20094,0,"1")
|
|
hasLocation(#20096,#20029)
|
|
enclosing_stmt(#20096,#20092)
|
|
expr_containers(#20096,#20001)
|
|
literals("1","1",#20096)
|
|
#20097=*
|
|
exprs(#20097,3,#20094,1,"2")
|
|
hasLocation(#20097,#20033)
|
|
enclosing_stmt(#20097,#20092)
|
|
expr_containers(#20097,#20001)
|
|
literals("2","2",#20097)
|
|
#20098=*
|
|
exprs(#20098,3,#20094,2,"3")
|
|
hasLocation(#20098,#20037)
|
|
enclosing_stmt(#20098,#20092)
|
|
expr_containers(#20098,#20001)
|
|
literals("3","3",#20098)
|
|
array_size(#20094,3)
|
|
#20099=*
|
|
scopes(#20099,6)
|
|
scopenodes(#20092,#20099)
|
|
scopenesting(#20099,#20000)
|
|
#20100=@"var;{x};{#20099}"
|
|
variables(#20100,"x",#20099)
|
|
#20101=*
|
|
stmts(#20101,23,#20092,0,"let x")
|
|
#20102=@"loc,{#10000},1,6,1,10"
|
|
locations_default(#20102,#10000,1,6,1,10)
|
|
hasLocation(#20101,#20102)
|
|
stmt_containers(#20101,#20001)
|
|
#20103=*
|
|
exprs(#20103,64,#20101,0,"x")
|
|
hasLocation(#20103,#20023)
|
|
enclosing_stmt(#20103,#20101)
|
|
expr_containers(#20103,#20001)
|
|
#20104=*
|
|
exprs(#20104,78,#20103,0,"x")
|
|
hasLocation(#20104,#20023)
|
|
enclosing_stmt(#20104,#20101)
|
|
expr_containers(#20104,#20001)
|
|
literals("x","x",#20104)
|
|
decl(#20104,#20100)
|
|
#20105=*
|
|
stmts(#20105,1,#20092,2,"{\n let y = x+1;\n}")
|
|
#20106=@"loc,{#10000},1,24,3,1"
|
|
locations_default(#20106,#10000,1,24,3,1)
|
|
hasLocation(#20105,#20106)
|
|
stmt_containers(#20105,#20001)
|
|
#20107=*
|
|
scopes(#20107,4)
|
|
scopenodes(#20105,#20107)
|
|
scopenesting(#20107,#20099)
|
|
#20108=@"var;{y};{#20107}"
|
|
variables(#20108,"y",#20107)
|
|
#20109=*
|
|
stmts(#20109,23,#20105,0,"let y = x+1;")
|
|
#20110=@"loc,{#10000},2,5,2,16"
|
|
locations_default(#20110,#10000,2,5,2,16)
|
|
hasLocation(#20109,#20110)
|
|
stmt_containers(#20109,#20001)
|
|
#20111=*
|
|
exprs(#20111,64,#20109,0,"y = x+1")
|
|
#20112=@"loc,{#10000},2,9,2,15"
|
|
locations_default(#20112,#10000,2,9,2,15)
|
|
hasLocation(#20111,#20112)
|
|
enclosing_stmt(#20111,#20109)
|
|
expr_containers(#20111,#20001)
|
|
#20113=*
|
|
exprs(#20113,78,#20111,0,"y")
|
|
hasLocation(#20113,#20047)
|
|
enclosing_stmt(#20113,#20109)
|
|
expr_containers(#20113,#20001)
|
|
literals("y","y",#20113)
|
|
decl(#20113,#20108)
|
|
#20114=*
|
|
exprs(#20114,34,#20111,1,"x+1")
|
|
#20115=@"loc,{#10000},2,13,2,15"
|
|
locations_default(#20115,#10000,2,13,2,15)
|
|
hasLocation(#20114,#20115)
|
|
enclosing_stmt(#20114,#20109)
|
|
expr_containers(#20114,#20001)
|
|
#20116=*
|
|
exprs(#20116,79,#20114,0,"x")
|
|
hasLocation(#20116,#20051)
|
|
enclosing_stmt(#20116,#20109)
|
|
expr_containers(#20116,#20001)
|
|
literals("x","x",#20116)
|
|
bind(#20116,#20100)
|
|
#20117=*
|
|
exprs(#20117,3,#20114,1,"1")
|
|
hasLocation(#20117,#20055)
|
|
enclosing_stmt(#20117,#20109)
|
|
expr_containers(#20117,#20001)
|
|
literals("1","1",#20117)
|
|
#20118=*
|
|
stmts(#20118,17,#20001,1,"functio ... []);\n}")
|
|
#20119=@"loc,{#10000},5,1,7,1"
|
|
locations_default(#20119,#10000,5,1,7,1)
|
|
hasLocation(#20118,#20119)
|
|
stmt_containers(#20118,#20001)
|
|
#20120=*
|
|
exprs(#20120,78,#20118,-1,"f")
|
|
hasLocation(#20120,#20062)
|
|
expr_containers(#20120,#20118)
|
|
literals("f","f",#20120)
|
|
decl(#20120,#20091)
|
|
#20121=*
|
|
scopes(#20121,1)
|
|
scopenodes(#20118,#20121)
|
|
scopenesting(#20121,#20000)
|
|
#20122=@"var;{x};{#20121}"
|
|
variables(#20122,"x",#20121)
|
|
#20123=@"var;{arguments};{#20121}"
|
|
variables(#20123,"arguments",#20121)
|
|
is_arguments_object(#20123)
|
|
#20124=*
|
|
stmts(#20124,1,#20118,-2,"{\n f ... []);\n}")
|
|
#20125=@"loc,{#10000},5,14,7,1"
|
|
locations_default(#20125,#10000,5,14,7,1)
|
|
hasLocation(#20124,#20125)
|
|
stmt_containers(#20124,#20118)
|
|
#20126=*
|
|
stmts(#20126,21,#20124,0,"for (var x of []);")
|
|
#20127=@"loc,{#10000},6,5,6,22"
|
|
locations_default(#20127,#10000,6,5,6,22)
|
|
hasLocation(#20126,#20127)
|
|
stmt_containers(#20126,#20118)
|
|
#20128=*
|
|
exprs(#20128,7,#20126,1,"[]")
|
|
#20129=@"loc,{#10000},6,19,6,20"
|
|
locations_default(#20129,#10000,6,19,6,20)
|
|
hasLocation(#20128,#20129)
|
|
enclosing_stmt(#20128,#20126)
|
|
expr_containers(#20128,#20118)
|
|
array_size(#20128,0)
|
|
#20130=*
|
|
stmts(#20130,18,#20126,0,"var x")
|
|
#20131=@"loc,{#10000},6,10,6,14"
|
|
locations_default(#20131,#10000,6,10,6,14)
|
|
hasLocation(#20130,#20131)
|
|
stmt_containers(#20130,#20118)
|
|
#20132=*
|
|
exprs(#20132,64,#20130,0,"x")
|
|
hasLocation(#20132,#20076)
|
|
enclosing_stmt(#20132,#20130)
|
|
expr_containers(#20132,#20118)
|
|
#20133=*
|
|
exprs(#20133,78,#20132,0,"x")
|
|
hasLocation(#20133,#20076)
|
|
enclosing_stmt(#20133,#20130)
|
|
expr_containers(#20133,#20118)
|
|
literals("x","x",#20133)
|
|
decl(#20133,#20122)
|
|
#20134=*
|
|
stmts(#20134,0,#20126,2,";")
|
|
hasLocation(#20134,#20086)
|
|
stmt_containers(#20134,#20118)
|
|
#20135=*
|
|
entry_cfg_node(#20135,#20001)
|
|
#20136=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20136,#10000,1,1,1,0)
|
|
hasLocation(#20135,#20136)
|
|
#20137=*
|
|
exit_cfg_node(#20137,#20001)
|
|
hasLocation(#20137,#20089)
|
|
successor(#20118,#20137)
|
|
#20138=*
|
|
entry_cfg_node(#20138,#20118)
|
|
#20139=@"loc,{#10000},5,1,5,0"
|
|
locations_default(#20139,#10000,5,1,5,0)
|
|
hasLocation(#20138,#20139)
|
|
#20140=*
|
|
exit_cfg_node(#20140,#20118)
|
|
#20141=@"loc,{#10000},7,2,7,1"
|
|
locations_default(#20141,#10000,7,2,7,1)
|
|
hasLocation(#20140,#20141)
|
|
successor(#20124,#20128)
|
|
successor(#20128,#20126)
|
|
successor(#20126,#20130)
|
|
successor(#20126,#20140)
|
|
successor(#20134,#20126)
|
|
successor(#20130,#20133)
|
|
successor(#20133,#20132)
|
|
successor(#20132,#20134)
|
|
successor(#20138,#20124)
|
|
successor(#20094,#20096)
|
|
successor(#20098,#20092)
|
|
successor(#20097,#20098)
|
|
successor(#20096,#20097)
|
|
successor(#20092,#20101)
|
|
successor(#20092,#20118)
|
|
successor(#20105,#20109)
|
|
successor(#20109,#20113)
|
|
successor(#20117,#20114)
|
|
successor(#20116,#20117)
|
|
successor(#20114,#20111)
|
|
successor(#20113,#20116)
|
|
successor(#20111,#20092)
|
|
successor(#20101,#20104)
|
|
successor(#20104,#20103)
|
|
successor(#20103,#20105)
|
|
successor(#20120,#20094)
|
|
successor(#20135,#20120)
|
|
numlines(#10000,7,6,0)
|
|
filetype(#10000,"javascript")
|