Function init_from_aux_iter

Source
unsafe fn init_from_aux_iter(
    aux_iter: impl Iterator<Item = Elf_auxv_t>,
) -> Option<()>
Expand description

Process auxv entries from the auxv array pointed to by auxp.

ยงSafety

This must be passed a pointer to an auxv array.

The buffer contains Elf_aux_t elements, though it need not be aligned; function uses read_unaligned to read from it.