Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-179

Trigger Injector fails to inject rules correctly when bytecode contains ARETURN or FRETURN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0
    • 1.6.0
    • Trigger Injection
    • None

      The trigger injector builds an extended control flow graph over the input bytecode whose leaf nodes are basic blocks, sequences of instructions containing only one terminal control flow instruction. The block partitioning code is not detecting ARETURN or FRETURN bytecodes and this leads to errors in identifying the exception control flow through the graph.

      In particular, the error message "exits unaccounted for in block XXX" is printed in cases where the block following an FRETURN or ARETURN is a handler block containing a MONITOREXIT instruction.

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: