Giter Club home page Giter Club logo

Comments (4)

mgudemann avatar mgudemann commented on July 22, 2024

the goto-program:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

nondetassign1$A.f() /* java::nondetassign1$A.f:()Lnondetassign1$A; */
        // 4 file nondetassign1.java line 16
        NONDET(bool) = (bool)1;
        // 5 file nondetassign1.java line 17
        nondetassign1$A.f:()Lnondetassign1$A;#return_value = (struct nondetassign1$A *)this;
        // 6 no location
        END_FUNCTION
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

nondetassign1$A.g() /* java::nondetassign1$A.g:()V */
        // 10 no location
        struct java.lang.AssertionError *new_tmp0;
        // 11 file nondetassign1.java line 21
        local1i = (int)NONDET(bool);
        // 12 file nondetassign1.java line 22
        local2i = (int)NONDET(bool);
        // 13 file nondetassign1.java line 23
        IF $assertionsDisabled != FALSE THEN GOTO 1
        // 14 file nondetassign1.java line 23
        IF local1i == local2i THEN GOTO 1
        // 15 file nondetassign1.java line 23
        new_tmp0 = MALLOC(struct java.lang.AssertionError, 4);
        // 16 file nondetassign1.java line 23
        *new_tmp0 = { .@class_identifier="java::java.lang.AssertionError" };
        // 17 file nondetassign1.java line 23
        new_tmp0 . java.lang.AssertionError.<init>:()V();
        // 18 file nondetassign1.java line 23
        ASSERT false // assertion at file nondetassign1.java line 23
        // 19 file nondetassign1.java line 23
        THROW: throw(new_tmp0)
        // 20 file nondetassign1.java line 24
        // Labels: pc29
     1: dead new_tmp0;
        // 21 no location
        END_FUNCTION

from cbmc.

peterschrammel avatar peterschrammel commented on July 22, 2024

@cristina-david, @mgudemann, has this been solved by https://github.com/diffblue/verification-engine-utils/issues/62 ?

from cbmc.

cristina-david avatar cristina-david commented on July 22, 2024

@peterschrammel Yes, it has by @smowton's handling of opaque classes but only in my test_gen branch. Soon we'll make a pull request for it.

from cbmc.

peterschrammel avatar peterschrammel commented on July 22, 2024

fixed

from cbmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.