SCANMACHO(1) Documentation for pax-utils SCANMACHO(1) (NAME) scanmacho - Mach-O (SYNOPSIS) scanmacho [] Mach-O (DESCRIPTION) scanmacho Mach-O . Mach-O install_name ... Mach-O (fat) . (universal fat) . ppc ppc64 i386 x86_64 arm ... (OPTIONS) -A, --archives ( a.) -a, --all -B, --nobanner -b, --bind mach_header -D, --endian (endianness) Mach-O -E, --etype filetype Mach-O etype ( MH_EXECUTABLE MH_DYLIB ..) -F, --format FORMAT FORMAT . -f, --from FILE -g, --gmatch strncmp ( -N ). (regexp) -h, --help -i, --interp (LC_LOAD_DYLINKER) -M, --bits BITS Mach-O ( 32/64) -m, --mount (mount points) -N, --lib INSTALLNAME Mach-O INSTALL_NAME -n, --needed Mach-O (LC_LOAD_DYLIB). -O, --perms PERMS Mach-O (octal) ( 755). -o, --file FILE . -p, --path PATH. -q, --quiet ('bad'). -R, --recursive -r, --rpath RPATH Mach-O (LC_RPATH) -S, --soname Mach-O ( install_name). -V, --version -v, --verbose ( ) -y, --symlink -Z, --size SIZE Mach-O printf (literal) . . # scanmacho -BF "file %f needs %n; funky time" /bin/bash file bash needs /usr/lib/libncurses.5.4.dylib,/usr/lib/libSystem.B.dylib; funky time . NEEDED (-n) . . ( --verbose) . . o % - o # - o + - (verbose) . . o a - o b - mach_header o D - (endian) o F - o f - o i - dyld o M - CPU_TYPE o N - o n - o p - ( ) o o - mh_type o O - o r - rpath o S - install_name MACH-O (MACH-O FILETYPES) Mach-O . . . : -E MH_EXECUTE,MH_DYLIB . o MH_OBJECT - (.o) o MH_EXECUTE - o MH_BUNDLE - dlopen (.bundle) o MH_DYLIB - (.dylib) o MH_PRELOAD - Mac OS X (ROM) o MH_CORE - core o MH_DYLINKER - (dyld) o MH_DYLIB_STUB - (stub) o MH_DSYM - ( .dSYM) Mach-O . . o 32 - mach_header o 64 - mach_header_64 (HOMEPAGE) https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities (REPORTING BUGS) ( ) ( AUTHORS ). Gentoo bugzilla https://bugs.gentoo.org . (SEE ALSO) chpax(1), dumpelf(1), paxctl(1), pspax(1), readelf(1), scanelf(1), elf(5) (AUTHORS) Ned Ludd Mike Frysinger Fabian Groffen Mach-O (NOTES) 1. https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities 2. https://bugs.gentoo.org pax-utils 1.3.11 08/02/2026 SCANMACHO(1)