Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-3363

[DRLVM] contribution of alternative bytecode verifier

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Contributions
    • None
    • Patch Available

    Description

      This is contribution of experimental bytecode verifier on behalf of Intel.

      "Experimental" means that there is no formal proof currently available of its equivalence to the step-by-step verification algorithm described in the spec.

      The only known difference to the conventional verifier is dead code verification: RI makes stricter checks against dead code.
      Since it's about dead code, this difference does not affect vulnerability

      Comparing to the current Harmony verifier, this one is supposed to be complete (Harmony currently does not support jsr/ret verification) and much faster

      So, I'm attaching 3 files:

      The first one: Verifier_bulk.zip is a bulk contribution on behalf of Intel for archiving purposes. It contains the legal files as well

      The second one: Verifier_patch is my fix to the bugs that I found while the first archive was coming thru legal

      The third archive Verifier_patched.zip is a merge for previous two. It's an up-to-date version for all the engineering purposes

      To try it out one should replace the current 'verifier' directory in vm with the new one and rebuild

      Attachments

        1. Verifier_patched2.zip
          44 kB
          Mikhail Loenko
        2. Verifier_patched.zip
          44 kB
          Mikhail Loenko
        3. Verifier_patch
          39 kB
          Mikhail Loenko
        4. Verifier_bulk.zip
          49 kB
          Mikhail Loenko
        5. cp-verifier.htm
          60 kB
          Mikhail Loenko

        Issue Links

          Activity

            People

              mloenko Mikhail Loenko
              mloenko Mikhail Loenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: