diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-10-12 11:48:36 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-10-12 11:48:36 +0200 |
commit | 3ab947ce345e9d18ddcda57d8f88b2a9b8f5d267 (patch) | |
tree | 41afaa730849b6f9e8116ddc3068044928997d8c /checklink/Disassembler.ml | |
parent | ef0f69dc1caeab169dcefca4d8b89f4d9e756bb5 (diff) | |
download | compcert-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.ml | 15 |
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 |