aboutsummaryrefslogtreecommitdiffstats
path: root/checklink/Disassembler.ml
diff options
context:
space:
mode:
authorFrançois Pottier <francois.pottier@inria.fr>2015-10-23 15:08:33 +0200
committerFrançois Pottier <francois.pottier@inria.fr>2015-10-23 15:08:33 +0200
commit8b817cda643d180d43ab8c84809ca2d55c7dd3df (patch)
tree812fe2f7ec68c03c5f0762f1266f383193bbfe92 /checklink/Disassembler.ml
parentc46723c0169145d41d1879c236f53314456f1ba1 (diff)
parent1cb3d93ff278ebbd0c6967c5f9401a97f9b618b4 (diff)
downloadcompcert-8b817cda643d180d43ab8c84809ca2d55c7dd3df.tar.gz
compcert-8b817cda643d180d43ab8c84809ca2d55c7dd3df.zip
Merge remote branch 'upstream/master' into clean
Conflicts: Makefile.extr
Diffstat (limited to 'checklink/Disassembler.ml')
-rw-r--r--checklink/Disassembler.ml15
1 files changed, 0 insertions, 15 deletions
diff --git a/checklink/Disassembler.ml b/checklink/Disassembler.ml
deleted file mode 100644
index 0e2c6883..00000000
--- a/checklink/Disassembler.ml
+++ /dev/null
@@ -1,15 +0,0 @@
-open ELF_parsers
-open ELF_types
-open PPC_printers
-open PPC_utils
-
-let disassemble elf sym_name =
- let sym =
- List.find
- (fun sym -> sym.st_name = sym_name)
- (Array.to_list elf.e_symtab)
- in
- match code_of_sym elf sym with
- | None -> "Couldn't find the code for that symbol name"
- | Some(ecode) ->
- string_of_instr_list ecode