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