Crate runs_inside_qemu[][src]

Expand description

Small no_std-lib that checks if the binary is running inside a QEMU virtual machine. Only works on x86/x86_64 platform. There are no heap allocation required.

Under the hood, this is a wrapper around the awesome crate https://crates.io/crates/raw-cpuid.

Enums

Result of runs_inside_qemu that tells with what certainty the code runs inside QEMU.

Functions

Returns if the code is running inside a QEMU virtual machine. See QemuCertainty, which is the return type.