mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
JS: Update TRAP files
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user