Skip to content

Commit

Permalink
Fix CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaslindner committed Aug 16, 2024
1 parent 3e61113 commit 4a90963
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions src/tools/symbexec/examples/test-birs_compose.sml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

open HolKernel Parse boolLib bossLib;

open birs_execLib;
open birs_stepLib;
open birs_composeLib;

Expand Down Expand Up @@ -63,21 +64,19 @@ val bprog = (fst o dest_eq o concl) bprog_test_def;
val birs_state_init_lbl = (snd o dest_eq o concl o EVAL) ``bir_block_pc (BL_Address (Imm32 2826w))``;
val birs_state_init = ``<|
bsst_pc := ^birs_state_init_lbl;
bsst_environ := ("R7" =+ (SOME (BExp_Den (BVar "sy_R7" (BType_Imm Bit32)))))
(("SP_process" =+ (SOME (BExp_Den (BVar "sy_SP_process" (BType_Imm Bit32)))))
(("countw" =+ (SOME (BExp_Den (BVar "sy_countw" (BType_Imm Bit64)))))
(K NONE)
));
bsst_environ := birs_gen_env
[("R7", BExp_Den (BVar "sy_R7" (BType_Imm Bit32)));
("SP_process", BExp_Den (BVar "sy_SP_process" (BType_Imm Bit32)));
("countw", BExp_Den (BVar "sy_countw" (BType_Imm Bit64)))];
bsst_status := BST_Running;
bsst_pcond := BExp_Const (Imm1 1w)
|>``;
val birs_state_init_2 = ``<|
bsst_pc := ^birs_state_init_lbl;
bsst_environ := ("R7" =+ (SOME (BExp_Den (BVar "sy_R7" (BType_Imm Bit32)))))
(("SP_process" =+ (SOME (BExp_Den (BVar "sy_SP_process" (BType_Imm Bit32)))))
(("countw" =+ (SOME (BExp_Den (BVar "sy_countw" (BType_Imm Bit64)))))
(K NONE)
));
bsst_environ := birs_gen_env
[("R7", BExp_Den (BVar "sy_R7" (BType_Imm Bit32)));
("SP_process", BExp_Den (BVar "sy_SP_process" (BType_Imm Bit32)));
("countw", BExp_Den (BVar "sy_countw" (BType_Imm Bit64)))];
bsst_status := BST_Running;
bsst_pcond := BExp_BinPred BIExp_LessOrEqual
(BExp_Den (BVar "sy_countw" (BType_Imm Bit64)))
Expand Down
2 changes: 1 addition & 1 deletion src/tools/symbexec/examples/test-birs_transfer.sml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ open HolKernel Parse boolLib bossLib;

open bir_symbTheory;

open birs_stepLib;
open birs_execLib;
open birs_composeLib;

open birs_auxTheory;
Expand Down

0 comments on commit 4a90963

Please sign in to comment.