[−][src]Function libipt_sys::pt_image_remove_by_filename
pub unsafe extern "C" fn pt_image_remove_by_filename(
image: *mut pt_image,
filename: *const c_char,
asid: *const pt_asid
) -> c_int
Remove all sections loaded from a file.
Removes all sections loaded from @filename from the address space @asid. Specify the same @asid that was used for adding sections from @filename.
Returns the number of removed sections on success, a negative error code otherwise.
Returns -pte_invalid if @image or @filename is NULL.