Class InstructionExceptionFormatter


  • public class InstructionExceptionFormatter
    extends java.lang.Object
    This class is used to format an exception with the previous instructions. It is used by the PartialEvaluator and StackSizeComputer to print the erroneous instruction and any previous bytecode instructions and the next one to give some context.
    • Constructor Detail

      • InstructionExceptionFormatter

        public InstructionExceptionFormatter​(org.apache.logging.log4j.Logger logger,
                                             CircularIntBuffer offsetBuffer,
                                             byte[] code,
                                             Clazz clazz,
                                             Method method)