Skip to content

Commit

Permalink
add necessary pass dependencies for flask pass
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingDepot committed Aug 31, 2023
1 parent e570174 commit 8f41e67
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ import de.fraunhofer.aisec.cpg.graph.declarations.TranslationUnitDeclaration
import de.fraunhofer.aisec.cpg.graph.declarations.VariableDeclaration
import de.fraunhofer.aisec.cpg.graph.statements.ReturnStatement
import de.fraunhofer.aisec.cpg.graph.statements.expressions.*
import de.fraunhofer.aisec.cpg.passes.CallResolver
import de.fraunhofer.aisec.cpg.passes.TranslationResultPass
import de.fraunhofer.aisec.cpg.passes.VariableUsageResolver
import de.fraunhofer.aisec.cpg.passes.order.DependsOn
import de.fraunhofer.aisec.cpg.processing.IVisitor
import de.fraunhofer.aisec.cpg.processing.strategy.Strategy
import io.clouditor.graph.*

@Suppress("UNUSED_PARAMETER")
@DependsOn(CallResolver::class)
@DependsOn(VariableUsageResolver::class)
class FlaskPass(ctx: TranslationContext) : TranslationResultPass(ctx) {
// for now, assume, that we have one Flask application per analysis
// this might not be the case everytime
Expand Down

0 comments on commit 8f41e67

Please sign in to comment.