fNET 0.1.0

An allocation-free, iced-style .NET CIL and Mono extension disassembler
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[path = "../examples/support/stress.rs"]
mod stress;

#[test]
fn structured_malformed_stream_regression() {
    // Stable seeds cover valid descriptors, damaged real method slices, extreme
    // blob sizes, malformed prefix chains, and private-map/legacy combinations.
    for seed in [1, 0x464e4554, 0xdeadbeef, u64::MAX] {
        assert!(stress::run(1024, seed) > 10_000);
    }
}