Skip to content
Snippets Groups Projects
Commit 4edbab26 authored by Ruben Asplund's avatar Ruben Asplund
Browse files

Exercise A,B,C

parent bdd804e9
No related branches found
No related tags found
No related merge requests found
...@@ -31,12 +31,16 @@ int main() ...@@ -31,12 +31,16 @@ int main()
// > klee get_sign.bc // > klee get_sign.bc
// //
// [your answer here] // [your answer here]
// KLEE: done: total instructions = 31
// KLEE: done: completed paths = 3
// KLEE: done: generated tests = 3
// //
// B) Inspecting the output // B) Inspecting the output
// //
// > ls klee-last/ // > ls klee-last/
// //
// [your answer here] // [your answer here]
// assembly.ll info messages.txt run.istats run.stats test000001.ktest test000002.ktest test000003.ktest warnings.txt
// //
// C) Inspecting the generated test cases // C) Inspecting the generated test cases
// //
...@@ -44,18 +48,19 @@ int main() ...@@ -44,18 +48,19 @@ int main()
// //
// What path in the code does this test represent? // What path in the code does this test represent?
// //
// [your answer here] // [The first: return 0]
// //
// > ktest-tool klee-last/test000002.ktest // > ktest-tool klee-last/test000002.ktest
// //
// What path in the code does this test represent? // What path in the code does this test represent?
// //
// [your answer here] // [The third: return 1]
//
// > ktest-tool klee-last/test000003.ktest // > ktest-tool klee-last/test000003.ktest
// //
// What path in the code does this test represent? // What path in the code does this test represent?
// //
// [your answer here] // [The second: return -1]
// //
// D) Replaying a test case // D) Replaying a test case
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment