Disassemble compiled binary for debugging (#308)

* Use Capstone to disassemble and print code after compilation in cton-util.

* Fix rustfmt errors
This commit is contained in:
Tyler McMullen
2018-04-23 23:24:02 -04:00
committed by Dan Gohman
parent e356c742aa
commit 8351ba3e3e
3 changed files with 42 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ extern crate filecheck;
extern crate serde_derive;
extern crate tempdir;
extern crate term;
extern crate capstone;
use cretonne_codegen::{timing, VERSION};
use docopt::Docopt;