mirror of
https://github.com/github/codeql.git
synced 2026-03-17 13:06:48 +01:00
491 lines
14 KiB
Plaintext
491 lines
14 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,5,21"
|
|
locations_default(#20002,#10000,1,1,5,21)
|
|
hasLocation(#20001,#20002)
|
|
#20003=@"var;{hasOwnProp};{#20000}"
|
|
variables(#20003,"hasOwnProp",#20000)
|
|
#20004=@"var;{obj};{#20000}"
|
|
variables(#20004,"obj",#20000)
|
|
#20005=*
|
|
stmts(#20005,2,#20001,0,"process ... e.log);")
|
|
#20006=@"loc,{#10000},1,1,1,32"
|
|
locations_default(#20006,#10000,1,1,1,32)
|
|
hasLocation(#20005,#20006)
|
|
stmtContainers(#20005,#20001)
|
|
#20007=*
|
|
exprs(#20007,13,#20005,0,"process ... le.log)")
|
|
#20008=@"loc,{#10000},1,1,1,31"
|
|
locations_default(#20008,#10000,1,1,1,31)
|
|
hasLocation(#20007,#20008)
|
|
enclosingStmt(#20007,#20005)
|
|
exprContainers(#20007,#20001)
|
|
#20009=*
|
|
exprs(#20009,14,#20007,-1,"process.argv.map")
|
|
#20010=@"loc,{#10000},1,1,1,16"
|
|
locations_default(#20010,#10000,1,1,1,16)
|
|
hasLocation(#20009,#20010)
|
|
enclosingStmt(#20009,#20005)
|
|
exprContainers(#20009,#20001)
|
|
#20011=*
|
|
exprs(#20011,14,#20009,0,"process.argv")
|
|
#20012=@"loc,{#10000},1,1,1,12"
|
|
locations_default(#20012,#10000,1,1,1,12)
|
|
hasLocation(#20011,#20012)
|
|
enclosingStmt(#20011,#20005)
|
|
exprContainers(#20011,#20001)
|
|
#20013=*
|
|
exprs(#20013,79,#20011,0,"process")
|
|
#20014=@"loc,{#10000},1,1,1,7"
|
|
locations_default(#20014,#10000,1,1,1,7)
|
|
hasLocation(#20013,#20014)
|
|
enclosingStmt(#20013,#20005)
|
|
exprContainers(#20013,#20001)
|
|
literals("process","process",#20013)
|
|
#20015=@"var;{process};{#20000}"
|
|
variables(#20015,"process",#20000)
|
|
bind(#20013,#20015)
|
|
#20016=*
|
|
exprs(#20016,0,#20011,1,"argv")
|
|
#20017=@"loc,{#10000},1,9,1,12"
|
|
locations_default(#20017,#10000,1,9,1,12)
|
|
hasLocation(#20016,#20017)
|
|
enclosingStmt(#20016,#20005)
|
|
exprContainers(#20016,#20001)
|
|
literals("argv","argv",#20016)
|
|
#20018=*
|
|
exprs(#20018,0,#20009,1,"map")
|
|
#20019=@"loc,{#10000},1,14,1,16"
|
|
locations_default(#20019,#10000,1,14,1,16)
|
|
hasLocation(#20018,#20019)
|
|
enclosingStmt(#20018,#20005)
|
|
exprContainers(#20018,#20001)
|
|
literals("map","map",#20018)
|
|
#20020=*
|
|
exprs(#20020,97,#20007,0,"::console.log")
|
|
#20021=@"loc,{#10000},1,18,1,30"
|
|
locations_default(#20021,#10000,1,18,1,30)
|
|
hasLocation(#20020,#20021)
|
|
enclosingStmt(#20020,#20005)
|
|
exprContainers(#20020,#20001)
|
|
#20022=*
|
|
exprs(#20022,14,#20020,1,"console.log")
|
|
#20023=@"loc,{#10000},1,20,1,30"
|
|
locations_default(#20023,#10000,1,20,1,30)
|
|
hasLocation(#20022,#20023)
|
|
enclosingStmt(#20022,#20005)
|
|
exprContainers(#20022,#20001)
|
|
#20024=*
|
|
exprs(#20024,79,#20022,0,"console")
|
|
#20025=@"loc,{#10000},1,20,1,26"
|
|
locations_default(#20025,#10000,1,20,1,26)
|
|
hasLocation(#20024,#20025)
|
|
enclosingStmt(#20024,#20005)
|
|
exprContainers(#20024,#20001)
|
|
literals("console","console",#20024)
|
|
#20026=@"var;{console};{#20000}"
|
|
variables(#20026,"console",#20000)
|
|
bind(#20024,#20026)
|
|
#20027=*
|
|
exprs(#20027,0,#20022,1,"log")
|
|
#20028=@"loc,{#10000},1,28,1,30"
|
|
locations_default(#20028,#10000,1,28,1,30)
|
|
hasLocation(#20027,#20028)
|
|
enclosingStmt(#20027,#20005)
|
|
exprContainers(#20027,#20001)
|
|
literals("log","log",#20027)
|
|
#20029=*
|
|
stmts(#20029,23,#20001,1,"let has ... operty;")
|
|
#20030=@"loc,{#10000},3,1,3,49"
|
|
locations_default(#20030,#10000,3,1,3,49)
|
|
hasLocation(#20029,#20030)
|
|
stmtContainers(#20029,#20001)
|
|
#20031=*
|
|
exprs(#20031,64,#20029,0,"hasOwnP ... roperty")
|
|
#20032=@"loc,{#10000},3,5,3,48"
|
|
locations_default(#20032,#10000,3,5,3,48)
|
|
hasLocation(#20031,#20032)
|
|
enclosingStmt(#20031,#20029)
|
|
exprContainers(#20031,#20001)
|
|
#20033=*
|
|
exprs(#20033,78,#20031,0,"hasOwnProp")
|
|
#20034=@"loc,{#10000},3,5,3,14"
|
|
locations_default(#20034,#10000,3,5,3,14)
|
|
hasLocation(#20033,#20034)
|
|
enclosingStmt(#20033,#20029)
|
|
exprContainers(#20033,#20001)
|
|
literals("hasOwnProp","hasOwnProp",#20033)
|
|
decl(#20033,#20003)
|
|
#20035=*
|
|
exprs(#20035,14,#20031,1,"Object. ... roperty")
|
|
#20036=@"loc,{#10000},3,18,3,48"
|
|
locations_default(#20036,#10000,3,18,3,48)
|
|
hasLocation(#20035,#20036)
|
|
enclosingStmt(#20035,#20029)
|
|
exprContainers(#20035,#20001)
|
|
#20037=*
|
|
exprs(#20037,14,#20035,0,"Object.prototype")
|
|
#20038=@"loc,{#10000},3,18,3,33"
|
|
locations_default(#20038,#10000,3,18,3,33)
|
|
hasLocation(#20037,#20038)
|
|
enclosingStmt(#20037,#20029)
|
|
exprContainers(#20037,#20001)
|
|
#20039=*
|
|
exprs(#20039,79,#20037,0,"Object")
|
|
#20040=@"loc,{#10000},3,18,3,23"
|
|
locations_default(#20040,#10000,3,18,3,23)
|
|
hasLocation(#20039,#20040)
|
|
enclosingStmt(#20039,#20029)
|
|
exprContainers(#20039,#20001)
|
|
literals("Object","Object",#20039)
|
|
#20041=@"var;{Object};{#20000}"
|
|
variables(#20041,"Object",#20000)
|
|
bind(#20039,#20041)
|
|
#20042=*
|
|
exprs(#20042,0,#20037,1,"prototype")
|
|
#20043=@"loc,{#10000},3,25,3,33"
|
|
locations_default(#20043,#10000,3,25,3,33)
|
|
hasLocation(#20042,#20043)
|
|
enclosingStmt(#20042,#20029)
|
|
exprContainers(#20042,#20001)
|
|
literals("prototype","prototype",#20042)
|
|
#20044=*
|
|
exprs(#20044,0,#20035,1,"hasOwnProperty")
|
|
#20045=@"loc,{#10000},3,35,3,48"
|
|
locations_default(#20045,#10000,3,35,3,48)
|
|
hasLocation(#20044,#20045)
|
|
enclosingStmt(#20044,#20029)
|
|
exprContainers(#20044,#20001)
|
|
literals("hasOwnProperty","hasOwnProperty",#20044)
|
|
#20046=*
|
|
stmts(#20046,23,#20001,2,"let obj ... 100 };")
|
|
#20047=@"loc,{#10000},4,1,4,21"
|
|
locations_default(#20047,#10000,4,1,4,21)
|
|
hasLocation(#20046,#20047)
|
|
stmtContainers(#20046,#20001)
|
|
#20048=*
|
|
exprs(#20048,64,#20046,0,"obj = { x: 100 }")
|
|
#20049=@"loc,{#10000},4,5,4,20"
|
|
locations_default(#20049,#10000,4,5,4,20)
|
|
hasLocation(#20048,#20049)
|
|
enclosingStmt(#20048,#20046)
|
|
exprContainers(#20048,#20001)
|
|
#20050=*
|
|
exprs(#20050,78,#20048,0,"obj")
|
|
#20051=@"loc,{#10000},4,5,4,7"
|
|
locations_default(#20051,#10000,4,5,4,7)
|
|
hasLocation(#20050,#20051)
|
|
enclosingStmt(#20050,#20046)
|
|
exprContainers(#20050,#20001)
|
|
literals("obj","obj",#20050)
|
|
decl(#20050,#20004)
|
|
#20052=*
|
|
exprs(#20052,8,#20048,1,"{ x: 100 }")
|
|
#20053=@"loc,{#10000},4,11,4,20"
|
|
locations_default(#20053,#10000,4,11,4,20)
|
|
hasLocation(#20052,#20053)
|
|
enclosingStmt(#20052,#20046)
|
|
exprContainers(#20052,#20001)
|
|
#20054=*
|
|
properties(#20054,#20052,0,0,"x: 100")
|
|
#20055=@"loc,{#10000},4,13,4,18"
|
|
locations_default(#20055,#10000,4,13,4,18)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
exprs(#20056,0,#20054,0,"x")
|
|
#20057=@"loc,{#10000},4,13,4,13"
|
|
locations_default(#20057,#10000,4,13,4,13)
|
|
hasLocation(#20056,#20057)
|
|
enclosingStmt(#20056,#20046)
|
|
exprContainers(#20056,#20001)
|
|
literals("x","x",#20056)
|
|
#20058=*
|
|
exprs(#20058,3,#20054,1,"100")
|
|
#20059=@"loc,{#10000},4,16,4,18"
|
|
locations_default(#20059,#10000,4,16,4,18)
|
|
hasLocation(#20058,#20059)
|
|
enclosingStmt(#20058,#20046)
|
|
exprContainers(#20058,#20001)
|
|
literals("100","100",#20058)
|
|
#20060=*
|
|
stmts(#20060,2,#20001,3,"obj::ha ... p(""x"");")
|
|
#20061=@"loc,{#10000},5,1,5,21"
|
|
locations_default(#20061,#10000,5,1,5,21)
|
|
hasLocation(#20060,#20061)
|
|
stmtContainers(#20060,#20001)
|
|
#20062=*
|
|
exprs(#20062,13,#20060,0,"obj::hasOwnProp(""x"")")
|
|
#20063=@"loc,{#10000},5,1,5,20"
|
|
locations_default(#20063,#10000,5,1,5,20)
|
|
hasLocation(#20062,#20063)
|
|
enclosingStmt(#20062,#20060)
|
|
exprContainers(#20062,#20001)
|
|
#20064=*
|
|
exprs(#20064,97,#20062,-1,"obj::hasOwnProp")
|
|
#20065=@"loc,{#10000},5,1,5,15"
|
|
locations_default(#20065,#10000,5,1,5,15)
|
|
hasLocation(#20064,#20065)
|
|
enclosingStmt(#20064,#20060)
|
|
exprContainers(#20064,#20001)
|
|
#20066=*
|
|
exprs(#20066,79,#20064,0,"obj")
|
|
#20067=@"loc,{#10000},5,1,5,3"
|
|
locations_default(#20067,#10000,5,1,5,3)
|
|
hasLocation(#20066,#20067)
|
|
enclosingStmt(#20066,#20060)
|
|
exprContainers(#20066,#20001)
|
|
literals("obj","obj",#20066)
|
|
bind(#20066,#20004)
|
|
#20068=*
|
|
exprs(#20068,79,#20064,1,"hasOwnProp")
|
|
#20069=@"loc,{#10000},5,6,5,15"
|
|
locations_default(#20069,#10000,5,6,5,15)
|
|
hasLocation(#20068,#20069)
|
|
enclosingStmt(#20068,#20060)
|
|
exprContainers(#20068,#20001)
|
|
literals("hasOwnProp","hasOwnProp",#20068)
|
|
bind(#20068,#20003)
|
|
#20070=*
|
|
exprs(#20070,4,#20062,0,"""x""")
|
|
#20071=@"loc,{#10000},5,17,5,19"
|
|
locations_default(#20071,#10000,5,17,5,19)
|
|
hasLocation(#20070,#20071)
|
|
enclosingStmt(#20070,#20060)
|
|
exprContainers(#20070,#20001)
|
|
literals("x","""x""",#20070)
|
|
#20072=*
|
|
lines(#20072,#20001,"process.argv.map(::console.log);","
|
|
")
|
|
hasLocation(#20072,#20006)
|
|
#20073=*
|
|
lines(#20073,#20001,"","
|
|
")
|
|
#20074=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20074,#10000,2,1,2,0)
|
|
hasLocation(#20073,#20074)
|
|
#20075=*
|
|
lines(#20075,#20001,"let hasOwnProp = Object.prototype.hasOwnProperty;","
|
|
")
|
|
hasLocation(#20075,#20030)
|
|
#20076=*
|
|
lines(#20076,#20001,"let obj = { x: 100 };","
|
|
")
|
|
hasLocation(#20076,#20047)
|
|
#20077=*
|
|
lines(#20077,#20001,"obj::hasOwnProp(""x"");","")
|
|
hasLocation(#20077,#20061)
|
|
numlines(#20001,5,4,0)
|
|
#20078=*
|
|
tokeninfo(#20078,6,#20001,0,"process")
|
|
hasLocation(#20078,#20014)
|
|
#20079=*
|
|
tokeninfo(#20079,8,#20001,1,".")
|
|
#20080=@"loc,{#10000},1,8,1,8"
|
|
locations_default(#20080,#10000,1,8,1,8)
|
|
hasLocation(#20079,#20080)
|
|
#20081=*
|
|
tokeninfo(#20081,6,#20001,2,"argv")
|
|
hasLocation(#20081,#20017)
|
|
#20082=*
|
|
tokeninfo(#20082,8,#20001,3,".")
|
|
#20083=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20083,#10000,1,13,1,13)
|
|
hasLocation(#20082,#20083)
|
|
#20084=*
|
|
tokeninfo(#20084,6,#20001,4,"map")
|
|
hasLocation(#20084,#20019)
|
|
#20085=*
|
|
tokeninfo(#20085,8,#20001,5,"(")
|
|
#20086=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20086,#10000,1,17,1,17)
|
|
hasLocation(#20085,#20086)
|
|
#20087=*
|
|
tokeninfo(#20087,8,#20001,6,"::")
|
|
#20088=@"loc,{#10000},1,18,1,19"
|
|
locations_default(#20088,#10000,1,18,1,19)
|
|
hasLocation(#20087,#20088)
|
|
#20089=*
|
|
tokeninfo(#20089,6,#20001,7,"console")
|
|
hasLocation(#20089,#20025)
|
|
#20090=*
|
|
tokeninfo(#20090,8,#20001,8,".")
|
|
#20091=@"loc,{#10000},1,27,1,27"
|
|
locations_default(#20091,#10000,1,27,1,27)
|
|
hasLocation(#20090,#20091)
|
|
#20092=*
|
|
tokeninfo(#20092,6,#20001,9,"log")
|
|
hasLocation(#20092,#20028)
|
|
#20093=*
|
|
tokeninfo(#20093,8,#20001,10,")")
|
|
#20094=@"loc,{#10000},1,31,1,31"
|
|
locations_default(#20094,#10000,1,31,1,31)
|
|
hasLocation(#20093,#20094)
|
|
#20095=*
|
|
tokeninfo(#20095,8,#20001,11,";")
|
|
#20096=@"loc,{#10000},1,32,1,32"
|
|
locations_default(#20096,#10000,1,32,1,32)
|
|
hasLocation(#20095,#20096)
|
|
#20097=*
|
|
tokeninfo(#20097,7,#20001,12,"let")
|
|
#20098=@"loc,{#10000},3,1,3,3"
|
|
locations_default(#20098,#10000,3,1,3,3)
|
|
hasLocation(#20097,#20098)
|
|
#20099=*
|
|
tokeninfo(#20099,6,#20001,13,"hasOwnProp")
|
|
hasLocation(#20099,#20034)
|
|
#20100=*
|
|
tokeninfo(#20100,8,#20001,14,"=")
|
|
#20101=@"loc,{#10000},3,16,3,16"
|
|
locations_default(#20101,#10000,3,16,3,16)
|
|
hasLocation(#20100,#20101)
|
|
#20102=*
|
|
tokeninfo(#20102,6,#20001,15,"Object")
|
|
hasLocation(#20102,#20040)
|
|
#20103=*
|
|
tokeninfo(#20103,8,#20001,16,".")
|
|
#20104=@"loc,{#10000},3,24,3,24"
|
|
locations_default(#20104,#10000,3,24,3,24)
|
|
hasLocation(#20103,#20104)
|
|
#20105=*
|
|
tokeninfo(#20105,6,#20001,17,"prototype")
|
|
hasLocation(#20105,#20043)
|
|
#20106=*
|
|
tokeninfo(#20106,8,#20001,18,".")
|
|
#20107=@"loc,{#10000},3,34,3,34"
|
|
locations_default(#20107,#10000,3,34,3,34)
|
|
hasLocation(#20106,#20107)
|
|
#20108=*
|
|
tokeninfo(#20108,6,#20001,19,"hasOwnProperty")
|
|
hasLocation(#20108,#20045)
|
|
#20109=*
|
|
tokeninfo(#20109,8,#20001,20,";")
|
|
#20110=@"loc,{#10000},3,49,3,49"
|
|
locations_default(#20110,#10000,3,49,3,49)
|
|
hasLocation(#20109,#20110)
|
|
#20111=*
|
|
tokeninfo(#20111,7,#20001,21,"let")
|
|
#20112=@"loc,{#10000},4,1,4,3"
|
|
locations_default(#20112,#10000,4,1,4,3)
|
|
hasLocation(#20111,#20112)
|
|
#20113=*
|
|
tokeninfo(#20113,6,#20001,22,"obj")
|
|
hasLocation(#20113,#20051)
|
|
#20114=*
|
|
tokeninfo(#20114,8,#20001,23,"=")
|
|
#20115=@"loc,{#10000},4,9,4,9"
|
|
locations_default(#20115,#10000,4,9,4,9)
|
|
hasLocation(#20114,#20115)
|
|
#20116=*
|
|
tokeninfo(#20116,8,#20001,24,"{")
|
|
#20117=@"loc,{#10000},4,11,4,11"
|
|
locations_default(#20117,#10000,4,11,4,11)
|
|
hasLocation(#20116,#20117)
|
|
#20118=*
|
|
tokeninfo(#20118,6,#20001,25,"x")
|
|
hasLocation(#20118,#20057)
|
|
#20119=*
|
|
tokeninfo(#20119,8,#20001,26,":")
|
|
#20120=@"loc,{#10000},4,14,4,14"
|
|
locations_default(#20120,#10000,4,14,4,14)
|
|
hasLocation(#20119,#20120)
|
|
#20121=*
|
|
tokeninfo(#20121,3,#20001,27,"100")
|
|
hasLocation(#20121,#20059)
|
|
#20122=*
|
|
tokeninfo(#20122,8,#20001,28,"}")
|
|
#20123=@"loc,{#10000},4,20,4,20"
|
|
locations_default(#20123,#10000,4,20,4,20)
|
|
hasLocation(#20122,#20123)
|
|
#20124=*
|
|
tokeninfo(#20124,8,#20001,29,";")
|
|
#20125=@"loc,{#10000},4,21,4,21"
|
|
locations_default(#20125,#10000,4,21,4,21)
|
|
hasLocation(#20124,#20125)
|
|
#20126=*
|
|
tokeninfo(#20126,6,#20001,30,"obj")
|
|
hasLocation(#20126,#20067)
|
|
#20127=*
|
|
tokeninfo(#20127,8,#20001,31,"::")
|
|
#20128=@"loc,{#10000},5,4,5,5"
|
|
locations_default(#20128,#10000,5,4,5,5)
|
|
hasLocation(#20127,#20128)
|
|
#20129=*
|
|
tokeninfo(#20129,6,#20001,32,"hasOwnProp")
|
|
hasLocation(#20129,#20069)
|
|
#20130=*
|
|
tokeninfo(#20130,8,#20001,33,"(")
|
|
#20131=@"loc,{#10000},5,16,5,16"
|
|
locations_default(#20131,#10000,5,16,5,16)
|
|
hasLocation(#20130,#20131)
|
|
#20132=*
|
|
tokeninfo(#20132,4,#20001,34,"""x""")
|
|
hasLocation(#20132,#20071)
|
|
#20133=*
|
|
tokeninfo(#20133,8,#20001,35,")")
|
|
#20134=@"loc,{#10000},5,20,5,20"
|
|
locations_default(#20134,#10000,5,20,5,20)
|
|
hasLocation(#20133,#20134)
|
|
#20135=*
|
|
tokeninfo(#20135,8,#20001,36,";")
|
|
#20136=@"loc,{#10000},5,21,5,21"
|
|
locations_default(#20136,#10000,5,21,5,21)
|
|
hasLocation(#20135,#20136)
|
|
#20137=*
|
|
tokeninfo(#20137,0,#20001,37,"")
|
|
#20138=@"loc,{#10000},5,22,5,21"
|
|
locations_default(#20138,#10000,5,22,5,21)
|
|
hasLocation(#20137,#20138)
|
|
#20139=*
|
|
entry_cfg_node(#20139,#20001)
|
|
#20140=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20140,#10000,1,1,1,0)
|
|
hasLocation(#20139,#20140)
|
|
#20141=*
|
|
exit_cfg_node(#20141,#20001)
|
|
hasLocation(#20141,#20138)
|
|
successor(#20060,#20066)
|
|
successor(#20070,#20062)
|
|
successor(#20068,#20064)
|
|
successor(#20066,#20068)
|
|
successor(#20064,#20070)
|
|
successor(#20062,#20141)
|
|
successor(#20046,#20050)
|
|
successor(#20052,#20056)
|
|
successor(#20058,#20054)
|
|
successor(#20056,#20058)
|
|
successor(#20054,#20048)
|
|
successor(#20050,#20052)
|
|
successor(#20048,#20060)
|
|
successor(#20029,#20033)
|
|
successor(#20044,#20035)
|
|
successor(#20042,#20037)
|
|
successor(#20039,#20042)
|
|
successor(#20037,#20044)
|
|
successor(#20035,#20031)
|
|
successor(#20033,#20039)
|
|
successor(#20031,#20046)
|
|
successor(#20005,#20013)
|
|
successor(#20027,#20022)
|
|
successor(#20024,#20027)
|
|
successor(#20022,#20020)
|
|
successor(#20020,#20007)
|
|
successor(#20018,#20009)
|
|
successor(#20016,#20011)
|
|
successor(#20013,#20016)
|
|
successor(#20011,#20018)
|
|
successor(#20009,#20024)
|
|
successor(#20007,#20029)
|
|
successor(#20139,#20005)
|
|
numlines(#10000,5,4,0)
|
|
filetype(#10000,"javascript")
|