Initial experiment.

This commit is contained in:
Dan Gohman
2018-10-29 12:00:12 -07:00
commit 154b35ecc1
15 changed files with 781 additions and 0 deletions

18
src/lib.rs Normal file
View File

@@ -0,0 +1,18 @@
#![feature(plugin)]
#![plugin(dynasm)]
extern crate capstone;
extern crate failure;
extern crate wasmparser;
#[macro_use]
extern crate failure_derive;
extern crate dynasmrt;
mod backend;
mod disassemble;
mod error;
mod function_body;
mod module;
mod translate_sections;
pub use module::translate;