mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
361 lines
10 KiB
Plaintext
361 lines
10 KiB
Plaintext
#10000=@"/tst.js;sourcefile"
|
|
files(#10000,"/tst.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,"var fs = require('fs');","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,23"
|
|
locations_default(#20003,#10000,1,1,1,23)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001,"y = 42;","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,7"
|
|
locations_default(#20005,#10000,2,1,2,7)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
lines(#20006,#20001,"console.log(__filename);","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,24"
|
|
locations_default(#20007,#10000,3,1,3,24)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
lines(#20008,#20001,"return arguments[0];","")
|
|
#20009=@"loc,{#10000},4,1,4,20"
|
|
locations_default(#20009,#10000,4,1,4,20)
|
|
hasLocation(#20008,#20009)
|
|
numlines(#20001,4,4,0)
|
|
#20010=*
|
|
tokeninfo(#20010,7,#20001,0,"var")
|
|
#20011=@"loc,{#10000},1,1,1,3"
|
|
locations_default(#20011,#10000,1,1,1,3)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,1,"fs")
|
|
#20013=@"loc,{#10000},1,5,1,6"
|
|
locations_default(#20013,#10000,1,5,1,6)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,2,"=")
|
|
#20015=@"loc,{#10000},1,8,1,8"
|
|
locations_default(#20015,#10000,1,8,1,8)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,6,#20001,3,"require")
|
|
#20017=@"loc,{#10000},1,10,1,16"
|
|
locations_default(#20017,#10000,1,10,1,16)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,8,#20001,4,"(")
|
|
#20019=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20019,#10000,1,17,1,17)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,4,#20001,5,"'fs'")
|
|
#20021=@"loc,{#10000},1,18,1,21"
|
|
locations_default(#20021,#10000,1,18,1,21)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,6,")")
|
|
#20023=@"loc,{#10000},1,22,1,22"
|
|
locations_default(#20023,#10000,1,22,1,22)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,7,";")
|
|
#20025=@"loc,{#10000},1,23,1,23"
|
|
locations_default(#20025,#10000,1,23,1,23)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,6,#20001,8,"y")
|
|
#20027=@"loc,{#10000},2,1,2,1"
|
|
locations_default(#20027,#10000,2,1,2,1)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,8,#20001,9,"=")
|
|
#20029=@"loc,{#10000},2,3,2,3"
|
|
locations_default(#20029,#10000,2,3,2,3)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,3,#20001,10,"42")
|
|
#20031=@"loc,{#10000},2,5,2,6"
|
|
locations_default(#20031,#10000,2,5,2,6)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,11,";")
|
|
#20033=@"loc,{#10000},2,7,2,7"
|
|
locations_default(#20033,#10000,2,7,2,7)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,6,#20001,12,"console")
|
|
#20035=@"loc,{#10000},3,1,3,7"
|
|
locations_default(#20035,#10000,3,1,3,7)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,8,#20001,13,".")
|
|
#20037=@"loc,{#10000},3,8,3,8"
|
|
locations_default(#20037,#10000,3,8,3,8)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,6,#20001,14,"log")
|
|
#20039=@"loc,{#10000},3,9,3,11"
|
|
locations_default(#20039,#10000,3,9,3,11)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,15,"(")
|
|
#20041=@"loc,{#10000},3,12,3,12"
|
|
locations_default(#20041,#10000,3,12,3,12)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,6,#20001,16,"__filename")
|
|
#20043=@"loc,{#10000},3,13,3,22"
|
|
locations_default(#20043,#10000,3,13,3,22)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,17,")")
|
|
#20045=@"loc,{#10000},3,23,3,23"
|
|
locations_default(#20045,#10000,3,23,3,23)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,8,#20001,18,";")
|
|
#20047=@"loc,{#10000},3,24,3,24"
|
|
locations_default(#20047,#10000,3,24,3,24)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,7,#20001,19,"return")
|
|
#20049=@"loc,{#10000},4,1,4,6"
|
|
locations_default(#20049,#10000,4,1,4,6)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,6,#20001,20,"arguments")
|
|
#20051=@"loc,{#10000},4,8,4,16"
|
|
locations_default(#20051,#10000,4,8,4,16)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,8,#20001,21,"[")
|
|
#20053=@"loc,{#10000},4,17,4,17"
|
|
locations_default(#20053,#10000,4,17,4,17)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,3,#20001,22,"0")
|
|
#20055=@"loc,{#10000},4,18,4,18"
|
|
locations_default(#20055,#10000,4,18,4,18)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
tokeninfo(#20056,8,#20001,23,"]")
|
|
#20057=@"loc,{#10000},4,19,4,19"
|
|
locations_default(#20057,#10000,4,19,4,19)
|
|
hasLocation(#20056,#20057)
|
|
#20058=*
|
|
tokeninfo(#20058,8,#20001,24,";")
|
|
#20059=@"loc,{#10000},4,20,4,20"
|
|
locations_default(#20059,#10000,4,20,4,20)
|
|
hasLocation(#20058,#20059)
|
|
#20060=*
|
|
tokeninfo(#20060,0,#20001,25,"")
|
|
#20061=@"loc,{#10000},4,21,4,20"
|
|
locations_default(#20061,#10000,4,21,4,20)
|
|
hasLocation(#20060,#20061)
|
|
toplevels(#20001,0)
|
|
#20062=@"loc,{#10000},1,1,4,20"
|
|
locations_default(#20062,#10000,1,1,4,20)
|
|
hasLocation(#20001,#20062)
|
|
#20063=@"var;{global};{#20000}"
|
|
variables(#20063,"global",#20000)
|
|
#20064=@"var;{process};{#20000}"
|
|
variables(#20064,"process",#20000)
|
|
#20065=@"var;{console};{#20000}"
|
|
variables(#20065,"console",#20000)
|
|
#20066=@"var;{Buffer};{#20000}"
|
|
variables(#20066,"Buffer",#20000)
|
|
#20067=@"module;{#10000},1,1"
|
|
scopes(#20067,3)
|
|
scopenodes(#20001,#20067)
|
|
scopenesting(#20067,#20000)
|
|
#20068=@"var;{require};{#20067}"
|
|
variables(#20068,"require",#20067)
|
|
#20069=@"var;{module};{#20067}"
|
|
variables(#20069,"module",#20067)
|
|
#20070=@"var;{exports};{#20067}"
|
|
variables(#20070,"exports",#20067)
|
|
#20071=@"var;{__filename};{#20067}"
|
|
variables(#20071,"__filename",#20067)
|
|
#20072=@"var;{__dirname};{#20067}"
|
|
variables(#20072,"__dirname",#20067)
|
|
#20073=@"var;{arguments};{#20067}"
|
|
variables(#20073,"arguments",#20067)
|
|
is_module(#20001)
|
|
#20074=@"var;{fs};{#20067}"
|
|
variables(#20074,"fs",#20067)
|
|
#20075=*
|
|
stmts(#20075,18,#20001,0,"var fs ... ('fs');")
|
|
hasLocation(#20075,#20003)
|
|
stmt_containers(#20075,#20001)
|
|
#20076=*
|
|
exprs(#20076,64,#20075,0,"fs = require('fs')")
|
|
#20077=@"loc,{#10000},1,5,1,22"
|
|
locations_default(#20077,#10000,1,5,1,22)
|
|
hasLocation(#20076,#20077)
|
|
enclosing_stmt(#20076,#20075)
|
|
expr_containers(#20076,#20001)
|
|
#20078=*
|
|
exprs(#20078,78,#20076,0,"fs")
|
|
hasLocation(#20078,#20013)
|
|
enclosing_stmt(#20078,#20075)
|
|
expr_containers(#20078,#20001)
|
|
literals("fs","fs",#20078)
|
|
decl(#20078,#20074)
|
|
#20079=*
|
|
exprs(#20079,13,#20076,1,"require('fs')")
|
|
#20080=@"loc,{#10000},1,10,1,22"
|
|
locations_default(#20080,#10000,1,10,1,22)
|
|
hasLocation(#20079,#20080)
|
|
enclosing_stmt(#20079,#20075)
|
|
expr_containers(#20079,#20001)
|
|
#20081=*
|
|
exprs(#20081,79,#20079,-1,"require")
|
|
hasLocation(#20081,#20017)
|
|
enclosing_stmt(#20081,#20075)
|
|
expr_containers(#20081,#20001)
|
|
literals("require","require",#20081)
|
|
bind(#20081,#20068)
|
|
#20082=*
|
|
exprs(#20082,4,#20079,0,"'fs'")
|
|
hasLocation(#20082,#20021)
|
|
enclosing_stmt(#20082,#20075)
|
|
expr_containers(#20082,#20001)
|
|
literals("fs","'fs'",#20082)
|
|
#20083=*
|
|
regexpterm(#20083,14,#20082,0,"fs")
|
|
#20084=@"loc,{#10000},1,19,1,20"
|
|
locations_default(#20084,#10000,1,19,1,20)
|
|
hasLocation(#20083,#20084)
|
|
regexp_const_value(#20083,"fs")
|
|
#20085=*
|
|
stmts(#20085,2,#20001,1,"y = 42;")
|
|
hasLocation(#20085,#20005)
|
|
stmt_containers(#20085,#20001)
|
|
#20086=*
|
|
exprs(#20086,47,#20085,0,"y = 42")
|
|
#20087=@"loc,{#10000},2,1,2,6"
|
|
locations_default(#20087,#10000,2,1,2,6)
|
|
hasLocation(#20086,#20087)
|
|
enclosing_stmt(#20086,#20085)
|
|
expr_containers(#20086,#20001)
|
|
#20088=*
|
|
exprs(#20088,79,#20086,0,"y")
|
|
hasLocation(#20088,#20027)
|
|
enclosing_stmt(#20088,#20085)
|
|
expr_containers(#20088,#20001)
|
|
literals("y","y",#20088)
|
|
#20089=@"var;{y};{#20000}"
|
|
variables(#20089,"y",#20000)
|
|
bind(#20088,#20089)
|
|
#20090=*
|
|
exprs(#20090,3,#20086,1,"42")
|
|
hasLocation(#20090,#20031)
|
|
enclosing_stmt(#20090,#20085)
|
|
expr_containers(#20090,#20001)
|
|
literals("42","42",#20090)
|
|
#20091=*
|
|
stmts(#20091,2,#20001,2,"console ... ename);")
|
|
hasLocation(#20091,#20007)
|
|
stmt_containers(#20091,#20001)
|
|
#20092=*
|
|
exprs(#20092,13,#20091,0,"console ... lename)")
|
|
#20093=@"loc,{#10000},3,1,3,23"
|
|
locations_default(#20093,#10000,3,1,3,23)
|
|
hasLocation(#20092,#20093)
|
|
enclosing_stmt(#20092,#20091)
|
|
expr_containers(#20092,#20001)
|
|
#20094=*
|
|
exprs(#20094,14,#20092,-1,"console.log")
|
|
#20095=@"loc,{#10000},3,1,3,11"
|
|
locations_default(#20095,#10000,3,1,3,11)
|
|
hasLocation(#20094,#20095)
|
|
enclosing_stmt(#20094,#20091)
|
|
expr_containers(#20094,#20001)
|
|
#20096=*
|
|
exprs(#20096,79,#20094,0,"console")
|
|
hasLocation(#20096,#20035)
|
|
enclosing_stmt(#20096,#20091)
|
|
expr_containers(#20096,#20001)
|
|
literals("console","console",#20096)
|
|
bind(#20096,#20065)
|
|
#20097=*
|
|
exprs(#20097,0,#20094,1,"log")
|
|
hasLocation(#20097,#20039)
|
|
enclosing_stmt(#20097,#20091)
|
|
expr_containers(#20097,#20001)
|
|
literals("log","log",#20097)
|
|
#20098=*
|
|
exprs(#20098,79,#20092,0,"__filename")
|
|
hasLocation(#20098,#20043)
|
|
enclosing_stmt(#20098,#20091)
|
|
expr_containers(#20098,#20001)
|
|
literals("__filename","__filename",#20098)
|
|
bind(#20098,#20071)
|
|
#20099=*
|
|
stmts(#20099,9,#20001,3,"return arguments[0];")
|
|
hasLocation(#20099,#20009)
|
|
stmt_containers(#20099,#20001)
|
|
#20100=*
|
|
exprs(#20100,15,#20099,0,"arguments[0]")
|
|
#20101=@"loc,{#10000},4,8,4,19"
|
|
locations_default(#20101,#10000,4,8,4,19)
|
|
hasLocation(#20100,#20101)
|
|
enclosing_stmt(#20100,#20099)
|
|
expr_containers(#20100,#20001)
|
|
#20102=*
|
|
exprs(#20102,79,#20100,0,"arguments")
|
|
hasLocation(#20102,#20051)
|
|
enclosing_stmt(#20102,#20099)
|
|
expr_containers(#20102,#20001)
|
|
literals("arguments","arguments",#20102)
|
|
bind(#20102,#20073)
|
|
#20103=*
|
|
exprs(#20103,3,#20100,1,"0")
|
|
hasLocation(#20103,#20055)
|
|
enclosing_stmt(#20103,#20099)
|
|
expr_containers(#20103,#20001)
|
|
literals("0","0",#20103)
|
|
#20104=*
|
|
entry_cfg_node(#20104,#20001)
|
|
#20105=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20105,#10000,1,1,1,0)
|
|
hasLocation(#20104,#20105)
|
|
#20106=*
|
|
exit_cfg_node(#20106,#20001)
|
|
hasLocation(#20106,#20061)
|
|
successor(#20103,#20100)
|
|
successor(#20102,#20103)
|
|
successor(#20100,#20099)
|
|
successor(#20099,#20106)
|
|
successor(#20091,#20096)
|
|
successor(#20098,#20092)
|
|
successor(#20097,#20094)
|
|
successor(#20096,#20097)
|
|
successor(#20094,#20098)
|
|
successor(#20092,#20102)
|
|
successor(#20085,#20088)
|
|
successor(#20090,#20086)
|
|
successor(#20088,#20090)
|
|
successor(#20086,#20091)
|
|
successor(#20075,#20078)
|
|
successor(#20082,#20079)
|
|
successor(#20081,#20082)
|
|
successor(#20079,#20076)
|
|
successor(#20078,#20081)
|
|
successor(#20076,#20085)
|
|
successor(#20104,#20075)
|
|
is_nodejs(#20001)
|
|
numlines(#10000,4,4,0)
|
|
filetype(#10000,"javascript")
|