[][src]Function libipt_sys::pt_image_remove_by_asid

pub unsafe extern "C" fn pt_image_remove_by_asid(
    image: *mut pt_image,
    asid: *const pt_asid
) -> c_int

Remove all sections loaded into an address space.

Removes all sections loaded into @asid. Specify the same @asid that was used for adding sections.

Returns the number of removed sections on success, a negative error code otherwise.

Returns -pte_invalid if @image is NULL.