mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
149 lines
4.2 KiB
Plaintext
149 lines
4.2 KiB
Plaintext
#10000=@"/tst4.cjs;sourcefile"
|
|
files(#10000,"/tst4.cjs")
|
|
#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,"console.log(""Hello CommonJS"");","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,30"
|
|
locations_default(#20003,#10000,1,1,1,30)
|
|
hasLocation(#20002,#20003)
|
|
numlines(#20001,1,1,0)
|
|
#20004=*
|
|
tokeninfo(#20004,6,#20001,0,"console")
|
|
#20005=@"loc,{#10000},1,1,1,7"
|
|
locations_default(#20005,#10000,1,1,1,7)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
tokeninfo(#20006,8,#20001,1,".")
|
|
#20007=@"loc,{#10000},1,8,1,8"
|
|
locations_default(#20007,#10000,1,8,1,8)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
tokeninfo(#20008,6,#20001,2,"log")
|
|
#20009=@"loc,{#10000},1,9,1,11"
|
|
locations_default(#20009,#10000,1,9,1,11)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,8,#20001,3,"(")
|
|
#20011=@"loc,{#10000},1,12,1,12"
|
|
locations_default(#20011,#10000,1,12,1,12)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,4,#20001,4,"""Hello CommonJS""")
|
|
#20013=@"loc,{#10000},1,13,1,28"
|
|
locations_default(#20013,#10000,1,13,1,28)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,5,")")
|
|
#20015=@"loc,{#10000},1,29,1,29"
|
|
locations_default(#20015,#10000,1,29,1,29)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,6,";")
|
|
#20017=@"loc,{#10000},1,30,1,30"
|
|
locations_default(#20017,#10000,1,30,1,30)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,0,#20001,7,"")
|
|
#20019=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20019,#10000,2,1,2,0)
|
|
hasLocation(#20018,#20019)
|
|
toplevels(#20001,0)
|
|
#20020=@"loc,{#10000},1,1,2,0"
|
|
locations_default(#20020,#10000,1,1,2,0)
|
|
hasLocation(#20001,#20020)
|
|
#20021=@"var;{global};{#20000}"
|
|
variables(#20021,"global",#20000)
|
|
#20022=@"var;{process};{#20000}"
|
|
variables(#20022,"process",#20000)
|
|
#20023=@"var;{console};{#20000}"
|
|
variables(#20023,"console",#20000)
|
|
#20024=@"var;{Buffer};{#20000}"
|
|
variables(#20024,"Buffer",#20000)
|
|
#20025=@"module;{#10000},1,1"
|
|
scopes(#20025,3)
|
|
scopenodes(#20001,#20025)
|
|
scopenesting(#20025,#20000)
|
|
#20026=@"var;{require};{#20025}"
|
|
variables(#20026,"require",#20025)
|
|
#20027=@"var;{module};{#20025}"
|
|
variables(#20027,"module",#20025)
|
|
#20028=@"var;{exports};{#20025}"
|
|
variables(#20028,"exports",#20025)
|
|
#20029=@"var;{__filename};{#20025}"
|
|
variables(#20029,"__filename",#20025)
|
|
#20030=@"var;{__dirname};{#20025}"
|
|
variables(#20030,"__dirname",#20025)
|
|
#20031=@"var;{arguments};{#20025}"
|
|
variables(#20031,"arguments",#20025)
|
|
is_module(#20001)
|
|
#20032=*
|
|
stmts(#20032,2,#20001,0,"console ... onJS"");")
|
|
hasLocation(#20032,#20003)
|
|
stmt_containers(#20032,#20001)
|
|
#20033=*
|
|
exprs(#20033,13,#20032,0,"console ... monJS"")")
|
|
#20034=@"loc,{#10000},1,1,1,29"
|
|
locations_default(#20034,#10000,1,1,1,29)
|
|
hasLocation(#20033,#20034)
|
|
enclosing_stmt(#20033,#20032)
|
|
expr_containers(#20033,#20001)
|
|
#20035=*
|
|
exprs(#20035,14,#20033,-1,"console.log")
|
|
#20036=@"loc,{#10000},1,1,1,11"
|
|
locations_default(#20036,#10000,1,1,1,11)
|
|
hasLocation(#20035,#20036)
|
|
enclosing_stmt(#20035,#20032)
|
|
expr_containers(#20035,#20001)
|
|
#20037=*
|
|
exprs(#20037,79,#20035,0,"console")
|
|
hasLocation(#20037,#20005)
|
|
enclosing_stmt(#20037,#20032)
|
|
expr_containers(#20037,#20001)
|
|
literals("console","console",#20037)
|
|
bind(#20037,#20023)
|
|
#20038=*
|
|
exprs(#20038,0,#20035,1,"log")
|
|
hasLocation(#20038,#20009)
|
|
enclosing_stmt(#20038,#20032)
|
|
expr_containers(#20038,#20001)
|
|
literals("log","log",#20038)
|
|
#20039=*
|
|
exprs(#20039,4,#20033,0,"""Hello CommonJS""")
|
|
hasLocation(#20039,#20013)
|
|
enclosing_stmt(#20039,#20032)
|
|
expr_containers(#20039,#20001)
|
|
literals("Hello CommonJS","""Hello CommonJS""",#20039)
|
|
#20040=*
|
|
regexpterm(#20040,14,#20039,0,"Hello CommonJS")
|
|
#20041=@"loc,{#10000},1,14,1,27"
|
|
locations_default(#20041,#10000,1,14,1,27)
|
|
hasLocation(#20040,#20041)
|
|
regexp_const_value(#20040,"Hello CommonJS")
|
|
#20042=*
|
|
entry_cfg_node(#20042,#20001)
|
|
#20043=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20043,#10000,1,1,1,0)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
exit_cfg_node(#20044,#20001)
|
|
hasLocation(#20044,#20019)
|
|
successor(#20032,#20037)
|
|
successor(#20039,#20033)
|
|
successor(#20038,#20035)
|
|
successor(#20037,#20038)
|
|
successor(#20035,#20039)
|
|
successor(#20033,#20044)
|
|
successor(#20042,#20032)
|
|
is_nodejs(#20001)
|
|
numlines(#10000,1,1,0)
|
|
filetype(#10000,"javascript")
|