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