• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
        • Program-execution
        • Sdm-instruction-set-summary
        • Tlb
        • Running-linux
        • Introduction
        • Asmtest
        • X86isa-build-instructions
        • Publications
        • Contributors
        • Machine
          • X86isa-state
          • Syscalls
            • Syscalls-logic
              • Syscall-write-logic
              • Syscall-lseek-logic
              • Syscall-read-logic
              • Syscall-open-logic
              • Syscall-dup2-logic
              • Syscall-close-logic
              • Syscall-dup-logic
              • Syscall-write
              • Syscall-read
              • Syscall-open
              • Syscall-lseek
              • Syscall-close
              • Syscall-dup
              • Syscall-unlink
              • Syscall-truncate
              • Syscall-stat
              • Syscall-lstat
              • Syscall-link
              • Syscall-ftruncate
              • Syscall-fstat
              • Syscall-fcntl
              • Syscall-fadvise64
              • Syscall-dup2
              • Syscall-unlink-logic
              • Syscall-truncate-logic
              • Syscall-stat-logic
              • Syscall-lstat-logic
              • Syscall-link-logic
              • Syscall-ftruncate-logic
              • Syscall-fstat-logic
              • Syscall-fcntl-logic
              • Syscall-fadvise64-logic
              • Syscall-dup3-logic
              • Syscall-dup3
              • X86-syscall-args-and-return-value-marshalling
              • Syscall-numbers
              • Syscalls-exec
            • Cpuid
            • Linear-memory
            • Rflag-specifications
            • Characterizing-undefined-behavior
            • Top-level-memory
            • App-view
            • X86-decoder
            • Physical-memory
            • Decoding-and-spec-utils
            • Instructions
            • Register-readers-and-writers
            • X86-modes
            • Segmentation
            • Other-non-deterministic-computations
            • Environment
            • Paging
          • Implemented-opcodes
          • To-do
          • Proof-utilities
          • Peripherals
          • Model-validation
          • Modelcalls
          • Concrete-simulation-examples
          • Utils
          • Debugging-code-proofs
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Syscalls-logic

    Syscall-dup3

    Signature
    (syscall-dup3 oldfd newfd flags x86) → (mv * x86)

    Definitions and Theorems

    Function: syscall-dup3$notinline

    (defun syscall-dup3$notinline (oldfd newfd flags x86)
      (declare (xargs :stobjs (x86)))
      (declare (ignorable oldfd newfd flags x86))
      (declare (xargs :guard t))
      (let ((__function__ 'syscall-dup3))
        (declare (ignorable __function__))
        (syscall-dup3-logic oldfd newfd flags x86)))