whamm 0.1.0

A framework for 'Wasm Application Monitoring and Manipulation'
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
wasm:opcode:drop:before {
    report var s: str = "hello world";
    report var l: u32 = s.len();
    report var start_exp_true: bool = s.starts_with("hello");
    report var start_exp_false: bool = s.starts_with("nope");

    report var end_exp_true: bool = s.ends_with("world");
    report var end_exp_false: bool = s.ends_with("nope");

    report var contains_exp_true0: bool = s.contains("hello");
    report var contains_exp_true1: bool = s.contains("world");
    report var contains_exp_true2: bool = s.contains("lo wo");
    report var contains_exp_false: bool = s.contains("asdf ");
}