aboutsummaryrefslogtreecommitdiffstats
path: root/checklink/Disassembler.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-10-12 11:48:36 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2015-10-12 11:48:36 +0200
commit3ab947ce345e9d18ddcda57d8f88b2a9b8f5d267 (patch)
tree41afaa730849b6f9e8116ddc3068044928997d8c /checklink/Disassembler.ml
parentef0f69dc1caeab169dcefca4d8b89f4d9e756bb5 (diff)
downloadcompcert-3ab947ce345e9d18ddcda57d8f88b2a9b8f5d267.tar.gz
compcert-3ab947ce345e9d18ddcda57d8f88b2a9b8f5d267.zip
Removal of cchecklink, superseded by AbsInt's Valex tool.
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