mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
129 lines
3.6 KiB
Plaintext
129 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=*
|
|
stmts(#20027,2,#20001,0,"alert(""Hi!"");")
|
|
hasLocation(#20027,#20003)
|
|
stmt_containers(#20027,#20001)
|
|
#20028=*
|
|
exprs(#20028,13,#20027,0,"alert(""Hi!"")")
|
|
#20029=@"loc,{#10000},2,1,2,12"
|
|
locations_default(#20029,#10000,2,1,2,12)
|
|
hasLocation(#20028,#20029)
|
|
enclosing_stmt(#20028,#20027)
|
|
expr_containers(#20028,#20001)
|
|
#20030=*
|
|
exprs(#20030,79,#20028,-1,"alert")
|
|
hasLocation(#20030,#20005)
|
|
enclosing_stmt(#20030,#20027)
|
|
expr_containers(#20030,#20001)
|
|
literals("alert","alert",#20030)
|
|
#20031=@"var;{alert};{#20000}"
|
|
variables(#20031,"alert",#20000)
|
|
bind(#20030,#20031)
|
|
#20032=*
|
|
exprs(#20032,4,#20028,0,"""Hi!""")
|
|
hasLocation(#20032,#20009)
|
|
enclosing_stmt(#20032,#20027)
|
|
expr_containers(#20032,#20001)
|
|
literals("Hi!","""Hi!""",#20032)
|
|
#20033=*
|
|
regexpterm(#20033,14,#20032,0,"Hi!")
|
|
#20034=@"loc,{#10000},2,8,2,10"
|
|
locations_default(#20034,#10000,2,8,2,10)
|
|
hasLocation(#20033,#20034)
|
|
regexp_const_value(#20033,"Hi!")
|
|
#20035=*
|
|
entry_cfg_node(#20035,#20001)
|
|
#20036=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20036,#10000,2,1,2,0)
|
|
hasLocation(#20035,#20036)
|
|
#20037=*
|
|
exit_cfg_node(#20037,#20001)
|
|
hasLocation(#20037,#20015)
|
|
successor(#20027,#20030)
|
|
successor(#20032,#20028)
|
|
successor(#20030,#20032)
|
|
successor(#20028,#20037)
|
|
successor(#20035,#20027)
|
|
is_nodejs(#20001)
|
|
#20038=*
|
|
lines(#20038,#20001,"#!/usr/bin/node","
|
|
")
|
|
#20039=@"loc,{#10000},1,1,1,15"
|
|
locations_default(#20039,#10000,1,1,1,15)
|
|
hasLocation(#20038,#20039)
|
|
numlines(#10000,2,1,0)
|
|
filetype(#10000,"javascript")
|