• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
      • X86isa
      • Axe
      • Execloader
        • Elf-reader
          • Elf64_sym
          • Elf32_sym
            • !elf32_sym->value
            • !elf32_sym->size
            • !elf32_sym->shndx
            • !elf32_sym->other
            • Elf32_sym-p
              • !elf32_sym->name
              • !elf32_sym->info
              • Elf32_sym->value
              • Elf32_sym->size
              • Elf32_sym->shndx
              • Elf32_sym->other
              • Elf32_sym->info
              • Elf32_sym-fix
              • Elf32_sym->name
            • Elf-header
            • Elf-section-header
            • Elf64-segment-header
            • Elf32-segment-header
            • Elf_bits32
            • Elf_bits8
            • Elf_bits64
            • Elf_bits16
            • Section-info
            • Read-section-headers
            • Read-segment-headers-64
            • Read-segment-headers-32
            • Read-section-names
            • Elf64_sym-info
            • Elf32_sym-info
            • Read-elf-header
            • Parse-symtab-entries
            • Populate-elf-contents
            • Is-elf-content-p
            • Get-string-section-data
            • Get-section-info1
            • Set-elf-stobj-fields
            • Get-named-section-headers
            • Elf-read-mem-null-term
            • Get-section-info
            • Get-symtab-entries
            • Find-label-address-from-elf-symtab-info
            • Section-names
            • Populate-elf
            • Get-label-addresses
            • Elf-read-string-null-term
            • Get-label-address
            • Good-elf-p
            • Elf64_sym-equiv-under-mask
            • Elf64-segment-headers
            • Elf32_sym-equiv-under-mask
            • Elf32-segment-headers
            • Section-info-list
            • Elf64_sym-info-list
            • Elf32_sym-info-list
            • Elf-section-headers
            • Elf64_sym-debug
            • Elf32_sym-debug
          • Mach-o-reader
          • Merge-first-split-bytes
          • Split-bytes
          • Take-till-zero
          • Charlist->bytes
          • Merge-bytes
          • Bytes->charlist
          • String->bytes
          • Bytes->string
      • Math
      • Testing-utilities
    • Elf32_sym

    Elf32_sym-p

    Recognizer for elf32_sym bit structures.

    Signature
    (elf32_sym-p x) → *

    Definitions and Theorems

    Function: elf32_sym-p

    (defun elf32_sym-p (x)
      (declare (xargs :guard t))
      (let ((__function__ 'elf32_sym-p))
        (declare (ignorable __function__))
        (mbe :logic (unsigned-byte-p 128 x)
             :exec (and (natp x)
                        (< x
                           340282366920938463463374607431768211456)))))

    Theorem: elf32_sym-p-when-unsigned-byte-p

    (defthm elf32_sym-p-when-unsigned-byte-p
      (implies (unsigned-byte-p 128 x)
               (elf32_sym-p x)))

    Theorem: unsigned-byte-p-when-elf32_sym-p

    (defthm unsigned-byte-p-when-elf32_sym-p
      (implies (elf32_sym-p x)
               (unsigned-byte-p 128 x)))

    Theorem: elf32_sym-p-compound-recognizer

    (defthm elf32_sym-p-compound-recognizer
      (implies (elf32_sym-p x) (natp x))
      :rule-classes :compound-recognizer)