mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
450 lines
12 KiB
Plaintext
450 lines
12 KiB
Plaintext
#10000=@"/exprfns.js;sourcefile"
|
|
files(#10000,"/exprfns.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,"function f(x)(""result"")","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,23"
|
|
locations_default(#20003,#10000,1,1,1,23)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001,"","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20005,#10000,2,1,2,0)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
lines(#20006,#20001,"function(b) {","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,13"
|
|
locations_default(#20007,#10000,3,1,3,13)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
lines(#20008,#20001," if (b) {","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,10"
|
|
locations_default(#20009,#10000,4,1,4,10)
|
|
hasLocation(#20008,#20009)
|
|
indentation(#10000,4," ",2)
|
|
#20010=*
|
|
lines(#20010,#20001," function g(y)(""other result"")","
|
|
")
|
|
#20011=@"loc,{#10000},5,1,5,33"
|
|
locations_default(#20011,#10000,5,1,5,33)
|
|
hasLocation(#20010,#20011)
|
|
indentation(#10000,5," ",4)
|
|
#20012=*
|
|
lines(#20012,#20001," }","
|
|
")
|
|
#20013=@"loc,{#10000},6,1,6,3"
|
|
locations_default(#20013,#10000,6,1,6,3)
|
|
hasLocation(#20012,#20013)
|
|
indentation(#10000,6," ",2)
|
|
#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,"function")
|
|
#20017=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20017,#10000,1,1,1,8)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,6,#20001,1,"f")
|
|
#20019=@"loc,{#10000},1,10,1,10"
|
|
locations_default(#20019,#10000,1,10,1,10)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,8,#20001,2,"(")
|
|
#20021=@"loc,{#10000},1,11,1,11"
|
|
locations_default(#20021,#10000,1,11,1,11)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,6,#20001,3,"x")
|
|
#20023=@"loc,{#10000},1,12,1,12"
|
|
locations_default(#20023,#10000,1,12,1,12)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,4,")")
|
|
#20025=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20025,#10000,1,13,1,13)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,8,#20001,5,"(")
|
|
#20027=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20027,#10000,1,14,1,14)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,4,#20001,6,"""result""")
|
|
#20029=@"loc,{#10000},1,15,1,22"
|
|
locations_default(#20029,#10000,1,15,1,22)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,7,")")
|
|
#20031=@"loc,{#10000},1,23,1,23"
|
|
locations_default(#20031,#10000,1,23,1,23)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,7,#20001,8,"function")
|
|
#20033=@"loc,{#10000},3,1,3,8"
|
|
locations_default(#20033,#10000,3,1,3,8)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,8,#20001,9,"(")
|
|
#20035=@"loc,{#10000},3,9,3,9"
|
|
locations_default(#20035,#10000,3,9,3,9)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,6,#20001,10,"b")
|
|
#20037=@"loc,{#10000},3,10,3,10"
|
|
locations_default(#20037,#10000,3,10,3,10)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,8,#20001,11,")")
|
|
#20039=@"loc,{#10000},3,11,3,11"
|
|
locations_default(#20039,#10000,3,11,3,11)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,12,"{")
|
|
#20041=@"loc,{#10000},3,13,3,13"
|
|
locations_default(#20041,#10000,3,13,3,13)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,7,#20001,13,"if")
|
|
#20043=@"loc,{#10000},4,3,4,4"
|
|
locations_default(#20043,#10000,4,3,4,4)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,14,"(")
|
|
#20045=@"loc,{#10000},4,6,4,6"
|
|
locations_default(#20045,#10000,4,6,4,6)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,6,#20001,15,"b")
|
|
#20047=@"loc,{#10000},4,7,4,7"
|
|
locations_default(#20047,#10000,4,7,4,7)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,8,#20001,16,")")
|
|
#20049=@"loc,{#10000},4,8,4,8"
|
|
locations_default(#20049,#10000,4,8,4,8)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,8,#20001,17,"{")
|
|
#20051=@"loc,{#10000},4,10,4,10"
|
|
locations_default(#20051,#10000,4,10,4,10)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,7,#20001,18,"function")
|
|
#20053=@"loc,{#10000},5,5,5,12"
|
|
locations_default(#20053,#10000,5,5,5,12)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,6,#20001,19,"g")
|
|
#20055=@"loc,{#10000},5,14,5,14"
|
|
locations_default(#20055,#10000,5,14,5,14)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
tokeninfo(#20056,8,#20001,20,"(")
|
|
#20057=@"loc,{#10000},5,15,5,15"
|
|
locations_default(#20057,#10000,5,15,5,15)
|
|
hasLocation(#20056,#20057)
|
|
#20058=*
|
|
tokeninfo(#20058,6,#20001,21,"y")
|
|
#20059=@"loc,{#10000},5,16,5,16"
|
|
locations_default(#20059,#10000,5,16,5,16)
|
|
hasLocation(#20058,#20059)
|
|
#20060=*
|
|
tokeninfo(#20060,8,#20001,22,")")
|
|
#20061=@"loc,{#10000},5,17,5,17"
|
|
locations_default(#20061,#10000,5,17,5,17)
|
|
hasLocation(#20060,#20061)
|
|
#20062=*
|
|
tokeninfo(#20062,8,#20001,23,"(")
|
|
#20063=@"loc,{#10000},5,18,5,18"
|
|
locations_default(#20063,#10000,5,18,5,18)
|
|
hasLocation(#20062,#20063)
|
|
#20064=*
|
|
tokeninfo(#20064,4,#20001,24,"""other result""")
|
|
#20065=@"loc,{#10000},5,19,5,32"
|
|
locations_default(#20065,#10000,5,19,5,32)
|
|
hasLocation(#20064,#20065)
|
|
#20066=*
|
|
tokeninfo(#20066,8,#20001,25,")")
|
|
#20067=@"loc,{#10000},5,33,5,33"
|
|
locations_default(#20067,#10000,5,33,5,33)
|
|
hasLocation(#20066,#20067)
|
|
#20068=*
|
|
tokeninfo(#20068,8,#20001,26,"}")
|
|
#20069=@"loc,{#10000},6,3,6,3"
|
|
locations_default(#20069,#10000,6,3,6,3)
|
|
hasLocation(#20068,#20069)
|
|
#20070=*
|
|
tokeninfo(#20070,8,#20001,27,"}")
|
|
hasLocation(#20070,#20015)
|
|
#20071=*
|
|
tokeninfo(#20071,0,#20001,28,"")
|
|
#20072=@"loc,{#10000},8,1,8,0"
|
|
locations_default(#20072,#10000,8,1,8,0)
|
|
hasLocation(#20071,#20072)
|
|
toplevels(#20001,0)
|
|
#20073=@"loc,{#10000},1,1,8,0"
|
|
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)
|
|
#20076=*
|
|
exprs(#20076,78,#20075,-1,"f")
|
|
hasLocation(#20076,#20019)
|
|
expr_containers(#20076,#20075)
|
|
literals("f","f",#20076)
|
|
decl(#20076,#20074)
|
|
#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)
|
|
#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)
|
|
#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")
|
|
#20086=*
|
|
stmts(#20086,2,#20001,1,"functio ... )\n }\n}")
|
|
#20087=@"loc,{#10000},3,1,7,1"
|
|
locations_default(#20087,#10000,3,1,7,1)
|
|
hasLocation(#20086,#20087)
|
|
stmt_containers(#20086,#20001)
|
|
#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)
|
|
#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)
|
|
hasLocation(#20099,#20100)
|
|
stmt_containers(#20099,#20088)
|
|
#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)
|
|
#20104=*
|
|
scopes(#20104,1)
|
|
scopenodes(#20101,#20104)
|
|
scopenesting(#20104,#20089)
|
|
#20105=@"var;{y};{#20104}"
|
|
variables(#20105,"y",#20104)
|
|
#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)
|
|
#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)
|
|
#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(#20094,#20096)
|
|
successor(#20096,#20098)
|
|
#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(#20099,#20101)
|
|
successor(#20101,#20103)
|
|
successor(#20103,#20118)
|
|
#20122=*
|
|
entry_cfg_node(#20122,#20101)
|
|
#20123=@"loc,{#10000},5,5,5,4"
|
|
locations_default(#20123,#10000,5,5,5,4)
|
|
hasLocation(#20122,#20123)
|
|
#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(#20092,#20094)
|
|
successor(#20116,#20092)
|
|
successor(#20075,#20086)
|
|
#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)
|
|
#20130=*
|
|
lines(#20130,#20001,"function f(x)(""result"")","
|
|
")
|
|
hasLocation(#20130,#20003)
|
|
#20131=*
|
|
lines(#20131,#20001,"","
|
|
")
|
|
hasLocation(#20131,#20005)
|
|
#20132=*
|
|
lines(#20132,#20001,"function(b) {","
|
|
")
|
|
hasLocation(#20132,#20007)
|
|
#20133=*
|
|
lines(#20133,#20001," if (b) {","
|
|
")
|
|
hasLocation(#20133,#20009)
|
|
indentation(#10000,4," ",2)
|
|
#20134=*
|
|
lines(#20134,#20001," function g(y)(""other result"")","
|
|
")
|
|
hasLocation(#20134,#20011)
|
|
indentation(#10000,5," ",4)
|
|
#20135=*
|
|
lines(#20135,#20001," }","
|
|
")
|
|
hasLocation(#20135,#20013)
|
|
indentation(#10000,6," ",2)
|
|
#20136=*
|
|
lines(#20136,#20001,"}","
|
|
")
|
|
hasLocation(#20136,#20015)
|
|
numlines(#20001,7,0,0)
|
|
numlines(#10000,7,6,0)
|
|
filetype(#10000,"javascript")
|