summaryrefslogtreecommitdiff
path: root/src/lem_interp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lem_interp')
-rw-r--r--src/lem_interp/run_with_elf.ml2
-rw-r--r--src/lem_interp/run_with_elf_cheri.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lem_interp/run_with_elf.ml b/src/lem_interp/run_with_elf.ml
index 72d4c6e1..224f2860 100644
--- a/src/lem_interp/run_with_elf.ml
+++ b/src/lem_interp/run_with_elf.ml
@@ -601,7 +601,7 @@ let initial_system_state_of_elf_file name =
match Sail_interface.populate_and_obtain_global_symbol_init_info name with
| Error.Fail s -> failwith ("populate_and_obtain_global_symbol_init_info: " ^ s)
| Error.Success
- ((elf_epi: Sail_interface.executable_process_image),
+ (_, (elf_epi: Sail_interface.executable_process_image),
(symbol_map: Elf_file.global_symbol_init_info))
->
let (segments, e_entry, e_machine) =
diff --git a/src/lem_interp/run_with_elf_cheri.ml b/src/lem_interp/run_with_elf_cheri.ml
index aa47a892..71d173d8 100644
--- a/src/lem_interp/run_with_elf_cheri.ml
+++ b/src/lem_interp/run_with_elf_cheri.ml
@@ -676,7 +676,7 @@ let initial_system_state_of_elf_file name =
match Sail_interface.populate_and_obtain_global_symbol_init_info name with
| Error.Fail s -> failwith ("populate_and_obtain_global_symbol_init_info: " ^ s)
| Error.Success
- ((elf_epi: Sail_interface.executable_process_image),
+ (_, (elf_epi: Sail_interface.executable_process_image),
(symbol_map: Elf_file.global_symbol_init_info))
->
let (segments, e_entry, e_machine) =