Search in sources :

Example 1 with CCFGCodeNode

use of org.evosuite.graphs.ccfg.CCFGCodeNode in project evosuite by EvoSuite.

the class AllUsesAnalysis method handleFieldCallNode.

private void handleFieldCallNode(CCFGMethodEntryNode investigatedMethod, CCFGNode node, Stack<MethodCall> callStack, Set<Map<String, VariableDefinition>> activeDefs, Set<BytecodeInstruction> freeUses, Set<DefUseCoverageTestFitness> foundPairs) {
    BytecodeInstruction code = ((CCFGCodeNode) node).getCodeInstruction();
    // LoggingUtils.getEvoLogger().debug(
    // "Processing field call: " + node.toString());
    handleDefUse(investigatedMethod, code, callStack, activeDefs, freeUses, foundPairs);
}
Also used : CCFGCodeNode(org.evosuite.graphs.ccfg.CCFGCodeNode) BytecodeInstruction(org.evosuite.graphs.cfg.BytecodeInstruction)

Example 2 with CCFGCodeNode

use of org.evosuite.graphs.ccfg.CCFGCodeNode in project evosuite by EvoSuite.

the class AllUsesAnalysis method handleCodeNode.

private void handleCodeNode(CCFGMethodEntryNode investigatedMethod, CCFGNode node, Stack<MethodCall> callStack, Set<Map<String, VariableDefinition>> activeDefs, Set<BytecodeInstruction> freeUses, Set<DefUseCoverageTestFitness> foundPairs) {
    BytecodeInstruction code = ((CCFGCodeNode) node).getCodeInstruction();
    handleDefUse(investigatedMethod, code, callStack, activeDefs, freeUses, foundPairs);
}
Also used : CCFGCodeNode(org.evosuite.graphs.ccfg.CCFGCodeNode) BytecodeInstruction(org.evosuite.graphs.cfg.BytecodeInstruction)

Aggregations

CCFGCodeNode (org.evosuite.graphs.ccfg.CCFGCodeNode)2 BytecodeInstruction (org.evosuite.graphs.cfg.BytecodeInstruction)2