Basic constructor macro for elf64_sym-info structures.
(make-elf64_sym-info [:name-str <name-str>] [:entry <entry>])
This is the usual way to construct elf64_sym-info structures. It simply conses together a structure with the specified fields.
This macro generates a new elf64_sym-info structure from scratch. See also change-elf64_sym-info, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-elf64_sym-info (&rest args) (std::make-aggregate 'elf64_sym-info args '((:name-str . "") (:entry . 0)) 'make-elf64_sym-info nil))
Function:
(defun elf64_sym-info (name-str entry) (declare (xargs :guard (and (stringp name-str) (elf64_sym-p entry)))) (declare (xargs :guard t)) (let ((__function__ 'elf64_sym-info)) (declare (ignorable __function__)) (b* ((name-str (mbe :logic (acl2::str-fix name-str) :exec name-str)) (entry (mbe :logic (elf64_sym-fix entry) :exec entry))) (list (cons 'name-str name-str) (cons 'entry entry)))))