Get the flags field from a elf32-segment-header.
(elf32-segment-header->flags x) → flags
This is an ordinary field accessor created by defprod.
Function:
(defun elf32-segment-header->flags$inline (x) (declare (xargs :guard (elf32-segment-header-p x))) (declare (xargs :guard t)) (let ((__function__ 'elf32-segment-header->flags)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (nfix (cdr (std::da-nth 1 x)))) :exec (cdr (std::da-nth 1 x)))))
Theorem:
(defthm natp-of-elf32-segment-header->flags (b* ((flags (elf32-segment-header->flags$inline x))) (natp flags)) :rule-classes :rewrite)
Theorem:
(defthm elf32-segment-header->flags$inline-of-elf32-segment-header-fix-x (equal (elf32-segment-header->flags$inline (elf32-segment-header-fix x)) (elf32-segment-header->flags$inline x)))
Theorem:
(defthm elf32-segment-header->flags$inline-elf32-segment-header-equiv-congruence-on-x (implies (elf32-segment-header-equiv x x-equiv) (equal (elf32-segment-header->flags$inline x) (elf32-segment-header->flags$inline x-equiv))) :rule-classes :congruence)