mirror of
https://github.com/github/codeql.git
synced 2026-04-02 13:48:20 +02:00
458 lines
12 KiB
Plaintext
458 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=@"var;{this};{#20000}"
|
|
variables(#20075,"this",#20000)
|
|
#20076=*
|
|
stmts(#20076,17,#20001,0,"functio ... esult"")")
|
|
hasLocation(#20076,#20003)
|
|
stmt_containers(#20076,#20001)
|
|
#20077=*
|
|
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,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,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=*
|
|
regexpterm(#20086,14,#20085,0,"result")
|
|
#20087=@"loc,{#10000},1,16,1,21"
|
|
locations_default(#20087,#10000,1,16,1,21)
|
|
hasLocation(#20086,#20087)
|
|
regexp_const_value(#20086,"result")
|
|
#20088=*
|
|
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,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,#20090)
|
|
#20101=*
|
|
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=*
|
|
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,#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,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=*
|
|
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=*
|
|
entry_cfg_node(#20120,#20090)
|
|
#20121=@"loc,{#10000},3,1,3,0"
|
|
locations_default(#20121,#10000,3,1,3,0)
|
|
hasLocation(#20120,#20121)
|
|
#20122=*
|
|
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=*
|
|
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,#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=*
|
|
entry_cfg_node(#20130,#20076)
|
|
hasLocation(#20130,#20118)
|
|
#20131=*
|
|
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=*
|
|
js_parse_errors(#20133,#20001,"Error: Missing function name","function(b) {
|
|
")
|
|
hasLocation(#20133,#20035)
|
|
#20134=*
|
|
lines(#20134,#20001,"function f(x)(""result"")","
|
|
")
|
|
hasLocation(#20134,#20003)
|
|
#20135=*
|
|
lines(#20135,#20001,"","
|
|
")
|
|
hasLocation(#20135,#20005)
|
|
#20136=*
|
|
lines(#20136,#20001,"function(b) {","
|
|
")
|
|
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")
|