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