Closed NirjharRoyiitk closed 3 months ago
This is a test that tests the correctness of our new allocator snmalloc. This test should run continuosly and should not crash.
The pseudocode is taken from https://fortanix.atlassian.net/wiki/spaces/PLAT/pages/3155820642/Memory+Allocators
We should modify the configurable parameters https://github.com/fortanix/rust-sgx/blob/memory-correctness-test/examples/mem-correctness-test/src/main.rs#L43 and also modify the heap-size parameter in rust-sgx/examples/mem-correctness-test/Cargo.toml file then simply do the following
heap-size
rust-sgx/examples/mem-correctness-test/Cargo.toml
cargo run --target x86_64-fortanix-unknown-sgx
This is a test that tests the correctness of our new allocator snmalloc. This test should run continuosly and should not crash.
The pseudocode is taken from https://fortanix.atlassian.net/wiki/spaces/PLAT/pages/3155820642/Memory+Allocators
We should modify the configurable parameters https://github.com/fortanix/rust-sgx/blob/memory-correctness-test/examples/mem-correctness-test/src/main.rs#L43 and also modify the
heap-size
parameter inrust-sgx/examples/mem-correctness-test/Cargo.toml
file then simply do the following