Package-level declarations
Types
Holds the value to which the statements have been evaluated. The children define previous steps of the evaluation, thus building a tree of all steps of the evaluation recursively until we reach the nodes of the CPG. This is necessary if we want to store all steps which are performed when evaluating a query. It helps to make the reasoning of the query more understandable to the user and gives an analyst the maximum of information available.
Properties
Calls ValueEvaluator.evaluate for this expression, thus trying to resolve a constant value. The result is interpreted as an integer.
Calls ValueEvaluator.evaluate for this expression, thus trying to resolve a constant value.
Functions
Evaluates if the conditions specified in mustSatisfy hold for all nodes in the graph. The optional argument sel can be used to filter nodes for which the condition has to be fulfilled.
Evaluates if the conditions specified in mustSatisfy hold for at least one node in the graph. The optional argument sel can be used to filter nodes which are considered during the evaluation.
Calls ValueEvaluator.evaluate for this expression, thus trying to resolve a constant value.
Determines the maximal value. Only works for a couple of types! TODO: This method needs improvement! It only works for Java types!
Determines the minimal value. Only works for a couple of types! TODO: This method needs improvement! It only works for Java types!