Skip to content

Commit

Permalink
Was able to passed 391/457. Three more than the old ones. Seems to ge…
Browse files Browse the repository at this point in the history
…nerate the right parameters. Larger parameters (integer 2^64-1) will stuck the program
  • Loading branch information
hanxic committed Jul 19, 2023
1 parent 9b676a3 commit 904a36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coq/QC/GenAlive2.v
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ Module GEN_ALIVE2 (ADDR : MemoryAddress.ADDRESS) (IP:MemoryAddress.INTPTR) (SIZE
| 8%N =>
ret UVALUE_I8 <*> (ret repr <*> lift_GenALIVE2 (choose (0, 2^8 - 1)))
| 32%N =>
ret UVALUE_I32 <*> (ret repr <*> lift_GenALIVE2 (choose (0, 2^32 - 1)))
ret UVALUE_I32 <*> (ret repr <*> lift_GenALIVE2 (choose (0, 10000))) (* Modify to smaller number. Should be 2^32 - 1 *)
| 64%N =>
ret UVALUE_I64 <*> (ret repr <*> lift_GenALIVE2 (choose (0, 2^64 - 1)))
ret UVALUE_I64 <*> (ret repr <*> lift_GenALIVE2 (choose (0, 10000))) (* Modify to smaller number. Should be 2^64 - 1 *)
| _ =>
failGen "Invalid size"
end
Expand Down

0 comments on commit 904a36a

Please sign in to comment.