-
Notifications
You must be signed in to change notification settings - Fork 97
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
ICE: control character found while parsing a string #2261
Comments
@adpaco-aws this is an issue with the CBMC output parser. Can you take a look? |
Note that you need to use the attached tarball (I couldn't reproduce it by copying and pasting the code). This is the raw output from CBMC:
|
The failure corresponds to these lines (455-457) in let complete_string = &self.input_so_far[0..self.input_so_far.len()];
let result_item: Result<ParserItem, _> = serde_json::from_str(complete_string);
result_item.unwrap()
I see this more as a limitation that the JSON format introduces because of our current approach to post-processing. I don't have a good solution for that at the moment. |
this seems fixed with kani 0.40 \o/ |
This doesn't crash anymore as @matthiaskrgr pointed out. The assertion fails but that's also what happens in the Rust playground.
|
I tried this code:
using the following command line invocation:
with Kani version: 0.22.0
I expected to see this happen: explanation
Instead, this happened: explanation
2.rs.tar.gz
The text was updated successfully, but these errors were encountered: