MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / _visit_node

Method _visit_node

aura/analyzers/python/taint/visitor.py:16–27  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

14 self.first_pass = False
15
16 def _visit_node(self, context: Context):
17 if not isinstance(context.node, ASTNode):
18 return
19 elif type(context.node) == Import:
20 return
21
22 if self.first_pass:
23 self.__mark_flask_route(context)
24 self.__mark_django_view(context)
25
26 self.__mark_sources(context)
27 self.__propagate_taint(context=context)
28
29 def __mark_flask_route(self, context):
30 """

Callers

nothing calls this directly

Calls 4

__mark_flask_routeMethod · 0.95
__mark_django_viewMethod · 0.95
__mark_sourcesMethod · 0.95
__propagate_taintMethod · 0.95

Tested by

no test coverage detected