mirror of
https://github.com/github/codeql.git
synced 2026-04-02 21:58:19 +02:00
363 lines
10 KiB
Plaintext
363 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=@"var;{this};{#20067}"
|
|
variables(#20075,"this",#20067)
|
|
#20076=*
|
|
stmts(#20076,18,#20001,0,"var fs ... ('fs');")
|
|
hasLocation(#20076,#20003)
|
|
stmt_containers(#20076,#20001)
|
|
#20077=*
|
|
exprs(#20077,64,#20076,0,"fs = require('fs')")
|
|
#20078=@"loc,{#10000},1,5,1,22"
|
|
locations_default(#20078,#10000,1,5,1,22)
|
|
hasLocation(#20077,#20078)
|
|
enclosing_stmt(#20077,#20076)
|
|
expr_containers(#20077,#20001)
|
|
#20079=*
|
|
exprs(#20079,78,#20077,0,"fs")
|
|
hasLocation(#20079,#20013)
|
|
enclosing_stmt(#20079,#20076)
|
|
expr_containers(#20079,#20001)
|
|
literals("fs","fs",#20079)
|
|
decl(#20079,#20074)
|
|
#20080=*
|
|
exprs(#20080,13,#20077,1,"require('fs')")
|
|
#20081=@"loc,{#10000},1,10,1,22"
|
|
locations_default(#20081,#10000,1,10,1,22)
|
|
hasLocation(#20080,#20081)
|
|
enclosing_stmt(#20080,#20076)
|
|
expr_containers(#20080,#20001)
|
|
#20082=*
|
|
exprs(#20082,79,#20080,-1,"require")
|
|
hasLocation(#20082,#20017)
|
|
enclosing_stmt(#20082,#20076)
|
|
expr_containers(#20082,#20001)
|
|
literals("require","require",#20082)
|
|
bind(#20082,#20068)
|
|
#20083=*
|
|
exprs(#20083,4,#20080,0,"'fs'")
|
|
hasLocation(#20083,#20021)
|
|
enclosing_stmt(#20083,#20076)
|
|
expr_containers(#20083,#20001)
|
|
literals("fs","'fs'",#20083)
|
|
#20084=*
|
|
regexpterm(#20084,14,#20083,0,"fs")
|
|
#20085=@"loc,{#10000},1,19,1,20"
|
|
locations_default(#20085,#10000,1,19,1,20)
|
|
hasLocation(#20084,#20085)
|
|
regexp_const_value(#20084,"fs")
|
|
#20086=*
|
|
stmts(#20086,2,#20001,1,"y = 42;")
|
|
hasLocation(#20086,#20005)
|
|
stmt_containers(#20086,#20001)
|
|
#20087=*
|
|
exprs(#20087,47,#20086,0,"y = 42")
|
|
#20088=@"loc,{#10000},2,1,2,6"
|
|
locations_default(#20088,#10000,2,1,2,6)
|
|
hasLocation(#20087,#20088)
|
|
enclosing_stmt(#20087,#20086)
|
|
expr_containers(#20087,#20001)
|
|
#20089=*
|
|
exprs(#20089,79,#20087,0,"y")
|
|
hasLocation(#20089,#20027)
|
|
enclosing_stmt(#20089,#20086)
|
|
expr_containers(#20089,#20001)
|
|
literals("y","y",#20089)
|
|
#20090=@"var;{y};{#20000}"
|
|
variables(#20090,"y",#20000)
|
|
bind(#20089,#20090)
|
|
#20091=*
|
|
exprs(#20091,3,#20087,1,"42")
|
|
hasLocation(#20091,#20031)
|
|
enclosing_stmt(#20091,#20086)
|
|
expr_containers(#20091,#20001)
|
|
literals("42","42",#20091)
|
|
#20092=*
|
|
stmts(#20092,2,#20001,2,"console ... ename);")
|
|
hasLocation(#20092,#20007)
|
|
stmt_containers(#20092,#20001)
|
|
#20093=*
|
|
exprs(#20093,13,#20092,0,"console ... lename)")
|
|
#20094=@"loc,{#10000},3,1,3,23"
|
|
locations_default(#20094,#10000,3,1,3,23)
|
|
hasLocation(#20093,#20094)
|
|
enclosing_stmt(#20093,#20092)
|
|
expr_containers(#20093,#20001)
|
|
#20095=*
|
|
exprs(#20095,14,#20093,-1,"console.log")
|
|
#20096=@"loc,{#10000},3,1,3,11"
|
|
locations_default(#20096,#10000,3,1,3,11)
|
|
hasLocation(#20095,#20096)
|
|
enclosing_stmt(#20095,#20092)
|
|
expr_containers(#20095,#20001)
|
|
#20097=*
|
|
exprs(#20097,79,#20095,0,"console")
|
|
hasLocation(#20097,#20035)
|
|
enclosing_stmt(#20097,#20092)
|
|
expr_containers(#20097,#20001)
|
|
literals("console","console",#20097)
|
|
bind(#20097,#20065)
|
|
#20098=*
|
|
exprs(#20098,0,#20095,1,"log")
|
|
hasLocation(#20098,#20039)
|
|
enclosing_stmt(#20098,#20092)
|
|
expr_containers(#20098,#20001)
|
|
literals("log","log",#20098)
|
|
#20099=*
|
|
exprs(#20099,79,#20093,0,"__filename")
|
|
hasLocation(#20099,#20043)
|
|
enclosing_stmt(#20099,#20092)
|
|
expr_containers(#20099,#20001)
|
|
literals("__filename","__filename",#20099)
|
|
bind(#20099,#20071)
|
|
#20100=*
|
|
stmts(#20100,9,#20001,3,"return arguments[0];")
|
|
hasLocation(#20100,#20009)
|
|
stmt_containers(#20100,#20001)
|
|
#20101=*
|
|
exprs(#20101,15,#20100,0,"arguments[0]")
|
|
#20102=@"loc,{#10000},4,8,4,19"
|
|
locations_default(#20102,#10000,4,8,4,19)
|
|
hasLocation(#20101,#20102)
|
|
enclosing_stmt(#20101,#20100)
|
|
expr_containers(#20101,#20001)
|
|
#20103=*
|
|
exprs(#20103,79,#20101,0,"arguments")
|
|
hasLocation(#20103,#20051)
|
|
enclosing_stmt(#20103,#20100)
|
|
expr_containers(#20103,#20001)
|
|
literals("arguments","arguments",#20103)
|
|
bind(#20103,#20073)
|
|
#20104=*
|
|
exprs(#20104,3,#20101,1,"0")
|
|
hasLocation(#20104,#20055)
|
|
enclosing_stmt(#20104,#20100)
|
|
expr_containers(#20104,#20001)
|
|
literals("0","0",#20104)
|
|
#20105=*
|
|
entry_cfg_node(#20105,#20001)
|
|
#20106=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20106,#10000,1,1,1,0)
|
|
hasLocation(#20105,#20106)
|
|
#20107=*
|
|
exit_cfg_node(#20107,#20001)
|
|
hasLocation(#20107,#20061)
|
|
successor(#20104,#20101)
|
|
successor(#20103,#20104)
|
|
successor(#20101,#20100)
|
|
successor(#20100,#20107)
|
|
successor(#20092,#20097)
|
|
successor(#20099,#20093)
|
|
successor(#20098,#20095)
|
|
successor(#20097,#20098)
|
|
successor(#20095,#20099)
|
|
successor(#20093,#20103)
|
|
successor(#20086,#20089)
|
|
successor(#20091,#20087)
|
|
successor(#20089,#20091)
|
|
successor(#20087,#20092)
|
|
successor(#20076,#20079)
|
|
successor(#20083,#20080)
|
|
successor(#20082,#20083)
|
|
successor(#20080,#20077)
|
|
successor(#20079,#20082)
|
|
successor(#20077,#20086)
|
|
successor(#20105,#20076)
|
|
is_nodejs(#20001)
|
|
numlines(#10000,4,4,0)
|
|
filetype(#10000,"javascript")
|