Search in sources :

Example 6 with AnnotatedLabel

use of org.evosuite.runtime.instrumentation.AnnotatedLabel in project evosuite by EvoSuite.

the class ErrorConditionMethodAdapter method tagBranch.

public void tagBranch() {
    Label dummyTag = new AnnotatedLabel(false, true);
    // dummyTag.info = Boolean.TRUE;
    super.visitLabel(dummyTag);
}
Also used : AnnotatedLabel(org.evosuite.runtime.instrumentation.AnnotatedLabel) Label(org.objectweb.asm.Label) AnnotatedLabel(org.evosuite.runtime.instrumentation.AnnotatedLabel)

Example 7 with AnnotatedLabel

use of org.evosuite.runtime.instrumentation.AnnotatedLabel in project evosuite by EvoSuite.

the class ExceptionTransformationMethodAdapter method tagBranchExit.

public void tagBranchExit() {
    Label dummyTag = new AnnotatedLabel(false, false);
    // dummyTag.info = Boolean.FALSE;
    super.visitLabel(dummyTag);
}
Also used : AnnotatedLabel(org.evosuite.runtime.instrumentation.AnnotatedLabel) Label(org.objectweb.asm.Label) AnnotatedLabel(org.evosuite.runtime.instrumentation.AnnotatedLabel)

Aggregations

AnnotatedLabel (org.evosuite.runtime.instrumentation.AnnotatedLabel)7 Label (org.objectweb.asm.Label)4 LabelNode (org.objectweb.asm.tree.LabelNode)3 BytecodeInstruction (org.evosuite.graphs.cfg.BytecodeInstruction)2 RawControlFlowGraph (org.evosuite.graphs.cfg.RawControlFlowGraph)2 AbstractInsnNode (org.objectweb.asm.tree.AbstractInsnNode)2 HashSet (java.util.HashSet)1 LinkedList (java.util.LinkedList)1 Branch (org.evosuite.coverage.branch.Branch)1 Mutation (org.evosuite.coverage.mutation.Mutation)1 MutationOperator (org.evosuite.instrumentation.mutation.MutationOperator)1 MethodInsnNode (org.objectweb.asm.tree.MethodInsnNode)1 Frame (org.objectweb.asm.tree.analysis.Frame)1