mirror of
https://github.com/github/codeql.git
synced 2026-03-31 04:38:18 +02:00
JS: Update TRAP files
This commit is contained in:
@@ -109,71 +109,73 @@ is_module(#20001)
|
||||
variables(#20040,"x",#20033)
|
||||
#20041=@"var;{y};{#20033}"
|
||||
variables(#20041,"y",#20033)
|
||||
#20042=*
|
||||
stmts(#20042,22,#20001,0,"const x = 23;")
|
||||
hasLocation(#20042,#20003)
|
||||
stmt_containers(#20042,#20001)
|
||||
#20042=@"var;{this};{#20033}"
|
||||
variables(#20042,"this",#20033)
|
||||
#20043=*
|
||||
exprs(#20043,64,#20042,0,"x = 23")
|
||||
#20044=@"loc,{#10000},1,7,1,12"
|
||||
locations_default(#20044,#10000,1,7,1,12)
|
||||
hasLocation(#20043,#20044)
|
||||
enclosing_stmt(#20043,#20042)
|
||||
expr_containers(#20043,#20001)
|
||||
#20045=*
|
||||
exprs(#20045,78,#20043,0,"x")
|
||||
hasLocation(#20045,#20009)
|
||||
enclosing_stmt(#20045,#20042)
|
||||
expr_containers(#20045,#20001)
|
||||
literals("x","x",#20045)
|
||||
decl(#20045,#20040)
|
||||
stmts(#20043,22,#20001,0,"const x = 23;")
|
||||
hasLocation(#20043,#20003)
|
||||
stmt_containers(#20043,#20001)
|
||||
#20044=*
|
||||
exprs(#20044,64,#20043,0,"x = 23")
|
||||
#20045=@"loc,{#10000},1,7,1,12"
|
||||
locations_default(#20045,#10000,1,7,1,12)
|
||||
hasLocation(#20044,#20045)
|
||||
enclosing_stmt(#20044,#20043)
|
||||
expr_containers(#20044,#20001)
|
||||
#20046=*
|
||||
exprs(#20046,3,#20043,1,"23")
|
||||
hasLocation(#20046,#20013)
|
||||
enclosing_stmt(#20046,#20042)
|
||||
exprs(#20046,78,#20044,0,"x")
|
||||
hasLocation(#20046,#20009)
|
||||
enclosing_stmt(#20046,#20043)
|
||||
expr_containers(#20046,#20001)
|
||||
literals("23","23",#20046)
|
||||
literals("x","x",#20046)
|
||||
decl(#20046,#20040)
|
||||
#20047=*
|
||||
stmts(#20047,23,#20001,1,"let y = 42;")
|
||||
hasLocation(#20047,#20005)
|
||||
stmt_containers(#20047,#20001)
|
||||
exprs(#20047,3,#20044,1,"23")
|
||||
hasLocation(#20047,#20013)
|
||||
enclosing_stmt(#20047,#20043)
|
||||
expr_containers(#20047,#20001)
|
||||
literals("23","23",#20047)
|
||||
#20048=*
|
||||
exprs(#20048,64,#20047,0,"y = 42")
|
||||
#20049=@"loc,{#10000},2,5,2,10"
|
||||
locations_default(#20049,#10000,2,5,2,10)
|
||||
hasLocation(#20048,#20049)
|
||||
enclosing_stmt(#20048,#20047)
|
||||
expr_containers(#20048,#20001)
|
||||
#20050=*
|
||||
exprs(#20050,78,#20048,0,"y")
|
||||
hasLocation(#20050,#20019)
|
||||
enclosing_stmt(#20050,#20047)
|
||||
expr_containers(#20050,#20001)
|
||||
literals("y","y",#20050)
|
||||
decl(#20050,#20041)
|
||||
stmts(#20048,23,#20001,1,"let y = 42;")
|
||||
hasLocation(#20048,#20005)
|
||||
stmt_containers(#20048,#20001)
|
||||
#20049=*
|
||||
exprs(#20049,64,#20048,0,"y = 42")
|
||||
#20050=@"loc,{#10000},2,5,2,10"
|
||||
locations_default(#20050,#10000,2,5,2,10)
|
||||
hasLocation(#20049,#20050)
|
||||
enclosing_stmt(#20049,#20048)
|
||||
expr_containers(#20049,#20001)
|
||||
#20051=*
|
||||
exprs(#20051,3,#20048,1,"42")
|
||||
hasLocation(#20051,#20023)
|
||||
enclosing_stmt(#20051,#20047)
|
||||
exprs(#20051,78,#20049,0,"y")
|
||||
hasLocation(#20051,#20019)
|
||||
enclosing_stmt(#20051,#20048)
|
||||
expr_containers(#20051,#20001)
|
||||
literals("42","42",#20051)
|
||||
literals("y","y",#20051)
|
||||
decl(#20051,#20041)
|
||||
#20052=*
|
||||
entry_cfg_node(#20052,#20001)
|
||||
#20053=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20053,#10000,1,1,1,0)
|
||||
hasLocation(#20052,#20053)
|
||||
#20054=*
|
||||
exit_cfg_node(#20054,#20001)
|
||||
hasLocation(#20054,#20027)
|
||||
successor(#20047,#20050)
|
||||
successor(#20051,#20048)
|
||||
successor(#20050,#20051)
|
||||
successor(#20048,#20054)
|
||||
successor(#20042,#20045)
|
||||
successor(#20046,#20043)
|
||||
successor(#20045,#20046)
|
||||
successor(#20043,#20047)
|
||||
successor(#20052,#20042)
|
||||
exprs(#20052,3,#20049,1,"42")
|
||||
hasLocation(#20052,#20023)
|
||||
enclosing_stmt(#20052,#20048)
|
||||
expr_containers(#20052,#20001)
|
||||
literals("42","42",#20052)
|
||||
#20053=*
|
||||
entry_cfg_node(#20053,#20001)
|
||||
#20054=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20054,#10000,1,1,1,0)
|
||||
hasLocation(#20053,#20054)
|
||||
#20055=*
|
||||
exit_cfg_node(#20055,#20001)
|
||||
hasLocation(#20055,#20027)
|
||||
successor(#20048,#20051)
|
||||
successor(#20052,#20049)
|
||||
successor(#20051,#20052)
|
||||
successor(#20049,#20055)
|
||||
successor(#20043,#20046)
|
||||
successor(#20047,#20044)
|
||||
successor(#20046,#20047)
|
||||
successor(#20044,#20048)
|
||||
successor(#20053,#20043)
|
||||
is_nodejs(#20001)
|
||||
numlines(#10000,2,2,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
@@ -139,65 +139,67 @@ variables(#20047,"arguments",#20041)
|
||||
is_module(#20001)
|
||||
#20048=@"var;{fs};{#20041}"
|
||||
variables(#20048,"fs",#20041)
|
||||
#20049=*
|
||||
stmts(#20049,22,#20001,0,"const f ... ('fs');")
|
||||
hasLocation(#20049,#20017)
|
||||
stmt_containers(#20049,#20001)
|
||||
#20049=@"var;{this};{#20041}"
|
||||
variables(#20049,"this",#20041)
|
||||
#20050=*
|
||||
exprs(#20050,64,#20049,0,"fs = require('fs')")
|
||||
#20051=@"loc,{#10000},6,7,6,24"
|
||||
locations_default(#20051,#10000,6,7,6,24)
|
||||
hasLocation(#20050,#20051)
|
||||
enclosing_stmt(#20050,#20049)
|
||||
expr_containers(#20050,#20001)
|
||||
#20052=*
|
||||
exprs(#20052,78,#20050,0,"fs")
|
||||
hasLocation(#20052,#20021)
|
||||
enclosing_stmt(#20052,#20049)
|
||||
expr_containers(#20052,#20001)
|
||||
literals("fs","fs",#20052)
|
||||
decl(#20052,#20048)
|
||||
stmts(#20050,22,#20001,0,"const f ... ('fs');")
|
||||
hasLocation(#20050,#20017)
|
||||
stmt_containers(#20050,#20001)
|
||||
#20051=*
|
||||
exprs(#20051,64,#20050,0,"fs = require('fs')")
|
||||
#20052=@"loc,{#10000},6,7,6,24"
|
||||
locations_default(#20052,#10000,6,7,6,24)
|
||||
hasLocation(#20051,#20052)
|
||||
enclosing_stmt(#20051,#20050)
|
||||
expr_containers(#20051,#20001)
|
||||
#20053=*
|
||||
exprs(#20053,13,#20050,1,"require('fs')")
|
||||
#20054=@"loc,{#10000},6,12,6,24"
|
||||
locations_default(#20054,#10000,6,12,6,24)
|
||||
hasLocation(#20053,#20054)
|
||||
enclosing_stmt(#20053,#20049)
|
||||
exprs(#20053,78,#20051,0,"fs")
|
||||
hasLocation(#20053,#20021)
|
||||
enclosing_stmt(#20053,#20050)
|
||||
expr_containers(#20053,#20001)
|
||||
#20055=*
|
||||
exprs(#20055,79,#20053,-1,"require")
|
||||
hasLocation(#20055,#20025)
|
||||
enclosing_stmt(#20055,#20049)
|
||||
expr_containers(#20055,#20001)
|
||||
literals("require","require",#20055)
|
||||
bind(#20055,#20042)
|
||||
literals("fs","fs",#20053)
|
||||
decl(#20053,#20048)
|
||||
#20054=*
|
||||
exprs(#20054,13,#20051,1,"require('fs')")
|
||||
#20055=@"loc,{#10000},6,12,6,24"
|
||||
locations_default(#20055,#10000,6,12,6,24)
|
||||
hasLocation(#20054,#20055)
|
||||
enclosing_stmt(#20054,#20050)
|
||||
expr_containers(#20054,#20001)
|
||||
#20056=*
|
||||
exprs(#20056,4,#20053,0,"'fs'")
|
||||
hasLocation(#20056,#20029)
|
||||
enclosing_stmt(#20056,#20049)
|
||||
exprs(#20056,79,#20054,-1,"require")
|
||||
hasLocation(#20056,#20025)
|
||||
enclosing_stmt(#20056,#20050)
|
||||
expr_containers(#20056,#20001)
|
||||
literals("fs","'fs'",#20056)
|
||||
literals("require","require",#20056)
|
||||
bind(#20056,#20042)
|
||||
#20057=*
|
||||
regexpterm(#20057,14,#20056,0,"fs")
|
||||
#20058=@"loc,{#10000},6,21,6,22"
|
||||
locations_default(#20058,#10000,6,21,6,22)
|
||||
hasLocation(#20057,#20058)
|
||||
regexp_const_value(#20057,"fs")
|
||||
#20059=*
|
||||
entry_cfg_node(#20059,#20001)
|
||||
#20060=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20060,#10000,1,1,1,0)
|
||||
hasLocation(#20059,#20060)
|
||||
#20061=*
|
||||
exit_cfg_node(#20061,#20001)
|
||||
hasLocation(#20061,#20035)
|
||||
successor(#20049,#20052)
|
||||
successor(#20056,#20053)
|
||||
successor(#20055,#20056)
|
||||
successor(#20053,#20050)
|
||||
successor(#20052,#20055)
|
||||
successor(#20050,#20061)
|
||||
successor(#20059,#20049)
|
||||
exprs(#20057,4,#20054,0,"'fs'")
|
||||
hasLocation(#20057,#20029)
|
||||
enclosing_stmt(#20057,#20050)
|
||||
expr_containers(#20057,#20001)
|
||||
literals("fs","'fs'",#20057)
|
||||
#20058=*
|
||||
regexpterm(#20058,14,#20057,0,"fs")
|
||||
#20059=@"loc,{#10000},6,21,6,22"
|
||||
locations_default(#20059,#10000,6,21,6,22)
|
||||
hasLocation(#20058,#20059)
|
||||
regexp_const_value(#20058,"fs")
|
||||
#20060=*
|
||||
entry_cfg_node(#20060,#20001)
|
||||
#20061=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20061,#10000,1,1,1,0)
|
||||
hasLocation(#20060,#20061)
|
||||
#20062=*
|
||||
exit_cfg_node(#20062,#20001)
|
||||
hasLocation(#20062,#20035)
|
||||
successor(#20050,#20053)
|
||||
successor(#20057,#20054)
|
||||
successor(#20056,#20057)
|
||||
successor(#20054,#20051)
|
||||
successor(#20053,#20056)
|
||||
successor(#20051,#20062)
|
||||
successor(#20060,#20050)
|
||||
is_nodejs(#20001)
|
||||
numlines(#10000,6,1,5)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
@@ -85,70 +85,72 @@ variables(#20029,"__dirname",#20024)
|
||||
#20030=@"var;{arguments};{#20024}"
|
||||
variables(#20030,"arguments",#20024)
|
||||
is_module(#20001)
|
||||
#20031=*
|
||||
stmts(#20031,2,#20001,0,"console ... rld!"");")
|
||||
hasLocation(#20031,#20003)
|
||||
stmt_containers(#20031,#20001)
|
||||
#20031=@"var;{this};{#20024}"
|
||||
variables(#20031,"this",#20024)
|
||||
#20032=*
|
||||
exprs(#20032,13,#20031,0,"console ... orld!"")")
|
||||
#20033=@"loc,{#10000},2,1,2,28"
|
||||
locations_default(#20033,#10000,2,1,2,28)
|
||||
hasLocation(#20032,#20033)
|
||||
enclosing_stmt(#20032,#20031)
|
||||
expr_containers(#20032,#20001)
|
||||
#20034=*
|
||||
exprs(#20034,14,#20032,-1,"console.log")
|
||||
#20035=@"loc,{#10000},2,1,2,11"
|
||||
locations_default(#20035,#10000,2,1,2,11)
|
||||
hasLocation(#20034,#20035)
|
||||
enclosing_stmt(#20034,#20031)
|
||||
expr_containers(#20034,#20001)
|
||||
#20036=*
|
||||
exprs(#20036,79,#20034,0,"console")
|
||||
hasLocation(#20036,#20005)
|
||||
enclosing_stmt(#20036,#20031)
|
||||
expr_containers(#20036,#20001)
|
||||
literals("console","console",#20036)
|
||||
bind(#20036,#20022)
|
||||
stmts(#20032,2,#20001,0,"console ... rld!"");")
|
||||
hasLocation(#20032,#20003)
|
||||
stmt_containers(#20032,#20001)
|
||||
#20033=*
|
||||
exprs(#20033,13,#20032,0,"console ... orld!"")")
|
||||
#20034=@"loc,{#10000},2,1,2,28"
|
||||
locations_default(#20034,#10000,2,1,2,28)
|
||||
hasLocation(#20033,#20034)
|
||||
enclosing_stmt(#20033,#20032)
|
||||
expr_containers(#20033,#20001)
|
||||
#20035=*
|
||||
exprs(#20035,14,#20033,-1,"console.log")
|
||||
#20036=@"loc,{#10000},2,1,2,11"
|
||||
locations_default(#20036,#10000,2,1,2,11)
|
||||
hasLocation(#20035,#20036)
|
||||
enclosing_stmt(#20035,#20032)
|
||||
expr_containers(#20035,#20001)
|
||||
#20037=*
|
||||
exprs(#20037,0,#20034,1,"log")
|
||||
hasLocation(#20037,#20009)
|
||||
enclosing_stmt(#20037,#20031)
|
||||
exprs(#20037,79,#20035,0,"console")
|
||||
hasLocation(#20037,#20005)
|
||||
enclosing_stmt(#20037,#20032)
|
||||
expr_containers(#20037,#20001)
|
||||
literals("log","log",#20037)
|
||||
literals("console","console",#20037)
|
||||
bind(#20037,#20022)
|
||||
#20038=*
|
||||
exprs(#20038,4,#20032,0,"""Hello, world!""")
|
||||
hasLocation(#20038,#20013)
|
||||
enclosing_stmt(#20038,#20031)
|
||||
exprs(#20038,0,#20035,1,"log")
|
||||
hasLocation(#20038,#20009)
|
||||
enclosing_stmt(#20038,#20032)
|
||||
expr_containers(#20038,#20001)
|
||||
literals("Hello, world!","""Hello, world!""",#20038)
|
||||
literals("log","log",#20038)
|
||||
#20039=*
|
||||
regexpterm(#20039,14,#20038,0,"Hello, world!")
|
||||
#20040=@"loc,{#10000},2,14,2,26"
|
||||
locations_default(#20040,#10000,2,14,2,26)
|
||||
hasLocation(#20039,#20040)
|
||||
regexp_const_value(#20039,"Hello, world!")
|
||||
#20041=*
|
||||
entry_cfg_node(#20041,#20001)
|
||||
#20042=@"loc,{#10000},2,1,2,0"
|
||||
locations_default(#20042,#10000,2,1,2,0)
|
||||
hasLocation(#20041,#20042)
|
||||
#20043=*
|
||||
exit_cfg_node(#20043,#20001)
|
||||
hasLocation(#20043,#20019)
|
||||
successor(#20031,#20036)
|
||||
successor(#20038,#20032)
|
||||
successor(#20037,#20034)
|
||||
successor(#20036,#20037)
|
||||
successor(#20034,#20038)
|
||||
successor(#20032,#20043)
|
||||
successor(#20041,#20031)
|
||||
is_nodejs(#20001)
|
||||
exprs(#20039,4,#20033,0,"""Hello, world!""")
|
||||
hasLocation(#20039,#20013)
|
||||
enclosing_stmt(#20039,#20032)
|
||||
expr_containers(#20039,#20001)
|
||||
literals("Hello, world!","""Hello, world!""",#20039)
|
||||
#20040=*
|
||||
regexpterm(#20040,14,#20039,0,"Hello, world!")
|
||||
#20041=@"loc,{#10000},2,14,2,26"
|
||||
locations_default(#20041,#10000,2,14,2,26)
|
||||
hasLocation(#20040,#20041)
|
||||
regexp_const_value(#20040,"Hello, world!")
|
||||
#20042=*
|
||||
entry_cfg_node(#20042,#20001)
|
||||
#20043=@"loc,{#10000},2,1,2,0"
|
||||
locations_default(#20043,#10000,2,1,2,0)
|
||||
hasLocation(#20042,#20043)
|
||||
#20044=*
|
||||
lines(#20044,#20001,"#!/usr/bin/env node","
|
||||
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)
|
||||
#20045=*
|
||||
lines(#20045,#20001,"#!/usr/bin/env node","
|
||||
")
|
||||
#20045=@"loc,{#10000},1,1,1,19"
|
||||
locations_default(#20045,#10000,1,1,1,19)
|
||||
hasLocation(#20044,#20045)
|
||||
#20046=@"loc,{#10000},1,1,1,19"
|
||||
locations_default(#20046,#10000,1,1,1,19)
|
||||
hasLocation(#20045,#20046)
|
||||
numlines(#10000,2,1,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
@@ -50,72 +50,74 @@ toplevels(#20002,2)
|
||||
hasLocation(#20002,#20004)
|
||||
#20017=@"var;{x};{#20000}"
|
||||
variables(#20017,"x",#20000)
|
||||
#20018=*
|
||||
stmts(#20018,18,#20002,0,"var x = 42;")
|
||||
hasLocation(#20018,#20004)
|
||||
stmt_containers(#20018,#20002)
|
||||
#20018=@"var;{this};{#20000}"
|
||||
variables(#20018,"this",#20000)
|
||||
#20019=*
|
||||
exprs(#20019,64,#20018,0,"x = 42")
|
||||
#20020=@"loc,{#10000},6,17,6,22"
|
||||
locations_default(#20020,#10000,6,17,6,22)
|
||||
hasLocation(#20019,#20020)
|
||||
enclosing_stmt(#20019,#20018)
|
||||
expr_containers(#20019,#20002)
|
||||
#20021=*
|
||||
exprs(#20021,78,#20019,0,"x")
|
||||
hasLocation(#20021,#20008)
|
||||
enclosing_stmt(#20021,#20018)
|
||||
expr_containers(#20021,#20002)
|
||||
literals("x","x",#20021)
|
||||
decl(#20021,#20017)
|
||||
stmts(#20019,18,#20002,0,"var x = 42;")
|
||||
hasLocation(#20019,#20004)
|
||||
stmt_containers(#20019,#20002)
|
||||
#20020=*
|
||||
exprs(#20020,64,#20019,0,"x = 42")
|
||||
#20021=@"loc,{#10000},6,17,6,22"
|
||||
locations_default(#20021,#10000,6,17,6,22)
|
||||
hasLocation(#20020,#20021)
|
||||
enclosing_stmt(#20020,#20019)
|
||||
expr_containers(#20020,#20002)
|
||||
#20022=*
|
||||
exprs(#20022,3,#20019,1,"42")
|
||||
hasLocation(#20022,#20012)
|
||||
enclosing_stmt(#20022,#20018)
|
||||
exprs(#20022,78,#20020,0,"x")
|
||||
hasLocation(#20022,#20008)
|
||||
enclosing_stmt(#20022,#20019)
|
||||
expr_containers(#20022,#20002)
|
||||
literals("42","42",#20022)
|
||||
literals("x","x",#20022)
|
||||
decl(#20022,#20017)
|
||||
#20023=*
|
||||
entry_cfg_node(#20023,#20002)
|
||||
#20024=@"loc,{#10000},6,13,6,12"
|
||||
locations_default(#20024,#10000,6,13,6,12)
|
||||
hasLocation(#20023,#20024)
|
||||
#20025=*
|
||||
exit_cfg_node(#20025,#20002)
|
||||
hasLocation(#20025,#20016)
|
||||
successor(#20018,#20021)
|
||||
successor(#20022,#20019)
|
||||
successor(#20021,#20022)
|
||||
successor(#20019,#20025)
|
||||
successor(#20023,#20018)
|
||||
toplevel_parent_xml_node(#20002,#20001)
|
||||
exprs(#20023,3,#20020,1,"42")
|
||||
hasLocation(#20023,#20012)
|
||||
enclosing_stmt(#20023,#20019)
|
||||
expr_containers(#20023,#20002)
|
||||
literals("42","42",#20023)
|
||||
#20024=*
|
||||
entry_cfg_node(#20024,#20002)
|
||||
#20025=@"loc,{#10000},6,13,6,12"
|
||||
locations_default(#20025,#10000,6,13,6,12)
|
||||
hasLocation(#20024,#20025)
|
||||
#20026=*
|
||||
xmlElements(#20026,"html",#10000,0,#10000)
|
||||
#20027=@"loc,{#10000},1,1,8,7"
|
||||
locations_default(#20027,#10000,1,1,8,7)
|
||||
xmllocations(#20026,#20027)
|
||||
#20028=*
|
||||
xmlElements(#20028,"body",#20026,1,#10000)
|
||||
#20029=@"loc,{#10000},5,1,7,7"
|
||||
locations_default(#20029,#10000,5,1,7,7)
|
||||
xmllocations(#20028,#20029)
|
||||
#20030=*
|
||||
xmlElements(#20030,"a",#20028,0,#10000)
|
||||
#20031=@"loc,{#10000},6,1,6,29"
|
||||
locations_default(#20031,#10000,6,1,6,29)
|
||||
xmllocations(#20030,#20031)
|
||||
xmlAttrs(#20001,#20030,"onclick","var x = 42;",0,#10000)
|
||||
#20032=@"loc,{#10000},6,4,6,24"
|
||||
locations_default(#20032,#10000,6,4,6,24)
|
||||
xmllocations(#20001,#20032)
|
||||
#20033=*
|
||||
xmlElements(#20033,"head",#20026,0,#10000)
|
||||
#20034=@"loc,{#10000},2,1,4,7"
|
||||
locations_default(#20034,#10000,2,1,4,7)
|
||||
xmllocations(#20033,#20034)
|
||||
#20035=*
|
||||
xmlElements(#20035,"title",#20033,0,#10000)
|
||||
#20036=@"loc,{#10000},3,1,3,15"
|
||||
locations_default(#20036,#10000,3,1,3,15)
|
||||
xmllocations(#20035,#20036)
|
||||
exit_cfg_node(#20026,#20002)
|
||||
hasLocation(#20026,#20016)
|
||||
successor(#20019,#20022)
|
||||
successor(#20023,#20020)
|
||||
successor(#20022,#20023)
|
||||
successor(#20020,#20026)
|
||||
successor(#20024,#20019)
|
||||
toplevel_parent_xml_node(#20002,#20001)
|
||||
#20027=*
|
||||
xmlElements(#20027,"html",#10000,0,#10000)
|
||||
#20028=@"loc,{#10000},1,1,8,7"
|
||||
locations_default(#20028,#10000,1,1,8,7)
|
||||
xmllocations(#20027,#20028)
|
||||
#20029=*
|
||||
xmlElements(#20029,"body",#20027,1,#10000)
|
||||
#20030=@"loc,{#10000},5,1,7,7"
|
||||
locations_default(#20030,#10000,5,1,7,7)
|
||||
xmllocations(#20029,#20030)
|
||||
#20031=*
|
||||
xmlElements(#20031,"a",#20029,0,#10000)
|
||||
#20032=@"loc,{#10000},6,1,6,29"
|
||||
locations_default(#20032,#10000,6,1,6,29)
|
||||
xmllocations(#20031,#20032)
|
||||
xmlAttrs(#20001,#20031,"onclick","var x = 42;",0,#10000)
|
||||
#20033=@"loc,{#10000},6,4,6,24"
|
||||
locations_default(#20033,#10000,6,4,6,24)
|
||||
xmllocations(#20001,#20033)
|
||||
#20034=*
|
||||
xmlElements(#20034,"head",#20027,0,#10000)
|
||||
#20035=@"loc,{#10000},2,1,4,7"
|
||||
locations_default(#20035,#10000,2,1,4,7)
|
||||
xmllocations(#20034,#20035)
|
||||
#20036=*
|
||||
xmlElements(#20036,"title",#20034,0,#10000)
|
||||
#20037=@"loc,{#10000},3,1,3,15"
|
||||
locations_default(#20037,#10000,3,1,3,15)
|
||||
xmllocations(#20036,#20037)
|
||||
numlines(#10000,8,1,0)
|
||||
filetype(#10000,"html")
|
||||
|
||||
@@ -194,167 +194,169 @@ variables(#20073,"arguments",#20067)
|
||||
is_module(#20001)
|
||||
#20074=@"var;{fs};{#20067}"
|
||||
variables(#20074,"fs",#20067)
|
||||
#20075=*
|
||||
stmts(#20075,18,#20001,0,"var fs ... ('fs');")
|
||||
hasLocation(#20075,#20003)
|
||||
stmt_containers(#20075,#20001)
|
||||
#20075=@"var;{this};{#20067}"
|
||||
variables(#20075,"this",#20067)
|
||||
#20076=*
|
||||
exprs(#20076,64,#20075,0,"fs = require('fs')")
|
||||
#20077=@"loc,{#10000},1,5,1,22"
|
||||
locations_default(#20077,#10000,1,5,1,22)
|
||||
hasLocation(#20076,#20077)
|
||||
enclosing_stmt(#20076,#20075)
|
||||
expr_containers(#20076,#20001)
|
||||
#20078=*
|
||||
exprs(#20078,78,#20076,0,"fs")
|
||||
hasLocation(#20078,#20013)
|
||||
enclosing_stmt(#20078,#20075)
|
||||
expr_containers(#20078,#20001)
|
||||
literals("fs","fs",#20078)
|
||||
decl(#20078,#20074)
|
||||
stmts(#20076,18,#20001,0,"var fs ... ('fs');")
|
||||
hasLocation(#20076,#20003)
|
||||
stmt_containers(#20076,#20001)
|
||||
#20077=*
|
||||
exprs(#20077,64,#20076,0,"fs = require('fs')")
|
||||
#20078=@"loc,{#10000},1,5,1,22"
|
||||
locations_default(#20078,#10000,1,5,1,22)
|
||||
hasLocation(#20077,#20078)
|
||||
enclosing_stmt(#20077,#20076)
|
||||
expr_containers(#20077,#20001)
|
||||
#20079=*
|
||||
exprs(#20079,13,#20076,1,"require('fs')")
|
||||
#20080=@"loc,{#10000},1,10,1,22"
|
||||
locations_default(#20080,#10000,1,10,1,22)
|
||||
hasLocation(#20079,#20080)
|
||||
enclosing_stmt(#20079,#20075)
|
||||
exprs(#20079,78,#20077,0,"fs")
|
||||
hasLocation(#20079,#20013)
|
||||
enclosing_stmt(#20079,#20076)
|
||||
expr_containers(#20079,#20001)
|
||||
#20081=*
|
||||
exprs(#20081,79,#20079,-1,"require")
|
||||
hasLocation(#20081,#20017)
|
||||
enclosing_stmt(#20081,#20075)
|
||||
expr_containers(#20081,#20001)
|
||||
literals("require","require",#20081)
|
||||
bind(#20081,#20068)
|
||||
literals("fs","fs",#20079)
|
||||
decl(#20079,#20074)
|
||||
#20080=*
|
||||
exprs(#20080,13,#20077,1,"require('fs')")
|
||||
#20081=@"loc,{#10000},1,10,1,22"
|
||||
locations_default(#20081,#10000,1,10,1,22)
|
||||
hasLocation(#20080,#20081)
|
||||
enclosing_stmt(#20080,#20076)
|
||||
expr_containers(#20080,#20001)
|
||||
#20082=*
|
||||
exprs(#20082,4,#20079,0,"'fs'")
|
||||
hasLocation(#20082,#20021)
|
||||
enclosing_stmt(#20082,#20075)
|
||||
exprs(#20082,79,#20080,-1,"require")
|
||||
hasLocation(#20082,#20017)
|
||||
enclosing_stmt(#20082,#20076)
|
||||
expr_containers(#20082,#20001)
|
||||
literals("fs","'fs'",#20082)
|
||||
literals("require","require",#20082)
|
||||
bind(#20082,#20068)
|
||||
#20083=*
|
||||
regexpterm(#20083,14,#20082,0,"fs")
|
||||
#20084=@"loc,{#10000},1,19,1,20"
|
||||
locations_default(#20084,#10000,1,19,1,20)
|
||||
hasLocation(#20083,#20084)
|
||||
regexp_const_value(#20083,"fs")
|
||||
#20085=*
|
||||
stmts(#20085,2,#20001,1,"y = 42;")
|
||||
hasLocation(#20085,#20005)
|
||||
stmt_containers(#20085,#20001)
|
||||
exprs(#20083,4,#20080,0,"'fs'")
|
||||
hasLocation(#20083,#20021)
|
||||
enclosing_stmt(#20083,#20076)
|
||||
expr_containers(#20083,#20001)
|
||||
literals("fs","'fs'",#20083)
|
||||
#20084=*
|
||||
regexpterm(#20084,14,#20083,0,"fs")
|
||||
#20085=@"loc,{#10000},1,19,1,20"
|
||||
locations_default(#20085,#10000,1,19,1,20)
|
||||
hasLocation(#20084,#20085)
|
||||
regexp_const_value(#20084,"fs")
|
||||
#20086=*
|
||||
exprs(#20086,47,#20085,0,"y = 42")
|
||||
#20087=@"loc,{#10000},2,1,2,6"
|
||||
locations_default(#20087,#10000,2,1,2,6)
|
||||
hasLocation(#20086,#20087)
|
||||
enclosing_stmt(#20086,#20085)
|
||||
expr_containers(#20086,#20001)
|
||||
#20088=*
|
||||
exprs(#20088,79,#20086,0,"y")
|
||||
hasLocation(#20088,#20027)
|
||||
enclosing_stmt(#20088,#20085)
|
||||
expr_containers(#20088,#20001)
|
||||
literals("y","y",#20088)
|
||||
#20089=@"var;{y};{#20000}"
|
||||
variables(#20089,"y",#20000)
|
||||
bind(#20088,#20089)
|
||||
#20090=*
|
||||
exprs(#20090,3,#20086,1,"42")
|
||||
hasLocation(#20090,#20031)
|
||||
enclosing_stmt(#20090,#20085)
|
||||
expr_containers(#20090,#20001)
|
||||
literals("42","42",#20090)
|
||||
stmts(#20086,2,#20001,1,"y = 42;")
|
||||
hasLocation(#20086,#20005)
|
||||
stmt_containers(#20086,#20001)
|
||||
#20087=*
|
||||
exprs(#20087,47,#20086,0,"y = 42")
|
||||
#20088=@"loc,{#10000},2,1,2,6"
|
||||
locations_default(#20088,#10000,2,1,2,6)
|
||||
hasLocation(#20087,#20088)
|
||||
enclosing_stmt(#20087,#20086)
|
||||
expr_containers(#20087,#20001)
|
||||
#20089=*
|
||||
exprs(#20089,79,#20087,0,"y")
|
||||
hasLocation(#20089,#20027)
|
||||
enclosing_stmt(#20089,#20086)
|
||||
expr_containers(#20089,#20001)
|
||||
literals("y","y",#20089)
|
||||
#20090=@"var;{y};{#20000}"
|
||||
variables(#20090,"y",#20000)
|
||||
bind(#20089,#20090)
|
||||
#20091=*
|
||||
stmts(#20091,2,#20001,2,"console ... ename);")
|
||||
hasLocation(#20091,#20007)
|
||||
stmt_containers(#20091,#20001)
|
||||
exprs(#20091,3,#20087,1,"42")
|
||||
hasLocation(#20091,#20031)
|
||||
enclosing_stmt(#20091,#20086)
|
||||
expr_containers(#20091,#20001)
|
||||
literals("42","42",#20091)
|
||||
#20092=*
|
||||
exprs(#20092,13,#20091,0,"console ... lename)")
|
||||
#20093=@"loc,{#10000},3,1,3,23"
|
||||
locations_default(#20093,#10000,3,1,3,23)
|
||||
hasLocation(#20092,#20093)
|
||||
enclosing_stmt(#20092,#20091)
|
||||
expr_containers(#20092,#20001)
|
||||
#20094=*
|
||||
exprs(#20094,14,#20092,-1,"console.log")
|
||||
#20095=@"loc,{#10000},3,1,3,11"
|
||||
locations_default(#20095,#10000,3,1,3,11)
|
||||
hasLocation(#20094,#20095)
|
||||
enclosing_stmt(#20094,#20091)
|
||||
expr_containers(#20094,#20001)
|
||||
#20096=*
|
||||
exprs(#20096,79,#20094,0,"console")
|
||||
hasLocation(#20096,#20035)
|
||||
enclosing_stmt(#20096,#20091)
|
||||
expr_containers(#20096,#20001)
|
||||
literals("console","console",#20096)
|
||||
bind(#20096,#20065)
|
||||
stmts(#20092,2,#20001,2,"console ... ename);")
|
||||
hasLocation(#20092,#20007)
|
||||
stmt_containers(#20092,#20001)
|
||||
#20093=*
|
||||
exprs(#20093,13,#20092,0,"console ... lename)")
|
||||
#20094=@"loc,{#10000},3,1,3,23"
|
||||
locations_default(#20094,#10000,3,1,3,23)
|
||||
hasLocation(#20093,#20094)
|
||||
enclosing_stmt(#20093,#20092)
|
||||
expr_containers(#20093,#20001)
|
||||
#20095=*
|
||||
exprs(#20095,14,#20093,-1,"console.log")
|
||||
#20096=@"loc,{#10000},3,1,3,11"
|
||||
locations_default(#20096,#10000,3,1,3,11)
|
||||
hasLocation(#20095,#20096)
|
||||
enclosing_stmt(#20095,#20092)
|
||||
expr_containers(#20095,#20001)
|
||||
#20097=*
|
||||
exprs(#20097,0,#20094,1,"log")
|
||||
hasLocation(#20097,#20039)
|
||||
enclosing_stmt(#20097,#20091)
|
||||
exprs(#20097,79,#20095,0,"console")
|
||||
hasLocation(#20097,#20035)
|
||||
enclosing_stmt(#20097,#20092)
|
||||
expr_containers(#20097,#20001)
|
||||
literals("log","log",#20097)
|
||||
literals("console","console",#20097)
|
||||
bind(#20097,#20065)
|
||||
#20098=*
|
||||
exprs(#20098,79,#20092,0,"__filename")
|
||||
hasLocation(#20098,#20043)
|
||||
enclosing_stmt(#20098,#20091)
|
||||
exprs(#20098,0,#20095,1,"log")
|
||||
hasLocation(#20098,#20039)
|
||||
enclosing_stmt(#20098,#20092)
|
||||
expr_containers(#20098,#20001)
|
||||
literals("__filename","__filename",#20098)
|
||||
bind(#20098,#20071)
|
||||
literals("log","log",#20098)
|
||||
#20099=*
|
||||
stmts(#20099,9,#20001,3,"return arguments[0];")
|
||||
hasLocation(#20099,#20009)
|
||||
stmt_containers(#20099,#20001)
|
||||
exprs(#20099,79,#20093,0,"__filename")
|
||||
hasLocation(#20099,#20043)
|
||||
enclosing_stmt(#20099,#20092)
|
||||
expr_containers(#20099,#20001)
|
||||
literals("__filename","__filename",#20099)
|
||||
bind(#20099,#20071)
|
||||
#20100=*
|
||||
exprs(#20100,15,#20099,0,"arguments[0]")
|
||||
#20101=@"loc,{#10000},4,8,4,19"
|
||||
locations_default(#20101,#10000,4,8,4,19)
|
||||
hasLocation(#20100,#20101)
|
||||
enclosing_stmt(#20100,#20099)
|
||||
expr_containers(#20100,#20001)
|
||||
#20102=*
|
||||
exprs(#20102,79,#20100,0,"arguments")
|
||||
hasLocation(#20102,#20051)
|
||||
enclosing_stmt(#20102,#20099)
|
||||
expr_containers(#20102,#20001)
|
||||
literals("arguments","arguments",#20102)
|
||||
bind(#20102,#20073)
|
||||
stmts(#20100,9,#20001,3,"return arguments[0];")
|
||||
hasLocation(#20100,#20009)
|
||||
stmt_containers(#20100,#20001)
|
||||
#20101=*
|
||||
exprs(#20101,15,#20100,0,"arguments[0]")
|
||||
#20102=@"loc,{#10000},4,8,4,19"
|
||||
locations_default(#20102,#10000,4,8,4,19)
|
||||
hasLocation(#20101,#20102)
|
||||
enclosing_stmt(#20101,#20100)
|
||||
expr_containers(#20101,#20001)
|
||||
#20103=*
|
||||
exprs(#20103,3,#20100,1,"0")
|
||||
hasLocation(#20103,#20055)
|
||||
enclosing_stmt(#20103,#20099)
|
||||
exprs(#20103,79,#20101,0,"arguments")
|
||||
hasLocation(#20103,#20051)
|
||||
enclosing_stmt(#20103,#20100)
|
||||
expr_containers(#20103,#20001)
|
||||
literals("0","0",#20103)
|
||||
literals("arguments","arguments",#20103)
|
||||
bind(#20103,#20073)
|
||||
#20104=*
|
||||
entry_cfg_node(#20104,#20001)
|
||||
#20105=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20105,#10000,1,1,1,0)
|
||||
hasLocation(#20104,#20105)
|
||||
#20106=*
|
||||
exit_cfg_node(#20106,#20001)
|
||||
hasLocation(#20106,#20061)
|
||||
successor(#20103,#20100)
|
||||
successor(#20102,#20103)
|
||||
successor(#20100,#20099)
|
||||
successor(#20099,#20106)
|
||||
successor(#20091,#20096)
|
||||
successor(#20098,#20092)
|
||||
successor(#20097,#20094)
|
||||
successor(#20096,#20097)
|
||||
successor(#20094,#20098)
|
||||
successor(#20092,#20102)
|
||||
successor(#20085,#20088)
|
||||
successor(#20090,#20086)
|
||||
successor(#20088,#20090)
|
||||
successor(#20086,#20091)
|
||||
successor(#20075,#20078)
|
||||
successor(#20082,#20079)
|
||||
successor(#20081,#20082)
|
||||
successor(#20079,#20076)
|
||||
successor(#20078,#20081)
|
||||
successor(#20076,#20085)
|
||||
successor(#20104,#20075)
|
||||
exprs(#20104,3,#20101,1,"0")
|
||||
hasLocation(#20104,#20055)
|
||||
enclosing_stmt(#20104,#20100)
|
||||
expr_containers(#20104,#20001)
|
||||
literals("0","0",#20104)
|
||||
#20105=*
|
||||
entry_cfg_node(#20105,#20001)
|
||||
#20106=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20106,#10000,1,1,1,0)
|
||||
hasLocation(#20105,#20106)
|
||||
#20107=*
|
||||
exit_cfg_node(#20107,#20001)
|
||||
hasLocation(#20107,#20061)
|
||||
successor(#20104,#20101)
|
||||
successor(#20103,#20104)
|
||||
successor(#20101,#20100)
|
||||
successor(#20100,#20107)
|
||||
successor(#20092,#20097)
|
||||
successor(#20099,#20093)
|
||||
successor(#20098,#20095)
|
||||
successor(#20097,#20098)
|
||||
successor(#20095,#20099)
|
||||
successor(#20093,#20103)
|
||||
successor(#20086,#20089)
|
||||
successor(#20091,#20087)
|
||||
successor(#20089,#20091)
|
||||
successor(#20087,#20092)
|
||||
successor(#20076,#20079)
|
||||
successor(#20083,#20080)
|
||||
successor(#20082,#20083)
|
||||
successor(#20080,#20077)
|
||||
successor(#20079,#20082)
|
||||
successor(#20077,#20086)
|
||||
successor(#20105,#20076)
|
||||
is_nodejs(#20001)
|
||||
numlines(#10000,4,4,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
@@ -53,33 +53,35 @@ is_module(#20001)
|
||||
is_es2015_module(#20001)
|
||||
#20017=@"var;{x};{#20016}"
|
||||
variables(#20017,"x",#20016)
|
||||
#20018=*
|
||||
stmts(#20018,18,#20001,0,"var x;")
|
||||
hasLocation(#20018,#20003)
|
||||
stmt_containers(#20018,#20001)
|
||||
#20018=@"var;{this};{#20016}"
|
||||
variables(#20018,"this",#20016)
|
||||
#20019=*
|
||||
exprs(#20019,64,#20018,0,"x")
|
||||
hasLocation(#20019,#20007)
|
||||
enclosing_stmt(#20019,#20018)
|
||||
expr_containers(#20019,#20001)
|
||||
stmts(#20019,18,#20001,0,"var x;")
|
||||
hasLocation(#20019,#20003)
|
||||
stmt_containers(#20019,#20001)
|
||||
#20020=*
|
||||
exprs(#20020,78,#20019,0,"x")
|
||||
exprs(#20020,64,#20019,0,"x")
|
||||
hasLocation(#20020,#20007)
|
||||
enclosing_stmt(#20020,#20018)
|
||||
enclosing_stmt(#20020,#20019)
|
||||
expr_containers(#20020,#20001)
|
||||
literals("x","x",#20020)
|
||||
decl(#20020,#20017)
|
||||
#20021=*
|
||||
entry_cfg_node(#20021,#20001)
|
||||
#20022=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20022,#10000,1,1,1,0)
|
||||
hasLocation(#20021,#20022)
|
||||
#20023=*
|
||||
exit_cfg_node(#20023,#20001)
|
||||
hasLocation(#20023,#20011)
|
||||
successor(#20018,#20020)
|
||||
successor(#20020,#20019)
|
||||
successor(#20019,#20023)
|
||||
successor(#20021,#20018)
|
||||
exprs(#20021,78,#20020,0,"x")
|
||||
hasLocation(#20021,#20007)
|
||||
enclosing_stmt(#20021,#20019)
|
||||
expr_containers(#20021,#20001)
|
||||
literals("x","x",#20021)
|
||||
decl(#20021,#20017)
|
||||
#20022=*
|
||||
entry_cfg_node(#20022,#20001)
|
||||
#20023=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20023,#10000,1,1,1,0)
|
||||
hasLocation(#20022,#20023)
|
||||
#20024=*
|
||||
exit_cfg_node(#20024,#20001)
|
||||
hasLocation(#20024,#20011)
|
||||
successor(#20019,#20021)
|
||||
successor(#20021,#20020)
|
||||
successor(#20020,#20024)
|
||||
successor(#20022,#20019)
|
||||
numlines(#10000,1,1,0)
|
||||
filetype(#10000,"javascript")
|
||||
|
||||
Reference in New Issue
Block a user