Menu

#24 Implement bytecode verifier

open
nobody
None
5
2006-09-10
2006-09-10
Sami Koivu
No

A bytecode verifier should be implemented which would
warn about problems in classes (but which would allow
creating/saving/opening/modifying invalid classes anyway).

Stuff to warn about:

*Invalid max stack change values (requires
implementation of
http://sourceforge.net/tracker/index.php?func=detail&aid=1518171&group_id=122082&atid=692314\)

*Invalid references (index or type) in constant pool

*Missing returns in code blocks

Discussion

  • Sami Koivu

    Sami Koivu - 2006-09-12

    Logged In: YES
    user_id=1142576

    Continuing the list:
    *Invalid pc values in the LineNumberTable

     
  • Sami Koivu

    Sami Koivu - 2006-09-14

    Logged In: YES
    user_id=1142576

    More information:

    See chapter "4.9 Format Checking" and 4.10 and 4.11 of the
    Java Classfile format documentation for Java 1.5

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.