• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
      • X86isa
      • Axe
      • Execloader
        • Elf-reader
          • Elf64_sym
          • Elf32_sym
          • 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
            • Elf32_sym-info-fix
            • Elf32_sym-info-equiv
            • Make-elf32_sym-info
            • Elf32_sym-info->name-str
              • Elf32_sym-info->entry
              • Change-elf32_sym-info
              • Elf32_sym-info-p
            • 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-info

    Elf32_sym-info->name-str

    Get the name-str field from a elf32_sym-info.

    Signature
    (elf32_sym-info->name-str x) → name-str
    Arguments
    x — Guard (elf32_sym-info-p x).
    Returns
    name-str — Type (stringp name-str).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: elf32_sym-info->name-str$inline

    (defun elf32_sym-info->name-str$inline (x)
      (declare (xargs :guard (elf32_sym-info-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'elf32_sym-info->name-str))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (acl2::str-fix (cdr (std::da-nth 0 x))))
             :exec (cdr (std::da-nth 0 x)))))

    Theorem: stringp-of-elf32_sym-info->name-str

    (defthm stringp-of-elf32_sym-info->name-str
      (b* ((name-str (elf32_sym-info->name-str$inline x)))
        (stringp name-str))
      :rule-classes :rewrite)

    Theorem: elf32_sym-info->name-str$inline-of-elf32_sym-info-fix-x

    (defthm elf32_sym-info->name-str$inline-of-elf32_sym-info-fix-x
      (equal (elf32_sym-info->name-str$inline (elf32_sym-info-fix x))
             (elf32_sym-info->name-str$inline x)))

    Theorem: elf32_sym-info->name-str$inline-elf32_sym-info-equiv-congruence-on-x

    (defthm
     elf32_sym-info->name-str$inline-elf32_sym-info-equiv-congruence-on-x
     (implies (elf32_sym-info-equiv x x-equiv)
              (equal (elf32_sym-info->name-str$inline x)
                     (elf32_sym-info->name-str$inline x-equiv)))
     :rule-classes :congruence)