summaryrefslogtreecommitdiff
path: root/src/elf_model/bitstring.ml
diff options
context:
space:
mode:
authorKathy Gray2014-09-29 12:36:14 +0100
committerKathy Gray2014-09-29 12:36:14 +0100
commitc205e3e77e35cf07fdf616c133d9a70a96986394 (patch)
treea827d3d436fb69c4a73df9b9fb066c98fbceab84 /src/elf_model/bitstring.ml
parent80eabf2fca417f5dc245e5212e0f33f6c23bb58b (diff)
Add in elf model from Dominic/Stephen. Make run_power build again. Does not effectively use elf model yet
Diffstat (limited to 'src/elf_model/bitstring.ml')
-rw-r--r--src/elf_model/bitstring.ml18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/elf_model/bitstring.ml b/src/elf_model/bitstring.ml
new file mode 100644
index 00000000..82eeec18
--- /dev/null
+++ b/src/elf_model/bitstring.ml
@@ -0,0 +1,18 @@
+(*Generated by Lem from bitstring.lem.*)
+open Lem_basic_classes
+open Lem_bool
+open Lem_num
+
+(*type bitstring*)
+
+(*val length : bitstring -> nat*)
+
+(*val partition : nat -> bitstring -> (bitstring * bitstring)*)
+
+(*val equal : bitstring -> bitstring -> bool*)
+
+let instance_Basic_classes_Eq_Bitstring_bitstring_dict =({
+
+ isEqual_method = (=);
+
+ isInequal_method = (fun l r->not (l = r))})