Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cortex-m-rtfm-klee
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KLEE
cortex-m-rtfm-klee
Commits
cadb9a4c
Commit
cadb9a4c
authored
Feb 26, 2018
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Spellcheck
parent
ba895cf4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/panic1.rs
+3
-3
3 additions, 3 deletions
examples/panic1.rs
with
3 additions
and
3 deletions
examples/panic1.rs
+
3
−
3
View file @
cadb9a4c
...
...
@@ -65,7 +65,7 @@ fn idle() -> ! {
// 2> xargo build --example panic1 --features klee_mode --target x86_64-unknown-linux-gnu
//
// 1) We need a slightly older version of Rust with a LLVM 4 backend to run KLEE
// `rustup override` will stick the direcory to a set tool-chain (run once)
// `rustup override` will stick the direc
t
ory to a set tool-chain (run once)
//
// 2) As LLVM runs on our host we generate the `.bc` with x86 as target
//
...
...
@@ -73,8 +73,8 @@ fn idle() -> ! {
//
// 3> docker run --rm --user $(id -u):$(id -g) -v $PWD/target/x86_64-unknown-linux-gnu/debug/examples:/mnt -w /mnt -it afoht/llvm-klee-4 /bin/bash
//
// 3) This will start the docker with the right pr
e
vil
i
ges and mount the directory
// where the example `.bc` file(s) are stored (shared/overla
ye
d with the host file system).
// 3) This will start the docker with the right pr
i
vil
e
ges and mount the directory
// where the example `.bc` file(s) are stored (shared/overla
i
d with the host file system).
//
// You can now let KLEE run on the `.bc` file.
//
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment