Skip to content
This repository has been archived by the owner on Feb 1, 2020. It is now read-only.

Commit

Permalink
Give Z3 smt label to integer and operation to support ABI verification.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmmoore committed Nov 15, 2017
1 parent 3debc40 commit 1b4fb8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public class KILtoSMTLib extends CopyOnWriteTransformer {
"int_max",
"int_min",
"int_abs",
"int_and",
/* extra float theory */
"remainder",
"min",
Expand Down
2 changes: 1 addition & 1 deletion k-distribution/include/builtin/domains.k
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ module INT
Int ">>Int" Int [function, left, latex({#1}\mathrel{\gg_{\scriptstyle\it Int}}{#2}), hook(INT.shr)]
| Int "<<Int" Int [function, left, latex({#1}\mathrel{\ll_{\scriptstyle\it Int}}{#2}), hook(INT.shl)]
> left:
Int "&Int" Int [function, left, latex({#1}\mathrel{\&_{\scriptstyle\it Int}}{#2}), hook(INT.and)]
Int "&Int" Int [function, left, smtlib(int_and), latex({#1}\mathrel{\&_{\scriptstyle\it Int}}{#2}), hook(INT.and)]
> left:
Int "xorInt" Int [function, left, latex({#1}\mathrel{\oplus_{\scriptstyle\it Int}}{#2}), hook(INT.xor)]
> left:
Expand Down

0 comments on commit 1b4fb8e

Please sign in to comment.