Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
klee_tutorial
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Edvin Åkerfeldt
klee_tutorial
Commits
e280fa1f
Commit
e280fa1f
authored
4 years ago
by
Edvin Åkerfeldt
Browse files
Options
Downloads
Patches
Plain Diff
cargo_klee_examples/examples/get_sign.rs, All tasks done.
parent
774f64b7
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
cargo_klee_examples/examples/get_sign.rs
+19
-0
19 additions, 0 deletions
cargo_klee_examples/examples/get_sign.rs
with
19 additions
and
0 deletions
cargo_klee_examples/examples/get_sign.rs
+
19
−
0
View file @
e280fa1f
...
...
@@ -53,6 +53,9 @@ fn main() {
// Now locate the generated tests. Give the relative path to `klee-last`.
//
// [your answer here]
/*
target/debug/examples/klee-last
*/
//
// B) Replay test cases
//
...
...
@@ -67,6 +70,9 @@ fn main() {
// What path of the program does this path trigger?
//
// [your answer here]
/*
The path with a negative number.
*/
//
// Just out of curiosity, you may test the other test cases as well...
//
...
...
@@ -77,10 +83,16 @@ fn main() {
// How does `klee-sys` and `cargo-klee` score on a 0..5 scale?
//
// [your answer here]
/*
5
*/
//
// If below 5, what could be done to improve the UX/IX?
//
// [your answer here]
/*
*/
//
// C) Inner workings.
//
...
...
@@ -92,6 +104,9 @@ fn main() {
// What modules in `klee-sys` does this feature enable?
//
// [your answer here]
/*
The lib_klee_analysis.rs module.
*/
//
// Have a look at the source code of `cargo klee`.
// (The actual sub-command is in the folder `cargo-klee`.)
...
...
@@ -100,6 +115,10 @@ fn main() {
// Which one will it pick, and why?
//
// [your answer here]
/*
The program simply looks for the file that was the last to be modified
See: https://gitlab.henriktjader.com/pln/cargo-klee/-/blob/master/cargo-klee/src/main.rs#L211
*/
//
// Actually this is one of the "bad seeds" in the internal design.
// Seems there is no "stable" way of controlling/retrieving the "metadata"
...
...
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