(self, context: Context)
| 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 | """ |
nothing calls this directly
no test coverage detected