mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
JS: Update TRAP files
This commit is contained in:
@@ -68,70 +68,72 @@ toplevels(#20002,1)
|
||||
#20023=@"loc,{#10000},1,9,3,0"
|
||||
locations_default(#20023,#10000,1,9,3,0)
|
||||
hasLocation(#20002,#20023)
|
||||
#20024=*
|
||||
stmts(#20024,2,#20002,0,"console.log(""FOO"");")
|
||||
#20025=@"loc,{#10000},2,3,2,21"
|
||||
locations_default(#20025,#10000,2,3,2,21)
|
||||
hasLocation(#20024,#20025)
|
||||
stmt_containers(#20024,#20002)
|
||||
#20026=*
|
||||
exprs(#20026,13,#20024,0,"console.log(""FOO"")")
|
||||
#20027=@"loc,{#10000},2,3,2,20"
|
||||
locations_default(#20027,#10000,2,3,2,20)
|
||||
hasLocation(#20026,#20027)
|
||||
enclosing_stmt(#20026,#20024)
|
||||
expr_containers(#20026,#20002)
|
||||
#20028=*
|
||||
exprs(#20028,14,#20026,-1,"console.log")
|
||||
#20029=@"loc,{#10000},2,3,2,13"
|
||||
locations_default(#20029,#10000,2,3,2,13)
|
||||
hasLocation(#20028,#20029)
|
||||
enclosing_stmt(#20028,#20024)
|
||||
expr_containers(#20028,#20002)
|
||||
#20030=*
|
||||
exprs(#20030,79,#20028,0,"console")
|
||||
hasLocation(#20030,#20008)
|
||||
enclosing_stmt(#20030,#20024)
|
||||
expr_containers(#20030,#20002)
|
||||
literals("console","console",#20030)
|
||||
#20031=@"var;{console};{#20000}"
|
||||
variables(#20031,"console",#20000)
|
||||
bind(#20030,#20031)
|
||||
#20032=*
|
||||
exprs(#20032,0,#20028,1,"log")
|
||||
hasLocation(#20032,#20012)
|
||||
enclosing_stmt(#20032,#20024)
|
||||
expr_containers(#20032,#20002)
|
||||
literals("log","log",#20032)
|
||||
#20024=@"var;{this};{#20000}"
|
||||
variables(#20024,"this",#20000)
|
||||
#20025=*
|
||||
stmts(#20025,2,#20002,0,"console.log(""FOO"");")
|
||||
#20026=@"loc,{#10000},2,3,2,21"
|
||||
locations_default(#20026,#10000,2,3,2,21)
|
||||
hasLocation(#20025,#20026)
|
||||
stmt_containers(#20025,#20002)
|
||||
#20027=*
|
||||
exprs(#20027,13,#20025,0,"console.log(""FOO"")")
|
||||
#20028=@"loc,{#10000},2,3,2,20"
|
||||
locations_default(#20028,#10000,2,3,2,20)
|
||||
hasLocation(#20027,#20028)
|
||||
enclosing_stmt(#20027,#20025)
|
||||
expr_containers(#20027,#20002)
|
||||
#20029=*
|
||||
exprs(#20029,14,#20027,-1,"console.log")
|
||||
#20030=@"loc,{#10000},2,3,2,13"
|
||||
locations_default(#20030,#10000,2,3,2,13)
|
||||
hasLocation(#20029,#20030)
|
||||
enclosing_stmt(#20029,#20025)
|
||||
expr_containers(#20029,#20002)
|
||||
#20031=*
|
||||
exprs(#20031,79,#20029,0,"console")
|
||||
hasLocation(#20031,#20008)
|
||||
enclosing_stmt(#20031,#20025)
|
||||
expr_containers(#20031,#20002)
|
||||
literals("console","console",#20031)
|
||||
#20032=@"var;{console};{#20000}"
|
||||
variables(#20032,"console",#20000)
|
||||
bind(#20031,#20032)
|
||||
#20033=*
|
||||
exprs(#20033,4,#20026,0,"""FOO""")
|
||||
hasLocation(#20033,#20016)
|
||||
enclosing_stmt(#20033,#20024)
|
||||
exprs(#20033,0,#20029,1,"log")
|
||||
hasLocation(#20033,#20012)
|
||||
enclosing_stmt(#20033,#20025)
|
||||
expr_containers(#20033,#20002)
|
||||
literals("FOO","""FOO""",#20033)
|
||||
literals("log","log",#20033)
|
||||
#20034=*
|
||||
regexpterm(#20034,14,#20033,0,"FOO")
|
||||
#20035=@"loc,{#10000},2,16,2,18"
|
||||
locations_default(#20035,#10000,2,16,2,18)
|
||||
hasLocation(#20034,#20035)
|
||||
regexp_const_value(#20034,"FOO")
|
||||
#20036=*
|
||||
entry_cfg_node(#20036,#20002)
|
||||
hasLocation(#20036,#20004)
|
||||
exprs(#20034,4,#20027,0,"""FOO""")
|
||||
hasLocation(#20034,#20016)
|
||||
enclosing_stmt(#20034,#20025)
|
||||
expr_containers(#20034,#20002)
|
||||
literals("FOO","""FOO""",#20034)
|
||||
#20035=*
|
||||
regexpterm(#20035,14,#20034,0,"FOO")
|
||||
#20036=@"loc,{#10000},2,16,2,18"
|
||||
locations_default(#20036,#10000,2,16,2,18)
|
||||
hasLocation(#20035,#20036)
|
||||
regexp_const_value(#20035,"FOO")
|
||||
#20037=*
|
||||
exit_cfg_node(#20037,#20002)
|
||||
hasLocation(#20037,#20022)
|
||||
successor(#20024,#20030)
|
||||
successor(#20033,#20026)
|
||||
successor(#20032,#20028)
|
||||
successor(#20030,#20032)
|
||||
successor(#20028,#20033)
|
||||
successor(#20026,#20037)
|
||||
successor(#20036,#20024)
|
||||
entry_cfg_node(#20037,#20002)
|
||||
hasLocation(#20037,#20004)
|
||||
#20038=*
|
||||
exit_cfg_node(#20038,#20002)
|
||||
hasLocation(#20038,#20022)
|
||||
successor(#20025,#20031)
|
||||
successor(#20034,#20027)
|
||||
successor(#20033,#20029)
|
||||
successor(#20031,#20033)
|
||||
successor(#20029,#20034)
|
||||
successor(#20027,#20038)
|
||||
successor(#20037,#20025)
|
||||
toplevel_parent_xml_node(#20002,#20001)
|
||||
xmlElements(#20001,"script",#10000,0,#10000)
|
||||
#20038=@"loc,{#10000},1,1,3,9"
|
||||
locations_default(#20038,#10000,1,1,3,9)
|
||||
xmllocations(#20001,#20038)
|
||||
#20039=@"loc,{#10000},1,1,3,9"
|
||||
locations_default(#20039,#10000,1,1,3,9)
|
||||
xmllocations(#20001,#20039)
|
||||
numlines(#10000,3,1,0)
|
||||
filetype(#10000,"html")
|
||||
|
||||
@@ -73,160 +73,164 @@ toplevels(#20002,1)
|
||||
#20025=@"loc,{#10000},10,13,12,4"
|
||||
locations_default(#20025,#10000,10,13,12,4)
|
||||
hasLocation(#20002,#20025)
|
||||
#20026=*
|
||||
stmts(#20026,2,#20002,0,"console.log(123);")
|
||||
#20027=@"loc,{#10000},11,7,11,23"
|
||||
locations_default(#20027,#10000,11,7,11,23)
|
||||
hasLocation(#20026,#20027)
|
||||
stmt_containers(#20026,#20002)
|
||||
#20028=*
|
||||
exprs(#20028,13,#20026,0,"console.log(123)")
|
||||
#20029=@"loc,{#10000},11,7,11,22"
|
||||
locations_default(#20029,#10000,11,7,11,22)
|
||||
hasLocation(#20028,#20029)
|
||||
enclosing_stmt(#20028,#20026)
|
||||
expr_containers(#20028,#20002)
|
||||
#20030=*
|
||||
exprs(#20030,14,#20028,-1,"console.log")
|
||||
#20031=@"loc,{#10000},11,7,11,17"
|
||||
locations_default(#20031,#10000,11,7,11,17)
|
||||
hasLocation(#20030,#20031)
|
||||
enclosing_stmt(#20030,#20026)
|
||||
expr_containers(#20030,#20002)
|
||||
#20032=*
|
||||
exprs(#20032,79,#20030,0,"console")
|
||||
hasLocation(#20032,#20010)
|
||||
enclosing_stmt(#20032,#20026)
|
||||
expr_containers(#20032,#20002)
|
||||
literals("console","console",#20032)
|
||||
#20033=@"var;{console};{#20000}"
|
||||
variables(#20033,"console",#20000)
|
||||
bind(#20032,#20033)
|
||||
#20034=*
|
||||
exprs(#20034,0,#20030,1,"log")
|
||||
hasLocation(#20034,#20014)
|
||||
enclosing_stmt(#20034,#20026)
|
||||
expr_containers(#20034,#20002)
|
||||
literals("log","log",#20034)
|
||||
#20026=@"var;{this};{#20000}"
|
||||
variables(#20026,"this",#20000)
|
||||
#20027=*
|
||||
stmts(#20027,2,#20002,0,"console.log(123);")
|
||||
#20028=@"loc,{#10000},11,7,11,23"
|
||||
locations_default(#20028,#10000,11,7,11,23)
|
||||
hasLocation(#20027,#20028)
|
||||
stmt_containers(#20027,#20002)
|
||||
#20029=*
|
||||
exprs(#20029,13,#20027,0,"console.log(123)")
|
||||
#20030=@"loc,{#10000},11,7,11,22"
|
||||
locations_default(#20030,#10000,11,7,11,22)
|
||||
hasLocation(#20029,#20030)
|
||||
enclosing_stmt(#20029,#20027)
|
||||
expr_containers(#20029,#20002)
|
||||
#20031=*
|
||||
exprs(#20031,14,#20029,-1,"console.log")
|
||||
#20032=@"loc,{#10000},11,7,11,17"
|
||||
locations_default(#20032,#10000,11,7,11,17)
|
||||
hasLocation(#20031,#20032)
|
||||
enclosing_stmt(#20031,#20027)
|
||||
expr_containers(#20031,#20002)
|
||||
#20033=*
|
||||
exprs(#20033,79,#20031,0,"console")
|
||||
hasLocation(#20033,#20010)
|
||||
enclosing_stmt(#20033,#20027)
|
||||
expr_containers(#20033,#20002)
|
||||
literals("console","console",#20033)
|
||||
#20034=@"var;{console};{#20000}"
|
||||
variables(#20034,"console",#20000)
|
||||
bind(#20033,#20034)
|
||||
#20035=*
|
||||
exprs(#20035,3,#20028,0,"123")
|
||||
hasLocation(#20035,#20018)
|
||||
enclosing_stmt(#20035,#20026)
|
||||
exprs(#20035,0,#20031,1,"log")
|
||||
hasLocation(#20035,#20014)
|
||||
enclosing_stmt(#20035,#20027)
|
||||
expr_containers(#20035,#20002)
|
||||
literals("123","123",#20035)
|
||||
literals("log","log",#20035)
|
||||
#20036=*
|
||||
entry_cfg_node(#20036,#20002)
|
||||
hasLocation(#20036,#20004)
|
||||
exprs(#20036,3,#20029,0,"123")
|
||||
hasLocation(#20036,#20018)
|
||||
enclosing_stmt(#20036,#20027)
|
||||
expr_containers(#20036,#20002)
|
||||
literals("123","123",#20036)
|
||||
#20037=*
|
||||
exit_cfg_node(#20037,#20002)
|
||||
hasLocation(#20037,#20024)
|
||||
successor(#20026,#20032)
|
||||
successor(#20035,#20028)
|
||||
successor(#20034,#20030)
|
||||
successor(#20032,#20034)
|
||||
successor(#20030,#20035)
|
||||
successor(#20028,#20037)
|
||||
successor(#20036,#20026)
|
||||
toplevel_parent_xml_node(#20002,#20001)
|
||||
entry_cfg_node(#20037,#20002)
|
||||
hasLocation(#20037,#20004)
|
||||
#20038=*
|
||||
template_placeholder_tag_info(#20038,#10000,"<%@ page contentType=""text/html;charset=UTF-8"" language=""java"" %>")
|
||||
#20039=@"loc,{#10000},1,1,1,65"
|
||||
locations_default(#20039,#10000,1,1,1,65)
|
||||
hasLocation(#20038,#20039)
|
||||
#20040=*
|
||||
xmlElements(#20040,"html",#10000,0,#10000)
|
||||
#20041=@"loc,{#10000},2,1,14,7"
|
||||
locations_default(#20041,#10000,2,1,14,7)
|
||||
xmllocations(#20040,#20041)
|
||||
#20042=*
|
||||
xmlElements(#20042,"body",#20040,1,#10000)
|
||||
#20043=@"loc,{#10000},6,3,13,9"
|
||||
locations_default(#20043,#10000,6,3,13,9)
|
||||
xmllocations(#20042,#20043)
|
||||
#20044=*
|
||||
template_placeholder_tag_info(#20044,#20042,"<% String name = ""John""; %>")
|
||||
#20045=@"loc,{#10000},8,5,8,31"
|
||||
locations_default(#20045,#10000,8,5,8,31)
|
||||
hasLocation(#20044,#20045)
|
||||
xmlElements(#20001,"script",#20042,2,#10000)
|
||||
#20046=@"loc,{#10000},10,5,12,13"
|
||||
locations_default(#20046,#10000,10,5,12,13)
|
||||
xmllocations(#20001,#20046)
|
||||
#20047=*
|
||||
xmlElements(#20047,"p",#20042,1,#10000)
|
||||
#20048=@"loc,{#10000},9,5,9,31"
|
||||
locations_default(#20048,#10000,9,5,9,31)
|
||||
xmllocations(#20047,#20048)
|
||||
#20049=*
|
||||
template_placeholder_tag_info(#20049,#20047,"<%= name %>")
|
||||
#20050=@"loc,{#10000},9,16,9,26"
|
||||
locations_default(#20050,#10000,9,16,9,26)
|
||||
hasLocation(#20049,#20050)
|
||||
exit_cfg_node(#20038,#20002)
|
||||
hasLocation(#20038,#20024)
|
||||
successor(#20027,#20033)
|
||||
successor(#20036,#20029)
|
||||
successor(#20035,#20031)
|
||||
successor(#20033,#20035)
|
||||
successor(#20031,#20036)
|
||||
successor(#20029,#20038)
|
||||
successor(#20037,#20027)
|
||||
toplevel_parent_xml_node(#20002,#20001)
|
||||
#20039=*
|
||||
template_placeholder_tag_info(#20039,#10000,"<%@ page contentType=""text/html;charset=UTF-8"" language=""java"" %>")
|
||||
#20040=@"loc,{#10000},1,1,1,65"
|
||||
locations_default(#20040,#10000,1,1,1,65)
|
||||
hasLocation(#20039,#20040)
|
||||
#20041=*
|
||||
xmlElements(#20041,"html",#10000,0,#10000)
|
||||
#20042=@"loc,{#10000},2,1,14,7"
|
||||
locations_default(#20042,#10000,2,1,14,7)
|
||||
xmllocations(#20041,#20042)
|
||||
#20043=*
|
||||
xmlElements(#20043,"body",#20041,1,#10000)
|
||||
#20044=@"loc,{#10000},6,3,13,9"
|
||||
locations_default(#20044,#10000,6,3,13,9)
|
||||
xmllocations(#20043,#20044)
|
||||
#20045=*
|
||||
template_placeholder_tag_info(#20045,#20043,"<% String name = ""John""; %>")
|
||||
#20046=@"loc,{#10000},8,5,8,31"
|
||||
locations_default(#20046,#10000,8,5,8,31)
|
||||
hasLocation(#20045,#20046)
|
||||
xmlElements(#20001,"script",#20043,2,#10000)
|
||||
#20047=@"loc,{#10000},10,5,12,13"
|
||||
locations_default(#20047,#10000,10,5,12,13)
|
||||
xmllocations(#20001,#20047)
|
||||
#20048=*
|
||||
xmlElements(#20048,"p",#20043,1,#10000)
|
||||
#20049=@"loc,{#10000},9,5,9,31"
|
||||
locations_default(#20049,#10000,9,5,9,31)
|
||||
xmllocations(#20048,#20049)
|
||||
#20050=*
|
||||
template_placeholder_tag_info(#20050,#20048,"<%= name %>")
|
||||
#20051=@"loc,{#10000},9,16,9,26"
|
||||
locations_default(#20051,#10000,9,16,9,26)
|
||||
hasLocation(#20050,#20051)
|
||||
scopes(#20000,0)
|
||||
#20051=@"script;{#10000},9,19"
|
||||
#20052=*
|
||||
lines(#20052,#20051," name ","")
|
||||
#20053=@"loc,{#10000},9,19,9,24"
|
||||
locations_default(#20053,#10000,9,19,9,24)
|
||||
hasLocation(#20052,#20053)
|
||||
#20052=@"script;{#10000},9,19"
|
||||
#20053=*
|
||||
lines(#20053,#20052," name ","")
|
||||
#20054=@"loc,{#10000},9,19,9,24"
|
||||
locations_default(#20054,#10000,9,19,9,24)
|
||||
hasLocation(#20053,#20054)
|
||||
indentation(#10000,9," ",1)
|
||||
numlines(#20051,1,1,0)
|
||||
#20054=*
|
||||
tokeninfo(#20054,6,#20051,0,"name")
|
||||
#20055=@"loc,{#10000},9,20,9,23"
|
||||
locations_default(#20055,#10000,9,20,9,23)
|
||||
hasLocation(#20054,#20055)
|
||||
#20056=*
|
||||
tokeninfo(#20056,0,#20051,1,"")
|
||||
#20057=@"loc,{#10000},9,25,9,24"
|
||||
locations_default(#20057,#10000,9,25,9,24)
|
||||
hasLocation(#20056,#20057)
|
||||
toplevels(#20051,4)
|
||||
hasLocation(#20051,#20053)
|
||||
#20058=@"module;{#10000},9,19"
|
||||
scopes(#20058,3)
|
||||
scopenodes(#20051,#20058)
|
||||
scopenesting(#20058,#20000)
|
||||
is_module(#20051)
|
||||
#20059=*
|
||||
stmts(#20059,2,#20051,0,"name")
|
||||
hasLocation(#20059,#20055)
|
||||
stmt_containers(#20059,#20051)
|
||||
#20060=*
|
||||
exprs(#20060,79,#20059,0,"name")
|
||||
hasLocation(#20060,#20055)
|
||||
enclosing_stmt(#20060,#20059)
|
||||
expr_containers(#20060,#20051)
|
||||
literals("name","name",#20060)
|
||||
#20061=@"var;{name};{#20058}"
|
||||
variables(#20061,"name",#20058)
|
||||
bind(#20060,#20061)
|
||||
numlines(#20052,1,1,0)
|
||||
#20055=*
|
||||
tokeninfo(#20055,6,#20052,0,"name")
|
||||
#20056=@"loc,{#10000},9,20,9,23"
|
||||
locations_default(#20056,#10000,9,20,9,23)
|
||||
hasLocation(#20055,#20056)
|
||||
#20057=*
|
||||
tokeninfo(#20057,0,#20052,1,"")
|
||||
#20058=@"loc,{#10000},9,25,9,24"
|
||||
locations_default(#20058,#10000,9,25,9,24)
|
||||
hasLocation(#20057,#20058)
|
||||
toplevels(#20052,4)
|
||||
hasLocation(#20052,#20054)
|
||||
#20059=@"module;{#10000},9,19"
|
||||
scopes(#20059,3)
|
||||
scopenodes(#20052,#20059)
|
||||
scopenesting(#20059,#20000)
|
||||
is_module(#20052)
|
||||
#20060=@"var;{this};{#20059}"
|
||||
variables(#20060,"this",#20059)
|
||||
#20061=*
|
||||
stmts(#20061,2,#20052,0,"name")
|
||||
hasLocation(#20061,#20056)
|
||||
stmt_containers(#20061,#20052)
|
||||
#20062=*
|
||||
entry_cfg_node(#20062,#20051)
|
||||
#20063=@"loc,{#10000},9,19,9,18"
|
||||
locations_default(#20063,#10000,9,19,9,18)
|
||||
hasLocation(#20062,#20063)
|
||||
exprs(#20062,79,#20061,0,"name")
|
||||
hasLocation(#20062,#20056)
|
||||
enclosing_stmt(#20062,#20061)
|
||||
expr_containers(#20062,#20052)
|
||||
literals("name","name",#20062)
|
||||
#20063=@"var;{name};{#20059}"
|
||||
variables(#20063,"name",#20059)
|
||||
bind(#20062,#20063)
|
||||
#20064=*
|
||||
exit_cfg_node(#20064,#20051)
|
||||
hasLocation(#20064,#20057)
|
||||
successor(#20059,#20060)
|
||||
successor(#20060,#20064)
|
||||
successor(#20062,#20059)
|
||||
toplevel_parent_xml_node(#20051,#20049)
|
||||
#20065=*
|
||||
xmlElements(#20065,"h1",#20042,0,#10000)
|
||||
#20066=@"loc,{#10000},7,5,7,25"
|
||||
locations_default(#20066,#10000,7,5,7,25)
|
||||
xmllocations(#20065,#20066)
|
||||
entry_cfg_node(#20064,#20052)
|
||||
#20065=@"loc,{#10000},9,19,9,18"
|
||||
locations_default(#20065,#10000,9,19,9,18)
|
||||
hasLocation(#20064,#20065)
|
||||
#20066=*
|
||||
exit_cfg_node(#20066,#20052)
|
||||
hasLocation(#20066,#20058)
|
||||
successor(#20061,#20062)
|
||||
successor(#20062,#20066)
|
||||
successor(#20064,#20061)
|
||||
toplevel_parent_xml_node(#20052,#20050)
|
||||
#20067=*
|
||||
xmlElements(#20067,"head",#20040,0,#10000)
|
||||
#20068=@"loc,{#10000},3,3,5,9"
|
||||
locations_default(#20068,#10000,3,3,5,9)
|
||||
xmlElements(#20067,"h1",#20043,0,#10000)
|
||||
#20068=@"loc,{#10000},7,5,7,25"
|
||||
locations_default(#20068,#10000,7,5,7,25)
|
||||
xmllocations(#20067,#20068)
|
||||
#20069=*
|
||||
xmlElements(#20069,"title",#20067,0,#10000)
|
||||
#20070=@"loc,{#10000},4,5,4,34"
|
||||
locations_default(#20070,#10000,4,5,4,34)
|
||||
xmlElements(#20069,"head",#20041,0,#10000)
|
||||
#20070=@"loc,{#10000},3,3,5,9"
|
||||
locations_default(#20070,#10000,3,3,5,9)
|
||||
xmllocations(#20069,#20070)
|
||||
#20071=*
|
||||
xmlElements(#20071,"title",#20069,0,#10000)
|
||||
#20072=@"loc,{#10000},4,5,4,34"
|
||||
locations_default(#20072,#10000,4,5,4,34)
|
||||
xmllocations(#20071,#20072)
|
||||
numlines(#10000,14,2,0)
|
||||
filetype(#10000,"html")
|
||||
|
||||
Reference in New Issue
Block a user