Skip to main content

fold_method_imps_from_source

Function fold_method_imps_from_source 

Source
pub fn fold_method_imps_from_source<S, State>(
    source: &S,
    state: State,
    folder: impl FnMut(&mut State, ObjCMethodImp) -> Result<()>,
) -> Result<State>
where S: AsRef<[u8]> + ?Sized,
Expand description

Fold method implementations from one borrowed thin Mach-O byte source.

The source is not copied and may be a byte slice, vector, or caller-owned read-only memory map. Universal binaries require explicit architecture selection through macho_core::parse and fold_method_imps.