-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About the unexpected error in the (std::nothrow) version of new together with initialization. #1742
Comments
@Deep-Cold how do you run KLEE? Have you enabled support for C ? Note the "calling external" message in the output. |
Thanks @ccadar, we actually installed KLEE with C support enabled. But the calling external message still exists referencing to std::nothrow. Is there any other additional options in running commands we need to enable? The compiling and execution commands we used are below:
|
@Deep-Cold I can't reproduce this behaviour, can you try the latest version of KLEE? |
@ccadar I change my klee version
The issue still exist. Maybe I pasted the wrong original code. The issue appears on the code below.
And the result is:
|
When running the test program below, KLEE will generate a single path with the ERROR. If the similar sentence appears in a complex program, KLEE will also generate a single path, which is not a normal behavior.
And the issue will disappear if I delete either (std::nothrow) or the initialization parentheses.
The running log will become the texts below.
If I delete (std::nothrow):
The log will become:
The current version of KLEE I used is 3.0 with LLVM version 13.0.1
The text was updated successfully, but these errors were encountered: