mirror of
https://github.com/github/codeql.git
synced 2026-01-13 14:34:45 +01:00
456 lines
13 KiB
Plaintext
456 lines
13 KiB
Plaintext
#10000=@"/tst.html;sourcefile"
|
|
files(#10000,"/tst.html","tst","html",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},5,17"
|
|
#20002=*
|
|
lines(#20002,#20001,"","
|
|
")
|
|
#20003=@"loc,{#10000},5,17,5,16"
|
|
locations_default(#20003,#10000,5,17,5,16)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," alert(""Hello, world!"");","
|
|
")
|
|
#20005=@"loc,{#10000},6,1,6,35"
|
|
locations_default(#20005,#10000,6,1,6,35)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,6," ",12)
|
|
#20006=*
|
|
lines(#20006,#20001," ","")
|
|
#20007=@"loc,{#10000},7,1,7,8"
|
|
locations_default(#20007,#10000,7,1,7,8)
|
|
hasLocation(#20006,#20007)
|
|
numlines(#20001,3,1,0)
|
|
#20008=*
|
|
tokeninfo(#20008,6,#20001,0,"alert")
|
|
#20009=@"loc,{#10000},6,13,6,17"
|
|
locations_default(#20009,#10000,6,13,6,17)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,8,#20001,1,"(")
|
|
#20011=@"loc,{#10000},6,18,6,18"
|
|
locations_default(#20011,#10000,6,18,6,18)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,4,#20001,2,"""Hello, world!""")
|
|
#20013=@"loc,{#10000},6,19,6,33"
|
|
locations_default(#20013,#10000,6,19,6,33)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,3,")")
|
|
#20015=@"loc,{#10000},6,34,6,34"
|
|
locations_default(#20015,#10000,6,34,6,34)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,4,";")
|
|
#20017=@"loc,{#10000},6,35,6,35"
|
|
locations_default(#20017,#10000,6,35,6,35)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,0,#20001,5,"")
|
|
#20019=@"loc,{#10000},7,9,7,8"
|
|
locations_default(#20019,#10000,7,9,7,8)
|
|
hasLocation(#20018,#20019)
|
|
toplevels(#20001,1)
|
|
#20020=@"loc,{#10000},5,17,7,8"
|
|
locations_default(#20020,#10000,5,17,7,8)
|
|
hasLocation(#20001,#20020)
|
|
#20021=*
|
|
stmts(#20021,2,#20001,0,"alert("" ... rld!"");")
|
|
#20022=@"loc,{#10000},6,13,6,35"
|
|
locations_default(#20022,#10000,6,13,6,35)
|
|
hasLocation(#20021,#20022)
|
|
stmtContainers(#20021,#20001)
|
|
#20023=*
|
|
exprs(#20023,13,#20021,0,"alert("" ... orld!"")")
|
|
#20024=@"loc,{#10000},6,13,6,34"
|
|
locations_default(#20024,#10000,6,13,6,34)
|
|
hasLocation(#20023,#20024)
|
|
enclosingStmt(#20023,#20021)
|
|
exprContainers(#20023,#20001)
|
|
#20025=*
|
|
exprs(#20025,79,#20023,-1,"alert")
|
|
hasLocation(#20025,#20009)
|
|
enclosingStmt(#20025,#20021)
|
|
exprContainers(#20025,#20001)
|
|
literals("alert","alert",#20025)
|
|
#20026=@"var;{alert};{#20000}"
|
|
variables(#20026,"alert",#20000)
|
|
bind(#20025,#20026)
|
|
#20027=*
|
|
exprs(#20027,4,#20023,0,"""Hello, world!""")
|
|
hasLocation(#20027,#20013)
|
|
enclosingStmt(#20027,#20021)
|
|
exprContainers(#20027,#20001)
|
|
literals("Hello, world!","""Hello, world!""",#20027)
|
|
#20028=*
|
|
entry_cfg_node(#20028,#20001)
|
|
hasLocation(#20028,#20003)
|
|
#20029=*
|
|
exit_cfg_node(#20029,#20001)
|
|
hasLocation(#20029,#20019)
|
|
successor(#20021,#20025)
|
|
successor(#20027,#20023)
|
|
successor(#20025,#20027)
|
|
successor(#20023,#20029)
|
|
successor(#20028,#20021)
|
|
#20030=@"script;{#10000},8,17"
|
|
#20031=*
|
|
lines(#20031,#20030,";","")
|
|
#20032=@"loc,{#10000},8,17,8,17"
|
|
locations_default(#20032,#10000,8,17,8,17)
|
|
hasLocation(#20031,#20032)
|
|
numlines(#20030,1,1,0)
|
|
#20033=*
|
|
tokeninfo(#20033,8,#20030,0,";")
|
|
hasLocation(#20033,#20032)
|
|
#20034=*
|
|
tokeninfo(#20034,0,#20030,1,"")
|
|
#20035=@"loc,{#10000},8,18,8,17"
|
|
locations_default(#20035,#10000,8,18,8,17)
|
|
hasLocation(#20034,#20035)
|
|
toplevels(#20030,1)
|
|
hasLocation(#20030,#20032)
|
|
#20036=*
|
|
stmts(#20036,0,#20030,0,";")
|
|
hasLocation(#20036,#20032)
|
|
stmtContainers(#20036,#20030)
|
|
#20037=*
|
|
entry_cfg_node(#20037,#20030)
|
|
#20038=@"loc,{#10000},8,17,8,16"
|
|
locations_default(#20038,#10000,8,17,8,16)
|
|
hasLocation(#20037,#20038)
|
|
#20039=*
|
|
exit_cfg_node(#20039,#20030)
|
|
hasLocation(#20039,#20035)
|
|
successor(#20036,#20039)
|
|
successor(#20037,#20036)
|
|
#20040=@"script;{#10000},11,29"
|
|
#20041=*
|
|
lines(#20041,#20040,"void(alert('Nope!'))","")
|
|
#20042=@"loc,{#10000},11,29,11,48"
|
|
locations_default(#20042,#10000,11,29,11,48)
|
|
hasLocation(#20041,#20042)
|
|
numlines(#20040,1,1,0)
|
|
#20043=*
|
|
tokeninfo(#20043,7,#20040,0,"void")
|
|
#20044=@"loc,{#10000},11,29,11,32"
|
|
locations_default(#20044,#10000,11,29,11,32)
|
|
hasLocation(#20043,#20044)
|
|
#20045=*
|
|
tokeninfo(#20045,8,#20040,1,"(")
|
|
#20046=@"loc,{#10000},11,33,11,33"
|
|
locations_default(#20046,#10000,11,33,11,33)
|
|
hasLocation(#20045,#20046)
|
|
#20047=*
|
|
tokeninfo(#20047,6,#20040,2,"alert")
|
|
#20048=@"loc,{#10000},11,34,11,38"
|
|
locations_default(#20048,#10000,11,34,11,38)
|
|
hasLocation(#20047,#20048)
|
|
#20049=*
|
|
tokeninfo(#20049,8,#20040,3,"(")
|
|
#20050=@"loc,{#10000},11,39,11,39"
|
|
locations_default(#20050,#10000,11,39,11,39)
|
|
hasLocation(#20049,#20050)
|
|
#20051=*
|
|
tokeninfo(#20051,4,#20040,4,"'Nope!'")
|
|
#20052=@"loc,{#10000},11,40,11,46"
|
|
locations_default(#20052,#10000,11,40,11,46)
|
|
hasLocation(#20051,#20052)
|
|
#20053=*
|
|
tokeninfo(#20053,8,#20040,5,")")
|
|
#20054=@"loc,{#10000},11,47,11,47"
|
|
locations_default(#20054,#10000,11,47,11,47)
|
|
hasLocation(#20053,#20054)
|
|
#20055=*
|
|
tokeninfo(#20055,8,#20040,6,")")
|
|
#20056=@"loc,{#10000},11,48,11,48"
|
|
locations_default(#20056,#10000,11,48,11,48)
|
|
hasLocation(#20055,#20056)
|
|
#20057=*
|
|
tokeninfo(#20057,0,#20040,7,"")
|
|
#20058=@"loc,{#10000},11,49,11,48"
|
|
locations_default(#20058,#10000,11,49,11,48)
|
|
hasLocation(#20057,#20058)
|
|
toplevels(#20040,3)
|
|
hasLocation(#20040,#20042)
|
|
#20059=*
|
|
stmts(#20059,2,#20040,0,"void(alert('Nope!'))")
|
|
hasLocation(#20059,#20042)
|
|
stmtContainers(#20059,#20040)
|
|
#20060=*
|
|
exprs(#20060,21,#20059,0,"void(alert('Nope!'))")
|
|
hasLocation(#20060,#20042)
|
|
enclosingStmt(#20060,#20059)
|
|
exprContainers(#20060,#20040)
|
|
#20061=*
|
|
exprs(#20061,63,#20060,0,"(alert('Nope!'))")
|
|
#20062=@"loc,{#10000},11,33,11,48"
|
|
locations_default(#20062,#10000,11,33,11,48)
|
|
hasLocation(#20061,#20062)
|
|
enclosingStmt(#20061,#20059)
|
|
exprContainers(#20061,#20040)
|
|
#20063=*
|
|
exprs(#20063,13,#20061,0,"alert('Nope!')")
|
|
#20064=@"loc,{#10000},11,34,11,47"
|
|
locations_default(#20064,#10000,11,34,11,47)
|
|
hasLocation(#20063,#20064)
|
|
enclosingStmt(#20063,#20059)
|
|
exprContainers(#20063,#20040)
|
|
#20065=*
|
|
exprs(#20065,79,#20063,-1,"alert")
|
|
hasLocation(#20065,#20048)
|
|
enclosingStmt(#20065,#20059)
|
|
exprContainers(#20065,#20040)
|
|
literals("alert","alert",#20065)
|
|
bind(#20065,#20026)
|
|
#20066=*
|
|
exprs(#20066,4,#20063,0,"'Nope!'")
|
|
hasLocation(#20066,#20052)
|
|
enclosingStmt(#20066,#20059)
|
|
exprContainers(#20066,#20040)
|
|
literals("Nope!","'Nope!'",#20066)
|
|
#20067=*
|
|
entry_cfg_node(#20067,#20040)
|
|
#20068=@"loc,{#10000},11,29,11,28"
|
|
locations_default(#20068,#10000,11,29,11,28)
|
|
hasLocation(#20067,#20068)
|
|
#20069=*
|
|
exit_cfg_node(#20069,#20040)
|
|
hasLocation(#20069,#20058)
|
|
successor(#20059,#20061)
|
|
successor(#20061,#20065)
|
|
successor(#20066,#20063)
|
|
successor(#20065,#20066)
|
|
successor(#20063,#20060)
|
|
successor(#20060,#20069)
|
|
successor(#20067,#20059)
|
|
#20070=@"script;{#10000},12,23"
|
|
#20071=*
|
|
lines(#20071,#20070,"alert('I said don\'t click!')","")
|
|
#20072=@"loc,{#10000},12,23,12,51"
|
|
locations_default(#20072,#10000,12,23,12,51)
|
|
hasLocation(#20071,#20072)
|
|
numlines(#20070,1,1,0)
|
|
#20073=*
|
|
tokeninfo(#20073,6,#20070,0,"alert")
|
|
#20074=@"loc,{#10000},12,23,12,27"
|
|
locations_default(#20074,#10000,12,23,12,27)
|
|
hasLocation(#20073,#20074)
|
|
#20075=*
|
|
tokeninfo(#20075,8,#20070,1,"(")
|
|
#20076=@"loc,{#10000},12,28,12,28"
|
|
locations_default(#20076,#10000,12,28,12,28)
|
|
hasLocation(#20075,#20076)
|
|
#20077=*
|
|
tokeninfo(#20077,4,#20070,2,"'I said don\'t click!'")
|
|
#20078=@"loc,{#10000},12,29,12,50"
|
|
locations_default(#20078,#10000,12,29,12,50)
|
|
hasLocation(#20077,#20078)
|
|
#20079=*
|
|
tokeninfo(#20079,8,#20070,3,")")
|
|
#20080=@"loc,{#10000},12,51,12,51"
|
|
locations_default(#20080,#10000,12,51,12,51)
|
|
hasLocation(#20079,#20080)
|
|
#20081=*
|
|
tokeninfo(#20081,0,#20070,4,"")
|
|
#20082=@"loc,{#10000},12,52,12,51"
|
|
locations_default(#20082,#10000,12,52,12,51)
|
|
hasLocation(#20081,#20082)
|
|
toplevels(#20070,2)
|
|
hasLocation(#20070,#20072)
|
|
#20083=*
|
|
stmts(#20083,2,#20070,0,"alert(' ... lick!')")
|
|
hasLocation(#20083,#20072)
|
|
stmtContainers(#20083,#20070)
|
|
#20084=*
|
|
exprs(#20084,13,#20083,0,"alert(' ... lick!')")
|
|
hasLocation(#20084,#20072)
|
|
enclosingStmt(#20084,#20083)
|
|
exprContainers(#20084,#20070)
|
|
#20085=*
|
|
exprs(#20085,79,#20084,-1,"alert")
|
|
hasLocation(#20085,#20074)
|
|
enclosingStmt(#20085,#20083)
|
|
exprContainers(#20085,#20070)
|
|
literals("alert","alert",#20085)
|
|
bind(#20085,#20026)
|
|
#20086=*
|
|
exprs(#20086,4,#20084,0,"'I said ... click!'")
|
|
hasLocation(#20086,#20078)
|
|
enclosingStmt(#20086,#20083)
|
|
exprContainers(#20086,#20070)
|
|
literals("I said don't click!","'I said don\'t click!'",#20086)
|
|
#20087=*
|
|
entry_cfg_node(#20087,#20070)
|
|
#20088=@"loc,{#10000},12,23,12,22"
|
|
locations_default(#20088,#10000,12,23,12,22)
|
|
hasLocation(#20087,#20088)
|
|
#20089=*
|
|
exit_cfg_node(#20089,#20070)
|
|
hasLocation(#20089,#20082)
|
|
successor(#20083,#20085)
|
|
successor(#20086,#20084)
|
|
successor(#20085,#20086)
|
|
successor(#20084,#20089)
|
|
successor(#20087,#20083)
|
|
#20090=@"script;{#10000},13,21"
|
|
#20091=*
|
|
lines(#20091,#20090,"return false;","")
|
|
#20092=@"loc,{#10000},13,21,13,33"
|
|
locations_default(#20092,#10000,13,21,13,33)
|
|
hasLocation(#20091,#20092)
|
|
numlines(#20090,1,1,0)
|
|
#20093=*
|
|
tokeninfo(#20093,7,#20090,0,"return")
|
|
#20094=@"loc,{#10000},13,21,13,26"
|
|
locations_default(#20094,#10000,13,21,13,26)
|
|
hasLocation(#20093,#20094)
|
|
#20095=*
|
|
tokeninfo(#20095,2,#20090,1,"false")
|
|
#20096=@"loc,{#10000},13,28,13,32"
|
|
locations_default(#20096,#10000,13,28,13,32)
|
|
hasLocation(#20095,#20096)
|
|
#20097=*
|
|
tokeninfo(#20097,8,#20090,2,";")
|
|
#20098=@"loc,{#10000},13,33,13,33"
|
|
locations_default(#20098,#10000,13,33,13,33)
|
|
hasLocation(#20097,#20098)
|
|
#20099=*
|
|
tokeninfo(#20099,0,#20090,3,"")
|
|
#20100=@"loc,{#10000},13,34,13,33"
|
|
locations_default(#20100,#10000,13,34,13,33)
|
|
hasLocation(#20099,#20100)
|
|
toplevels(#20090,2)
|
|
hasLocation(#20090,#20092)
|
|
#20101=*
|
|
stmts(#20101,9,#20090,0,"return false;")
|
|
hasLocation(#20101,#20092)
|
|
stmtContainers(#20101,#20090)
|
|
#20102=*
|
|
exprs(#20102,2,#20101,0,"false")
|
|
hasLocation(#20102,#20096)
|
|
enclosingStmt(#20102,#20101)
|
|
exprContainers(#20102,#20090)
|
|
literals("false","false",#20102)
|
|
#20103=*
|
|
entry_cfg_node(#20103,#20090)
|
|
#20104=@"loc,{#10000},13,21,13,20"
|
|
locations_default(#20104,#10000,13,21,13,20)
|
|
hasLocation(#20103,#20104)
|
|
#20105=*
|
|
exit_cfg_node(#20105,#20090)
|
|
hasLocation(#20105,#20100)
|
|
successor(#20102,#20101)
|
|
successor(#20101,#20105)
|
|
successor(#20103,#20102)
|
|
#20106=*
|
|
xmlElements(#20106,"html",#10000,0,#10000)
|
|
#20107=@"loc,{#10000},1,1,18,7"
|
|
locations_default(#20107,#10000,1,1,18,7)
|
|
xmllocations(#20106,#20107)
|
|
#20108=*
|
|
xmlElements(#20108,"head",#20106,0,#10000)
|
|
#20109=@"loc,{#10000},2,5,9,11"
|
|
locations_default(#20109,#10000,2,5,9,11)
|
|
xmllocations(#20108,#20109)
|
|
#20110=*
|
|
xmlElements(#20110,"body",#20106,1,#10000)
|
|
#20111=@"loc,{#10000},10,5,14,11"
|
|
locations_default(#20111,#10000,10,5,14,11)
|
|
xmllocations(#20110,#20111)
|
|
#20112=*
|
|
xmlElements(#20112,"script",#20106,2,#10000)
|
|
#20113=@"loc,{#10000},15,5,15,71"
|
|
locations_default(#20113,#10000,15,5,15,71)
|
|
xmllocations(#20112,#20113)
|
|
#20114=*
|
|
xmlElements(#20114,"script",#20106,3,#10000)
|
|
#20115=@"loc,{#10000},16,5,16,71"
|
|
locations_default(#20115,#10000,16,5,16,71)
|
|
xmllocations(#20114,#20115)
|
|
#20116=*
|
|
xmlElements(#20116,"script",#20106,4,#10000)
|
|
#20117=@"loc,{#10000},17,5,17,29"
|
|
locations_default(#20117,#10000,17,5,17,29)
|
|
xmllocations(#20116,#20117)
|
|
#20118=*
|
|
xmlElements(#20118,"title",#20108,0,#10000)
|
|
#20119=@"loc,{#10000},3,9,3,32"
|
|
locations_default(#20119,#10000,3,9,3,32)
|
|
xmllocations(#20118,#20119)
|
|
#20120=*
|
|
xmlElements(#20120,"script",#20108,1,#10000)
|
|
#20121=@"loc,{#10000},4,9,4,43"
|
|
locations_default(#20121,#10000,4,9,4,43)
|
|
xmllocations(#20120,#20121)
|
|
#20122=*
|
|
xmlElements(#20122,"script",#20108,2,#10000)
|
|
#20123=@"loc,{#10000},5,9,7,17"
|
|
locations_default(#20123,#10000,5,9,7,17)
|
|
xmllocations(#20122,#20123)
|
|
#20124=*
|
|
xmlElements(#20124,"script",#20108,3,#10000)
|
|
#20125=@"loc,{#10000},8,9,8,26"
|
|
locations_default(#20125,#10000,8,9,8,26)
|
|
xmllocations(#20124,#20125)
|
|
#20126=*
|
|
xmlAttrs(#20126,#20120,"src","external.js",0,#10000)
|
|
#20127=@"loc,{#10000},4,17,4,33"
|
|
locations_default(#20127,#10000,4,17,4,33)
|
|
xmllocations(#20126,#20127)
|
|
#20128=*
|
|
xmlElements(#20128,"a",#20110,0,#10000)
|
|
#20129=@"loc,{#10000},11,9,11,64"
|
|
locations_default(#20129,#10000,11,9,11,64)
|
|
xmllocations(#20128,#20129)
|
|
#20130=*
|
|
xmlElements(#20130,"div",#20110,1,#10000)
|
|
#20131=@"loc,{#10000},12,9,12,75"
|
|
locations_default(#20131,#10000,12,9,12,75)
|
|
xmllocations(#20130,#20131)
|
|
#20132=*
|
|
xmlElements(#20132,"a",#20110,2,#10000)
|
|
#20133=@"loc,{#10000},13,9,13,59"
|
|
locations_default(#20133,#10000,13,9,13,59)
|
|
xmllocations(#20132,#20133)
|
|
#20134=*
|
|
xmlAttrs(#20134,#20128,"href","javascript:void(alert('Nope!'))",0,#10000)
|
|
#20135=@"loc,{#10000},11,12,11,49"
|
|
locations_default(#20135,#10000,11,12,11,49)
|
|
xmllocations(#20134,#20135)
|
|
#20136=*
|
|
xmlAttrs(#20136,#20130,"onclick","alert('I said don\'t click!')",0,#10000)
|
|
#20137=@"loc,{#10000},12,14,12,52"
|
|
locations_default(#20137,#10000,12,14,12,52)
|
|
xmllocations(#20136,#20137)
|
|
#20138=*
|
|
xmlAttrs(#20138,#20132,"onclick","return false;",0,#10000)
|
|
#20139=@"loc,{#10000},13,12,13,34"
|
|
locations_default(#20139,#10000,13,12,13,34)
|
|
xmllocations(#20138,#20139)
|
|
#20140=*
|
|
xmlAttrs(#20140,#20112,"type","text/x-handlebars-template",0,#10000)
|
|
#20141=@"loc,{#10000},15,13,15,45"
|
|
locations_default(#20141,#10000,15,13,15,45)
|
|
xmllocations(#20140,#20141)
|
|
#20142=*
|
|
xmlAttrs(#20142,#20114,"TYPE","text/x-handlebars-template",0,#10000)
|
|
#20143=@"loc,{#10000},16,13,16,45"
|
|
locations_default(#20143,#10000,16,13,16,45)
|
|
xmllocations(#20142,#20143)
|
|
#20144=*
|
|
xmlAttrs(#20144,#20116,"type","",0,#10000)
|
|
#20145=@"loc,{#10000},17,13,17,19"
|
|
locations_default(#20145,#10000,17,13,17,19)
|
|
xmllocations(#20144,#20145)
|
|
numlines(#10000,18,5,0)
|
|
filetype(#10000,"html")
|