File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,9 @@ def main(command_line_args=sys.argv[1:]): # noqa: C901
125125 )
126126
127127 initialize_constraint_table (cfg_list )
128+ log .info ("Analysing" )
128129 analyse (cfg_list )
130+ log .info ("Finding vulnerabilities" )
129131 vulnerabilities = find_vulnerabilities (
130132 cfg_list ,
131133 args .blackbox_mapping_file ,
Original file line number Diff line number Diff line change 11"""A generic framework adaptor that leaves route criteria to the caller."""
22
33import ast
4+ import logging
45
56from ..cfg import make_cfg
67from ..core .ast_helper import Arguments
1011 TaintedNode
1112)
1213
14+ log = logging .getLogger (__name__ )
15+
1316
1417class FrameworkAdaptor ():
1518 """An engine that uses the template pattern to find all
@@ -31,6 +34,7 @@ def __init__(
3134
3235 def get_func_cfg_with_tainted_args (self , definition ):
3336 """Build a function cfg and return it, with all arguments tainted."""
37+ log .debug ("Getting CFG for %s" , definition .name )
3438 func_cfg = make_cfg (
3539 definition .node ,
3640 self .project_modules ,
You can’t perform that action at this time.
0 commit comments