Modifying constructor for mach-o-header structures.
(change-mach-o-header x [:magic <magic>] [:cputype <cputype>] [:cpusubtype <cpusubtype>] [:filetype <filetype>] [:ncmds <ncmds>] [:sizeofcmds <sizeofcmds>] [:flags <flags>] [:reserved <reserved>])
This is an often useful alternative to make-mach-o-header.
We construct a new mach-o-header structure that is a copy of
This is an ordinary
Macro:
(defmacro change-mach-o-header (x &rest args) (std::change-aggregate 'mach-o-header x args '((:magic . mach-o-header->magic) (:cputype . mach-o-header->cputype) (:cpusubtype . mach-o-header->cpusubtype) (:filetype . mach-o-header->filetype) (:ncmds . mach-o-header->ncmds) (:sizeofcmds . mach-o-header->sizeofcmds) (:flags . mach-o-header->flags) (:reserved . mach-o-header->reserved)) 'change-mach-o-header 'nil))