Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
bb985c0
Parsing of bitvector types.
adaminsky Nov 17, 2019
65216ba
Add the Bitvector type to functions which accept Type.t as input
adaminsky Nov 17, 2019
df78d32
Use the Bitarray module instead of a string for bit vectors
adaminsky Nov 26, 2019
2ccc228
Add BitVecComponents.ml which implements bvadd, bvult, and bvnot, and…
adaminsky Dec 16, 2019
828e319
Remove unnecessary comment
adaminsky Dec 16, 2019
4ac1c2a
Add the is_argument_valid functions for bitvectors
adaminsky Dec 17, 2019
581440a
Merge upstream changes and make BITVEC type hold the length as a string
adaminsky Dec 18, 2019
e8eaf73
Change BITVEC type to use TVAR for its size and correctly unify
adaminsky Jan 18, 2020
810a481
Add random bitvector generation
adaminsky Jan 18, 2020
efae245
Add unit tests for operations on BitVec and Bitarray
adaminsky Jan 26, 2020
99ea8c4
Change the BITVEC type to be of int and perform BitVec generation per…
adaminsky Feb 12, 2020
0a6caf9
Remove all integer to string conversions from bitvec unification
adaminsky Feb 28, 2020
6c15ad6
Fix Bitvec unification bug with ordering of arguments
adaminsky Feb 28, 2020
dc41d5a
Add tests for BitVec synthesis and unification
adaminsky Apr 5, 2020
d2af30b
Add more complex BitVec synthesis test
adaminsky Apr 7, 2020
e4a27d5
Remove unnecessary code and comments
adaminsky Apr 7, 2020
f83bf06
Merge branch 'master' into BitVectors
SaswatPadhi Apr 23, 2020
26154cc
Remove newline at end of files
adaminsky Jun 19, 2020
7b14015
Refactor bitarray to separate module
adaminsky Jun 22, 2020
ec8fbd4
Fix failing build
adaminsky Jun 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/TestGen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ let for_type (t : Type.t) : Value.t Generator.t =
>>= fun len -> (String.gen_with_length len (Char.gen_print)
>>= fun s -> singleton (Value.String s))
| Type.LIST -> raise (Exceptions.Internal_Exn "Generators for List type not implemented!")
| Type.BITVEC _ -> raise (Exceptions.Internal_Exn "Generators for BitVec type not implemented!")
2 changes: 1 addition & 1 deletion src/Type.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let of_string : string -> t = function
let of_params : string * int -> t = function
| "BitVec", n -> BITVEC n

let to_string : t -> string = function
let to_string : t -> string = function [@warning "-8"]
| INT -> "Int"
| BOOL -> "Bool"
| CHAR -> "Char"
Expand Down
2 changes: 1 addition & 1 deletion src/Value.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module T = struct
| Char of char
| String of string
| List of t list
| BitVec of int*int
| BitVec of int*string
Comment thread
SaswatPadhi marked this conversation as resolved.
Outdated
[@@deriving compare,sexp]
end

Expand Down