-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Rename `smt` module to `boolector` and fix a bug * Implement SUB in the native solver (#62) - also add to `tests/engine.rs` - fix bug in symbolic read syscall Co-authored-by: finga <[email protected]> Co-authored-by: Alexander Lackner <[email protected]>
- Loading branch information
1 parent
6627bab
commit 22c4a55
Showing
7 changed files
with
52 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
uint64_t main() { | ||
uint64_t a; | ||
uint64_t b; | ||
uint64_t c; | ||
uint64_t i; | ||
uint64_t* x; | ||
|
||
a = 43; | ||
b = 2; | ||
c = 432; | ||
x = malloc(8); | ||
|
||
read(0, x, 8); | ||
|
||
a = a * *x; | ||
|
||
b = b + a; | ||
b = b + a; | ||
|
||
return b; | ||
c = b - c; | ||
|
||
return c; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters