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
4611bc48
Commit
4611bc48
authored
7 years ago
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Spellcheck
parent
cadb9a4c
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/panic2.rs
+3
-3
3 additions, 3 deletions
examples/panic2.rs
with
3 additions
and
3 deletions
examples/panic2.rs
+
3
−
3
View file @
4611bc48
...
@@ -114,11 +114,11 @@ fn idle() -> ! {
...
@@ -114,11 +114,11 @@ fn idle() -> ! {
// here 'j' has the value 0x00 (0 as integer), triggering the `else` branch
// here 'j' has the value 0x00 (0 as integer), triggering the `else` branch
//
//
// How, can KLEE figure out concrete values for the symbolic variable `j`?
// How, can KLEE figure out concrete values for the symbolic variable `j`?
// Well, it tracks the data dependencies and conditi
t
onals along feasible execution paths
// Well, it tracks the data dependencies and conditionals along feasible execution paths
// of the program (task EXTI1 in our case). And when encountering a `k_abort`
// of the program (task EXTI1 in our case). And when encountering a `k_abort`
// it passes the collected (path) condition to an SMT solver.
// it passes the collected (path) condition to an SMT solver.
// The solver returns with a concrete assig
m
nent for a `k_abort` if possible.
// The solver returns with a concrete assign
m
ent for a `k_abort` if possible.
// This can be seen as a reachabilty proof or (equivalently) as a counter example
// This can be seen as a reachabil
i
ty proof or (equivalently) as a counter example
// to an `k_assert`.
// to an `k_assert`.
//
//
// Show to the lab assistant that you can replicate the above, and explain
// Show to the lab assistant that you can replicate the above, and explain
...
...
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