Access the |EXLD|::|INFO| field of a elf64_sym bit structure.
(elf64_sym->info x) → info
Function:
(defun elf64_sym->info (x) (declare (xargs :guard (elf64_sym-p x))) (mbe :logic (let ((x (elf64_sym-fix x))) (part-select x :low 32 :width 8)) :exec (the (unsigned-byte 8) (logand (the (unsigned-byte 8) 255) (the (unsigned-byte 160) (ash (the (unsigned-byte 192) x) -32))))))
Theorem:
(defthm elf_bits8-p-of-elf64_sym->info (b* ((info (elf64_sym->info x))) (elf_bits8-p info)) :rule-classes :rewrite)
Theorem:
(defthm elf64_sym->info-of-elf64_sym-fix-x (equal (elf64_sym->info (elf64_sym-fix x)) (elf64_sym->info x)))
Theorem:
(defthm elf64_sym->info-elf64_sym-equiv-congruence-on-x (implies (elf64_sym-equiv x x-equiv) (equal (elf64_sym->info x) (elf64_sym->info x-equiv))) :rule-classes :congruence)
Theorem:
(defthm elf64_sym->info-of-elf64_sym (equal (elf64_sym->info (elf64_sym name info other shndx value size)) (elf_bits8-fix info)))
Theorem:
(defthm elf64_sym->info-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x elf64_sym-equiv-under-mask) (elf64_sym-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 1095216660480) 0)) (equal (elf64_sym->info x) (elf64_sym->info y))))