PAGESTUFF(1)

πŸ“¦ version 1010.6, in nixpkgs unstable

πŸ’– PAGESTUFF(1) πŸ’–

okay so this is the pagestuff page from the General Commands Manual, and it’s giving Mach-O file page analysis realness ✨

🌸 NAME 🌸

pagestuff β€” Mach-O file page analysis tool

πŸ¦‹ SYNOPSIS πŸ¦‹

pagestuff file [-arch arch_flag] [[-a] [-p] | [pagenumber...]]

✨ DESCRIPTION ✨

pagestuff shows how a structure of a Mach-O or universal file corresponds to logical pages on the current system. The structural info includes the location and extent of file headers, sections and segments, symbol tables, code signatures, etc. When you’re displaying a universal file, all architectures will be shown unless you specify otherwise with the -arch flag. No cap.

The options to pagestuff(1) are:

  • -arch arch_type β€” specifies the architecture, arch_type, of the file for pagestuff to operate on when the file is a universal file. (See arch(3) for the currently known arch_types.) When this option is used, the logical page numbers start from the beginning of the architecture file within the universal file.
  • -pagesize pagesize β€” specifies the page size to use when computing logical page boundaries. By default, pagestuff will use the page size of the current system.
  • -a β€” display all pages in the file.
  • -p β€” print a list of the sections of the specified file, offsets and lengths. When displaying a universal file, all archs will be displayed unless β€” and the original text gets a little tangled here, bestie β€” β€œPrint a list of the sections of the specified Mach-O file, with offsets and lengths.” Note that the size(1) tool displays a much more concise listing given the -l -m -x' arguments.

πŸ‘‘ SEE ALSO πŸ‘‘

size(1), arch(3), Mach-O(5).


Apple, Inc. made this; this version is dated June 23, 2020, and the manual page is PAGESTUFF(1) πŸ’…πŸ«Ά

πŸ“¦ where this page comes from