Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / December 2003

Tip: Looking for answers? Try searching our database.

Java class verifier

Thread view: 
Vissu - 04 Dec 2003 03:27 GMT
Hi,

Can someone explain how Java class sverifier verifies that a class is
free of errors?
Thanks
Vissu
Roedy Green - 04 Dec 2003 06:58 GMT
>Can someone explain how Java class sverifier verifies that a class is
>free of errors?

Basically looks at your program like a fishnet.  It makes sure that
the stack looks the same no matter how you arrive at any node.
It simulates what the stack would look like for each piece of code,
and makes sure it is consistent with the operands.

It is fairly easy to imagine a verifier for a perfectly linear
program.  You just simulate the stack types (not values).

When you add the fishnet complexity, each linear piece starts out with
the stack in a given state.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Hans Granqvist - 04 Dec 2003 17:15 GMT
> Hi,
>
> Can someone explain how Java class sverifier verifies that a class is
> free of errors?
> Thanks
> Vissu

Errors?

Believe it or not, it actually works by magic!

But seriously, the Java Virtual Machine (JVM) needs to implement the
Java Language Specification (commonly abbreviated JLS). This typically
includes a class verifier to check that byte code is correct, and a
class loader to check security policy constraints (implicit or
explcit).

Or did I misunderstand your question?

-Hans
JK - 05 Dec 2003 12:36 GMT
For details, look at
http://www.securingjava.com/

The whole book is online.
JK

> Hi,
>
> Can someone explain how Java class sverifier verifies that a class is
> free of errors?
> Thanks
> Vissu


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.