Recognizer for section-info structures.
(section-info-p x) → *
Function:
(defun section-info-p (x) (declare (xargs :guard t)) (let ((__function__ 'section-info-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(header bytes))) :exec (fty::alist-with-carsp x '(header bytes))) (b* ((header (cdr (std::da-nth 0 x))) (bytes (cdr (std::da-nth 1 x)))) (and (elf-section-header-p header) (byte-listp bytes))))))
Theorem:
(defthm consp-when-section-info-p (implies (section-info-p x) (consp x)) :rule-classes :compound-recognizer)