wasmonkey 0.1.17

Patch a WASM object file to replace a set of exported functions with imported functions from another library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod config;

use wasmonkey::*;

use crate::config::*;

fn main() -> Result<(), Error> {
    let config = Config::parse_cmdline()?;
    let patcher = Patcher::from_file(config.patcher_config, config.input_path)?;
    patcher.store_to_file(config.output_path)?;
    Ok(())
}