mirror of
https://github.com/github/codeql.git
synced 2026-04-14 11:34:00 +02:00
131 lines
3.6 KiB
Plaintext
131 lines
3.6 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},2,1"
|
|
#20002=*
|
|
lines(#20002,#20001,"alert(""Hi!"");","")
|
|
#20003=@"loc,{#10000},2,1,2,13"
|
|
locations_default(#20003,#10000,2,1,2,13)
|
|
hasLocation(#20002,#20003)
|
|
numlines(#20001,1,1,0)
|
|
#20004=*
|
|
tokeninfo(#20004,6,#20001,0,"alert")
|
|
#20005=@"loc,{#10000},2,1,2,5"
|
|
locations_default(#20005,#10000,2,1,2,5)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
tokeninfo(#20006,8,#20001,1,"(")
|
|
#20007=@"loc,{#10000},2,6,2,6"
|
|
locations_default(#20007,#10000,2,6,2,6)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
tokeninfo(#20008,4,#20001,2,"""Hi!""")
|
|
#20009=@"loc,{#10000},2,7,2,11"
|
|
locations_default(#20009,#10000,2,7,2,11)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,8,#20001,3,")")
|
|
#20011=@"loc,{#10000},2,12,2,12"
|
|
locations_default(#20011,#10000,2,12,2,12)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,8,#20001,4,";")
|
|
#20013=@"loc,{#10000},2,13,2,13"
|
|
locations_default(#20013,#10000,2,13,2,13)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,0,#20001,5,"")
|
|
#20015=@"loc,{#10000},2,14,2,13"
|
|
locations_default(#20015,#10000,2,14,2,13)
|
|
hasLocation(#20014,#20015)
|
|
toplevels(#20001,0)
|
|
hasLocation(#20001,#20003)
|
|
#20016=@"var;{global};{#20000}"
|
|
variables(#20016,"global",#20000)
|
|
#20017=@"var;{process};{#20000}"
|
|
variables(#20017,"process",#20000)
|
|
#20018=@"var;{console};{#20000}"
|
|
variables(#20018,"console",#20000)
|
|
#20019=@"var;{Buffer};{#20000}"
|
|
variables(#20019,"Buffer",#20000)
|
|
#20020=@"module;{#10000},2,1"
|
|
scopes(#20020,3)
|
|
scopenodes(#20001,#20020)
|
|
scopenesting(#20020,#20000)
|
|
#20021=@"var;{require};{#20020}"
|
|
variables(#20021,"require",#20020)
|
|
#20022=@"var;{module};{#20020}"
|
|
variables(#20022,"module",#20020)
|
|
#20023=@"var;{exports};{#20020}"
|
|
variables(#20023,"exports",#20020)
|
|
#20024=@"var;{__filename};{#20020}"
|
|
variables(#20024,"__filename",#20020)
|
|
#20025=@"var;{__dirname};{#20020}"
|
|
variables(#20025,"__dirname",#20020)
|
|
#20026=@"var;{arguments};{#20020}"
|
|
variables(#20026,"arguments",#20020)
|
|
is_module(#20001)
|
|
#20027=@"var;{this};{#20020}"
|
|
variables(#20027,"this",#20020)
|
|
#20028=*
|
|
stmts(#20028,2,#20001,0,"alert(""Hi!"");")
|
|
hasLocation(#20028,#20003)
|
|
stmt_containers(#20028,#20001)
|
|
#20029=*
|
|
exprs(#20029,13,#20028,0,"alert(""Hi!"")")
|
|
#20030=@"loc,{#10000},2,1,2,12"
|
|
locations_default(#20030,#10000,2,1,2,12)
|
|
hasLocation(#20029,#20030)
|
|
enclosing_stmt(#20029,#20028)
|
|
expr_containers(#20029,#20001)
|
|
#20031=*
|
|
exprs(#20031,79,#20029,-1,"alert")
|
|
hasLocation(#20031,#20005)
|
|
enclosing_stmt(#20031,#20028)
|
|
expr_containers(#20031,#20001)
|
|
literals("alert","alert",#20031)
|
|
#20032=@"var;{alert};{#20000}"
|
|
variables(#20032,"alert",#20000)
|
|
bind(#20031,#20032)
|
|
#20033=*
|
|
exprs(#20033,4,#20029,0,"""Hi!""")
|
|
hasLocation(#20033,#20009)
|
|
enclosing_stmt(#20033,#20028)
|
|
expr_containers(#20033,#20001)
|
|
literals("Hi!","""Hi!""",#20033)
|
|
#20034=*
|
|
regexpterm(#20034,14,#20033,0,"Hi!")
|
|
#20035=@"loc,{#10000},2,8,2,10"
|
|
locations_default(#20035,#10000,2,8,2,10)
|
|
hasLocation(#20034,#20035)
|
|
regexp_const_value(#20034,"Hi!")
|
|
#20036=*
|
|
entry_cfg_node(#20036,#20001)
|
|
#20037=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20037,#10000,2,1,2,0)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
exit_cfg_node(#20038,#20001)
|
|
hasLocation(#20038,#20015)
|
|
successor(#20028,#20031)
|
|
successor(#20033,#20029)
|
|
successor(#20031,#20033)
|
|
successor(#20029,#20038)
|
|
successor(#20036,#20028)
|
|
is_nodejs(#20001)
|
|
#20039=*
|
|
lines(#20039,#20001,"#!/usr/bin/node","
|
|
")
|
|
#20040=@"loc,{#10000},1,1,1,15"
|
|
locations_default(#20040,#10000,1,1,1,15)
|
|
hasLocation(#20039,#20040)
|
|
numlines(#10000,2,1,0)
|
|
filetype(#10000,"javascript")
|