mirror of
https://github.com/github/codeql.git
synced 2026-03-27 17:58:17 +01:00
123 lines
3.4 KiB
Plaintext
123 lines
3.4 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},2,1"
|
|
toplevels(#20001,0)
|
|
#20002=@"loc,{#10000},2,1,2,13"
|
|
locations_default(#20002,#10000,2,1,2,13)
|
|
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},2,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=*
|
|
stmts(#20014,2,#20001,0,"alert(""Hi!"");")
|
|
hasLocation(#20014,#20002)
|
|
stmtContainers(#20014,#20001)
|
|
#20015=*
|
|
exprs(#20015,13,#20014,0,"alert(""Hi!"")")
|
|
#20016=@"loc,{#10000},2,1,2,12"
|
|
locations_default(#20016,#10000,2,1,2,12)
|
|
hasLocation(#20015,#20016)
|
|
enclosingStmt(#20015,#20014)
|
|
exprContainers(#20015,#20001)
|
|
#20017=*
|
|
exprs(#20017,79,#20015,-1,"alert")
|
|
#20018=@"loc,{#10000},2,1,2,5"
|
|
locations_default(#20018,#10000,2,1,2,5)
|
|
hasLocation(#20017,#20018)
|
|
enclosingStmt(#20017,#20014)
|
|
exprContainers(#20017,#20001)
|
|
literals("alert","alert",#20017)
|
|
#20019=@"var;{alert};{#20000}"
|
|
variables(#20019,"alert",#20000)
|
|
bind(#20017,#20019)
|
|
#20020=*
|
|
exprs(#20020,4,#20015,0,"""Hi!""")
|
|
#20021=@"loc,{#10000},2,7,2,11"
|
|
locations_default(#20021,#10000,2,7,2,11)
|
|
hasLocation(#20020,#20021)
|
|
enclosingStmt(#20020,#20014)
|
|
exprContainers(#20020,#20001)
|
|
literals("Hi!","""Hi!""",#20020)
|
|
#20022=*
|
|
lines(#20022,#20001,"alert(""Hi!"");","")
|
|
hasLocation(#20022,#20002)
|
|
numlines(#20001,1,1,0)
|
|
#20023=*
|
|
tokeninfo(#20023,6,#20001,0,"alert")
|
|
hasLocation(#20023,#20018)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,1,"(")
|
|
#20025=@"loc,{#10000},2,6,2,6"
|
|
locations_default(#20025,#10000,2,6,2,6)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,4,#20001,2,"""Hi!""")
|
|
hasLocation(#20026,#20021)
|
|
#20027=*
|
|
tokeninfo(#20027,8,#20001,3,")")
|
|
#20028=@"loc,{#10000},2,12,2,12"
|
|
locations_default(#20028,#10000,2,12,2,12)
|
|
hasLocation(#20027,#20028)
|
|
#20029=*
|
|
tokeninfo(#20029,8,#20001,4,";")
|
|
#20030=@"loc,{#10000},2,13,2,13"
|
|
locations_default(#20030,#10000,2,13,2,13)
|
|
hasLocation(#20029,#20030)
|
|
#20031=*
|
|
tokeninfo(#20031,0,#20001,5,"")
|
|
#20032=@"loc,{#10000},2,14,2,13"
|
|
locations_default(#20032,#10000,2,14,2,13)
|
|
hasLocation(#20031,#20032)
|
|
#20033=*
|
|
entry_cfg_node(#20033,#20001)
|
|
#20034=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20034,#10000,2,1,2,0)
|
|
hasLocation(#20033,#20034)
|
|
#20035=*
|
|
exit_cfg_node(#20035,#20001)
|
|
hasLocation(#20035,#20032)
|
|
successor(#20014,#20017)
|
|
successor(#20020,#20015)
|
|
successor(#20017,#20020)
|
|
successor(#20015,#20035)
|
|
successor(#20033,#20014)
|
|
isNodejs(#20001)
|
|
#20036=*
|
|
lines(#20036,#20001,"#!/usr/bin/node","
|
|
")
|
|
#20037=@"loc,{#10000},1,1,1,15"
|
|
locations_default(#20037,#10000,1,1,1,15)
|
|
hasLocation(#20036,#20037)
|
|
numlines(#10000,2,1,0)
|
|
filetype(#10000,"javascript")
|