Modifying constructor for elf-header structures.
(change-elf-header x [:magic <magic>] [:class <class>] [:dataenc <dataenc>] [:identver <identver>] [:osabi <osabi>] [:abiver <abiver>] [:padding <padding>] [:type <type>] [:machine <machine>] [:version <version>] [:entry <entry>] [:phoff <phoff>] [:shoff <shoff>] [:flags <flags>] [:ehsize <ehsize>] [:phentsize <phentsize>] [:phnum <phnum>] [:shentsize <shentsize>] [:shnum <shnum>] [:shstrndx <shstrndx>])
This is an often useful alternative to make-elf-header.
We construct a new elf-header structure that is a copy of
This is an ordinary
Macro:
(defmacro change-elf-header (x &rest args) (std::change-aggregate 'elf-header x args '((:magic . elf-header->magic) (:class . elf-header->class) (:dataenc . elf-header->dataenc) (:identver . elf-header->identver) (:osabi . elf-header->osabi) (:abiver . elf-header->abiver) (:padding . elf-header->padding) (:type . elf-header->type) (:machine . elf-header->machine) (:version . elf-header->version) (:entry . elf-header->entry) (:phoff . elf-header->phoff) (:shoff . elf-header->shoff) (:flags . elf-header->flags) (:ehsize . elf-header->ehsize) (:phentsize . elf-header->phentsize) (:phnum . elf-header->phnum) (:shentsize . elf-header->shentsize) (:shnum . elf-header->shnum) (:shstrndx . elf-header->shstrndx)) 'change-elf-header 'nil))