| K. Havelund, T. Pressburger, " Translating Java to Spin," Manuscript Under Preparation, NASA Ames Research Center. |
....tractable for analyses by model checking algorithms. This paper is primarily concerned with the latter aspect of developing abstraction techniques to generate a finite state tractable model. For details on the language translation aspects of abstract model generation, the reader may refer to [13]. Our key idea in automatic generation of an abstract model is to use the property that needs to be verified of the given program as the basis for abstraction. Informally, control abstractions discard irrelevant portions of the program that do not affect the property. For data abstractions, the ....
K. Havelund, T. Pressburger, " Translating Java to Spin," Manuscript Under Preparation, NASA Ames Research Center.
.... for (int i = 0; i 6; i ) AttrData ad = new AttrData(i,i i) buffer.put(ad) yield( buffer.halt( class Consumer extends Thread private Buffer buffer; public Consumer(Buffer b) buffer = b; this.start( public void run( int count = 0; AttrData[ received = new AttrData[10]; try while (count 10) received[count] AttrData)buffer.get( count ; catch(HaltException e) Verify.assert(count = 6) for (int i = 0; i count; i ) Verify.assert(received[i] attr = i) Fig. 5. The Java Producer and Consumer classes class Verify public static void ....
K. Havelund and T. Pressburger. Translating Java to SPIN, a step towards the JavaProver. Technical report, NASA Ames Research center, Moffett Field, California, USA, May 1997.
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC