Package de. fraunhofer. aisec. cpg. analysis. fsm
Types
Link copied to clipboard
class BaseOpEdge( val op: String, val base: String?, val nextState: State)
Content copied to clipboard
Represents an edge of the automaton. The edge label consists of an operation (typically a method name) and a base which allows us to differentiate between multiple objects.
Link copied to clipboard
open class DFAOrderEvaluator( var consideredBases: Set<Long>, var nodeToRelevantMethod: Map<Node, String>, var thisPositionOfNode: Map<Node, Int> = mapOf(), var eliminateUnreachableCode: Boolean = true)
Content copied to clipboard
This class uses a DFA to evaluate if the order of statements in the CPG is correct. It needs the following inputs:
Link copied to clipboard