Comments (4)
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.
@cristina-david, @mgudemann, has this been solved by https://github.com/diffblue/verification-engine-utils/issues/62 ?
from cbmc.
@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.
fixed
from cbmc.
Related Issues (20)
- Invariant violation due to float in C union when using SMT2 backend
- Inconsistent results from pointer comparison HOT 1
- Test failures with GCC 14 HOT 4
- cbmc --show-properties fails HOT 2
- Negative Boolean variables in CNF's comments HOT 2
- Puzzling strcmp behavior HOT 12
- Unexpected failure with array_copy/array_equals HOT 1
- SMT solving is not invoked with `--incremental-loop` HOT 2
- Some backend SMT solvers failed on a program with an array HOT 4
- Xen integration test compilation fails HOT 1
- CBMC reporting incosistently assertion failures HOT 5
- Discrepancy between API specification and behavior for __CPROVER_r_ok HOT 9
- CBMC 5.95.1 misses an error for program with cast to pointer HOT 1
- Usage of string format specifier in `__CPROVER_printf`?
- Shadow memory does not currently work on big-endian architectures
- Add a new method to check whether a pointer points to a valid location HOT 2
- Semantics of assert statements HOT 2
- `--nondet-static-exclude` silently fails
- Memory blowup during typechecking
- Conversion error with _Generic + array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbmc.