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