Skip to main content

Module test_abi

Module test_abi 

Source
Expand description

FN_ID constants shared between the test/bench guest binaries and host-side test/bench drivers. Always compiled — host-visible. FN_ID constants for personality-independent test/bench guest probes.

Band policy: the nub substrate owns fn_id space [0, 0x100) (production ids in nub-arch-x86-abi, generic probes here); each personality owns [0x100, ...) in its own test_abi (e.g. javm_guest_x86::test_abi). The probes below are RPC-plumbing / allocator checks with no personality dependency — nub defines the id + contract; the personality’s test/bench binaries host the registrations (only personality crates produce guest binaries).

Constants§

FN_ID_BENCH_ARC_PAGE_ALLOC
Bench: allocate N × Arc<Page> where Page is a 4 KiB page-aligned block.
FN_ID_TEST_SMOKE
Smoke probe — returns 42u64 rkyv-encoded.