-
- Downloads
more examples
Showing
- Cargo.toml 29 additions, 10 deletionsCargo.toml
- examples/assume.rs 26 additions, 0 deletionsexamples/assume.rs
- examples/concurrent.rs 34 additions, 0 deletionsexamples/concurrent.rs
- examples/model.rs 44 additions, 0 deletionsexamples/model.rs
- examples/model2.rs 70 additions, 0 deletionsexamples/model2.rs
- examples/model3.rs 56 additions, 0 deletionsexamples/model3.rs
[package] | [package] | ||
name = "plcopen" | name = "klee-examples" | ||
version = "0.1.0" | version = "0.2.0" | ||
authors = ["Per Lindgren <per.lindgren@ltu.se>"] | authors = ["Per Lindgren <per.lindgren@ltu.se>", "Jorge Aparicio <jorge@japaric.io>"] | ||
edition = "2018" | |||
[dependencies] | [dependencies] | ||
klee = {git ="https://gitlab.henriktjader.com/pln/cargo-klee"} | klee = {git ="https://gitlab.henriktjader.com/pln/cargo-klee"} | ||
panic-abort = "0.3.1" | |||
[[bin]] | [dependencies.cortex-m] | ||
name = "main" | version = "0.6.0" | ||
path = "src/main.rs" | |||
[features] | [patch.crates-io] | ||
klee-analysis = ["klee/klee-analysis"] | vcell = { git = "https://github.com/perlindgren/vcell.git" } | ||
volatile-register = { git = "https://github.com/perlindgren/volatile-register.git" } | |||
cortex-m = { git = "https://github.com/perlindgren/cortex-m.git", branch = "klee-analysis" } | |||
[dependencies.volatile-register] | |||
version = "0.3.0" | |||
[dependencies.stm32f413] | |||
version = "0.3.0" | |||
git = "https://gitlab.henriktjader.com/pln/stm32f413.git" | |||
branch = "klee-analysis" | |||
optional = true | |||
[[examples]] | |||
name = "gpioa" | |||
path = "examples/gpioa.rs" | |||
#required-features = ["klee-device"] # seem to work only in [[bin]] | |||
[profile.dev] | [profile.dev] | ||
incremental = false | incremental = false | ||
... | @@ -22,3 +37,7 @@ incremental = false | ... | @@ -22,3 +37,7 @@ incremental = false |
debug = true | debug = true | ||
panic = "abort" | panic = "abort" | ||
lto = true | lto = true | ||
[features] | |||
klee-analysis = ["klee/klee-analysis", "volatile-register/klee-analysis", "cortex-m/klee-analysis"] | |||
klee-device = ["stm32f413/klee-analysis"] |
examples/assume.rs
0 → 100644
examples/concurrent.rs
0 → 100644
examples/model.rs
0 → 100644
examples/model2.rs
0 → 100644
examples/model3.rs
0 → 100644
Please register or sign in to comment