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
15
16
17
use toggle;

// deep nesting
wasm:opcode:*:before /
    @static toggle.should_inject(
        @static toggle.should_inject(
            @static toggle.get_value(),
            @static toggle.should_inject(
                @static toggle.get_value(),
                @static toggle.get_value()
            )
        ),
        @static toggle.get_value()
    ) as bool
/ {
    report var val: i32;
}