Skip to content
Snippets Groups Projects
Commit 4d54c303 authored by Per Lindgren's avatar Per Lindgren
Browse files

array.rs C exercise, clarification

parent 46402d7b
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,10 @@ version = "0.6.1"
[dependencies]
vcell = "0.1.2"
[dependencies.cstr_core]
version = "0.2.2"
default-features = false
[patch.crates-io]
cortex-m = { git = "https://github.com/perlindgren/cortex-m.git", branch = "trustit" }
vcell = { git = "https://github.com/perlindgren/vcell.git", branch = "trustit" }
......
......@@ -48,11 +48,14 @@ fn main() {
//
// C) In the example, the array is holding only zeroes.
// Figure out a way to make the content symbolic.
// (Hint, declare as mutable, iterate and set each element symbolic)
// (Hint, declare as mutable, iterate and set each element symbolic.)
// (Hint2, it seems that you can set the whole array symbolic directly
// without messing with an iterator, super!!!.)
//
// [Git commit "C"]
//
// D) Analyze the example using KLEE. Now a new (maybe unexpected) error should occur!
// Notice, the error occurs only in `debug/dev` builds.
//
// Explain what caused the error.
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment