mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
225 lines
6.0 KiB
Plaintext
225 lines
6.0 KiB
Plaintext
#10000=@"/assignargs.js;sourcefile"
|
|
files(#10000,"/assignargs.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() {","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,14"
|
|
locations_default(#20003,#10000,1,1,1,14)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," 'use strict';","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,15"
|
|
locations_default(#20005,#10000,2,1,2,15)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,2," ",2)
|
|
#20006=*
|
|
lines(#20006,#20001," arguments = 42;","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,17"
|
|
locations_default(#20007,#10000,3,1,3,17)
|
|
hasLocation(#20006,#20007)
|
|
indentation(#10000,3," ",2)
|
|
#20008=*
|
|
lines(#20008,#20001,"}","")
|
|
#20009=@"loc,{#10000},4,1,4,1"
|
|
locations_default(#20009,#10000,4,1,4,1)
|
|
hasLocation(#20008,#20009)
|
|
numlines(#20001,4,4,0)
|
|
#20010=*
|
|
tokeninfo(#20010,7,#20001,0,"function")
|
|
#20011=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20011,#10000,1,1,1,8)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,1,"f")
|
|
#20013=@"loc,{#10000},1,10,1,10"
|
|
locations_default(#20013,#10000,1,10,1,10)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,2,"(")
|
|
#20015=@"loc,{#10000},1,11,1,11"
|
|
locations_default(#20015,#10000,1,11,1,11)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,3,")")
|
|
#20017=@"loc,{#10000},1,12,1,12"
|
|
locations_default(#20017,#10000,1,12,1,12)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,8,#20001,4,"{")
|
|
#20019=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20019,#10000,1,14,1,14)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,4,#20001,5,"'use strict'")
|
|
#20021=@"loc,{#10000},2,3,2,14"
|
|
locations_default(#20021,#10000,2,3,2,14)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,6,";")
|
|
#20023=@"loc,{#10000},2,15,2,15"
|
|
locations_default(#20023,#10000,2,15,2,15)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,6,#20001,7,"arguments")
|
|
#20025=@"loc,{#10000},3,3,3,11"
|
|
locations_default(#20025,#10000,3,3,3,11)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,8,#20001,8,"=")
|
|
#20027=@"loc,{#10000},3,13,3,13"
|
|
locations_default(#20027,#10000,3,13,3,13)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,3,#20001,9,"42")
|
|
#20029=@"loc,{#10000},3,15,3,16"
|
|
locations_default(#20029,#10000,3,15,3,16)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,10,";")
|
|
#20031=@"loc,{#10000},3,17,3,17"
|
|
locations_default(#20031,#10000,3,17,3,17)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,11,"}")
|
|
hasLocation(#20032,#20009)
|
|
#20033=*
|
|
tokeninfo(#20033,0,#20001,12,"")
|
|
#20034=@"loc,{#10000},4,2,4,1"
|
|
locations_default(#20034,#10000,4,2,4,1)
|
|
hasLocation(#20033,#20034)
|
|
toplevels(#20001,0)
|
|
#20035=@"loc,{#10000},1,1,4,1"
|
|
locations_default(#20035,#10000,1,1,4,1)
|
|
hasLocation(#20001,#20035)
|
|
#20036=@"var;{f};{#20000}"
|
|
variables(#20036,"f",#20000)
|
|
#20037=*
|
|
stmts(#20037,17,#20001,0,"functio ... = 42;\n}")
|
|
hasLocation(#20037,#20035)
|
|
stmt_containers(#20037,#20001)
|
|
#20038=*
|
|
exprs(#20038,78,#20037,-1,"f")
|
|
hasLocation(#20038,#20013)
|
|
expr_containers(#20038,#20037)
|
|
literals("f","f",#20038)
|
|
decl(#20038,#20036)
|
|
#20039=*
|
|
scopes(#20039,1)
|
|
scopenodes(#20037,#20039)
|
|
scopenesting(#20039,#20000)
|
|
#20040=@"var;{arguments};{#20039}"
|
|
variables(#20040,"arguments",#20039)
|
|
is_arguments_object(#20040)
|
|
#20041=*
|
|
stmts(#20041,1,#20037,-2,"{\n 'us ... = 42;\n}")
|
|
#20042=@"loc,{#10000},1,14,4,1"
|
|
locations_default(#20042,#10000,1,14,4,1)
|
|
hasLocation(#20041,#20042)
|
|
stmt_containers(#20041,#20037)
|
|
#20043=*
|
|
stmts(#20043,2,#20041,0,"'use strict';")
|
|
#20044=@"loc,{#10000},2,3,2,15"
|
|
locations_default(#20044,#10000,2,3,2,15)
|
|
hasLocation(#20043,#20044)
|
|
stmt_containers(#20043,#20037)
|
|
#20045=*
|
|
exprs(#20045,4,#20043,0,"'use strict'")
|
|
hasLocation(#20045,#20021)
|
|
enclosing_stmt(#20045,#20043)
|
|
expr_containers(#20045,#20037)
|
|
literals("use strict","'use strict'",#20045)
|
|
#20046=*
|
|
regexpterm(#20046,14,#20045,0,"use strict")
|
|
#20047=@"loc,{#10000},2,4,2,13"
|
|
locations_default(#20047,#10000,2,4,2,13)
|
|
hasLocation(#20046,#20047)
|
|
regexp_const_value(#20046,"use strict")
|
|
#20048=*
|
|
stmts(#20048,2,#20041,1,"arguments = 42;")
|
|
#20049=@"loc,{#10000},3,3,3,17"
|
|
locations_default(#20049,#10000,3,3,3,17)
|
|
hasLocation(#20048,#20049)
|
|
stmt_containers(#20048,#20037)
|
|
#20050=*
|
|
exprs(#20050,47,#20048,0,"arguments = 42")
|
|
#20051=@"loc,{#10000},3,3,3,16"
|
|
locations_default(#20051,#10000,3,3,3,16)
|
|
hasLocation(#20050,#20051)
|
|
enclosing_stmt(#20050,#20048)
|
|
expr_containers(#20050,#20037)
|
|
#20052=*
|
|
exprs(#20052,79,#20050,0,"arguments")
|
|
hasLocation(#20052,#20025)
|
|
enclosing_stmt(#20052,#20048)
|
|
expr_containers(#20052,#20037)
|
|
literals("arguments","arguments",#20052)
|
|
bind(#20052,#20040)
|
|
#20053=*
|
|
exprs(#20053,3,#20050,1,"42")
|
|
hasLocation(#20053,#20029)
|
|
enclosing_stmt(#20053,#20048)
|
|
expr_containers(#20053,#20037)
|
|
literals("42","42",#20053)
|
|
#20054=*
|
|
entry_cfg_node(#20054,#20001)
|
|
#20055=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20055,#10000,1,1,1,0)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
exit_cfg_node(#20056,#20001)
|
|
hasLocation(#20056,#20034)
|
|
successor(#20037,#20056)
|
|
#20057=*
|
|
entry_cfg_node(#20057,#20037)
|
|
hasLocation(#20057,#20055)
|
|
#20058=*
|
|
exit_cfg_node(#20058,#20037)
|
|
hasLocation(#20058,#20034)
|
|
successor(#20041,#20043)
|
|
successor(#20048,#20052)
|
|
successor(#20053,#20050)
|
|
successor(#20052,#20053)
|
|
successor(#20050,#20058)
|
|
successor(#20043,#20045)
|
|
successor(#20045,#20048)
|
|
successor(#20057,#20041)
|
|
successor(#20038,#20037)
|
|
successor(#20054,#20038)
|
|
#20059=*
|
|
js_parse_errors(#20059,#20001,"Error: Assigning to arguments in strict mode"," arguments = 42;
|
|
")
|
|
#20060=@"loc,{#10000},3,3,3,3"
|
|
locations_default(#20060,#10000,3,3,3,3)
|
|
hasLocation(#20059,#20060)
|
|
#20061=*
|
|
lines(#20061,#20001,"function f() {","
|
|
")
|
|
hasLocation(#20061,#20003)
|
|
#20062=*
|
|
lines(#20062,#20001," 'use strict';","
|
|
")
|
|
hasLocation(#20062,#20005)
|
|
indentation(#10000,2," ",2)
|
|
#20063=*
|
|
lines(#20063,#20001," arguments = 42;","
|
|
")
|
|
hasLocation(#20063,#20007)
|
|
indentation(#10000,3," ",2)
|
|
#20064=*
|
|
lines(#20064,#20001,"}","")
|
|
hasLocation(#20064,#20009)
|
|
numlines(#20001,4,0,0)
|
|
numlines(#10000,4,4,0)
|
|
filetype(#10000,"javascript")
|