Function haybale::alloc_utils::zalloc

source ·
pub fn zalloc<B: Backend>(
    state: &mut State<'_, B>,
    num_bytes: &Operand
) -> Result<B::BV>
Expand description

Allocate a number of bytes given by the Operand. The newly-allocated memory will be initialized to all zeroes.

Returns the address of the newly-allocated memory.