Copy disabled (too large)
Download .txt
Showing preview only (108,371K chars total). Download the full file to get everything.
Repository: andreafioraldi/qasan
Branch: master
Commit: 113cf033e342
Files: 16288
Total size: 175.8 MB
Directory structure:
gitextract_s8_l5x61/
├── .gitignore
├── .gitmodules
├── CITATION.cff
├── LICENSE
├── README.md
├── TODO.md
├── afl/
│ ├── afl-qemu-common.h
│ ├── afl-qemu-cpu-inl.h
│ ├── afl-qemu-cpu-translate-inl.h
│ ├── afl-qemu-floats.h
│ ├── afl-qemu-tcg-inl.h
│ ├── afl-qemu-translate-inl.h
│ ├── config.h
│ └── types.h
├── build.py
├── include/
│ └── qasan.h
├── libqasan/
│ ├── Makefile
│ ├── dlmalloc.c
│ ├── hooks.c
│ ├── libqasan.c
│ ├── libqasan.h
│ ├── malloc.c
│ ├── map_macro.h
│ ├── patch.c
│ ├── string.c
│ └── uninstrument.c
├── qasan
├── qemu/
│ ├── .dir-locals.el
│ ├── .editorconfig
│ ├── .exrc
│ ├── .gdbinit
│ ├── .gitignore
│ ├── .gitmodules
│ ├── .gitpublish
│ ├── .mailmap
│ ├── .shippable.yml
│ ├── .travis.yml
│ ├── CODING_STYLE
│ ├── COPYING
│ ├── COPYING.LIB
│ ├── Changelog
│ ├── HACKING
│ ├── LICENSE
│ ├── MAINTAINERS
│ ├── Makefile
│ ├── Makefile.objs
│ ├── Makefile.target
│ ├── README
│ ├── VERSION
│ ├── accel/
│ │ ├── Makefile.objs
│ │ ├── accel.c
│ │ ├── kvm/
│ │ │ ├── Makefile.objs
│ │ │ ├── kvm-all.c
│ │ │ ├── sev-stub.c
│ │ │ └── trace-events
│ │ ├── stubs/
│ │ │ ├── Makefile.objs
│ │ │ ├── hax-stub.c
│ │ │ ├── hvf-stub.c
│ │ │ ├── kvm-stub.c
│ │ │ ├── tcg-stub.c
│ │ │ └── whpx-stub.c
│ │ └── tcg/
│ │ ├── Makefile.objs
│ │ ├── atomic_template.h
│ │ ├── cpu-exec-common.c
│ │ ├── cpu-exec.c
│ │ ├── cputlb.c
│ │ ├── softmmu_template.h
│ │ ├── tcg-all.c
│ │ ├── tcg-runtime-gvec.c
│ │ ├── tcg-runtime.c
│ │ ├── tcg-runtime.h
│ │ ├── trace-events
│ │ ├── translate-all.c
│ │ ├── translate-all.h
│ │ ├── translator.c
│ │ ├── user-exec-stub.c
│ │ └── user-exec.c
│ ├── arch_init.c
│ ├── audio/
│ │ ├── Makefile.objs
│ │ ├── alsaaudio.c
│ │ ├── audio.c
│ │ ├── audio.h
│ │ ├── audio_int.h
│ │ ├── audio_pt_int.c
│ │ ├── audio_pt_int.h
│ │ ├── audio_template.h
│ │ ├── audio_win_int.c
│ │ ├── audio_win_int.h
│ │ ├── coreaudio.c
│ │ ├── dsound_template.h
│ │ ├── dsoundaudio.c
│ │ ├── mixeng.c
│ │ ├── mixeng.h
│ │ ├── mixeng_template.h
│ │ ├── noaudio.c
│ │ ├── ossaudio.c
│ │ ├── paaudio.c
│ │ ├── rate_template.h
│ │ ├── sdlaudio.c
│ │ ├── spiceaudio.c
│ │ ├── trace-events
│ │ ├── wavaudio.c
│ │ └── wavcapture.c
│ ├── backends/
│ │ ├── Makefile.objs
│ │ ├── cryptodev-builtin.c
│ │ ├── cryptodev-vhost-user.c
│ │ ├── cryptodev-vhost.c
│ │ ├── cryptodev.c
│ │ ├── hostmem-file.c
│ │ ├── hostmem-memfd.c
│ │ ├── hostmem-ram.c
│ │ ├── hostmem.c
│ │ ├── rng-egd.c
│ │ ├── rng-random.c
│ │ ├── rng.c
│ │ └── tpm.c
│ ├── balloon.c
│ ├── block/
│ │ ├── Makefile.objs
│ │ ├── accounting.c
│ │ ├── backup.c
│ │ ├── blkdebug.c
│ │ ├── blklogwrites.c
│ │ ├── blkreplay.c
│ │ ├── blkverify.c
│ │ ├── block-backend.c
│ │ ├── bochs.c
│ │ ├── cloop.c
│ │ ├── commit.c
│ │ ├── copy-on-read.c
│ │ ├── create.c
│ │ ├── crypto.c
│ │ ├── crypto.h
│ │ ├── curl.c
│ │ ├── dirty-bitmap.c
│ │ ├── dmg-bz2.c
│ │ ├── dmg.c
│ │ ├── dmg.h
│ │ ├── file-posix.c
│ │ ├── file-win32.c
│ │ ├── gluster.c
│ │ ├── io.c
│ │ ├── iscsi-opts.c
│ │ ├── iscsi.c
│ │ ├── linux-aio.c
│ │ ├── mirror.c
│ │ ├── nbd-client.c
│ │ ├── nbd-client.h
│ │ ├── nbd.c
│ │ ├── nfs.c
│ │ ├── null.c
│ │ ├── nvme.c
│ │ ├── parallels.c
│ │ ├── parallels.h
│ │ ├── qapi.c
│ │ ├── qcow.c
│ │ ├── qcow2-bitmap.c
│ │ ├── qcow2-cache.c
│ │ ├── qcow2-cluster.c
│ │ ├── qcow2-refcount.c
│ │ ├── qcow2-snapshot.c
│ │ ├── qcow2.c
│ │ ├── qcow2.h
│ │ ├── qed-check.c
│ │ ├── qed-cluster.c
│ │ ├── qed-l2-cache.c
│ │ ├── qed-table.c
│ │ ├── qed.c
│ │ ├── qed.h
│ │ ├── quorum.c
│ │ ├── raw-format.c
│ │ ├── rbd.c
│ │ ├── replication.c
│ │ ├── sheepdog.c
│ │ ├── snapshot.c
│ │ ├── ssh.c
│ │ ├── stream.c
│ │ ├── throttle-groups.c
│ │ ├── throttle.c
│ │ ├── trace-events
│ │ ├── vdi.c
│ │ ├── vhdx-endian.c
│ │ ├── vhdx-log.c
│ │ ├── vhdx.c
│ │ ├── vhdx.h
│ │ ├── vmdk.c
│ │ ├── vpc.c
│ │ ├── vvfat.c
│ │ ├── vxhs.c
│ │ ├── win32-aio.c
│ │ └── write-threshold.c
│ ├── block.c
│ ├── blockdev-nbd.c
│ ├── blockdev.c
│ ├── blockjob.c
│ ├── bootdevice.c
│ ├── bsd-user/
│ │ ├── Makefile.objs
│ │ ├── bsd-mman.h
│ │ ├── bsdload.c
│ │ ├── elfload.c
│ │ ├── errno_defs.h
│ │ ├── freebsd/
│ │ │ ├── strace.list
│ │ │ └── syscall_nr.h
│ │ ├── i386/
│ │ │ ├── target_signal.h
│ │ │ └── target_syscall.h
│ │ ├── main.c
│ │ ├── mmap.c
│ │ ├── netbsd/
│ │ │ ├── strace.list
│ │ │ └── syscall_nr.h
│ │ ├── openbsd/
│ │ │ ├── strace.list
│ │ │ └── syscall_nr.h
│ │ ├── qemu.h
│ │ ├── signal.c
│ │ ├── sparc/
│ │ │ ├── target_signal.h
│ │ │ └── target_syscall.h
│ │ ├── sparc64/
│ │ │ ├── target_signal.h
│ │ │ └── target_syscall.h
│ │ ├── strace.c
│ │ ├── syscall.c
│ │ ├── syscall_defs.h
│ │ ├── uaccess.c
│ │ └── x86_64/
│ │ ├── target_signal.h
│ │ └── target_syscall.h
│ ├── bt-host.c
│ ├── bt-vhci.c
│ ├── capstone/
│ │ ├── .appveyor.yml
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── CMakeLists.txt
│ │ ├── COMPILE.TXT
│ │ ├── COMPILE_CMAKE.TXT
│ │ ├── COMPILE_MSVC.TXT
│ │ ├── CREDITS.TXT
│ │ ├── ChangeLog
│ │ ├── HACK.TXT
│ │ ├── LEB128.h
│ │ ├── LICENSE.TXT
│ │ ├── LICENSE_LLVM.TXT
│ │ ├── MCDisassembler.h
│ │ ├── MCFixedLenDisassembler.h
│ │ ├── MCInst.c
│ │ ├── MCInst.h
│ │ ├── MCInstrDesc.c
│ │ ├── MCInstrDesc.h
│ │ ├── MCRegisterInfo.c
│ │ ├── MCRegisterInfo.h
│ │ ├── Makefile
│ │ ├── MathExtras.h
│ │ ├── README
│ │ ├── RELEASE_NOTES
│ │ ├── SStream.c
│ │ ├── SStream.h
│ │ ├── TODO
│ │ ├── arch/
│ │ │ ├── AArch64/
│ │ │ │ ├── AArch64AddressingModes.h
│ │ │ │ ├── AArch64BaseInfo.c
│ │ │ │ ├── AArch64BaseInfo.h
│ │ │ │ ├── AArch64Disassembler.c
│ │ │ │ ├── AArch64Disassembler.h
│ │ │ │ ├── AArch64GenAsmWriter.inc
│ │ │ │ ├── AArch64GenDisassemblerTables.inc
│ │ │ │ ├── AArch64GenInstrInfo.inc
│ │ │ │ ├── AArch64GenRegisterInfo.inc
│ │ │ │ ├── AArch64GenSubtargetInfo.inc
│ │ │ │ ├── AArch64InstPrinter.c
│ │ │ │ ├── AArch64InstPrinter.h
│ │ │ │ ├── AArch64Mapping.c
│ │ │ │ ├── AArch64Mapping.h
│ │ │ │ └── AArch64Module.c
│ │ │ ├── ARM/
│ │ │ │ ├── ARMAddressingModes.h
│ │ │ │ ├── ARMBaseInfo.h
│ │ │ │ ├── ARMDisassembler.c
│ │ │ │ ├── ARMDisassembler.h
│ │ │ │ ├── ARMGenAsmWriter.inc
│ │ │ │ ├── ARMGenDisassemblerTables.inc
│ │ │ │ ├── ARMGenInstrInfo.inc
│ │ │ │ ├── ARMGenRegisterInfo.inc
│ │ │ │ ├── ARMGenSubtargetInfo.inc
│ │ │ │ ├── ARMInstPrinter.c
│ │ │ │ ├── ARMInstPrinter.h
│ │ │ │ ├── ARMMapping.c
│ │ │ │ ├── ARMMapping.h
│ │ │ │ └── ARMModule.c
│ │ │ ├── Mips/
│ │ │ │ ├── MipsDisassembler.c
│ │ │ │ ├── MipsDisassembler.h
│ │ │ │ ├── MipsGenAsmWriter.inc
│ │ │ │ ├── MipsGenDisassemblerTables.inc
│ │ │ │ ├── MipsGenInstrInfo.inc
│ │ │ │ ├── MipsGenRegisterInfo.inc
│ │ │ │ ├── MipsGenSubtargetInfo.inc
│ │ │ │ ├── MipsInstPrinter.c
│ │ │ │ ├── MipsInstPrinter.h
│ │ │ │ ├── MipsMapping.c
│ │ │ │ ├── MipsMapping.h
│ │ │ │ └── MipsModule.c
│ │ │ ├── PowerPC/
│ │ │ │ ├── PPCDisassembler.c
│ │ │ │ ├── PPCDisassembler.h
│ │ │ │ ├── PPCGenAsmWriter.inc
│ │ │ │ ├── PPCGenDisassemblerTables.inc
│ │ │ │ ├── PPCGenInstrInfo.inc
│ │ │ │ ├── PPCGenRegisterInfo.inc
│ │ │ │ ├── PPCGenSubtargetInfo.inc
│ │ │ │ ├── PPCInstPrinter.c
│ │ │ │ ├── PPCInstPrinter.h
│ │ │ │ ├── PPCMapping.c
│ │ │ │ ├── PPCMapping.h
│ │ │ │ ├── PPCModule.c
│ │ │ │ └── PPCPredicates.h
│ │ │ ├── Sparc/
│ │ │ │ ├── Sparc.h
│ │ │ │ ├── SparcDisassembler.c
│ │ │ │ ├── SparcDisassembler.h
│ │ │ │ ├── SparcGenAsmWriter.inc
│ │ │ │ ├── SparcGenDisassemblerTables.inc
│ │ │ │ ├── SparcGenInstrInfo.inc
│ │ │ │ ├── SparcGenRegisterInfo.inc
│ │ │ │ ├── SparcGenSubtargetInfo.inc
│ │ │ │ ├── SparcInstPrinter.c
│ │ │ │ ├── SparcInstPrinter.h
│ │ │ │ ├── SparcMapping.c
│ │ │ │ ├── SparcMapping.h
│ │ │ │ └── SparcModule.c
│ │ │ ├── SystemZ/
│ │ │ │ ├── SystemZDisassembler.c
│ │ │ │ ├── SystemZDisassembler.h
│ │ │ │ ├── SystemZGenAsmWriter.inc
│ │ │ │ ├── SystemZGenDisassemblerTables.inc
│ │ │ │ ├── SystemZGenInstrInfo.inc
│ │ │ │ ├── SystemZGenRegisterInfo.inc
│ │ │ │ ├── SystemZGenSubtargetInfo.inc
│ │ │ │ ├── SystemZInstPrinter.c
│ │ │ │ ├── SystemZInstPrinter.h
│ │ │ │ ├── SystemZMCTargetDesc.c
│ │ │ │ ├── SystemZMCTargetDesc.h
│ │ │ │ ├── SystemZMapping.c
│ │ │ │ ├── SystemZMapping.h
│ │ │ │ └── SystemZModule.c
│ │ │ ├── X86/
│ │ │ │ ├── X86ATTInstPrinter.c
│ │ │ │ ├── X86BaseInfo.h
│ │ │ │ ├── X86Disassembler.c
│ │ │ │ ├── X86Disassembler.h
│ │ │ │ ├── X86DisassemblerDecoder.c
│ │ │ │ ├── X86DisassemblerDecoder.h
│ │ │ │ ├── X86DisassemblerDecoderCommon.h
│ │ │ │ ├── X86GenAsmWriter.inc
│ │ │ │ ├── X86GenAsmWriter1.inc
│ │ │ │ ├── X86GenAsmWriter1_reduce.inc
│ │ │ │ ├── X86GenAsmWriter_reduce.inc
│ │ │ │ ├── X86GenDisassemblerTables.inc
│ │ │ │ ├── X86GenDisassemblerTables_reduce.inc
│ │ │ │ ├── X86GenInstrInfo.inc
│ │ │ │ ├── X86GenInstrInfo_reduce.inc
│ │ │ │ ├── X86GenRegisterInfo.inc
│ │ │ │ ├── X86InstPrinter.h
│ │ │ │ ├── X86IntelInstPrinter.c
│ │ │ │ ├── X86Mapping.c
│ │ │ │ ├── X86Mapping.h
│ │ │ │ └── X86Module.c
│ │ │ └── XCore/
│ │ │ ├── XCoreDisassembler.c
│ │ │ ├── XCoreDisassembler.h
│ │ │ ├── XCoreGenAsmWriter.inc
│ │ │ ├── XCoreGenDisassemblerTables.inc
│ │ │ ├── XCoreGenInstrInfo.inc
│ │ │ ├── XCoreGenRegisterInfo.inc
│ │ │ ├── XCoreInstPrinter.c
│ │ │ ├── XCoreInstPrinter.h
│ │ │ ├── XCoreMapping.c
│ │ │ ├── XCoreMapping.h
│ │ │ └── XCoreModule.c
│ │ ├── bindings/
│ │ │ ├── Makefile
│ │ │ ├── README
│ │ │ ├── const_generator.py
│ │ │ ├── java/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── Makefile
│ │ │ │ ├── README
│ │ │ │ ├── Test.java
│ │ │ │ ├── TestArm.java
│ │ │ │ ├── TestArm64.java
│ │ │ │ ├── TestMips.java
│ │ │ │ ├── TestPpc.java
│ │ │ │ ├── TestSparc.java
│ │ │ │ ├── TestSystemz.java
│ │ │ │ ├── TestX86.java
│ │ │ │ ├── TestXcore.java
│ │ │ │ ├── capstone/
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── Arm.java
│ │ │ │ │ ├── Arm64.java
│ │ │ │ │ ├── Arm64_const.java
│ │ │ │ │ ├── Arm_const.java
│ │ │ │ │ ├── Capstone.java
│ │ │ │ │ ├── Mips.java
│ │ │ │ │ ├── Mips_const.java
│ │ │ │ │ ├── Ppc.java
│ │ │ │ │ ├── Ppc_const.java
│ │ │ │ │ ├── Sparc.java
│ │ │ │ │ ├── Sparc_const.java
│ │ │ │ │ ├── Systemz.java
│ │ │ │ │ ├── Sysz_const.java
│ │ │ │ │ ├── X86.java
│ │ │ │ │ ├── X86_const.java
│ │ │ │ │ ├── Xcore.java
│ │ │ │ │ └── Xcore_const.java
│ │ │ │ └── run.sh
│ │ │ ├── ocaml/
│ │ │ │ ├── Makefile
│ │ │ │ ├── README
│ │ │ │ ├── arm.ml
│ │ │ │ ├── arm64.ml
│ │ │ │ ├── arm64_const.ml
│ │ │ │ ├── arm_const.ml
│ │ │ │ ├── capstone.ml
│ │ │ │ ├── mips.ml
│ │ │ │ ├── mips_const.ml
│ │ │ │ ├── ocaml.c
│ │ │ │ ├── ppc.ml
│ │ │ │ ├── ppc_const.ml
│ │ │ │ ├── sparc.ml
│ │ │ │ ├── sparc_const.ml
│ │ │ │ ├── systemz.ml
│ │ │ │ ├── sysz_const.ml
│ │ │ │ ├── test_arm.ml
│ │ │ │ ├── test_arm64.ml
│ │ │ │ ├── test_basic.ml
│ │ │ │ ├── test_detail.ml
│ │ │ │ ├── test_mips.ml
│ │ │ │ ├── test_ppc.ml
│ │ │ │ ├── test_sparc.ml
│ │ │ │ ├── test_systemz.ml
│ │ │ │ ├── test_x86.ml
│ │ │ │ ├── test_xcore.ml
│ │ │ │ ├── x86.ml
│ │ │ │ ├── x86_const.ml
│ │ │ │ ├── xcore.ml
│ │ │ │ └── xcore_const.ml
│ │ │ ├── powershell/
│ │ │ │ ├── Capstone/
│ │ │ │ │ ├── Capstone.psd1
│ │ │ │ │ ├── Capstone.psm1
│ │ │ │ │ └── Lib/
│ │ │ │ │ └── Capstone/
│ │ │ │ │ └── .gitignore
│ │ │ │ └── README.md
│ │ │ ├── python/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── BUILDING.txt
│ │ │ │ ├── LICENSE.TXT
│ │ │ │ ├── MANIFEST.in
│ │ │ │ ├── Makefile
│ │ │ │ ├── README.txt
│ │ │ │ ├── capstone/
│ │ │ │ │ ├── arm.py
│ │ │ │ │ ├── arm64.py
│ │ │ │ │ ├── arm64_const.py
│ │ │ │ │ ├── arm_const.py
│ │ │ │ │ ├── mips.py
│ │ │ │ │ ├── mips_const.py
│ │ │ │ │ ├── ppc.py
│ │ │ │ │ ├── ppc_const.py
│ │ │ │ │ ├── sparc.py
│ │ │ │ │ ├── sparc_const.py
│ │ │ │ │ ├── systemz.py
│ │ │ │ │ ├── sysz_const.py
│ │ │ │ │ ├── x86.py
│ │ │ │ │ ├── x86_const.py
│ │ │ │ │ ├── xcore.py
│ │ │ │ │ └── xcore_const.py
│ │ │ │ ├── prebuilt/
│ │ │ │ │ └── .gitkeep
│ │ │ │ ├── pyx/
│ │ │ │ │ ├── README
│ │ │ │ │ └── ccapstone.pxd
│ │ │ │ ├── setup.py
│ │ │ │ ├── setup_cython.py
│ │ │ │ ├── test_all.py
│ │ │ │ ├── test_arm.py
│ │ │ │ ├── test_arm64.py
│ │ │ │ ├── test_basic.py
│ │ │ │ ├── test_detail.py
│ │ │ │ ├── test_lite.py
│ │ │ │ ├── test_mips.py
│ │ │ │ ├── test_ppc.py
│ │ │ │ ├── test_skipdata.py
│ │ │ │ ├── test_sparc.py
│ │ │ │ ├── test_systemz.py
│ │ │ │ ├── test_x86.py
│ │ │ │ ├── test_xcore.py
│ │ │ │ └── xprint.py
│ │ │ └── vb6/
│ │ │ ├── CDisassembler.cls
│ │ │ ├── CInstDetails.cls
│ │ │ ├── CInstruction.cls
│ │ │ ├── CX86Inst.cls
│ │ │ ├── CX86OpMem.cls
│ │ │ ├── CX86Operand.cls
│ │ │ ├── Form1.frm
│ │ │ ├── Form1.frx
│ │ │ ├── Module1.bas
│ │ │ ├── Project1.vbp
│ │ │ ├── Project1.vbw
│ │ │ ├── README.txt
│ │ │ ├── mMisc.bas
│ │ │ ├── mx86.bas
│ │ │ ├── vbCapstone.cpp
│ │ │ ├── vbCapstone.sln
│ │ │ └── vbCapstone.vcproj
│ │ ├── capstone.pc.in
│ │ ├── config.mk
│ │ ├── contrib/
│ │ │ ├── README
│ │ │ ├── cs_driver/
│ │ │ │ ├── README
│ │ │ │ ├── cs_driver/
│ │ │ │ │ ├── cs_driver.c
│ │ │ │ │ ├── cs_driver.vcxproj
│ │ │ │ │ └── cs_driver.vcxproj.filters
│ │ │ │ └── cs_driver.sln
│ │ │ └── windows_kernel/
│ │ │ ├── README
│ │ │ ├── libc.cpp
│ │ │ └── libc.h
│ │ ├── cs.c
│ │ ├── cs_priv.h
│ │ ├── cstool/
│ │ │ ├── Makefile
│ │ │ ├── README
│ │ │ ├── cstool.c
│ │ │ ├── cstool_arm.c
│ │ │ ├── cstool_arm64.c
│ │ │ ├── cstool_mips.c
│ │ │ ├── cstool_ppc.c
│ │ │ ├── cstool_sparc.c
│ │ │ ├── cstool_systemz.c
│ │ │ ├── cstool_x86.c
│ │ │ └── cstool_xcore.c
│ │ ├── docs/
│ │ │ └── README
│ │ ├── functions.mk
│ │ ├── include/
│ │ │ ├── arm.h
│ │ │ ├── arm64.h
│ │ │ ├── capstone.h
│ │ │ ├── mips.h
│ │ │ ├── platform.h
│ │ │ ├── ppc.h
│ │ │ ├── sparc.h
│ │ │ ├── systemz.h
│ │ │ ├── x86.h
│ │ │ └── xcore.h
│ │ ├── make.sh
│ │ ├── msvc/
│ │ │ ├── README
│ │ │ ├── capstone.sln
│ │ │ ├── capstone_dll/
│ │ │ │ └── capstone_dll.vcxproj
│ │ │ ├── capstone_static/
│ │ │ │ └── capstone_static.vcxproj
│ │ │ ├── capstone_static_winkernel/
│ │ │ │ └── capstone_static_winkernel.vcxproj
│ │ │ ├── cstool/
│ │ │ │ └── cstool.vcxproj
│ │ │ ├── test_arm/
│ │ │ │ └── test_arm.vcxproj
│ │ │ ├── test_arm64/
│ │ │ │ └── test_arm64.vcxproj
│ │ │ ├── test_basic/
│ │ │ │ └── test_basic.vcxproj
│ │ │ ├── test_detail/
│ │ │ │ └── test_detail.vcxproj
│ │ │ ├── test_iter/
│ │ │ │ └── test_iter.vcxproj
│ │ │ ├── test_mips/
│ │ │ │ └── test_mips.vcxproj
│ │ │ ├── test_ppc/
│ │ │ │ └── test_ppc.vcxproj
│ │ │ ├── test_skipdata/
│ │ │ │ └── test_skipdata.vcxproj
│ │ │ ├── test_sparc/
│ │ │ │ └── test_sparc.vcxproj
│ │ │ ├── test_systemz/
│ │ │ │ └── test_systemz.vcxproj
│ │ │ ├── test_winkernel/
│ │ │ │ └── test_winkernel.vcxproj
│ │ │ ├── test_x86/
│ │ │ │ └── test_x86.vcxproj
│ │ │ └── test_xcore/
│ │ │ └── test_xcore.vcxproj
│ │ ├── nmake.bat
│ │ ├── packages/
│ │ │ ├── freebsd/
│ │ │ │ └── ports/
│ │ │ │ └── devel/
│ │ │ │ └── capstone/
│ │ │ │ ├── Makefile
│ │ │ │ ├── pkg-descr
│ │ │ │ └── pkg-plist
│ │ │ ├── homebrew/
│ │ │ │ ├── README
│ │ │ │ └── capstone.rb
│ │ │ ├── macports/
│ │ │ │ └── devel/
│ │ │ │ └── capstone/
│ │ │ │ ├── Portfile
│ │ │ │ └── files/
│ │ │ │ └── patch-Makefile.diff
│ │ │ └── rpm/
│ │ │ └── capstone.spec
│ │ ├── pkgconfig.mk
│ │ ├── suite/
│ │ │ ├── MC/
│ │ │ │ ├── AArch64/
│ │ │ │ │ ├── basic-a64-instructions.s.cs
│ │ │ │ │ ├── gicv3-regs.s.cs
│ │ │ │ │ ├── neon-2velem.s.cs
│ │ │ │ │ ├── neon-3vdiff.s.cs
│ │ │ │ │ ├── neon-aba-abd.s.cs
│ │ │ │ │ ├── neon-across.s.cs
│ │ │ │ │ ├── neon-add-pairwise.s.cs
│ │ │ │ │ ├── neon-add-sub-instructions.s.cs
│ │ │ │ │ ├── neon-bitwise-instructions.s.cs
│ │ │ │ │ ├── neon-compare-instructions.s.cs
│ │ │ │ │ ├── neon-crypto.s.cs
│ │ │ │ │ ├── neon-extract.s.cs
│ │ │ │ │ ├── neon-facge-facgt.s.cs
│ │ │ │ │ ├── neon-frsqrt-frecp.s.cs
│ │ │ │ │ ├── neon-halving-add-sub.s.cs
│ │ │ │ │ ├── neon-max-min-pairwise.s.cs
│ │ │ │ │ ├── neon-max-min.s.cs
│ │ │ │ │ ├── neon-mla-mls-instructions.s.cs
│ │ │ │ │ ├── neon-mov.s.cs
│ │ │ │ │ ├── neon-mul-div-instructions.s.cs
│ │ │ │ │ ├── neon-perm.s.cs
│ │ │ │ │ ├── neon-rounding-halving-add.s.cs
│ │ │ │ │ ├── neon-rounding-shift.s.cs
│ │ │ │ │ ├── neon-saturating-add-sub.s.cs
│ │ │ │ │ ├── neon-saturating-rounding-shift.s.cs
│ │ │ │ │ ├── neon-saturating-shift.s.cs
│ │ │ │ │ ├── neon-scalar-abs.s.cs
│ │ │ │ │ ├── neon-scalar-add-sub.s.cs
│ │ │ │ │ ├── neon-scalar-by-elem-mla.s.cs
│ │ │ │ │ ├── neon-scalar-by-elem-mul.s.cs
│ │ │ │ │ ├── neon-scalar-by-elem-saturating-mla.s.cs
│ │ │ │ │ ├── neon-scalar-by-elem-saturating-mul.s.cs
│ │ │ │ │ ├── neon-scalar-compare.s.cs
│ │ │ │ │ ├── neon-scalar-cvt.s.cs
│ │ │ │ │ ├── neon-scalar-dup.s.cs
│ │ │ │ │ ├── neon-scalar-extract-narrow.s.cs
│ │ │ │ │ ├── neon-scalar-fp-compare.s.cs
│ │ │ │ │ ├── neon-scalar-mul.s.cs
│ │ │ │ │ ├── neon-scalar-neg.s.cs
│ │ │ │ │ ├── neon-scalar-recip.s.cs
│ │ │ │ │ ├── neon-scalar-reduce-pairwise.s.cs
│ │ │ │ │ ├── neon-scalar-rounding-shift.s.cs
│ │ │ │ │ ├── neon-scalar-saturating-add-sub.s.cs
│ │ │ │ │ ├── neon-scalar-saturating-rounding-shift.s.cs
│ │ │ │ │ ├── neon-scalar-saturating-shift.s.cs
│ │ │ │ │ ├── neon-scalar-shift-imm.s.cs
│ │ │ │ │ ├── neon-scalar-shift.s.cs
│ │ │ │ │ ├── neon-shift-left-long.s.cs
│ │ │ │ │ ├── neon-shift.s.cs
│ │ │ │ │ ├── neon-simd-copy.s.cs
│ │ │ │ │ ├── neon-simd-ldst-multi-elem.s.cs
│ │ │ │ │ ├── neon-simd-ldst-one-elem.s.cs
│ │ │ │ │ ├── neon-simd-misc.s.cs
│ │ │ │ │ ├── neon-simd-post-ldst-multi-elem.s.cs
│ │ │ │ │ ├── neon-simd-shift.s.cs
│ │ │ │ │ ├── neon-tbl.s.cs
│ │ │ │ │ └── trace-regs.s.cs
│ │ │ │ ├── ARM/
│ │ │ │ │ ├── arm-aliases.s.cs
│ │ │ │ │ ├── arm-arithmetic-aliases.s.cs
│ │ │ │ │ ├── arm-it-block.s.cs
│ │ │ │ │ ├── arm-memory-instructions.s.cs
│ │ │ │ │ ├── arm-shift-encoding.s.cs
│ │ │ │ │ ├── arm-thumb-trustzone.s.cs
│ │ │ │ │ ├── arm-trustzone.s.cs
│ │ │ │ │ ├── arm_addrmode2.s.cs
│ │ │ │ │ ├── arm_addrmode3.s.cs
│ │ │ │ │ ├── arm_instructions.s.cs
│ │ │ │ │ ├── basic-arm-instructions-v8.s.cs
│ │ │ │ │ ├── basic-arm-instructions.s.cs
│ │ │ │ │ ├── basic-thumb-instructions.s.cs
│ │ │ │ │ ├── basic-thumb2-instructions-v8.s.cs
│ │ │ │ │ ├── basic-thumb2-instructions.s.cs
│ │ │ │ │ ├── crc32-thumb.s.cs
│ │ │ │ │ ├── crc32.s.cs
│ │ │ │ │ ├── dot-req.s.cs
│ │ │ │ │ ├── fp-armv8.s.cs
│ │ │ │ │ ├── idiv-thumb.s.cs
│ │ │ │ │ ├── idiv.s.cs
│ │ │ │ │ ├── load-store-acquire-release-v8-thumb.s.cs
│ │ │ │ │ ├── load-store-acquire-release-v8.s.cs
│ │ │ │ │ ├── mode-switch.s.cs
│ │ │ │ │ ├── neon-abs-encoding.s.cs
│ │ │ │ │ ├── neon-absdiff-encoding.s.cs
│ │ │ │ │ ├── neon-add-encoding.s.cs
│ │ │ │ │ ├── neon-bitcount-encoding.s.cs
│ │ │ │ │ ├── neon-bitwise-encoding.s.cs
│ │ │ │ │ ├── neon-cmp-encoding.s.cs
│ │ │ │ │ ├── neon-convert-encoding.s.cs
│ │ │ │ │ ├── neon-crypto.s.cs
│ │ │ │ │ ├── neon-dup-encoding.s.cs
│ │ │ │ │ ├── neon-minmax-encoding.s.cs
│ │ │ │ │ ├── neon-mov-encoding.s.cs
│ │ │ │ │ ├── neon-mul-accum-encoding.s.cs
│ │ │ │ │ ├── neon-mul-encoding.s.cs
│ │ │ │ │ ├── neon-neg-encoding.s.cs
│ │ │ │ │ ├── neon-pairwise-encoding.s.cs
│ │ │ │ │ ├── neon-reciprocal-encoding.s.cs
│ │ │ │ │ ├── neon-reverse-encoding.s.cs
│ │ │ │ │ ├── neon-satshift-encoding.s.cs
│ │ │ │ │ ├── neon-shift-encoding.s.cs
│ │ │ │ │ ├── neon-shiftaccum-encoding.s.cs
│ │ │ │ │ ├── neon-shuffle-encoding.s.cs
│ │ │ │ │ ├── neon-sub-encoding.s.cs
│ │ │ │ │ ├── neon-table-encoding.s.cs
│ │ │ │ │ ├── neon-v8.s.cs
│ │ │ │ │ ├── neon-vld-encoding.s.cs
│ │ │ │ │ ├── neon-vst-encoding.s.cs
│ │ │ │ │ ├── neon-vswp.s.cs
│ │ │ │ │ ├── neont2-abs-encoding.s.cs
│ │ │ │ │ ├── neont2-absdiff-encoding.s.cs
│ │ │ │ │ ├── neont2-add-encoding.s.cs
│ │ │ │ │ ├── neont2-bitcount-encoding.s.cs
│ │ │ │ │ ├── neont2-bitwise-encoding.s.cs
│ │ │ │ │ ├── neont2-cmp-encoding.s.cs
│ │ │ │ │ ├── neont2-convert-encoding.s.cs
│ │ │ │ │ ├── neont2-dup-encoding.s.cs
│ │ │ │ │ ├── neont2-minmax-encoding.s.cs
│ │ │ │ │ ├── neont2-mov-encoding.s.cs
│ │ │ │ │ ├── neont2-mul-accum-encoding.s.cs
│ │ │ │ │ ├── neont2-mul-encoding.s.cs
│ │ │ │ │ ├── neont2-neg-encoding.s.cs
│ │ │ │ │ ├── neont2-pairwise-encoding.s.cs
│ │ │ │ │ ├── neont2-reciprocal-encoding.s.cs
│ │ │ │ │ ├── neont2-reverse-encoding.s.cs
│ │ │ │ │ ├── neont2-satshift-encoding.s.cs
│ │ │ │ │ ├── neont2-shift-encoding.s.cs
│ │ │ │ │ ├── neont2-shiftaccum-encoding.s.cs
│ │ │ │ │ ├── neont2-shuffle-encoding.s.cs
│ │ │ │ │ ├── neont2-sub-encoding.s.cs
│ │ │ │ │ ├── neont2-table-encoding.s.cs
│ │ │ │ │ ├── neont2-vld-encoding.s.cs
│ │ │ │ │ ├── neont2-vst-encoding.s.cs
│ │ │ │ │ ├── simple-fp-encoding.s.cs
│ │ │ │ │ ├── thumb-fp-armv8.s.cs
│ │ │ │ │ ├── thumb-hints.s.cs
│ │ │ │ │ ├── thumb-neon-crypto.s.cs
│ │ │ │ │ ├── thumb-neon-v8.s.cs
│ │ │ │ │ ├── thumb-shift-encoding.s.cs
│ │ │ │ │ ├── thumb.s.cs
│ │ │ │ │ ├── thumb2-b.w-encodingT4.s.cs
│ │ │ │ │ ├── thumb2-branches.s.cs
│ │ │ │ │ ├── thumb2-mclass.s.cs
│ │ │ │ │ ├── thumb2-narrow-dp.ll.cs
│ │ │ │ │ ├── thumb2-pldw.s.cs
│ │ │ │ │ ├── vfp4-thumb.s.cs
│ │ │ │ │ ├── vfp4.s.cs
│ │ │ │ │ ├── vpush-vpop-thumb.s.cs
│ │ │ │ │ └── vpush-vpop.s.cs
│ │ │ │ ├── Mips/
│ │ │ │ │ ├── hilo-addressing.s.cs
│ │ │ │ │ ├── micromips-alu-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-alu-instructions.s.cs
│ │ │ │ │ ├── micromips-branch-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-branch-instructions.s.cs
│ │ │ │ │ ├── micromips-expansions.s.cs
│ │ │ │ │ ├── micromips-jump-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-jump-instructions.s.cs
│ │ │ │ │ ├── micromips-loadstore-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-loadstore-instructions.s.cs
│ │ │ │ │ ├── micromips-loadstore-unaligned-EB.s.cs
│ │ │ │ │ ├── micromips-loadstore-unaligned.s.cs
│ │ │ │ │ ├── micromips-movcond-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-movcond-instructions.s.cs
│ │ │ │ │ ├── micromips-multiply-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-multiply-instructions.s.cs
│ │ │ │ │ ├── micromips-shift-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-shift-instructions.s.cs
│ │ │ │ │ ├── micromips-trap-instructions-EB.s.cs
│ │ │ │ │ ├── micromips-trap-instructions.s.cs
│ │ │ │ │ ├── mips-alu-instructions.s.cs
│ │ │ │ │ ├── mips-control-instructions-64.s.cs
│ │ │ │ │ ├── mips-control-instructions.s.cs
│ │ │ │ │ ├── mips-coprocessor-encodings.s.cs
│ │ │ │ │ ├── mips-dsp-instructions.s.cs
│ │ │ │ │ ├── mips-expansions.s.cs
│ │ │ │ │ ├── mips-fpu-instructions.s.cs
│ │ │ │ │ ├── mips-jump-instructions.s.cs
│ │ │ │ │ ├── mips-memory-instructions.s.cs
│ │ │ │ │ ├── mips-register-names.s.cs
│ │ │ │ │ ├── mips64-alu-instructions.s.cs
│ │ │ │ │ ├── mips64-instructions.s.cs
│ │ │ │ │ ├── mips64-register-names.s.cs
│ │ │ │ │ ├── mips_directives.s.cs
│ │ │ │ │ ├── nabi-regs.s.cs
│ │ │ │ │ ├── set-at-directive.s.cs
│ │ │ │ │ ├── test_2r.s.cs
│ │ │ │ │ ├── test_2rf.s.cs
│ │ │ │ │ ├── test_3r.s.cs
│ │ │ │ │ ├── test_3rf.s.cs
│ │ │ │ │ ├── test_bit.s.cs
│ │ │ │ │ ├── test_cbranch.s.cs
│ │ │ │ │ ├── test_ctrlregs.s.cs
│ │ │ │ │ ├── test_elm.s.cs
│ │ │ │ │ ├── test_elm_insert.s.cs
│ │ │ │ │ ├── test_elm_insve.s.cs
│ │ │ │ │ ├── test_i10.s.cs
│ │ │ │ │ ├── test_i5.s.cs
│ │ │ │ │ ├── test_i8.s.cs
│ │ │ │ │ ├── test_lsa.s.cs
│ │ │ │ │ ├── test_mi10.s.cs
│ │ │ │ │ └── test_vec.s.cs
│ │ │ │ ├── PowerPC/
│ │ │ │ │ ├── ppc64-encoding-bookII.s.cs
│ │ │ │ │ ├── ppc64-encoding-bookIII.s.cs
│ │ │ │ │ ├── ppc64-encoding-ext.s.cs
│ │ │ │ │ ├── ppc64-encoding-fp.s.cs
│ │ │ │ │ ├── ppc64-encoding-vmx.s.cs
│ │ │ │ │ ├── ppc64-encoding.s.cs
│ │ │ │ │ └── ppc64-operands.s.cs
│ │ │ │ ├── README
│ │ │ │ ├── Sparc/
│ │ │ │ │ ├── sparc-alu-instructions.s.cs
│ │ │ │ │ ├── sparc-atomic-instructions.s.cs
│ │ │ │ │ ├── sparc-ctrl-instructions.s.cs
│ │ │ │ │ ├── sparc-fp-instructions.s.cs
│ │ │ │ │ ├── sparc-mem-instructions.s.cs
│ │ │ │ │ ├── sparc-vis.s.cs
│ │ │ │ │ ├── sparc64-alu-instructions.s.cs
│ │ │ │ │ ├── sparc64-ctrl-instructions.s.cs
│ │ │ │ │ ├── sparcv8-instructions.s.cs
│ │ │ │ │ └── sparcv9-instructions.s.cs
│ │ │ │ ├── SystemZ/
│ │ │ │ │ ├── insn-good-z196.s.cs
│ │ │ │ │ ├── insn-good.s.cs
│ │ │ │ │ └── regs-good.s.cs
│ │ │ │ └── X86/
│ │ │ │ ├── 3DNow.s.cs
│ │ │ │ ├── address-size.s.cs
│ │ │ │ ├── avx512-encodings.s.cs
│ │ │ │ ├── intel-syntax-encoding.s.cs
│ │ │ │ ├── x86-32-avx.s.cs
│ │ │ │ ├── x86-32-fma3.s.cs
│ │ │ │ ├── x86-32-ms-inline-asm.s.cs
│ │ │ │ ├── x86_64-avx-clmul-encoding.s.cs
│ │ │ │ ├── x86_64-avx-encoding.s.cs
│ │ │ │ ├── x86_64-bmi-encoding.s.cs
│ │ │ │ ├── x86_64-encoding.s.cs
│ │ │ │ ├── x86_64-fma3-encoding.s.cs
│ │ │ │ ├── x86_64-fma4-encoding.s.cs
│ │ │ │ ├── x86_64-hle-encoding.s.cs
│ │ │ │ ├── x86_64-imm-widths.s.cs
│ │ │ │ ├── x86_64-rand-encoding.s.cs
│ │ │ │ ├── x86_64-rtm-encoding.s.cs
│ │ │ │ ├── x86_64-sse4a.s.cs
│ │ │ │ ├── x86_64-tbm-encoding.s.cs
│ │ │ │ └── x86_64-xop-encoding.s.cs
│ │ │ ├── README
│ │ │ ├── arm/
│ │ │ │ ├── Makefile
│ │ │ │ └── test_arm_regression.c
│ │ │ ├── benchmark/
│ │ │ │ ├── Makefile
│ │ │ │ └── test_iter_benchmark.c
│ │ │ ├── benchmark.py
│ │ │ ├── compile_all.sh
│ │ │ ├── fuzz/
│ │ │ │ ├── Makefile
│ │ │ │ ├── README
│ │ │ │ └── fuzz_harness.c
│ │ │ ├── fuzz.py
│ │ │ ├── patch_major_os_version.py
│ │ │ ├── ppcbranch.py
│ │ │ ├── python_capstone_setup.py
│ │ │ ├── regress/
│ │ │ │ ├── Makefile
│ │ │ │ └── invalid_read_in_print_operand.c
│ │ │ ├── regress.py
│ │ │ ├── test_all.sh
│ │ │ ├── test_c.sh
│ │ │ ├── test_group_name.py
│ │ │ ├── test_mc.py
│ │ │ ├── test_mc.sh
│ │ │ ├── test_python.sh
│ │ │ └── x86odd.py
│ │ ├── tests/
│ │ │ ├── Makefile
│ │ │ ├── README
│ │ │ ├── test_arm.c
│ │ │ ├── test_arm64.c
│ │ │ ├── test_basic.c
│ │ │ ├── test_detail.c
│ │ │ ├── test_iter.c
│ │ │ ├── test_mips.c
│ │ │ ├── test_ppc.c
│ │ │ ├── test_skipdata.c
│ │ │ ├── test_sparc.c
│ │ │ ├── test_systemz.c
│ │ │ ├── test_winkernel.cpp
│ │ │ ├── test_x86.c
│ │ │ └── test_xcore.c
│ │ ├── utils.c
│ │ ├── utils.h
│ │ ├── windows/
│ │ │ ├── README
│ │ │ ├── winkernel_mm.c
│ │ │ └── winkernel_mm.h
│ │ └── xcode/
│ │ ├── Capstone.xcodeproj/
│ │ │ ├── project.pbxproj
│ │ │ ├── project.xcworkspace/
│ │ │ │ └── contents.xcworkspacedata
│ │ │ └── xcshareddata/
│ │ │ └── xcschemes/
│ │ │ ├── Dynamic Library.xcscheme
│ │ │ ├── Framework.xcscheme
│ │ │ ├── Static Library.xcscheme
│ │ │ └── Tests.xcscheme
│ │ ├── CapstoneFramework/
│ │ │ └── Info.plist
│ │ └── README.md
│ ├── chardev/
│ │ ├── Makefile.objs
│ │ ├── baum.c
│ │ ├── char-console.c
│ │ ├── char-fd.c
│ │ ├── char-fe.c
│ │ ├── char-file.c
│ │ ├── char-io.c
│ │ ├── char-mux.c
│ │ ├── char-null.c
│ │ ├── char-parallel.c
│ │ ├── char-pipe.c
│ │ ├── char-pty.c
│ │ ├── char-ringbuf.c
│ │ ├── char-serial.c
│ │ ├── char-socket.c
│ │ ├── char-stdio.c
│ │ ├── char-udp.c
│ │ ├── char-win-stdio.c
│ │ ├── char-win.c
│ │ ├── char.c
│ │ ├── msmouse.c
│ │ ├── spice.c
│ │ ├── testdev.c
│ │ ├── trace-events
│ │ └── wctablet.c
│ ├── configure
│ ├── contrib/
│ │ ├── elf2dmp/
│ │ │ ├── Makefile.objs
│ │ │ ├── addrspace.c
│ │ │ ├── addrspace.h
│ │ │ ├── download.c
│ │ │ ├── download.h
│ │ │ ├── err.h
│ │ │ ├── kdbg.h
│ │ │ ├── main.c
│ │ │ ├── pdb.c
│ │ │ ├── pdb.h
│ │ │ ├── pe.h
│ │ │ ├── qemu_elf.c
│ │ │ └── qemu_elf.h
│ │ ├── ivshmem-client/
│ │ │ ├── Makefile.objs
│ │ │ ├── ivshmem-client.c
│ │ │ ├── ivshmem-client.h
│ │ │ └── main.c
│ │ ├── ivshmem-server/
│ │ │ ├── Makefile.objs
│ │ │ ├── ivshmem-server.c
│ │ │ ├── ivshmem-server.h
│ │ │ └── main.c
│ │ ├── libvhost-user/
│ │ │ ├── Makefile.objs
│ │ │ ├── libvhost-user-glib.c
│ │ │ ├── libvhost-user-glib.h
│ │ │ ├── libvhost-user.c
│ │ │ └── libvhost-user.h
│ │ ├── systemd/
│ │ │ ├── qemu-guest-agent.service
│ │ │ ├── qemu-pr-helper.service
│ │ │ └── qemu-pr-helper.socket
│ │ ├── vhost-user-blk/
│ │ │ ├── Makefile.objs
│ │ │ └── vhost-user-blk.c
│ │ └── vhost-user-scsi/
│ │ ├── Makefile.objs
│ │ └── vhost-user-scsi.c
│ ├── cpus-common.c
│ ├── cpus.c
│ ├── crypto/
│ │ ├── Makefile.objs
│ │ ├── aes.c
│ │ ├── afalg.c
│ │ ├── afalgpriv.h
│ │ ├── afsplit.c
│ │ ├── block-luks.c
│ │ ├── block-luks.h
│ │ ├── block-qcow.c
│ │ ├── block-qcow.h
│ │ ├── block.c
│ │ ├── blockpriv.h
│ │ ├── cipher-afalg.c
│ │ ├── cipher-builtin.c
│ │ ├── cipher-gcrypt.c
│ │ ├── cipher-nettle.c
│ │ ├── cipher.c
│ │ ├── cipherpriv.h
│ │ ├── desrfb.c
│ │ ├── hash-afalg.c
│ │ ├── hash-gcrypt.c
│ │ ├── hash-glib.c
│ │ ├── hash-nettle.c
│ │ ├── hash.c
│ │ ├── hashpriv.h
│ │ ├── hmac-gcrypt.c
│ │ ├── hmac-glib.c
│ │ ├── hmac-nettle.c
│ │ ├── hmac.c
│ │ ├── hmacpriv.h
│ │ ├── init.c
│ │ ├── ivgen-essiv.c
│ │ ├── ivgen-essiv.h
│ │ ├── ivgen-plain.c
│ │ ├── ivgen-plain.h
│ │ ├── ivgen-plain64.c
│ │ ├── ivgen-plain64.h
│ │ ├── ivgen.c
│ │ ├── ivgenpriv.h
│ │ ├── pbkdf-gcrypt.c
│ │ ├── pbkdf-nettle.c
│ │ ├── pbkdf-stub.c
│ │ ├── pbkdf.c
│ │ ├── random-gcrypt.c
│ │ ├── random-gnutls.c
│ │ ├── random-platform.c
│ │ ├── secret.c
│ │ ├── tlscreds.c
│ │ ├── tlscredsanon.c
│ │ ├── tlscredspriv.h
│ │ ├── tlscredspsk.c
│ │ ├── tlscredsx509.c
│ │ ├── tlssession.c
│ │ ├── trace-events
│ │ └── xts.c
│ ├── default-configs/
│ │ ├── aarch64-linux-user.mak
│ │ ├── aarch64-softmmu.mak
│ │ ├── aarch64_be-linux-user.mak
│ │ ├── alpha-linux-user.mak
│ │ ├── alpha-softmmu.mak
│ │ ├── arm-linux-user.mak
│ │ ├── arm-softmmu.mak
│ │ ├── armeb-linux-user.mak
│ │ ├── cris-linux-user.mak
│ │ ├── cris-softmmu.mak
│ │ ├── hppa-linux-user.mak
│ │ ├── hppa-softmmu.mak
│ │ ├── hyperv.mak
│ │ ├── i386-bsd-user.mak
│ │ ├── i386-linux-user.mak
│ │ ├── i386-softmmu.mak
│ │ ├── lm32-softmmu.mak
│ │ ├── m68k-linux-user.mak
│ │ ├── m68k-softmmu.mak
│ │ ├── microblaze-linux-user.mak
│ │ ├── microblaze-softmmu.mak
│ │ ├── microblazeel-linux-user.mak
│ │ ├── microblazeel-softmmu.mak
│ │ ├── mips-linux-user.mak
│ │ ├── mips-softmmu-common.mak
│ │ ├── mips-softmmu.mak
│ │ ├── mips64-linux-user.mak
│ │ ├── mips64-softmmu.mak
│ │ ├── mips64el-linux-user.mak
│ │ ├── mips64el-softmmu.mak
│ │ ├── mipsel-linux-user.mak
│ │ ├── mipsel-softmmu.mak
│ │ ├── mipsn32-linux-user.mak
│ │ ├── mipsn32el-linux-user.mak
│ │ ├── moxie-softmmu.mak
│ │ ├── nios2-linux-user.mak
│ │ ├── nios2-softmmu.mak
│ │ ├── or1k-linux-user.mak
│ │ ├── or1k-softmmu.mak
│ │ ├── pci.mak
│ │ ├── ppc-linux-user.mak
│ │ ├── ppc-softmmu.mak
│ │ ├── ppc64-linux-user.mak
│ │ ├── ppc64-softmmu.mak
│ │ ├── ppc64abi32-linux-user.mak
│ │ ├── ppc64le-linux-user.mak
│ │ ├── riscv32-linux-user.mak
│ │ ├── riscv32-softmmu.mak
│ │ ├── riscv64-linux-user.mak
│ │ ├── riscv64-softmmu.mak
│ │ ├── s390x-linux-user.mak
│ │ ├── s390x-softmmu.mak
│ │ ├── sh4-linux-user.mak
│ │ ├── sh4-softmmu.mak
│ │ ├── sh4eb-linux-user.mak
│ │ ├── sh4eb-softmmu.mak
│ │ ├── sound.mak
│ │ ├── sparc-bsd-user.mak
│ │ ├── sparc-linux-user.mak
│ │ ├── sparc-softmmu.mak
│ │ ├── sparc32plus-linux-user.mak
│ │ ├── sparc64-bsd-user.mak
│ │ ├── sparc64-linux-user.mak
│ │ ├── sparc64-softmmu.mak
│ │ ├── tilegx-linux-user.mak
│ │ ├── tricore-softmmu.mak
│ │ ├── unicore32-softmmu.mak
│ │ ├── usb.mak
│ │ ├── virtio.mak
│ │ ├── x86_64-bsd-user.mak
│ │ ├── x86_64-linux-user.mak
│ │ ├── x86_64-softmmu.mak
│ │ ├── xtensa-linux-user.mak
│ │ ├── xtensa-softmmu.mak
│ │ ├── xtensaeb-linux-user.mak
│ │ └── xtensaeb-softmmu.mak
│ ├── device-hotplug.c
│ ├── device_tree.c
│ ├── disas/
│ │ ├── Makefile.objs
│ │ ├── alpha.c
│ │ ├── arm-a64.cc
│ │ ├── arm.c
│ │ ├── cris.c
│ │ ├── hppa.c
│ │ ├── i386.c
│ │ ├── libvixl/
│ │ │ ├── LICENCE
│ │ │ ├── Makefile.objs
│ │ │ ├── README
│ │ │ └── vixl/
│ │ │ ├── a64/
│ │ │ │ ├── assembler-a64.h
│ │ │ │ ├── constants-a64.h
│ │ │ │ ├── cpu-a64.h
│ │ │ │ ├── decoder-a64.cc
│ │ │ │ ├── decoder-a64.h
│ │ │ │ ├── disasm-a64.cc
│ │ │ │ ├── disasm-a64.h
│ │ │ │ ├── instructions-a64.cc
│ │ │ │ └── instructions-a64.h
│ │ │ ├── code-buffer.h
│ │ │ ├── compiler-intrinsics.cc
│ │ │ ├── compiler-intrinsics.h
│ │ │ ├── globals.h
│ │ │ ├── invalset.h
│ │ │ ├── platform.h
│ │ │ ├── utils.cc
│ │ │ └── utils.h
│ │ ├── lm32.c
│ │ ├── m68k.c
│ │ ├── microblaze.c
│ │ ├── mips.c
│ │ ├── moxie.c
│ │ ├── nanomips.cpp
│ │ ├── nanomips.h
│ │ ├── nios2.c
│ │ ├── ppc.c
│ │ ├── riscv.c
│ │ ├── s390.c
│ │ ├── sh4.c
│ │ ├── sparc.c
│ │ ├── tci.c
│ │ └── xtensa.c
│ ├── disas.c
│ ├── dma-helpers.c
│ ├── docs/
│ │ ├── COLO-FT.txt
│ │ ├── amd-memory-encryption.txt
│ │ ├── block-replication.txt
│ │ ├── bootindex.txt
│ │ ├── can.txt
│ │ ├── ccid.txt
│ │ ├── colo-proxy.txt
│ │ ├── config/
│ │ │ ├── ich9-ehci-uhci.cfg
│ │ │ ├── mach-virt-graphical.cfg
│ │ │ ├── mach-virt-serial.cfg
│ │ │ ├── q35-emulated.cfg
│ │ │ ├── q35-virtio-graphical.cfg
│ │ │ └── q35-virtio-serial.cfg
│ │ ├── devel/
│ │ │ ├── atomics.txt
│ │ │ ├── blkdebug.txt
│ │ │ ├── blkverify.txt
│ │ │ ├── build-system.txt
│ │ │ ├── loads-stores.rst
│ │ │ ├── lockcnt.txt
│ │ │ ├── memory.txt
│ │ │ ├── migration.rst
│ │ │ ├── multi-thread-tcg.txt
│ │ │ ├── multiple-iothreads.txt
│ │ │ ├── qapi-code-gen.txt
│ │ │ ├── rcu.txt
│ │ │ ├── stable-process.rst
│ │ │ ├── testing.rst
│ │ │ ├── tracing.txt
│ │ │ ├── virtio-migration.txt
│ │ │ └── writing-qmp-commands.txt
│ │ ├── generic-loader.txt
│ │ ├── igd-assign.txt
│ │ ├── image-fuzzer.txt
│ │ ├── interop/
│ │ │ ├── bitmaps.rst
│ │ │ ├── firmware.json
│ │ │ ├── live-block-operations.rst
│ │ │ ├── nbd.txt
│ │ │ ├── parallels.txt
│ │ │ ├── pr-helper.rst
│ │ │ ├── prl-xml.txt
│ │ │ ├── qcow2.txt
│ │ │ ├── qed_spec.txt
│ │ │ ├── qemu-ga-ref.texi
│ │ │ ├── qemu-qmp-ref.texi
│ │ │ ├── qmp-intro.txt
│ │ │ ├── qmp-spec.txt
│ │ │ ├── vhost-user.txt
│ │ │ └── vnc-ledstate-Pseudo-encoding.txt
│ │ ├── memory-hotplug.txt
│ │ ├── multi-thread-compression.txt
│ │ ├── multiseat.txt
│ │ ├── nvdimm.txt
│ │ ├── pci_expander_bridge.txt
│ │ ├── pcie.txt
│ │ ├── pcie_pci_bridge.txt
│ │ ├── pr-manager.rst
│ │ ├── pvrdma.txt
│ │ ├── qcow2-cache.txt
│ │ ├── qdev-device-use.txt
│ │ ├── qemu-block-drivers.texi
│ │ ├── qemu-cpu-models.texi
│ │ ├── qemupciserial.inf
│ │ ├── rdma.txt
│ │ ├── replay.txt
│ │ ├── specs/
│ │ │ ├── acpi_cpu_hotplug.txt
│ │ │ ├── acpi_mem_hotplug.txt
│ │ │ ├── acpi_nvdimm.txt
│ │ │ ├── acpi_pci_hotplug.txt
│ │ │ ├── edu.txt
│ │ │ ├── fw_cfg.txt
│ │ │ ├── ivshmem-spec.txt
│ │ │ ├── pci-ids.txt
│ │ │ ├── pci-serial.txt
│ │ │ ├── pci-testdev.txt
│ │ │ ├── ppc-spapr-hcalls.txt
│ │ │ ├── ppc-spapr-hotplug.txt
│ │ │ ├── pvpanic.txt
│ │ │ ├── rocker.txt
│ │ │ ├── standard-vga.txt
│ │ │ ├── tpm.txt
│ │ │ ├── vmcoreinfo.txt
│ │ │ ├── vmgenid.txt
│ │ │ └── vmw_pvscsi-spec.txt
│ │ ├── spice-port-fqdn.txt
│ │ ├── spin/
│ │ │ ├── aio_notify.promela
│ │ │ ├── aio_notify_accept.promela
│ │ │ ├── aio_notify_bug.promela
│ │ │ ├── tcg-exclusive.promela
│ │ │ └── win32-qemu-event.promela
│ │ ├── throttle.txt
│ │ ├── usb-storage.txt
│ │ ├── usb2.txt
│ │ ├── vfio-ap.txt
│ │ ├── virtio-balloon-stats.txt
│ │ ├── xbzrle.txt
│ │ └── xen-save-devices-state.txt
│ ├── dtc/
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── Documentation/
│ │ │ ├── dt-object-internal.txt
│ │ │ ├── dtc-paper.bib
│ │ │ ├── dtc-paper.tex
│ │ │ ├── dts-format.txt
│ │ │ └── manual.txt
│ │ ├── GPL
│ │ ├── Makefile
│ │ ├── Makefile.convert-dtsv0
│ │ ├── Makefile.dtc
│ │ ├── Makefile.utils
│ │ ├── README
│ │ ├── README.license
│ │ ├── TODO
│ │ ├── checks.c
│ │ ├── convert-dtsv0-lexer.l
│ │ ├── data.c
│ │ ├── dtc-lexer.l
│ │ ├── dtc-parser.y
│ │ ├── dtc.c
│ │ ├── dtc.h
│ │ ├── dtdiff
│ │ ├── fdtdump.c
│ │ ├── fdtget.c
│ │ ├── fdtoverlay.c
│ │ ├── fdtput.c
│ │ ├── flattree.c
│ │ ├── fstree.c
│ │ ├── libfdt/
│ │ │ ├── Makefile.libfdt
│ │ │ ├── TODO
│ │ │ ├── fdt.c
│ │ │ ├── fdt.h
│ │ │ ├── fdt_addresses.c
│ │ │ ├── fdt_empty_tree.c
│ │ │ ├── fdt_overlay.c
│ │ │ ├── fdt_ro.c
│ │ │ ├── fdt_rw.c
│ │ │ ├── fdt_strerror.c
│ │ │ ├── fdt_sw.c
│ │ │ ├── fdt_wip.c
│ │ │ ├── libfdt.h
│ │ │ ├── libfdt_env.h
│ │ │ ├── libfdt_internal.h
│ │ │ └── version.lds
│ │ ├── livetree.c
│ │ ├── pylibfdt/
│ │ │ ├── .gitignore
│ │ │ ├── Makefile.pylibfdt
│ │ │ ├── libfdt.i
│ │ │ └── setup.py
│ │ ├── scripts/
│ │ │ ├── kup-dtc
│ │ │ └── setlocalversion
│ │ ├── srcpos.c
│ │ ├── srcpos.h
│ │ ├── tests/
│ │ │ ├── .gitignore
│ │ │ ├── Makefile.tests
│ │ │ ├── add_subnode_with_nops.c
│ │ │ ├── addr_size_cells.c
│ │ │ ├── addr_size_cells2.c
│ │ │ ├── addresses.dts
│ │ │ ├── aliases.dts
│ │ │ ├── appendprop.dts
│ │ │ ├── appendprop1.c
│ │ │ ├── appendprop2.c
│ │ │ ├── asm_tree_dump.c
│ │ │ ├── bad-chosen.dts
│ │ │ ├── bad-empty-ranges.dts
│ │ │ ├── bad-gpio.dts
│ │ │ ├── bad-graph.dts
│ │ │ ├── bad-interrupt-cells.dts
│ │ │ ├── bad-name-property.dts
│ │ │ ├── bad-ncells.dts
│ │ │ ├── bad-octal-literal.dts
│ │ │ ├── bad-phandle-cells.dts
│ │ │ ├── bad-reg-ranges.dts
│ │ │ ├── bad-size-cells.dts
│ │ │ ├── bad-string-props.dts
│ │ │ ├── base01.asm
│ │ │ ├── base01.cmd
│ │ │ ├── base01.dts
│ │ │ ├── base01.stderr
│ │ │ ├── boot-cpuid.c
│ │ │ ├── boot-cpuid.dts
│ │ │ ├── char_literal.c
│ │ │ ├── char_literal.dts
│ │ │ ├── check_full.c
│ │ │ ├── check_header.c
│ │ │ ├── check_path.c
│ │ │ ├── comments-cmp.dts
│ │ │ ├── comments.dts
│ │ │ ├── data.S
│ │ │ ├── default-addr-size.dts
│ │ │ ├── del_node.c
│ │ │ ├── del_property.c
│ │ │ ├── delete_reinstate_multilabel.dts
│ │ │ ├── delete_reinstate_multilabel_ref.dts
│ │ │ ├── dependencies.cmp
│ │ │ ├── dependencies.dts
│ │ │ ├── deps_inc1.dtsi
│ │ │ ├── deps_inc2.dtsi
│ │ │ ├── division-by-zero.dts
│ │ │ ├── dtb_reverse.c
│ │ │ ├── dtbs_equal_ordered.c
│ │ │ ├── dtbs_equal_unordered.c
│ │ │ ├── dtc-checkfails.sh
│ │ │ ├── dtc-fails.sh
│ │ │ ├── dtc-fatal.sh
│ │ │ ├── dumptrees.c
│ │ │ ├── dup-nodename.dts
│ │ │ ├── dup-phandle.dts
│ │ │ ├── dup-propname.dts
│ │ │ ├── embedded_nul.dts
│ │ │ ├── embedded_nul_equiv.dts
│ │ │ ├── empty.dts
│ │ │ ├── escapes.dts
│ │ │ ├── extra-terminating-null.c
│ │ │ ├── extra-terminating-null.dts
│ │ │ ├── fdtdump-runtest.sh
│ │ │ ├── fdtdump.dts
│ │ │ ├── fdtget-runtest.sh
│ │ │ ├── fdtoverlay-runtest.sh
│ │ │ ├── fdtput-runtest.sh
│ │ │ ├── find_property.c
│ │ │ ├── get_alias.c
│ │ │ ├── get_mem_rsv.c
│ │ │ ├── get_name.c
│ │ │ ├── get_path.c
│ │ │ ├── get_phandle.c
│ │ │ ├── getprop.c
│ │ │ ├── incbin.c
│ │ │ ├── incbin.dts
│ │ │ ├── include0.dts
│ │ │ ├── include1.dts
│ │ │ ├── include2.dts
│ │ │ ├── include3.dts
│ │ │ ├── include4.dts
│ │ │ ├── include5.dts
│ │ │ ├── include5a.dts
│ │ │ ├── include6.dts
│ │ │ ├── include7.dts
│ │ │ ├── include8.dts
│ │ │ ├── integer-expressions.c
│ │ │ ├── label01.dts
│ │ │ ├── label_repeated.dts
│ │ │ ├── line_directives.dts
│ │ │ ├── lorem.txt
│ │ │ ├── mangle-layout.c
│ │ │ ├── minusone-phandle.dts
│ │ │ ├── move_and_save.c
│ │ │ ├── multilabel.dts
│ │ │ ├── multilabel_merge.dts
│ │ │ ├── node_check_compatible.c
│ │ │ ├── node_offset_by_compatible.c
│ │ │ ├── node_offset_by_phandle.c
│ │ │ ├── node_offset_by_prop_value.c
│ │ │ ├── nonexist-label-ref.dts
│ │ │ ├── nonexist-node-ref.dts
│ │ │ ├── nonexist-node-ref2.dts
│ │ │ ├── nop_node.c
│ │ │ ├── nop_property.c
│ │ │ ├── nopulate.c
│ │ │ ├── notfound.c
│ │ │ ├── nul-in-escape.dts
│ │ │ ├── nul-in-line-info1.dts
│ │ │ ├── nul-in-line-info2.dts
│ │ │ ├── obsolete-chosen-interrupt-controller.dts
│ │ │ ├── omit-no-ref.dts
│ │ │ ├── open_pack.c
│ │ │ ├── overlay.c
│ │ │ ├── overlay_bad_fixup.c
│ │ │ ├── overlay_bad_fixup_bad_index.dts
│ │ │ ├── overlay_bad_fixup_base.dtsi
│ │ │ ├── overlay_bad_fixup_empty.dts
│ │ │ ├── overlay_bad_fixup_empty_index.dts
│ │ │ ├── overlay_bad_fixup_index_trailing.dts
│ │ │ ├── overlay_bad_fixup_path_empty_prop.dts
│ │ │ ├── overlay_bad_fixup_path_only.dts
│ │ │ ├── overlay_bad_fixup_path_only_sep.dts
│ │ │ ├── overlay_bad_fixup_path_prop.dts
│ │ │ ├── overlay_base.dts
│ │ │ ├── overlay_base_manual_symbols.dts
│ │ │ ├── overlay_overlay.dts
│ │ │ ├── overlay_overlay_bypath.dts
│ │ │ ├── overlay_overlay_manual_fixups.dts
│ │ │ ├── overlay_overlay_no_fixups.dts
│ │ │ ├── overlay_overlay_nosugar.dts
│ │ │ ├── overlay_overlay_simple.dts
│ │ │ ├── parent_offset.c
│ │ │ ├── path-references.c
│ │ │ ├── path-references.dts
│ │ │ ├── path_offset.c
│ │ │ ├── path_offset_aliases.c
│ │ │ ├── pci-bridge-bad1.dts
│ │ │ ├── pci-bridge-bad2.dts
│ │ │ ├── pci-bridge-ok.dts
│ │ │ ├── phandle_format.c
│ │ │ ├── prop-after-subnode.dts
│ │ │ ├── property_iterate.c
│ │ │ ├── property_iterate.dts
│ │ │ ├── propname_escapes.c
│ │ │ ├── propname_escapes.dts
│ │ │ ├── pylibfdt_tests.py
│ │ │ ├── references.c
│ │ │ ├── references.dts
│ │ │ ├── reg-ranges-root.dts
│ │ │ ├── reg-without-unit-addr.dts
│ │ │ ├── reuse-label.dts
│ │ │ ├── reuse-label1.dts
│ │ │ ├── reuse-label2.dts
│ │ │ ├── reuse-label3.dts
│ │ │ ├── reuse-label4.dts
│ │ │ ├── reuse-label5.dts
│ │ │ ├── reuse-label6.dts
│ │ │ ├── root_node.c
│ │ │ ├── run_tests.sh
│ │ │ ├── rw_tree1.c
│ │ │ ├── search_dir/
│ │ │ │ ├── search_test.dtsi
│ │ │ │ └── search_test2.dtsi
│ │ │ ├── search_dir_b/
│ │ │ │ ├── search_paths_subdir.dts
│ │ │ │ ├── search_test_b.dtsi
│ │ │ │ ├── search_test_b2.dtsi
│ │ │ │ └── search_test_c.dtsi
│ │ │ ├── search_paths.dts
│ │ │ ├── search_paths_b.dts
│ │ │ ├── set_name.c
│ │ │ ├── setprop.c
│ │ │ ├── setprop_inplace.c
│ │ │ ├── sized_cells.c
│ │ │ ├── sized_cells.dts
│ │ │ ├── sourceoutput.dts
│ │ │ ├── stacked_overlay_bar.dts
│ │ │ ├── stacked_overlay_base.dts
│ │ │ ├── stacked_overlay_baz.dts
│ │ │ ├── string_escapes.c
│ │ │ ├── stringlist.c
│ │ │ ├── stringlist.dts
│ │ │ ├── subnode_iterate.c
│ │ │ ├── subnode_iterate.dts
│ │ │ ├── subnode_offset.c
│ │ │ ├── supernode_atdepth_offset.c
│ │ │ ├── sw_states.c
│ │ │ ├── sw_tree1.c
│ │ │ ├── test01.asm
│ │ │ ├── test01.dts
│ │ │ ├── test01.stderr
│ │ │ ├── test_kernel_dts
│ │ │ ├── test_label_ref.dts
│ │ │ ├── test_props.dts
│ │ │ ├── test_tree1.dts
│ │ │ ├── test_tree1_delete.dts
│ │ │ ├── test_tree1_label_noderef.dts
│ │ │ ├── test_tree1_merge.dts
│ │ │ ├── test_tree1_merge_labelled.dts
│ │ │ ├── test_tree1_merge_path.dts
│ │ │ ├── test_tree1_wrong1.dts
│ │ │ ├── test_tree1_wrong2.dts
│ │ │ ├── test_tree1_wrong3.dts
│ │ │ ├── test_tree1_wrong4.dts
│ │ │ ├── test_tree1_wrong5.dts
│ │ │ ├── test_tree1_wrong6.dts
│ │ │ ├── test_tree1_wrong7.dts
│ │ │ ├── test_tree1_wrong8.dts
│ │ │ ├── test_tree1_wrong9.dts
│ │ │ ├── testdata.h
│ │ │ ├── tests.h
│ │ │ ├── tests.sh
│ │ │ ├── testutils.c
│ │ │ ├── trees.S
│ │ │ ├── truncated_memrsv.c
│ │ │ ├── truncated_property.c
│ │ │ ├── truncated_string.c
│ │ │ ├── type-preservation.dts
│ │ │ ├── unit-addr-leading-0s.dts
│ │ │ ├── unit-addr-leading-0x.dts
│ │ │ ├── unit-addr-unique.dts
│ │ │ ├── unit-addr-without-reg.dts
│ │ │ ├── utilfdt_test.c
│ │ │ ├── value-labels.c
│ │ │ ├── value-labels.dts
│ │ │ └── zero-phandle.dts
│ │ ├── treesource.c
│ │ ├── util.c
│ │ └── util.h
│ ├── dump.c
│ ├── exec.c
│ ├── fpu/
│ │ ├── softfloat-specialize.h
│ │ └── softfloat.c
│ ├── fsdev/
│ │ ├── 9p-iov-marshal.c
│ │ ├── 9p-iov-marshal.h
│ │ ├── 9p-marshal.c
│ │ ├── 9p-marshal.h
│ │ ├── Makefile.objs
│ │ ├── file-op-9p.h
│ │ ├── qemu-fsdev-dummy.c
│ │ ├── qemu-fsdev-opts.c
│ │ ├── qemu-fsdev-throttle.c
│ │ ├── qemu-fsdev-throttle.h
│ │ ├── qemu-fsdev.c
│ │ ├── qemu-fsdev.h
│ │ ├── virtfs-proxy-helper.c
│ │ └── virtfs-proxy-helper.texi
│ ├── gdb-xml/
│ │ ├── aarch64-core.xml
│ │ ├── aarch64-fpu.xml
│ │ ├── arm-core.xml
│ │ ├── arm-neon.xml
│ │ ├── arm-vfp.xml
│ │ ├── arm-vfp3.xml
│ │ ├── cf-core.xml
│ │ ├── cf-fp.xml
│ │ ├── i386-32bit-core.xml
│ │ ├── i386-32bit-sse.xml
│ │ ├── i386-32bit.xml
│ │ ├── i386-64bit-core.xml
│ │ ├── i386-64bit-sse.xml
│ │ ├── i386-64bit.xml
│ │ ├── m68k-fp.xml
│ │ ├── power-altivec.xml
│ │ ├── power-core.xml
│ │ ├── power-fpu.xml
│ │ ├── power-spe.xml
│ │ ├── power-vsx.xml
│ │ ├── power64-core.xml
│ │ ├── s390-acr.xml
│ │ ├── s390-cr.xml
│ │ ├── s390-fpr.xml
│ │ ├── s390-gs.xml
│ │ ├── s390-virt.xml
│ │ ├── s390-vx.xml
│ │ └── s390x-core64.xml
│ ├── gdbstub.c
│ ├── hmp-commands-info.hx
│ ├── hmp-commands.hx
│ ├── hmp.c
│ ├── hmp.h
│ ├── hw/
│ │ ├── 9pfs/
│ │ │ ├── 9p-handle.c
│ │ │ ├── 9p-local.c
│ │ │ ├── 9p-local.h
│ │ │ ├── 9p-posix-acl.c
│ │ │ ├── 9p-proxy.c
│ │ │ ├── 9p-proxy.h
│ │ │ ├── 9p-synth.c
│ │ │ ├── 9p-synth.h
│ │ │ ├── 9p-util.c
│ │ │ ├── 9p-util.h
│ │ │ ├── 9p-xattr-user.c
│ │ │ ├── 9p-xattr.c
│ │ │ ├── 9p-xattr.h
│ │ │ ├── 9p.c
│ │ │ ├── 9p.h
│ │ │ ├── Makefile.objs
│ │ │ ├── codir.c
│ │ │ ├── cofile.c
│ │ │ ├── cofs.c
│ │ │ ├── coth.c
│ │ │ ├── coth.h
│ │ │ ├── coxattr.c
│ │ │ ├── trace-events
│ │ │ ├── virtio-9p-device.c
│ │ │ ├── virtio-9p.h
│ │ │ ├── xen-9p-backend.c
│ │ │ └── xen-9pfs.h
│ │ ├── Makefile.objs
│ │ ├── acpi/
│ │ │ ├── Makefile.objs
│ │ │ ├── acpi-stub.c
│ │ │ ├── acpi_interface.c
│ │ │ ├── aml-build.c
│ │ │ ├── bios-linker-loader.c
│ │ │ ├── core.c
│ │ │ ├── cpu.c
│ │ │ ├── cpu_hotplug.c
│ │ │ ├── ich9.c
│ │ │ ├── ipmi-stub.c
│ │ │ ├── ipmi.c
│ │ │ ├── memory_hotplug.c
│ │ │ ├── nvdimm.c
│ │ │ ├── pcihp.c
│ │ │ ├── piix4.c
│ │ │ ├── tco.c
│ │ │ ├── trace-events
│ │ │ └── vmgenid.c
│ │ ├── adc/
│ │ │ ├── Makefile.objs
│ │ │ └── stm32f2xx_adc.c
│ │ ├── alpha/
│ │ │ ├── Makefile.objs
│ │ │ ├── alpha_sys.h
│ │ │ ├── dp264.c
│ │ │ ├── pci.c
│ │ │ ├── trace-events
│ │ │ └── typhoon.c
│ │ ├── arm/
│ │ │ ├── Makefile.objs
│ │ │ ├── allwinner-a10.c
│ │ │ ├── armv7m.c
│ │ │ ├── aspeed.c
│ │ │ ├── aspeed_soc.c
│ │ │ ├── bcm2835_peripherals.c
│ │ │ ├── bcm2836.c
│ │ │ ├── boot.c
│ │ │ ├── collie.c
│ │ │ ├── cubieboard.c
│ │ │ ├── digic.c
│ │ │ ├── digic_boards.c
│ │ │ ├── exynos4210.c
│ │ │ ├── exynos4_boards.c
│ │ │ ├── fsl-imx25.c
│ │ │ ├── fsl-imx31.c
│ │ │ ├── fsl-imx6.c
│ │ │ ├── fsl-imx6ul.c
│ │ │ ├── fsl-imx7.c
│ │ │ ├── gumstix.c
│ │ │ ├── highbank.c
│ │ │ ├── imx25_pdk.c
│ │ │ ├── integratorcp.c
│ │ │ ├── iotkit.c
│ │ │ ├── kzm.c
│ │ │ ├── mainstone.c
│ │ │ ├── mcimx6ul-evk.c
│ │ │ ├── mcimx7d-sabre.c
│ │ │ ├── microbit.c
│ │ │ ├── mps2-tz.c
│ │ │ ├── mps2.c
│ │ │ ├── msf2-soc.c
│ │ │ ├── msf2-som.c
│ │ │ ├── musicpal.c
│ │ │ ├── netduino2.c
│ │ │ ├── nrf51_soc.c
│ │ │ ├── nseries.c
│ │ │ ├── omap1.c
│ │ │ ├── omap2.c
│ │ │ ├── omap_sx1.c
│ │ │ ├── palm.c
│ │ │ ├── pxa2xx.c
│ │ │ ├── pxa2xx_gpio.c
│ │ │ ├── pxa2xx_pic.c
│ │ │ ├── raspi.c
│ │ │ ├── realview.c
│ │ │ ├── sabrelite.c
│ │ │ ├── smmu-common.c
│ │ │ ├── smmu-internal.h
│ │ │ ├── smmuv3-internal.h
│ │ │ ├── smmuv3.c
│ │ │ ├── spitz.c
│ │ │ ├── stellaris.c
│ │ │ ├── stm32f205_soc.c
│ │ │ ├── strongarm.c
│ │ │ ├── strongarm.h
│ │ │ ├── sysbus-fdt.c
│ │ │ ├── tosa.c
│ │ │ ├── trace-events
│ │ │ ├── versatilepb.c
│ │ │ ├── vexpress.c
│ │ │ ├── virt-acpi-build.c
│ │ │ ├── virt.c
│ │ │ ├── xilinx_zynq.c
│ │ │ ├── xlnx-versal-virt.c
│ │ │ ├── xlnx-versal.c
│ │ │ ├── xlnx-zcu102.c
│ │ │ ├── xlnx-zynqmp.c
│ │ │ └── z2.c
│ │ ├── audio/
│ │ │ ├── Makefile.objs
│ │ │ ├── ac97.c
│ │ │ ├── adlib.c
│ │ │ ├── cs4231.c
│ │ │ ├── cs4231a.c
│ │ │ ├── es1370.c
│ │ │ ├── fmopl.c
│ │ │ ├── fmopl.h
│ │ │ ├── gus.c
│ │ │ ├── gusemu.h
│ │ │ ├── gusemu_hal.c
│ │ │ ├── gusemu_mixer.c
│ │ │ ├── gustate.h
│ │ │ ├── hda-codec-common.h
│ │ │ ├── hda-codec.c
│ │ │ ├── intel-hda-defs.h
│ │ │ ├── intel-hda.c
│ │ │ ├── intel-hda.h
│ │ │ ├── lm4549.c
│ │ │ ├── lm4549.h
│ │ │ ├── marvell_88w8618.c
│ │ │ ├── milkymist-ac97.c
│ │ │ ├── pcspk.c
│ │ │ ├── pl041.c
│ │ │ ├── pl041.h
│ │ │ ├── pl041.hx
│ │ │ ├── sb16.c
│ │ │ ├── soundhw.c
│ │ │ ├── trace-events
│ │ │ └── wm8750.c
│ │ ├── block/
│ │ │ ├── Makefile.objs
│ │ │ ├── block.c
│ │ │ ├── cdrom.c
│ │ │ ├── dataplane/
│ │ │ │ ├── Makefile.objs
│ │ │ │ ├── trace-events
│ │ │ │ ├── virtio-blk.c
│ │ │ │ └── virtio-blk.h
│ │ │ ├── ecc.c
│ │ │ ├── fdc.c
│ │ │ ├── hd-geometry.c
│ │ │ ├── m25p80.c
│ │ │ ├── nand.c
│ │ │ ├── nvme.c
│ │ │ ├── nvme.h
│ │ │ ├── onenand.c
│ │ │ ├── pflash_cfi01.c
│ │ │ ├── pflash_cfi02.c
│ │ │ ├── tc58128.c
│ │ │ ├── trace-events
│ │ │ ├── vhost-user-blk.c
│ │ │ ├── virtio-blk.c
│ │ │ ├── xen_blkif.h
│ │ │ └── xen_disk.c
│ │ ├── bt/
│ │ │ ├── Makefile.objs
│ │ │ ├── core.c
│ │ │ ├── hci-csr.c
│ │ │ ├── hci.c
│ │ │ ├── hid.c
│ │ │ ├── l2cap.c
│ │ │ └── sdp.c
│ │ ├── char/
│ │ │ ├── Makefile.objs
│ │ │ ├── bcm2835_aux.c
│ │ │ ├── cadence_uart.c
│ │ │ ├── cmsdk-apb-uart.c
│ │ │ ├── debugcon.c
│ │ │ ├── digic-uart.c
│ │ │ ├── escc.c
│ │ │ ├── etraxfs_ser.c
│ │ │ ├── exynos4210_uart.c
│ │ │ ├── grlib_apbuart.c
│ │ │ ├── imx_serial.c
│ │ │ ├── ipoctal232.c
│ │ │ ├── lm32_juart.c
│ │ │ ├── lm32_uart.c
│ │ │ ├── mcf_uart.c
│ │ │ ├── milkymist-uart.c
│ │ │ ├── nrf51_uart.c
│ │ │ ├── omap_uart.c
│ │ │ ├── parallel-isa.c
│ │ │ ├── parallel.c
│ │ │ ├── pl011.c
│ │ │ ├── sclpconsole-lm.c
│ │ │ ├── sclpconsole.c
│ │ │ ├── serial-isa.c
│ │ │ ├── serial-pci.c
│ │ │ ├── serial.c
│ │ │ ├── sh_serial.c
│ │ │ ├── spapr_vty.c
│ │ │ ├── stm32f2xx_usart.c
│ │ │ ├── terminal3270.c
│ │ │ ├── trace-events
│ │ │ ├── virtio-console.c
│ │ │ ├── virtio-serial-bus.c
│ │ │ ├── xen_console.c
│ │ │ └── xilinx_uartlite.c
│ │ ├── core/
│ │ │ ├── Makefile.objs
│ │ │ ├── bus.c
│ │ │ ├── empty_slot.c
│ │ │ ├── fw-path-provider.c
│ │ │ ├── generic-loader.c
│ │ │ ├── hotplug.c
│ │ │ ├── irq.c
│ │ │ ├── loader-fit.c
│ │ │ ├── loader.c
│ │ │ ├── machine.c
│ │ │ ├── nmi.c
│ │ │ ├── null-machine.c
│ │ │ ├── or-irq.c
│ │ │ ├── platform-bus.c
│ │ │ ├── ptimer.c
│ │ │ ├── qdev-fw.c
│ │ │ ├── qdev-properties-system.c
│ │ │ ├── qdev-properties.c
│ │ │ ├── qdev.c
│ │ │ ├── register.c
│ │ │ ├── reset.c
│ │ │ ├── split-irq.c
│ │ │ ├── stream.c
│ │ │ ├── sysbus.c
│ │ │ └── uboot_image.h
│ │ ├── cpu/
│ │ │ ├── Makefile.objs
│ │ │ ├── a15mpcore.c
│ │ │ ├── a9mpcore.c
│ │ │ ├── arm11mpcore.c
│ │ │ ├── core.c
│ │ │ └── realview_mpcore.c
│ │ ├── cris/
│ │ │ ├── Makefile.objs
│ │ │ ├── axis_dev88.c
│ │ │ ├── boot.c
│ │ │ └── boot.h
│ │ ├── display/
│ │ │ ├── Makefile.objs
│ │ │ ├── ads7846.c
│ │ │ ├── bcm2835_fb.c
│ │ │ ├── blizzard.c
│ │ │ ├── bochs-display.c
│ │ │ ├── cg3.c
│ │ │ ├── cirrus_vga.c
│ │ │ ├── cirrus_vga_internal.h
│ │ │ ├── cirrus_vga_isa.c
│ │ │ ├── cirrus_vga_rop.h
│ │ │ ├── cirrus_vga_rop2.h
│ │ │ ├── dpcd.c
│ │ │ ├── edid-generate.c
│ │ │ ├── edid-region.c
│ │ │ ├── exynos4210_fimd.c
│ │ │ ├── framebuffer.c
│ │ │ ├── framebuffer.h
│ │ │ ├── g364fb.c
│ │ │ ├── jazz_led.c
│ │ │ ├── milkymist-tmu2.c
│ │ │ ├── milkymist-vgafb.c
│ │ │ ├── milkymist-vgafb_template.h
│ │ │ ├── omap_dss.c
│ │ │ ├── omap_lcd_template.h
│ │ │ ├── omap_lcdc.c
│ │ │ ├── pl110.c
│ │ │ ├── pl110_template.h
│ │ │ ├── pxa2xx_lcd.c
│ │ │ ├── pxa2xx_template.h
│ │ │ ├── qxl-logger.c
│ │ │ ├── qxl-render.c
│ │ │ ├── qxl.c
│ │ │ ├── qxl.h
│ │ │ ├── ramfb-standalone.c
│ │ │ ├── ramfb.c
│ │ │ ├── sii9022.c
│ │ │ ├── sm501.c
│ │ │ ├── sm501_template.h
│ │ │ ├── ssd0303.c
│ │ │ ├── ssd0323.c
│ │ │ ├── tc6393xb.c
│ │ │ ├── tc6393xb_template.h
│ │ │ ├── tcx.c
│ │ │ ├── trace-events
│ │ │ ├── vga-helpers.h
│ │ │ ├── vga-isa-mm.c
│ │ │ ├── vga-isa.c
│ │ │ ├── vga-pci.c
│ │ │ ├── vga.c
│ │ │ ├── vga_int.h
│ │ │ ├── vga_regs.h
│ │ │ ├── virtio-gpu-3d.c
│ │ │ ├── virtio-gpu-pci.c
│ │ │ ├── virtio-gpu.c
│ │ │ ├── virtio-vga.c
│ │ │ ├── vmware_vga.c
│ │ │ ├── xenfb.c
│ │ │ └── xlnx_dp.c
│ │ ├── dma/
│ │ │ ├── Makefile.objs
│ │ │ ├── bcm2835_dma.c
│ │ │ ├── etraxfs_dma.c
│ │ │ ├── i82374.c
│ │ │ ├── i8257.c
│ │ │ ├── omap_dma.c
│ │ │ ├── pl080.c
│ │ │ ├── pl330.c
│ │ │ ├── puv3_dma.c
│ │ │ ├── pxa2xx_dma.c
│ │ │ ├── rc4030.c
│ │ │ ├── soc_dma.c
│ │ │ ├── sparc32_dma.c
│ │ │ ├── trace-events
│ │ │ ├── xilinx_axidma.c
│ │ │ ├── xlnx-zdma.c
│ │ │ ├── xlnx-zynq-devcfg.c
│ │ │ └── xlnx_dpdma.c
│ │ ├── gpio/
│ │ │ ├── Makefile.objs
│ │ │ ├── bcm2835_gpio.c
│ │ │ ├── gpio_key.c
│ │ │ ├── imx_gpio.c
│ │ │ ├── max7310.c
│ │ │ ├── mpc8xxx.c
│ │ │ ├── omap_gpio.c
│ │ │ ├── pl061.c
│ │ │ ├── puv3_gpio.c
│ │ │ └── zaurus.c
│ │ ├── hppa/
│ │ │ ├── Makefile.objs
│ │ │ ├── dino.c
│ │ │ ├── hppa_hardware.h
│ │ │ ├── hppa_sys.h
│ │ │ ├── machine.c
│ │ │ ├── pci.c
│ │ │ └── trace-events
│ │ ├── hyperv/
│ │ │ ├── Makefile.objs
│ │ │ ├── hyperv.c
│ │ │ └── hyperv_testdev.c
│ │ ├── i2c/
│ │ │ ├── Makefile.objs
│ │ │ ├── aspeed_i2c.c
│ │ │ ├── bitbang_i2c.c
│ │ │ ├── bitbang_i2c.h
│ │ │ ├── core.c
│ │ │ ├── exynos4210_i2c.c
│ │ │ ├── i2c-ddc.c
│ │ │ ├── imx_i2c.c
│ │ │ ├── omap_i2c.c
│ │ │ ├── pm_smbus.c
│ │ │ ├── ppc4xx_i2c.c
│ │ │ ├── smbus.c
│ │ │ ├── smbus_eeprom.c
│ │ │ ├── smbus_ich9.c
│ │ │ ├── trace-events
│ │ │ └── versatile_i2c.c
│ │ ├── i386/
│ │ │ ├── Makefile.objs
│ │ │ ├── acpi-build.c
│ │ │ ├── acpi-build.h
│ │ │ ├── amd_iommu.c
│ │ │ ├── amd_iommu.h
│ │ │ ├── intel_iommu.c
│ │ │ ├── intel_iommu_internal.h
│ │ │ ├── kvm/
│ │ │ │ ├── Makefile.objs
│ │ │ │ ├── apic.c
│ │ │ │ ├── clock.c
│ │ │ │ ├── i8254.c
│ │ │ │ ├── i8259.c
│ │ │ │ └── ioapic.c
│ │ │ ├── kvmvapic.c
│ │ │ ├── multiboot.c
│ │ │ ├── multiboot.h
│ │ │ ├── pc.c
│ │ │ ├── pc_piix.c
│ │ │ ├── pc_q35.c
│ │ │ ├── pc_sysfw.c
│ │ │ ├── trace-events
│ │ │ ├── vmmouse.c
│ │ │ ├── vmport.c
│ │ │ ├── x86-iommu.c
│ │ │ └── xen/
│ │ │ ├── Makefile.objs
│ │ │ ├── trace-events
│ │ │ ├── xen-hvm.c
│ │ │ ├── xen-mapcache.c
│ │ │ ├── xen_apic.c
│ │ │ ├── xen_platform.c
│ │ │ └── xen_pvdevice.c
│ │ ├── ide/
│ │ │ ├── Makefile.objs
│ │ │ ├── ahci-allwinner.c
│ │ │ ├── ahci.c
│ │ │ ├── ahci_internal.h
│ │ │ ├── atapi.c
│ │ │ ├── cmd646.c
│ │ │ ├── core.c
│ │ │ ├── ich.c
│ │ │ ├── isa.c
│ │ │ ├── macio.c
│ │ │ ├── microdrive.c
│ │ │ ├── mmio.c
│ │ │ ├── pci.c
│ │ │ ├── piix.c
│ │ │ ├── qdev.c
│ │ │ ├── sii3112.c
│ │ │ ├── trace-events
│ │ │ └── via.c
│ │ ├── input/
│ │ │ ├── Makefile.objs
│ │ │ ├── adb-internal.h
│ │ │ ├── adb-kbd.c
│ │ │ ├── adb-mouse.c
│ │ │ ├── adb.c
│ │ │ ├── hid.c
│ │ │ ├── lm832x.c
│ │ │ ├── milkymist-softusb.c
│ │ │ ├── pckbd.c
│ │ │ ├── pl050.c
│ │ │ ├── ps2.c
│ │ │ ├── pxa2xx_keypad.c
│ │ │ ├── stellaris_input.c
│ │ │ ├── trace-events
│ │ │ ├── tsc2005.c
│ │ │ ├── tsc210x.c
│ │ │ ├── virtio-input-hid.c
│ │ │ ├── virtio-input-host.c
│ │ │ └── virtio-input.c
│ │ ├── intc/
│ │ │ ├── Makefile.objs
│ │ │ ├── allwinner-a10-pic.c
│ │ │ ├── apic.c
│ │ │ ├── apic_common.c
│ │ │ ├── arm_gic.c
│ │ │ ├── arm_gic_common.c
│ │ │ ├── arm_gic_kvm.c
│ │ │ ├── arm_gicv2m.c
│ │ │ ├── arm_gicv3.c
│ │ │ ├── arm_gicv3_common.c
│ │ │ ├── arm_gicv3_cpuif.c
│ │ │ ├── arm_gicv3_dist.c
│ │ │ ├── arm_gicv3_its_common.c
│ │ │ ├── arm_gicv3_its_kvm.c
│ │ │ ├── arm_gicv3_kvm.c
│ │ │ ├── arm_gicv3_redist.c
│ │ │ ├── armv7m_nvic.c
│ │ │ ├── aspeed_vic.c
│ │ │ ├── bcm2835_ic.c
│ │ │ ├── bcm2836_control.c
│ │ │ ├── etraxfs_pic.c
│ │ │ ├── exynos4210_combiner.c
│ │ │ ├── exynos4210_gic.c
│ │ │ ├── gic_internal.h
│ │ │ ├── gicv3_internal.h
│ │ │ ├── grlib_irqmp.c
│ │ │ ├── heathrow_pic.c
│ │ │ ├── i8259.c
│ │ │ ├── i8259_common.c
│ │ │ ├── imx_avic.c
│ │ │ ├── imx_gpcv2.c
│ │ │ ├── intc.c
│ │ │ ├── ioapic.c
│ │ │ ├── ioapic_common.c
│ │ │ ├── lm32_pic.c
│ │ │ ├── mips_gic.c
│ │ │ ├── nios2_iic.c
│ │ │ ├── omap_intc.c
│ │ │ ├── ompic.c
│ │ │ ├── openpic.c
│ │ │ ├── openpic_kvm.c
│ │ │ ├── pl190.c
│ │ │ ├── puv3_intc.c
│ │ │ ├── realview_gic.c
│ │ │ ├── s390_flic.c
│ │ │ ├── s390_flic_kvm.c
│ │ │ ├── sh_intc.c
│ │ │ ├── slavio_intctl.c
│ │ │ ├── trace-events
│ │ │ ├── vgic_common.h
│ │ │ ├── xics.c
│ │ │ ├── xics_kvm.c
│ │ │ ├── xics_pnv.c
│ │ │ ├── xics_spapr.c
│ │ │ ├── xilinx_intc.c
│ │ │ ├── xlnx-pmu-iomod-intc.c
│ │ │ └── xlnx-zynqmp-ipi.c
│ │ ├── ipack/
│ │ │ ├── Makefile.objs
│ │ │ ├── ipack.c
│ │ │ └── tpci200.c
│ │ ├── ipmi/
│ │ │ ├── Makefile.objs
│ │ │ ├── ipmi.c
│ │ │ ├── ipmi_bmc_extern.c
│ │ │ ├── ipmi_bmc_sim.c
│ │ │ ├── isa_ipmi_bt.c
│ │ │ └── isa_ipmi_kcs.c
│ │ ├── isa/
│ │ │ ├── Makefile.objs
│ │ │ ├── apm.c
│ │ │ ├── i82378.c
│ │ │ ├── isa-bus.c
│ │ │ ├── isa-superio.c
│ │ │ ├── lpc_ich9.c
│ │ │ ├── pc87312.c
│ │ │ ├── piix4.c
│ │ │ ├── smc37c669-superio.c
│ │ │ ├── trace-events
│ │ │ └── vt82c686.c
│ │ ├── lm32/
│ │ │ ├── Makefile.objs
│ │ │ ├── lm32.h
│ │ │ ├── lm32_boards.c
│ │ │ ├── lm32_hwsetup.h
│ │ │ ├── milkymist-hw.h
│ │ │ └── milkymist.c
│ │ ├── m68k/
│ │ │ ├── Makefile.objs
│ │ │ ├── an5206.c
│ │ │ ├── mcf5206.c
│ │ │ ├── mcf5208.c
│ │ │ └── mcf_intc.c
│ │ ├── mem/
│ │ │ ├── Makefile.objs
│ │ │ ├── memory-device.c
│ │ │ ├── nvdimm.c
│ │ │ ├── pc-dimm.c
│ │ │ └── trace-events
│ │ ├── microblaze/
│ │ │ ├── Makefile.objs
│ │ │ ├── boot.c
│ │ │ ├── boot.h
│ │ │ ├── petalogix_ml605_mmu.c
│ │ │ ├── petalogix_s3adsp1800_mmu.c
│ │ │ └── xlnx-zynqmp-pmu.c
│ │ ├── mips/
│ │ │ ├── Makefile.objs
│ │ │ ├── addr.c
│ │ │ ├── boston.c
│ │ │ ├── cps.c
│ │ │ ├── gt64xxx_pci.c
│ │ │ ├── mips_fulong2e.c
│ │ │ ├── mips_int.c
│ │ │ ├── mips_jazz.c
│ │ │ ├── mips_malta.c
│ │ │ ├── mips_mipssim.c
│ │ │ └── mips_r4k.c
│ │ ├── misc/
│ │ │ ├── Makefile.objs
│ │ │ ├── a9scu.c
│ │ │ ├── applesmc.c
│ │ │ ├── arm11scu.c
│ │ │ ├── arm_integrator_debug.c
│ │ │ ├── arm_l2x0.c
│ │ │ ├── arm_sysctl.c
│ │ │ ├── aspeed_scu.c
│ │ │ ├── aspeed_sdmc.c
│ │ │ ├── auxbus.c
│ │ │ ├── bcm2835_mbox.c
│ │ │ ├── bcm2835_property.c
│ │ │ ├── bcm2835_rng.c
│ │ │ ├── cbus.c
│ │ │ ├── debugexit.c
│ │ │ ├── eccmemctl.c
│ │ │ ├── edu.c
│ │ │ ├── exynos4210_clk.c
│ │ │ ├── exynos4210_pmu.c
│ │ │ ├── exynos4210_rng.c
│ │ │ ├── imx25_ccm.c
│ │ │ ├── imx2_wdt.c
│ │ │ ├── imx31_ccm.c
│ │ │ ├── imx6_ccm.c
│ │ │ ├── imx6_src.c
│ │ │ ├── imx6ul_ccm.c
│ │ │ ├── imx7_ccm.c
│ │ │ ├── imx7_gpr.c
│ │ │ ├── imx7_snvs.c
│ │ │ ├── imx_ccm.c
│ │ │ ├── iotkit-secctl.c
│ │ │ ├── iotkit-sysctl.c
│ │ │ ├── iotkit-sysinfo.c
│ │ │ ├── ivshmem.c
│ │ │ ├── macio/
│ │ │ │ ├── Makefile.objs
│ │ │ │ ├── cuda.c
│ │ │ │ ├── gpio.c
│ │ │ │ ├── mac_dbdma.c
│ │ │ │ ├── macio.c
│ │ │ │ ├── pmu.c
│ │ │ │ └── trace-events
│ │ │ ├── max111x.c
│ │ │ ├── milkymist-hpdmc.c
│ │ │ ├── milkymist-pfpu.c
│ │ │ ├── mips_cmgcr.c
│ │ │ ├── mips_cpc.c
│ │ │ ├── mips_itu.c
│ │ │ ├── mos6522.c
│ │ │ ├── mps2-fpgaio.c
│ │ │ ├── mps2-scc.c
│ │ │ ├── msf2-sysreg.c
│ │ │ ├── mst_fpga.c
│ │ │ ├── omap_clk.c
│ │ │ ├── omap_gpmc.c
│ │ │ ├── omap_l4.c
│ │ │ ├── omap_sdrc.c
│ │ │ ├── omap_tap.c
│ │ │ ├── pc-testdev.c
│ │ │ ├── pca9552.c
│ │ │ ├── pci-testdev.c
│ │ │ ├── puv3_pm.c
│ │ │ ├── pvpanic.c
│ │ │ ├── sga.c
│ │ │ ├── slavio_misc.c
│ │ │ ├── stm32f2xx_syscfg.c
│ │ │ ├── tmp105.c
│ │ │ ├── tmp105.h
│ │ │ ├── tmp421.c
│ │ │ ├── trace-events
│ │ │ ├── tz-mpc.c
│ │ │ ├── tz-msc.c
│ │ │ ├── tz-ppc.c
│ │ │ ├── unimp.c
│ │ │ ├── vmcoreinfo.c
│ │ │ ├── zynq-xadc.c
│ │ │ └── zynq_slcr.c
│ │ ├── moxie/
│ │ │ ├── Makefile.objs
│ │ │ └── moxiesim.c
│ │ ├── net/
│ │ │ ├── Makefile.objs
│ │ │ ├── allwinner_emac.c
│ │ │ ├── cadence_gem.c
│ │ │ ├── can/
│ │ │ │ ├── Makefile.objs
│ │ │ │ ├── can_kvaser_pci.c
│ │ │ │ ├── can_mioe3680_pci.c
│ │ │ │ ├── can_pcm3680_pci.c
│ │ │ │ ├── can_sja1000.c
│ │ │ │ └── can_sja1000.h
│ │ │ ├── dp8393x.c
│ │ │ ├── e1000.c
│ │ │ ├── e1000_regs.h
│ │ │ ├── e1000e.c
│ │ │ ├── e1000e_core.c
│ │ │ ├── e1000e_core.h
│ │ │ ├── e1000x_common.c
│ │ │ ├── e1000x_common.h
│ │ │ ├── eepro100.c
│ │ │ ├── etraxfs_eth.c
│ │ │ ├── fsl_etsec/
│ │ │ │ ├── etsec.c
│ │ │ │ ├── etsec.h
│ │ │ │ ├── miim.c
│ │ │ │ ├── registers.c
│ │ │ │ ├── registers.h
│ │ │ │ └── rings.c
│ │ │ ├── ftgmac100.c
│ │ │ ├── imx_fec.c
│ │ │ ├── lan9118.c
│ │ │ ├── lance.c
│ │ │ ├── mcf_fec.c
│ │ │ ├── milkymist-minimac2.c
│ │ │ ├── mipsnet.c
│ │ │ ├── ne2000-isa.c
│ │ │ ├── ne2000.c
│ │ │ ├── ne2000.h
│ │ │ ├── net_rx_pkt.c
│ │ │ ├── net_rx_pkt.h
│ │ │ ├── net_tx_pkt.c
│ │ │ ├── net_tx_pkt.h
│ │ │ ├── opencores_eth.c
│ │ │ ├── pcnet-pci.c
│ │ │ ├── pcnet.c
│ │ │ ├── pcnet.h
│ │ │ ├── rocker/
│ │ │ │ ├── qmp-norocker.c
│ │ │ │ ├── rocker.c
│ │ │ │ ├── rocker.h
│ │ │ │ ├── rocker_desc.c
│ │ │ │ ├── rocker_desc.h
│ │ │ │ ├── rocker_fp.c
│ │ │ │ ├── rocker_fp.h
│ │ │ │ ├── rocker_hw.h
│ │ │ │ ├── rocker_of_dpa.c
│ │ │ │ ├── rocker_of_dpa.h
│ │ │ │ ├── rocker_tlv.h
│ │ │ │ ├── rocker_world.c
│ │ │ │ └── rocker_world.h
│ │ │ ├── rtl8139.c
│ │ │ ├── smc91c111.c
│ │ │ ├── spapr_llan.c
│ │ │ ├── stellaris_enet.c
│ │ │ ├── sungem.c
│ │ │ ├── sunhme.c
│ │ │ ├── trace-events
│ │ │ ├── vhost_net.c
│ │ │ ├── virtio-net.c
│ │ │ ├── vmware_utils.h
│ │ │ ├── vmxnet3.c
│ │ │ ├── vmxnet3.h
│ │ │ ├── vmxnet_debug.h
│ │ │ ├── xen_nic.c
│ │ │ ├── xgmac.c
│ │ │ ├── xilinx_axienet.c
│ │ │ └── xilinx_ethlite.c
│ │ ├── nios2/
│ │ │ ├── 10m50_devboard.c
│ │ │ ├── Makefile.objs
│ │ │ ├── boot.c
│ │ │ ├── boot.h
│ │ │ └── cpu_pic.c
│ │ ├── nvram/
│ │ │ ├── Makefile.objs
│ │ │ ├── chrp_nvram.c
│ │ │ ├── ds1225y.c
│ │ │ ├── eeprom93xx.c
│ │ │ ├── eeprom_at24c.c
│ │ │ ├── fw_cfg.c
│ │ │ ├── mac_nvram.c
│ │ │ ├── spapr_nvram.c
│ │ │ └── trace-events
│ │ ├── openrisc/
│ │ │ ├── Makefile.objs
│ │ │ ├── cputimer.c
│ │ │ ├── openrisc_sim.c
│ │ │ └── pic_cpu.c
│ │ ├── pci/
│ │ │ ├── Makefile.objs
│ │ │ ├── msi.c
│ │ │ ├── msix.c
│ │ │ ├── pci-stub.c
│ │ │ ├── pci.c
│ │ │ ├── pci_bridge.c
│ │ │ ├── pci_host.c
│ │ │ ├── pcie.c
│ │ │ ├── pcie_aer.c
│ │ │ ├── pcie_host.c
│ │ │ ├── pcie_port.c
│ │ │ ├── shpc.c
│ │ │ ├── slotid_cap.c
│ │ │ └── trace-events
│ │ ├── pci-bridge/
│ │ │ ├── Makefile.objs
│ │ │ ├── dec.c
│ │ │ ├── dec.h
│ │ │ ├── gen_pcie_root_port.c
│ │ │ ├── i82801b11.c
│ │ │ ├── ioh3420.c
│ │ │ ├── pci_bridge_dev.c
│ │ │ ├── pci_expander_bridge.c
│ │ │ ├── pcie_pci_bridge.c
│ │ │ ├── pcie_root_port.c
│ │ │ ├── simba.c
│ │ │ ├── xio3130_downstream.c
│ │ │ └── xio3130_upstream.c
│ │ ├── pci-host/
│ │ │ ├── Makefile.objs
│ │ │ ├── bonito.c
│ │ │ ├── designware.c
│ │ │ ├── gpex.c
│ │ │ ├── grackle.c
│ │ │ ├── pam.c
│ │ │ ├── piix.c
│ │ │ ├── ppce500.c
│ │ │ ├── prep.c
│ │ │ ├── q35.c
│ │ │ ├── sabre.c
│ │ │ ├── trace-events
│ │ │ ├── uninorth.c
│ │ │ ├── versatile.c
│ │ │ └── xilinx-pcie.c
│ │ ├── pcmcia/
│ │ │ ├── Makefile.objs
│ │ │ ├── pcmcia.c
│ │ │ └── pxa2xx.c
│ │ ├── ppc/
│ │ │ ├── Makefile.objs
│ │ │ ├── e500-ccsr.h
│ │ │ ├── e500.c
│ │ │ ├── e500.h
│ │ │ ├── e500plat.c
│ │ │ ├── fdt.c
│ │ │ ├── mac.h
│ │ │ ├── mac_newworld.c
│ │ │ ├── mac_oldworld.c
│ │ │ ├── mpc8544_guts.c
│ │ │ ├── mpc8544ds.c
│ │ │ ├── pnv.c
│ │ │ ├── pnv_bmc.c
│ │ │ ├── pnv_core.c
│ │ │ ├── pnv_lpc.c
│ │ │ ├── pnv_occ.c
│ │ │ ├── pnv_psi.c
│ │ │ ├── pnv_xscom.c
│ │ │ ├── ppc.c
│ │ │ ├── ppc405.h
│ │ │ ├── ppc405_boards.c
│ │ │ ├── ppc405_uc.c
│ │ │ ├── ppc440.h
│ │ │ ├── ppc440_bamboo.c
│ │ │ ├── ppc440_pcix.c
│ │ │ ├── ppc440_uc.c
│ │ │ ├── ppc4xx_devs.c
│ │ │ ├── ppc4xx_pci.c
│ │ │ ├── ppc_booke.c
│ │ │ ├── ppce500_spin.c
│ │ │ ├── prep.c
│ │ │ ├── prep_systemio.c
│ │ │ ├── rs6000_mc.c
│ │ │ ├── sam460ex.c
│ │ │ ├── spapr.c
│ │ │ ├── spapr_caps.c
│ │ │ ├── spapr_cpu_core.c
│ │ │ ├── spapr_drc.c
│ │ │ ├── spapr_events.c
│ │ │ ├── spapr_hcall.c
│ │ │ ├── spapr_iommu.c
│ │ │ ├── spapr_irq.c
│ │ │ ├── spapr_ovec.c
│ │ │ ├── spapr_pci.c
│ │ │ ├── spapr_pci_vfio.c
│ │ │ ├── spapr_rng.c
│ │ │ ├── spapr_rtas.c
│ │ │ ├── spapr_rtas_ddw.c
│ │ │ ├── spapr_rtc.c
│ │ │ ├── spapr_vio.c
│ │ │ ├── trace-events
│ │ │ └── virtex_ml507.c
│ │ ├── rdma/
│ │ │ ├── Makefile.objs
│ │ │ ├── rdma_backend.c
│ │ │ ├── rdma_backend.h
│ │ │ ├── rdma_backend_defs.h
│ │ │ ├── rdma_rm.c
│ │ │ ├── rdma_rm.h
│ │ │ ├── rdma_rm_defs.h
│ │ │ ├── rdma_utils.c
│ │ │ ├── rdma_utils.h
│ │ │ ├── trace-events
│ │ │ └── vmw/
│ │ │ ├── pvrdma.h
│ │ │ ├── pvrdma_cmd.c
│ │ │ ├── pvrdma_dev_ring.c
│ │ │ ├── pvrdma_dev_ring.h
│ │ │ ├── pvrdma_main.c
│ │ │ ├── pvrdma_qp_ops.c
│ │ │ ├── pvrdma_qp_ops.h
│ │ │ └── trace-events
│ │ ├── riscv/
│ │ │ ├── Makefile.objs
│ │ │ ├── riscv_hart.c
│ │ │ ├── riscv_htif.c
│ │ │ ├── sifive_clint.c
│ │ │ ├── sifive_e.c
│ │ │ ├── sifive_plic.c
│ │ │ ├── sifive_prci.c
│ │ │ ├── sifive_test.c
│ │ │ ├── sifive_u.c
│ │ │ ├── sifive_uart.c
│ │ │ ├── spike.c
│ │ │ └── virt.c
│ │ ├── s390x/
│ │ │ ├── 3270-ccw.c
│ │ │ ├── Makefile.objs
│ │ │ ├── ap-bridge.c
│ │ │ ├── ap-device.c
│ │ │ ├── ccw-device.c
│ │ │ ├── ccw-device.h
│ │ │ ├── css-bridge.c
│ │ │ ├── css.c
│ │ │ ├── event-facility.c
│ │ │ ├── ipl.c
│ │ │ ├── ipl.h
│ │ │ ├── s390-ccw.c
│ │ │ ├── s390-pci-bus.c
│ │ │ ├── s390-pci-bus.h
│ │ │ ├── s390-pci-inst.c
│ │ │ ├── s390-pci-inst.h
│ │ │ ├── s390-pci-stub.c
│ │ │ ├── s390-skeys-kvm.c
│ │ │ ├── s390-skeys.c
│ │ │ ├── s390-stattrib-kvm.c
│ │ │ ├── s390-stattrib.c
│ │ │ ├── s390-virtio-ccw.c
│ │ │ ├── s390-virtio-hcall.c
│ │ │ ├── s390-virtio-hcall.h
│ │ │ ├── sclp.c
│ │ │ ├── sclpcpu.c
│ │ │ ├── sclpquiesce.c
│ │ │ ├── tod-kvm.c
│ │ │ ├── tod-qemu.c
│ │ │ ├── tod.c
│ │ │ ├── trace-events
│ │ │ ├── vhost-vsock-ccw.c
│ │ │ ├── virtio-ccw-9p.c
│ │ │ ├── virtio-ccw-balloon.c
│ │ │ ├── virtio-ccw-blk.c
│ │ │ ├── virtio-ccw-crypto.c
│ │ │ ├── virtio-ccw-gpu.c
│ │ │ ├── virtio-ccw-input.c
│ │ │ ├── virtio-ccw-net.c
│ │ │ ├── virtio-ccw-rng.c
│ │ │ ├── virtio-ccw-scsi.c
│ │ │ ├── virtio-ccw-serial.c
│ │ │ ├── virtio-ccw.c
│ │ │ └── virtio-ccw.h
│ │ ├── scsi/
│ │ │ ├── Makefile.objs
│ │ │ ├── emulation.c
│ │ │ ├── esp-pci.c
│ │ │ ├── esp.c
│ │ │ ├── lsi53c895a.c
│ │ │ ├── megasas.c
│ │ │ ├── mfi.h
│ │ │ ├── mpi.h
│ │ │ ├── mptconfig.c
│ │ │ ├── mptendian.c
│ │ │ ├── mptsas.c
│ │ │ ├── mptsas.h
│ │ │ ├── scsi-bus.c
│ │ │ ├── scsi-disk.c
│ │ │ ├── scsi-generic.c
│ │ │ ├── spapr_vscsi.c
│ │ │ ├── srp.h
│ │ │ ├── trace-events
│ │ │ ├── vhost-scsi-common.c
│ │ │ ├── vhost-scsi.c
│ │ │ ├── vhost-user-scsi.c
│ │ │ ├── viosrp.h
│ │ │ ├── virtio-scsi-dataplane.c
│ │ │ ├── virtio-scsi.c
│ │ │ ├── vmw_pvscsi.c
│ │ │ └── vmw_pvscsi.h
│ │ ├── sd/
│ │ │ ├── Makefile.objs
│ │ │ ├── bcm2835_sdhost.c
│ │ │ ├── core.c
│ │ │ ├── milkymist-memcard.c
│ │ │ ├── omap_mmc.c
│ │ │ ├── pl181.c
│ │ │ ├── pxa2xx_mmci.c
│ │ │ ├── sd.c
│ │ │ ├── sdhci-internal.h
│ │ │ ├── sdhci.c
│ │ │ ├── sdmmc-internal.c
│ │ │ ├── sdmmc-internal.h
│ │ │ ├── ssi-sd.c
│ │ │ └── trace-events
│ │ ├── sh4/
│ │ │ ├── Makefile.objs
│ │ │ ├── r2d.c
│ │ │ ├── sh7750.c
│ │ │ ├── sh7750_regnames.c
│ │ │ ├── sh7750_regnames.h
│ │ │ ├── sh7750_regs.h
│ │ │ ├── sh_pci.c
│ │ │ └── shix.c
│ │ ├── smbios/
│ │ │ ├── Makefile.objs
│ │ │ ├── smbios-stub.c
│ │ │ ├── smbios.c
│ │ │ ├── smbios_build.h
│ │ │ ├── smbios_type_38-stub.c
│ │ │ └── smbios_type_38.c
│ │ ├── sparc/
│ │ │ ├── Makefile.objs
│ │ │ ├── leon3.c
│ │ │ ├── sun4m.c
│ │ │ ├── sun4m_iommu.c
│ │ │ └── trace-events
│ │ ├── sparc64/
│ │ │ ├── Makefile.objs
│ │ │ ├── niagara.c
│ │ │ ├── sparc64.c
│ │ │ ├── sun4u.c
│ │ │ ├── sun4u_iommu.c
│ │ │ └── trace-events
│ │ ├── ssi/
│ │ │ ├── Makefile.objs
│ │ │ ├── aspeed_smc.c
│ │ │ ├── imx_spi.c
│ │ │ ├── mss-spi.c
│ │ │ ├── omap_spi.c
│ │ │ ├── pl022.c
│ │ │ ├── ssi.c
│ │ │ ├── stm32f2xx_spi.c
│ │ │ ├── xilinx_spi.c
│ │ │ └── xilinx_spips.c
│ │ ├── timer/
│ │ │ ├── Makefile.objs
│ │ │ ├── a9gtimer.c
│ │ │ ├── allwinner-a10-pit.c
│ │ │ ├── altera_timer.c
│ │ │ ├── arm_mptimer.c
│ │ │ ├── arm_timer.c
│ │ │ ├── armv7m_systick.c
│ │ │ ├── aspeed_timer.c
│ │ │ ├── cadence_ttc.c
│ │ │ ├── cmsdk-apb-dualtimer.c
│ │ │ ├── cmsdk-apb-timer.c
│ │ │ ├── digic-timer.c
│ │ │ ├── ds1338.c
│ │ │ ├── etraxfs_timer.c
│ │ │ ├── exynos4210_mct.c
│ │ │ ├── exynos4210_pwm.c
│ │ │ ├── exynos4210_rtc.c
│ │ │ ├── grlib_gptimer.c
│ │ │ ├── hpet.c
│ │ │ ├── i8254.c
│ │ │ ├── i8254_common.c
│ │ │ ├── imx_epit.c
│ │ │ ├── imx_gpt.c
│ │ │ ├── lm32_timer.c
│ │ │ ├── m41t80.c
│ │ │ ├── m48t59-internal.h
│ │ │ ├── m48t59-isa.c
│ │ │ ├── m48t59.c
│ │ │ ├── mc146818rtc.c
│ │ │ ├── milkymist-sysctl.c
│ │ │ ├── mips_gictimer.c
│ │ │ ├── mss-timer.c
│ │ │ ├── omap_gptimer.c
│ │ │ ├── omap_synctimer.c
│ │ │ ├── pl031.c
│ │ │ ├── puv3_ost.c
│ │ │ ├── pxa2xx_timer.c
│ │ │ ├── sh_timer.c
│ │ │ ├── slavio_timer.c
│ │ │ ├── stm32f2xx_timer.c
│ │ │ ├── sun4v-rtc.c
│ │ │ ├── trace-events
│ │ │ ├── twl92230.c
│ │ │ ├── xilinx_timer.c
│ │ │ └── xlnx-zynqmp-rtc.c
│ │ ├── tpm/
│ │ │ ├── Makefile.objs
│ │ │ ├── tpm_crb.c
│ │ │ ├── tpm_emulator.c
│ │ │ ├── tpm_int.h
│ │ │ ├── tpm_ioctl.h
│ │ │ ├── tpm_passthrough.c
│ │ │ ├── tpm_tis.c
│ │ │ ├── tpm_util.c
│ │ │ ├── tpm_util.h
│ │ │ └── trace-events
│ │ ├── tricore/
│ │ │ ├── Makefile.objs
│ │ │ └── tricore_testboard.c
│ │ ├── unicore32/
│ │ │ ├── Makefile.objs
│ │ │ └── puv3.c
│ │ ├── usb/
│ │ │ ├── Makefile.objs
│ │ │ ├── bus.c
│ │ │ ├── ccid-card-emulated.c
│ │ │ ├── ccid-card-passthru.c
│ │ │ ├── ccid.h
│ │ │ ├── chipidea.c
│ │ │ ├── combined-packet.c
│ │ │ ├── core.c
│ │ │ ├── desc-msos.c
│ │ │ ├── desc.c
│ │ │ ├── desc.h
│ │ │ ├── dev-audio.c
│ │ │ ├── dev-bluetooth.c
│ │ │ ├── dev-hid.c
│ │ │ ├── dev-hub.c
│ │ │ ├── dev-mtp.c
│ │ │ ├── dev-network.c
│ │ │ ├── dev-serial.c
│ │ │ ├── dev-smartcard-reader.c
│ │ │ ├── dev-storage.c
│ │ │ ├── dev-uas.c
│ │ │ ├── dev-wacom.c
│ │ │ ├── hcd-ehci-pci.c
│ │ │ ├── hcd-ehci-sysbus.c
│ │ │ ├── hcd-ehci.c
│ │ │ ├── hcd-ehci.h
│ │ │ ├── hcd-musb.c
│ │ │ ├── hcd-ohci.c
│ │ │ ├── hcd-uhci.c
│ │ │ ├── hcd-xhci-nec.c
│ │ │ ├── hcd-xhci.c
│ │ │ ├── hcd-xhci.h
│ │ │ ├── host-libusb.c
│ │ │ ├── host-stub.c
│ │ │ ├── host.h
│ │ │ ├── libhw.c
│ │ │ ├── quirks-ftdi-ids.h
│ │ │ ├── quirks-pl2303-ids.h
│ │ │ ├── quirks.c
│ │ │ ├── quirks.h
│ │ │ ├── redirect.c
│ │ │ ├── trace-events
│ │ │ ├── tusb6010.c
│ │ │ └── xen-usb.c
│ │ ├── vfio/
│ │ │ ├── Makefile.objs
│ │ │ ├── amd-xgbe.c
│ │ │ ├── ap.c
│ │ │ ├── calxeda-xgmac.c
│ │ │ ├── ccw.c
│ │ │ ├── common.c
│ │ │ ├── display.c
│ │ │ ├── pci-quirks.c
│ │ │ ├── pci.c
│ │ │ ├── pci.h
│ │ │ ├── platform.c
│ │ │ ├── spapr.c
│ │ │ └── trace-events
│ │ ├── virtio/
│ │ │ ├── Makefile.objs
│ │ │ ├── trace-events
│ │ │ ├── vhost-backend.c
│ │ │ ├── vhost-stub.c
│ │ │ ├── vhost-user.c
│ │ │ ├── vhost-vsock.c
│ │ │ ├── vhost.c
│ │ │ ├── virtio-balloon.c
│ │ │ ├── virtio-bus.c
│ │ │ ├── virtio-crypto-pci.c
│ │ │ ├── virtio-crypto.c
│ │ │ ├── virtio-mmio.c
│ │ │ ├── virtio-pci.c
│ │ │ ├── virtio-pci.h
│ │ │ ├── virtio-rng.c
│ │ │ └── virtio.c
│ │ ├── watchdog/
│ │ │ ├── Makefile.objs
│ │ │ ├── cmsdk-apb-watchdog.c
│ │ │ ├── trace-events
│ │ │ ├── watchdog.c
│ │ │ ├── wdt_aspeed.c
│ │ │ ├── wdt_diag288.c
│ │ │ ├── wdt_i6300esb.c
│ │ │ └── wdt_ib700.c
│ │ ├── xen/
│ │ │ ├── Makefile.objs
│ │ │ ├── trace-events
│ │ │ ├── xen-common.c
│ │ │ ├── xen-host-pci-device.c
│ │ │ ├── xen-host-pci-device.h
│ │ │ ├── xen_backend.c
│ │ │ ├── xen_devconfig.c
│ │ │ ├── xen_pt.c
│ │ │ ├── xen_pt.h
│ │ │ ├── xen_pt_config_init.c
│ │ │ ├── xen_pt_graphics.c
│ │ │ ├── xen_pt_load_rom.c
│ │ │ ├── xen_pt_msi.c
│ │ │ └── xen_pvdev.c
│ │ ├── xenpv/
│ │ │ ├── Makefile.objs
│ │ │ ├── xen_domainbuild.c
│ │ │ ├── xen_domainbuild.h
│ │ │ └── xen_machine_pv.c
│ │ └── xtensa/
│ │ ├── Makefile.objs
│ │ ├── bootparam.h
│ │ ├── pic_cpu.c
│ │ ├── sim.c
│ │ ├── xtensa_memory.c
│ │ ├── xtensa_memory.h
│ │ └── xtfpga.c
│ ├── include/
│ │ ├── block/
│ │ │ ├── accounting.h
│ │ │ ├── aio-wait.h
│ │ │ ├── aio.h
│ │ │ ├── block.h
│ │ │ ├── block_backup.h
│ │ │ ├── block_int.h
│ │ │ ├── blockjob.h
│ │ │ ├── blockjob_int.h
│ │ │ ├── dirty-bitmap.h
│ │ │ ├── nbd.h
│ │ │ ├── nvme.h
│ │ │ ├── qapi.h
│ │ │ ├── qdict.h
│ │ │ ├── raw-aio.h
│ │ │ ├── snapshot.h
│ │ │ ├── thread-pool.h
│ │ │ ├── throttle-groups.h
│ │ │ └── write-threshold.h
│ │ ├── chardev/
│ │ │ ├── char-fd.h
│ │ │ ├── char-fe.h
│ │ │ ├── char-io.h
│ │ │ ├── char-mux.h
│ │ │ ├── char-parallel.h
│ │ │ ├── char-serial.h
│ │ │ ├── char-win-stdio.h
│ │ │ ├── char-win.h
│ │ │ └── char.h
│ │ ├── crypto/
│ │ │ ├── aes.h
│ │ │ ├── afsplit.h
│ │ │ ├── block.h
│ │ │ ├── cipher.h
│ │ │ ├── desrfb.h
│ │ │ ├── hash.h
│ │ │ ├── hmac.h
│ │ │ ├── init.h
│ │ │ ├── ivgen.h
│ │ │ ├── pbkdf.h
│ │ │ ├── random.h
│ │ │ ├── secret.h
│ │ │ ├── tlscreds.h
│ │ │ ├── tlscredsanon.h
│ │ │ ├── tlscredspsk.h
│ │ │ ├── tlscredsx509.h
│ │ │ ├── tlssession.h
│ │ │ └── xts.h
│ │ ├── disas/
│ │ │ ├── bfd.h
│ │ │ ├── capstone.h
│ │ │ └── disas.h
│ │ ├── elf.h
│ │ ├── exec/
│ │ │ ├── address-spaces.h
│ │ │ ├── cpu-all.h
│ │ │ ├── cpu-common.h
│ │ │ ├── cpu-defs.h
│ │ │ ├── cpu_ldst.h
│ │ │ ├── cpu_ldst_template.h
│ │ │ ├── cpu_ldst_useronly_template.h
│ │ │ ├── cputlb.h
│ │ │ ├── exec-all.h
│ │ │ ├── gdbstub.h
│ │ │ ├── gen-icount.h
│ │ │ ├── helper-gen.h
│ │ │ ├── helper-head.h
│ │ │ ├── helper-proto.h
│ │ │ ├── helper-tcg.h
│ │ │ ├── hwaddr.h
│ │ │ ├── ioport.h
│ │ │ ├── log.h
│ │ │ ├── memattrs.h
│ │ │ ├── memory-internal.h
│ │ │ ├── memory.h
│ │ │ ├── memory_ldst.inc.h
│ │ │ ├── memory_ldst_cached.inc.h
│ │ │ ├── memory_ldst_phys.inc.h
│ │ │ ├── poison.h
│ │ │ ├── ram_addr.h
│ │ │ ├── ramlist.h
│ │ │ ├── semihost.h
│ │ │ ├── softmmu-semi.h
│ │ │ ├── target_page.h
│ │ │ ├── tb-context.h
│ │ │ ├── tb-hash-xx.h
│ │ │ ├── tb-hash.h
│ │ │ ├── tb-lookup.h
│ │ │ ├── translator.h
│ │ │ └── user/
│ │ │ ├── abitypes.h
│ │ │ └── thunk.h
│ │ ├── fpu/
│ │ │ ├── softfloat-macros.h
│ │ │ ├── softfloat-types.h
│ │ │ └── softfloat.h
│ │ ├── glib-compat.h
│ │ ├── hw/
│ │ │ ├── acpi/
│ │ │ │ ├── acpi-defs.h
│ │ │ │ ├── acpi.h
│ │ │ │ ├── acpi_dev_interface.h
│ │ │ │ ├── aml-build.h
│ │ │ │ ├── bios-linker-loader.h
│ │ │ │ ├── cpu.h
│ │ │ │ ├── cpu_hotplug.h
│ │ │ │ ├── ich9.h
│ │ │ │ ├── ipmi.h
│ │ │ │ ├── memory_hotplug.h
│ │ │ │ ├── pc-hotplug.h
│ │ │ │ ├── pcihp.h
│ │ │ │ ├── piix4.h
│ │ │ │ ├── tco.h
│ │ │ │ ├── tpm.h
│ │ │ │ └── vmgenid.h
│ │ │ ├── adc/
│ │ │ │ └── stm32f2xx_adc.h
│ │ │ ├── arm/
│ │ │ │ ├── allwinner-a10.h
│ │ │ │ ├── arm.h
│ │ │ │ ├── armv7m.h
│ │ │ │ ├── aspeed.h
│ │ │ │ ├── aspeed_soc.h
│ │ │ │ ├── bcm2835_peripherals.h
│ │ │ │ ├── bcm2836.h
│ │ │ │ ├── digic.h
│ │ │ │ ├── exynos4210.h
│ │ │ │ ├── fdt.h
│ │ │ │ ├── fsl-imx25.h
│ │ │ │ ├── fsl-imx31.h
│ │ │ │ ├── fsl-imx6.h
│ │ │ │ ├── fsl-imx6ul.h
│ │ │ │ ├── fsl-imx7.h
│ │ │ │ ├── iotkit.h
│ │ │ │ ├── linux-boot-if.h
│ │ │ │ ├── msf2-soc.h
│ │ │ │ ├── nrf51_soc.h
│ │ │ │ ├── omap.h
│ │ │ │ ├── primecell.h
│ │ │ │ ├── pxa.h
│ │ │ │ ├── raspi_platform.h
│ │ │ │ ├── sharpsl.h
│ │ │ │ ├── smmu-common.h
│ │ │ │ ├── smmuv3.h
│ │ │ │ ├── soc_dma.h
│ │ │ │ ├── stm32f205_soc.h
│ │ │ │ ├── sysbus-fdt.h
│ │ │ │ ├── virt.h
│ │ │ │ ├── xlnx-versal.h
│ │ │ │ └── xlnx-zynqmp.h
│ │ │ ├── audio/
│ │ │ │ ├── pcspk.h
│ │ │ │ ├── soundhw.h
│ │ │ │ └── wm8750.h
│ │ │ ├── block/
│ │ │ │ ├── block.h
│ │ │ │ ├── fdc.h
│ │ │ │ └── flash.h
│ │ │ ├── boards.h
│ │ │ ├── bt.h
│ │ │ ├── char/
│ │ │ │ ├── bcm2835_aux.h
│ │ │ │ ├── cadence_uart.h
│ │ │ │ ├── cmsdk-apb-uart.h
│ │ │ │ ├── digic-uart.h
│ │ │ │ ├── escc.h
│ │ │ │ ├── imx_serial.h
│ │ │ │ ├── lm32_juart.h
│ │ │ │ ├── nrf51_uart.h
│ │ │ │ ├── parallel.h
│ │ │ │ ├── pl011.h
│ │ │ │ ├── serial.h
│ │ │ │ ├── stm32f2xx_usart.h
│ │ │ │ └── xilinx_uartlite.h
│ │ │ ├── compat.h
│ │ │ ├── core/
│ │ │ │ ├── generic-loader.h
│ │ │ │ └── split-irq.h
│ │ │ ├── cpu/
│ │ │ │ ├── a15mpcore.h
│ │ │ │ ├── a9mpcore.h
│ │ │ │ ├── arm11mpcore.h
│ │ │ │ └── core.h
│ │ │ ├── cris/
│ │ │ │ ├── etraxfs.h
│ │ │ │ └── etraxfs_dma.h
│ │ │ ├── devices.h
│ │ │ ├── display/
│ │ │ │ ├── bcm2835_fb.h
│ │ │ │ ├── bochs-vbe.h
│ │ │ │ ├── dpcd.h
│ │ │ │ ├── edid.h
│ │ │ │ ├── ramfb.h
│ │ │ │ ├── vga.h
│ │ │ │ └── xlnx_dp.h
│ │ │ ├── dma/
│ │ │ │ ├── bcm2835_dma.h
│ │ │ │ ├── i8257.h
│ │ │ │ ├── pl080.h
│ │ │ │ ├── xlnx-zdma.h
│ │ │ │ ├── xlnx-zynq-devcfg.h
│ │ │ │ └── xlnx_dpdma.h
│ │ │ ├── elf_ops.h
│ │ │ ├── empty_slot.h
│ │ │ ├── fw-path-provider.h
│ │ │ ├── gpio/
│ │ │ │ ├── bcm2835_gpio.h
│ │ │ │ └── imx_gpio.h
│ │ │ ├── hotplug.h
│ │ │ ├── hw.h
│ │ │ ├── hyperv/
│ │ │ │ ├── hyperv-proto.h
│ │ │ │ └── hyperv.h
│ │ │ ├── i2c/
│ │ │ │ ├── aspeed_i2c.h
│ │ │ │ ├── i2c-ddc.h
│ │ │ │ ├── i2c.h
│ │ │ │ ├── imx_i2c.h
│ │ │ │ ├── pm_smbus.h
│ │ │ │ ├── ppc4xx_i2c.h
│ │ │ │ └── smbus.h
│ │ │ ├── i386/
│ │ │ │ ├── apic-msidef.h
│ │ │ │ ├── apic.h
│ │ │ │ ├── apic_internal.h
│ │ │ │ ├── ich9.h
│ │ │ │ ├── intel_iommu.h
│ │ │ │ ├── ioapic.h
│ │ │ │ ├── ioapic_internal.h
│ │ │ │ ├── pc.h
│ │ │ │ ├── topology.h
│ │ │ │ └── x86-iommu.h
│ │ │ ├── ide/
│ │ │ │ ├── ahci.h
│ │ │ │ ├── internal.h
│ │ │ │ └── pci.h
│ │ │ ├── ide.h
│ │ │ ├── input/
│ │ │ │ ├── adb-keys.h
│ │ │ │ ├── adb.h
│ │ │ │ ├── hid.h
│ │ │ │ ├── i8042.h
│ │ │ │ └── ps2.h
│ │ │ ├── intc/
│ │ │ │ ├── allwinner-a10-pic.h
│ │ │ │ ├── arm_gic.h
│ │ │ │ ├── arm_gic_common.h
│ │ │ │ ├── arm_gicv3.h
│ │ │ │ ├── arm_gicv3_common.h
│ │ │ │ ├── arm_gicv3_its_common.h
│ │ │ │ ├── armv7m_nvic.h
│ │ │ │ ├── aspeed_vic.h
│ │ │ │ ├── bcm2835_ic.h
│ │ │ │ ├── bcm2836_control.h
│ │ │ │ ├── heathrow_pic.h
│ │ │ │ ├── imx_avic.h
│ │ │ │ ├── imx_gpcv2.h
│ │ │ │ ├── intc.h
│ │ │ │ ├── mips_gic.h
│ │ │ │ ├── realview_gic.h
│ │ │ │ ├── xlnx-pmu-iomod-intc.h
│ │ │ │ └── xlnx-zynqmp-ipi.h
│ │ │ ├── ipack/
│ │ │ │ └── ipack.h
│ │ │ ├── ipmi/
│ │ │ │ └── ipmi.h
│ │ │ ├── irq.h
│ │ │ ├── isa/
│ │ │ │ ├── apm.h
│ │ │ │ ├── i8259_internal.h
│ │ │ │ ├── isa.h
│ │ │ │ ├── pc87312.h
│ │ │ │ ├── superio.h
│ │ │ │ └── vt82c686.h
│ │ │ ├── kvm/
│ │ │ │ └── clock.h
│ │ │ ├── lm32/
│ │ │ │ └── lm32_pic.h
│ │ │ ├── loader-fit.h
│ │ │ ├── loader.h
│ │ │ ├── m68k/
│ │ │ │ ├── mcf.h
│ │ │ │ └── mcf_fec.h
│ │ │ ├── mem/
│ │ │ │ ├── memory-device.h
│ │ │ │ ├── nvdimm.h
│ │ │ │ └── pc-dimm.h
│ │ │ ├── mips/
│ │ │ │ ├── bios.h
│ │ │ │ ├── cps.h
│ │ │ │ ├── cpudevs.h
│ │ │ │ └── mips.h
│ │ │ ├── misc/
│ │ │ │ ├── a9scu.h
│ │ │ │ ├── arm11scu.h
│ │ │ │ ├── arm_integrator_debug.h
│ │ │ │ ├── aspeed_scu.h
│ │ │ │ ├── aspeed_sdmc.h
│ │ │ │ ├── auxbus.h
│ │ │ │ ├── bcm2835_mbox.h
│ │ │ │ ├── bcm2835_mbox_defs.h
│ │ │ │ ├── bcm2835_property.h
│ │ │ │ ├── bcm2835_rng.h
│ │ │ │ ├── imx25_ccm.h
│ │ │ │ ├── imx2_wdt.h
│ │ │ │ ├── imx31_ccm.h
│ │ │ │ ├── imx6_ccm.h
│ │ │ │ ├── imx6_src.h
│ │ │ │ ├── imx6ul_ccm.h
│ │ │ │ ├── imx7_ccm.h
│ │ │ │ ├── imx7_gpr.h
│ │ │ │ ├── imx7_snvs.h
│ │ │ │ ├── imx_ccm.h
│ │ │ │ ├── iotkit-secctl.h
│ │ │ │ ├── iotkit-sysctl.h
│ │ │ │ ├── iotkit-sysinfo.h
│ │ │ │ ├── ivshmem.h
│ │ │ │ ├── macio/
│ │ │ │ │ ├── cuda.h
│ │ │ │ │ ├── gpio.h
│ │ │ │ │ ├── macio.h
│ │ │ │ │ └── pmu.h
│ │ │ │ ├── mips_cmgcr.h
│ │ │ │ ├── mips_cpc.h
│ │ │ │ ├── mips_itu.h
│ │ │ │ ├── mos6522.h
│ │ │ │ ├── mps2-fpgaio.h
│ │ │ │ ├── mps2-scc.h
│ │ │ │ ├── msf2-sysreg.h
│ │ │ │ ├── pca9552.h
│ │ │ │ ├── pca9552_regs.h
│ │ │ │ ├── pvpanic.h
│ │ │ │ ├── stm32f2xx_syscfg.h
│ │ │ │ ├── tmp105_regs.h
│ │ │ │ ├── tz-mpc.h
│ │ │ │ ├── tz-msc.h
│ │ │ │ ├── tz-ppc.h
│ │ │ │ ├── unimp.h
│ │ │ │ ├── vmcoreinfo.h
│ │ │ │ └── zynq-xadc.h
│ │ │ ├── net/
│ │ │ │ ├── allwinner_emac.h
│ │ │ │ ├── cadence_gem.h
│ │ │ │ ├── ftgmac100.h
│ │ │ │ ├── imx_fec.h
│ │ │ │ ├── lance.h
│ │ │ │ ├── mii.h
│ │ │ │ └── ne2000-isa.h
│ │ │ ├── nmi.h
│ │ │ ├── nvram/
│ │ │ │ ├── chrp_nvram.h
│ │ │ │ ├── eeprom93xx.h
│ │ │ │ ├── fw_cfg.h
│ │ │ │ └── sun_nvram.h
│ │ │ ├── or-irq.h
│ │ │ ├── pci/
│ │ │ │ ├── msi.h
│ │ │ │ ├── msix.h
│ │ │ │ ├── pci.h
│ │ │ │ ├── pci_bridge.h
│ │ │ │ ├── pci_bus.h
│ │ │ │ ├── pci_host.h
│ │ │ │ ├── pci_ids.h
│ │ │ │ ├── pci_regs.h
│ │ │ │ ├── pcie.h
│ │ │ │ ├── pcie_aer.h
│ │ │ │ ├── pcie_host.h
│ │ │ │ ├── pcie_port.h
│ │ │ │ ├── pcie_regs.h
│ │ │ │ ├── shpc.h
│ │ │ │ └── slotid_cap.h
│ │ │ ├── pci-bridge/
│ │ │ │ └── simba.h
│ │ │ ├── pci-host/
│ │ │ │ ├── designware.h
│ │ │ │ ├── gpex.h
│ │ │ │ ├── pam.h
│ │ │ │ ├── ppce500.h
│ │ │ │ ├── q35.h
│ │ │ │ ├── sabre.h
│ │ │ │ ├── spapr.h
│ │ │ │ ├── uninorth.h
│ │ │ │ └── xilinx-pcie.h
│ │ │ ├── pcmcia.h
│ │ │ ├── platform-bus.h
│ │ │ ├── ppc/
│ │ │ │ ├── fdt.h
│ │ │ │ ├── mac_dbdma.h
│ │ │ │ ├── openpic.h
│ │ │ │ ├── openpic_kvm.h
│ │ │ │ ├── pnv.h
│ │ │ │ ├── pnv_core.h
│ │ │ │ ├── pnv_lpc.h
│ │ │ │ ├── pnv_occ.h
│ │ │ │ ├── pnv_psi.h
│ │ │ │ ├── pnv_xscom.h
│ │ │ │ ├── ppc.h
│ │ │ │ ├── ppc4xx.h
│ │ │ │ ├── ppc_e500.h
│ │ │ │ ├── spapr.h
│ │ │ │ ├── spapr_cpu_core.h
│ │ │ │ ├── spapr_drc.h
│ │ │ │ ├── spapr_irq.h
│ │ │ │ ├── spapr_ovec.h
│ │ │ │ ├── spapr_rtas.h
│ │ │ │ ├── spapr_vio.h
│ │ │ │ └── xics.h
│ │ │ ├── ptimer.h
│ │ │ ├── qdev-core.h
│ │ │ ├── qdev-dma.h
│ │ │ ├── qdev-properties.h
│ │ │ ├── qdev.h
│ │ │ ├── register.h
│ │ │ ├── registerfields.h
│ │ │ ├── riscv/
│ │ │ │ ├── riscv_hart.h
│ │ │ │ ├── riscv_htif.h
│ │ │ │ ├── sifive_clint.h
│ │ │ │ ├── sifive_e.h
│ │ │ │ ├── sifive_plic.h
│ │ │ │ ├── sifive_prci.h
│ │ │ │ ├── sifive_test.h
│ │ │ │ ├── sifive_u.h
│ │ │ │ ├── sifive_uart.h
│ │ │ │ ├── spike.h
│ │ │ │ └── virt.h
│ │ │ ├── s390x/
│ │ │ │ ├── 3270-ccw.h
│ │ │ │ ├── adapter.h
│ │ │ │ ├── ap-bridge.h
│ │ │ │ ├── ap-device.h
│ │ │ │ ├── css-bridge.h
│ │ │ │ ├── css.h
│ │ │ │ ├── ebcdic.h
│ │ │ │ ├── event-facility.h
│ │ │ │ ├── ioinst.h
│ │ │ │ ├── s390-ccw.h
│ │ │ │ ├── s390-virtio-ccw.h
│ │ │ │ ├── s390_flic.h
│ │ │ │ ├── sclp.h
│ │ │ │ ├── storage-attributes.h
│ │ │ │ ├── storage-keys.h
│ │ │ │ └── tod.h
│ │ │ ├── scsi/
│ │ │ │ ├── emulation.h
│ │ │ │ ├── esp.h
│ │ │ │ └── scsi.h
│ │ │ ├── sd/
│ │ │ │ ├── bcm2835_sdhost.h
│ │ │ │ ├── sd.h
│ │ │ │ └── sdhci.h
│ │ │ ├── sh4/
│ │ │ │ ├── sh.h
│ │ │ │ └── sh_intc.h
│ │ │ ├── smbios/
│ │ │ │ ├── ipmi.h
│ │ │ │ └── smbios.h
│ │ │ ├── sparc/
│ │ │ │ ├── grlib.h
│ │ │ │ ├── sparc32_dma.h
│ │ │ │ ├── sparc64.h
│ │ │ │ ├── sun4m_iommu.h
│ │ │ │ └── sun4u_iommu.h
│ │ │ ├── ssi/
│ │ │ │ ├── aspeed_smc.h
│ │ │ │ ├── imx_spi.h
│ │ │ │ ├── mss-spi.h
│ │ │ │ ├── pl022.h
│ │ │ │ ├── ssi.h
│ │ │ │ ├── stm32f2xx_spi.h
│ │ │ │ └── xilinx_spips.h
│ │ │ ├── stream.h
│ │ │ ├── sysbus.h
│ │ │ ├── timer/
│ │ │ │ ├── a9gtimer.h
│ │ │ │ ├── allwinner-a10-pit.h
│ │ │ │ ├── arm_mptimer.h
│ │ │ │ ├── armv7m_systick.h
│ │ │ │ ├── aspeed_timer.h
│ │ │ │ ├── cmsdk-apb-dualtimer.h
│ │ │ │ ├── cmsdk-apb-timer.h
│ │ │ │ ├── digic-timer.h
│ │ │ │ ├── hpet.h
│ │ │ │ ├── i8254.h
│ │ │ │ ├── i8254_internal.h
│ │ │ │ ├── imx_epit.h
│ │ │ │ ├── imx_gpt.h
│ │ │ │ ├── m48t59.h
│ │ │ │ ├── mc146818rtc.h
│ │ │ │ ├── mc146818rtc_regs.h
│ │ │ │ ├── mips_gictimer.h
│ │ │ │ ├── mss-timer.h
│ │ │ │ ├── stm32f2xx_timer.h
│ │ │ │ ├── sun4v-rtc.h
│ │ │ │ └── xlnx-zynqmp-rtc.h
│ │ │ ├── tricore/
│ │ │ │ └── tricore.h
│ │ │ ├── unicore32/
│ │ │ │ └── puv3.h
│ │ │ ├── usb/
│ │ │ │ ├── chipidea.h
│ │ │ │ ├── ehci-regs.h
│ │ │ │ └── uhci-regs.h
│ │ │ ├── usb.h
│ │ │ ├── vfio/
│ │ │ │ ├── vfio-amd-xgbe.h
│ │ │ │ ├── vfio-calxeda-xgmac.h
│ │ │ │ ├── vfio-common.h
│ │ │ │ ├── vfio-platform.h
│ │ │ │ └── vfio.h
│ │ │ ├── virtio/
│ │ │ │ ├── vhost-backend.h
│ │ │ │ ├── vhost-scsi-common.h
│ │ │ │ ├── vhost-scsi.h
│ │ │ │ ├── vhost-user-blk.h
│ │ │ │ ├── vhost-user-scsi.h
│ │ │ │ ├── vhost-user.h
│ │ │ │ ├── vhost-vsock.h
│ │ │ │ ├── vhost.h
│ │ │ │ ├── virtio-access.h
│ │ │ │ ├── virtio-balloon.h
│ │ │ │ ├── virtio-blk.h
│ │ │ │ ├── virtio-bus.h
│ │ │ │ ├── virtio-crypto.h
│ │ │ │ ├── virtio-gpu.h
│ │ │ │ ├── virtio-input.h
│ │ │ │ ├── virtio-net.h
│ │ │ │ ├── virtio-rng.h
│ │ │ │ ├── virtio-scsi.h
│ │ │ │ ├── virtio-serial.h
│ │ │ │ └── virtio.h
│ │ │ ├── watchdog/
│ │ │ │ ├── cmsdk-apb-watchdog.h
│ │ │ │ ├── wdt_aspeed.h
│ │ │ │ └── wdt_diag288.h
│ │ │ ├── xen/
│ │ │ │ ├── io/
│ │ │ │ │ └── ring.h
│ │ │ │ ├── xen.h
│ │ │ │ ├── xen_backend.h
│ │ │ │ ├── xen_common.h
│ │ │ │ └── xen_pvdev.h
│ │ │ └── xtensa/
│ │ │ └── xtensa-isa.h
│ │ ├── io/
│ │ │ ├── channel-buffer.h
│ │ │ ├── channel-command.h
│ │ │ ├── channel-file.h
│ │ │ ├── channel-socket.h
│ │ │ ├── channel-tls.h
│ │ │ ├── channel-util.h
│ │ │ ├── channel-watch.h
│ │ │ ├── channel-websock.h
│ │ │ ├── channel.h
│ │ │ ├── dns-resolver.h
│ │ │ ├── net-listener.h
│ │ │ └── task.h
│ │ ├── libdecnumber/
│ │ │ ├── dconfig.h
│ │ │ ├── decContext.h
│ │ │ ├── decDPD.h
│ │ │ ├── decNumber.h
│ │ │ ├── decNumberLocal.h
│ │ │ └── dpd/
│ │ │ ├── decimal128.h
│ │ │ ├── decimal128Local.h
│ │ │ ├── decimal32.h
│ │ │ └── decimal64.h
│ │ ├── migration/
│ │ │ ├── blocker.h
│ │ │ ├── colo.h
│ │ │ ├── cpu.h
│ │ │ ├── failover.h
│ │ │ ├── global_state.h
│ │ │ ├── misc.h
│ │ │ ├── qemu-file-types.h
│ │ │ ├── register.h
│ │ │ ├── snapshot.h
│ │ │ └── vmstate.h
│ │ ├── monitor/
│ │ │ ├── hmp-target.h
│ │ │ ├── monitor.h
│ │ │ └── qdev.h
│ │ ├── net/
│ │ │ ├── can_emu.h
│ │ │ ├── can_host.h
│ │ │ ├── checksum.h
│ │ │ ├── eth.h
│ │ │ ├── filter.h
│ │ │ ├── net.h
│ │ │ ├── queue.h
│ │ │ ├── slirp.h
│ │ │ ├── tap.h
│ │ │ ├── vhost-user.h
│ │ │ └── vhost_net.h
│ │ ├── qapi/
│ │ │ ├── clone-visitor.h
│ │ │ ├── dealloc-visitor.h
│ │ │ ├── error.h
│ │ │ ├── opts-visitor.h
│ │ │ ├── qmp/
│ │ │ │ ├── dispatch.h
│ │ │ │ ├── json-parser.h
│ │ │ │ ├── qbool.h
│ │ │ │ ├── qdict.h
│ │ │ │ ├── qerror.h
│ │ │ │ ├── qjson.h
│ │ │ │ ├── qlist.h
│ │ │ │ ├── qlit.h
│ │ │ │ ├── qnull.h
│ │ │ │ ├── qnum.h
│ │ │ │ ├── qobject.h
│ │ │ │ └── qstring.h
│ │ │ ├── qmp-event.h
│ │ │ ├── qobject-input-visitor.h
│ │ │ ├── qobject-output-visitor.h
│ │ │ ├── string-input-visitor.h
│ │ │ ├── string-output-visitor.h
│ │ │ ├── util.h
│ │ │ ├── visitor-impl.h
│ │ │ └── visitor.h
│ │ ├── qasan-qemu.h
│ │ ├── qemu/
│ │ │ ├── acl.h
│ │ │ ├── atomic.h
│ │ │ ├── atomic128.h
│ │ │ ├── base64.h
│ │ │ ├── bcd.h
│ │ │ ├── bitmap.h
│ │ │ ├── bitops.h
│ │ │ ├── bswap.h
│ │ │ ├── buffer.h
│ │ │ ├── compiler.h
│ │ │ ├── config-file.h
│ │ │ ├── coroutine.h
│ │ │ ├── coroutine_int.h
│ │ │ ├── cpuid.h
│ │ │ ├── crc32c.h
│ │ │ ├── cutils.h
│ │ │ ├── drm.h
│ │ │ ├── envlist.h
│ │ │ ├── error-report.h
│ │ │ ├── event_notifier.h
│ │ │ ├── fifo32.h
│ │ │ ├── fifo8.h
│ │ │ ├── fprintf-fn.h
│ │ │ ├── futex.h
│ │ │ ├── hbitmap.h
│ │ │ ├── help_option.h
│ │ │ ├── host-utils.h
│ │ │ ├── id.h
│ │ │ ├── int128.h
│ │ │ ├── iov.h
│ │ │ ├── iova-tree.h
│ │ │ ├── jhash.h
│ │ │ ├── job.h
│ │ │ ├── lockable.h
│ │ │ ├── log-for-trace.h
│ │ │ ├── log.h
│ │ │ ├── main-loop.h
│ │ │ ├── memfd.h
│ │ │ ├── mmap-alloc.h
│ │ │ ├── module.h
│ │ │ ├── notify.h
│ │ │ ├── option.h
│ │ │ ├── option_int.h
│ │ │ ├── osdep.h
│ │ │ ├── path.h
│ │ │ ├── pmem.h
│ │ │ ├── processor.h
│ │ │ ├── qdist.h
│ │ │ ├── qht.h
│ │ │ ├── qsp.h
│ │ │ ├── queue.h
│ │ │ ├── range.h
│ │ │ ├── ratelimit.h
│ │ │ ├── rcu.h
│ │ │ ├── rcu_queue.h
│ │ │ ├── readline.h
│ │ │ ├── seqlock.h
│ │ │ ├── sockets.h
│ │ │ ├── stats64.h
│ │ │ ├── sys_membarrier.h
│ │ │ ├── systemd.h
│ │ │ ├── thread-posix.h
│ │ │ ├── thread-win32.h
│ │ │ ├── thread.h
│ │ │ ├── throttle-options.h
│ │ │ ├── throttle.h
│ │ │ ├── timed-average.h
│ │ │ ├── timer.h
│ │ │ ├── typedefs.h
│ │ │ ├── unicode.h
│ │ │ ├── units.h
│ │ │ ├── uri.h
│ │ │ ├── uuid.h
│ │ │ ├── vfio-helpers.h
│ │ │ ├── win_dump_defs.h
│ │ │ └── xattr.h
│ │ ├── qemu-common.h
│ │ ├── qemu-io.h
│ │ ├── qom/
│ │ │ ├── cpu.h
│ │ │ ├── object.h
│ │ │ ├── object_interfaces.h
│ │ │ └── qom-qobject.h
│ │ ├── scsi/
│ │ │ ├── constants.h
│ │ │ ├── pr-manager.h
│ │ │ └── utils.h
│ │ ├── standard-headers/
│ │ │ ├── asm-s390/
│ │ │ │ └── virtio-ccw.h
│ │ │ ├── asm-x86/
│ │ │ │ └── kvm_para.h
│ │ │ ├── drivers/
│ │ │ │ └── infiniband/
│ │ │ │ └── hw/
│ │ │ │ └── vmw_pvrdma/
│ │ │ │ ├── pvrdma_dev_api.h
│ │ │ │ ├── pvrdma_ring.h
│ │ │ │ └── pvrdma_verbs.h
│ │ │ ├── drm/
│ │ │ │ └── drm_fourcc.h
│ │ │ ├── linux/
│ │ │ │ ├── ethtool.h
│ │ │ │ ├── if_ether.h
│ │ │ │ ├── input-event-codes.h
│ │ │ │ ├── input.h
│ │ │ │ ├── kernel.h
│ │ │ │ ├── pci_regs.h
│ │ │ │ ├── qemu_fw_cfg.h
│ │ │ │ ├── sysinfo.h
│ │ │ │ ├── types.h
│ │ │ │ ├── virtio_9p.h
│ │ │ │ ├── virtio_balloon.h
│ │ │ │ ├── virtio_blk.h
│ │ │ │ ├── virtio_config.h
│ │ │ │ ├── virtio_console.h
│ │ │ │ ├── virtio_crypto.h
│ │ │ │ ├── virtio_gpu.h
│ │ │ │ ├── virtio_ids.h
│ │ │ │ ├── virtio_input.h
│ │ │ │ ├── virtio_mmio.h
│ │ │ │ ├── virtio_net.h
│ │ │ │ ├── virtio_pci.h
│ │ │ │ ├── virtio_ring.h
│ │ │ │ ├── virtio_rng.h
│ │ │ │ ├── virtio_scsi.h
│ │ │ │ ├── virtio_types.h
│ │ │ │ └── virtio_vsock.h
│ │ │ └── rdma/
│ │ │ └── vmw_pvrdma-abi.h
│ │ ├── sysemu/
│ │ │ ├── accel.h
│ │ │ ├── arch_init.h
│ │ │ ├── balloon.h
│ │ │ ├── block-backend.h
│ │ │ ├── blockdev.h
│ │ │ ├── bt.h
│ │ │ ├── cpus.h
│ │ │ ├── cryptodev-vhost-user.h
│ │ │ ├── cryptodev-vhost.h
│ │ │ ├── cryptodev.h
│ │ │ ├── device_tree.h
│ │ │ ├── dma.h
│ │ │ ├── dump-arch.h
│ │ │ ├── dump.h
│ │ │ ├── hax.h
│ │ │ ├── hostmem.h
│ │ │ ├── hvf.h
│ │ │ ├── hw_accel.h
│ │ │ ├── iothread.h
│ │ │ ├── kvm.h
│ │ │ ├── kvm_int.h
│ │ │ ├── memory_mapping.h
│ │ │ ├── numa.h
│ │ │ ├── os-posix.h
│ │ │ ├── os-win32.h
│ │ │ ├── qtest.h
│ │ │ ├── replay.h
│ │ │ ├── reset.h
│ │ │ ├── rng-random.h
│ │ │ ├── rng.h
│ │ │ ├── seccomp.h
│ │ │ ├── sev.h
│ │ │ ├── sysemu.h
│ │ │ ├── tpm.h
│ │ │ ├── tpm_backend.h
│ │ │ ├── watchdog.h
│ │ │ ├── whpx.h
│ │ │ └── xen-mapcache.h
│ │ ├── trace-tcg.h
│ │ └── ui/
│ │ ├── console.h
│ │ ├── egl-context.h
│ │ ├── egl-helpers.h
│ │ ├── gtk.h
│ │ ├── input.h
│ │ ├── pixel_ops.h
│ │ ├── qemu-pixman.h
│ │ ├── qemu-spice.h
│ │ ├── sdl2.h
│ │ ├── shader.h
│ │ └── spice-display.h
│ ├── io/
│ │ ├── Makefile.objs
│ │ ├── channel-buffer.c
│ │ ├── channel-command.c
│ │ ├── channel-file.c
│ │ ├── channel-socket.c
│ │ ├── channel-tls.c
│ │ ├── channel-util.c
│ │ ├── channel-watch.c
│ │ ├── channel-websock.c
│ │ ├── channel.c
│ │ ├── dns-resolver.c
│ │ ├── net-listener.c
│ │ ├── task.c
│ │ └── trace-events
│ ├── ioport.c
│ ├── iothread.c
│ ├── job-qmp.c
│ ├── job.c
│ ├── libdecnumber/
│ │ ├── Makefile.objs
│ │ ├── decContext.c
│ │ ├── decNumber.c
│ │ └── dpd/
│ │ ├── decimal128.c
│ │ ├── decimal32.c
│ │ └── decimal64.c
│ ├── linux-headers/
│ │ ├── COPYING
│ │ ├── LICENSES/
│ │ │ ├── exceptions/
│ │ │ │ └── Linux-syscall-note
│ │ │ └── preferred/
│ │ │ ├── BSD-2-Clause
│ │ │ ├── BSD-3-Clause
│ │ │ └── GPL-2.0
│ │ ├── README
│ │ ├── asm-arm/
│ │ │ ├── bitsperlong.h
│ │ │ ├── kvm.h
│ │ │ ├── unistd-common.h
│ │ │ ├── unistd-eabi.h
│ │ │ ├── unistd-oabi.h
│ │ │ └── unistd.h
│ │ ├── asm-arm64/
│ │ │ ├── bitsperlong.h
│ │ │ ├── kvm.h
│ │ │ └── unistd.h
│ │ ├── asm-generic/
│ │ │ ├── bitsperlong.h
│ │ │ └── unistd.h
│ │ ├── asm-mips/
│ │ │ ├── bitsperlong.h
│ │ │ ├── kvm.h
│ │ │ ├── sgidefs.h
│ │ │ └── unistd.h
│ │ ├── asm-powerpc/
│ │ │ ├── bitsperlong.h
│ │ │ ├── kvm.h
│ │ │ └── unistd.h
│ │ ├── asm-s390/
│ │ │ ├── bitsperlong.h
│ │ │ ├── kvm.h
│ │ │ ├── unistd.h
│ │ │ ├── unistd_32.h
│ │ │ └── unistd_64.h
│ │ ├── asm-x86/
│ │ │ ├── bitsperlong.h
│ │ │ ├── kvm.h
│ │ │ ├── unistd.h
│ │ │ ├── unistd_32.h
│ │ │ ├── unistd_64.h
│ │ │ └── unistd_x32.h
│ │ └── linux/
│ │ ├── kvm.h
│ │ ├── psci.h
│ │ ├── psp-sev.h
│ │ ├── userfaultfd.h
│ │ ├── vfio.h
│ │ ├── vfio_ccw.h
│ │ ├── vhost.h
│ │ ├── virtio_config.h
│ │ └── virtio_ring.h
│ ├── linux-user/
│ │ ├── Makefile.objs
│ │ ├── aarch64/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── alpha/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── arm/
│ │ │ ├── cpu_loop.c
│ │ │ ├── nwfpe/
│ │ │ │ ├── Makefile.objs
│ │ │ │ ├── double_cpdo.c
│ │ │ │ ├── extended_cpdo.c
│ │ │ │ ├── fpa11.c
│ │ │ │ ├── fpa11.h
│ │ │ │ ├── fpa11.inl
│ │ │ │ ├── fpa11_cpdo.c
│ │ │ │ ├── fpa11_cpdt.c
│ │ │ │ ├── fpa11_cprt.c
│ │ │ │ ├── fpopcode.c
│ │ │ │ ├── fpopcode.h
│ │ │ │ ├── fpsr.h
│ │ │ │ └── single_cpdo.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── cpu_loop-common.h
│ │ ├── cris/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── elfload.c
│ │ ├── errno_defs.h
│ │ ├── exit.c
│ │ ├── fd-trans.c
│ │ ├── fd-trans.h
│ │ ├── flat.h
│ │ ├── flatload.c
│ │ ├── generic/
│ │ │ ├── fcntl.h
│ │ │ ├── signal.h
│ │ │ └── sockbits.h
│ │ ├── host/
│ │ │ ├── aarch64/
│ │ │ │ ├── hostdep.h
│ │ │ │ └── safe-syscall.inc.S
│ │ │ ├── arm/
│ │ │ │ ├── hostdep.h
│ │ │ │ └── safe-syscall.inc.S
│ │ │ ├── i386/
│ │ │ │ ├── hostdep.h
│ │ │ │ └── safe-syscall.inc.S
│ │ │ ├── ia64/
│ │ │ │ └── hostdep.h
│ │ │ ├── mips/
│ │ │ │ └── hostdep.h
│ │ │ ├── ppc/
│ │ │ │ └── hostdep.h
│ │ │ ├── ppc64/
│ │ │ │ ├── hostdep.h
│ │ │ │ └── safe-syscall.inc.S
│ │ │ ├── s390/
│ │ │ │ └── hostdep.h
│ │ │ ├── s390x/
│ │ │ │ ├── hostdep.h
│ │ │ │ └── safe-syscall.inc.S
│ │ │ ├── sparc/
│ │ │ │ └── hostdep.h
│ │ │ ├── sparc64/
│ │ │ │ └── hostdep.h
│ │ │ ├── x32/
│ │ │ │ └── hostdep.h
│ │ │ └── x86_64/
│ │ │ ├── hostdep.h
│ │ │ └── safe-syscall.inc.S
│ │ ├── hppa/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── i386/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── ioctls.h
│ │ ├── linux_loop.h
│ │ ├── linuxload.c
│ │ ├── m68k/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── m68k-sim.c
│ │ ├── main.c
│ │ ├── microblaze/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── mips/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── mips64/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── mmap.c
│ │ ├── nios2/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── openrisc/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── ppc/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── qemu.h
│ │ ├── riscv/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── s390x/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── safe-syscall.S
│ │ ├── sh4/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── signal-common.h
│ │ ├── signal.c
│ │ ├── socket.h
│ │ ├── sparc/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_errno.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── sparc64/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── strace.c
│ │ ├── strace.list
│ │ ├── syscall.c
│ │ ├── syscall_defs.h
│ │ ├── syscall_types.h
│ │ ├── target_flat.h
│ │ ├── tilegx/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ ├── trace-events
│ │ ├── uaccess.c
│ │ ├── uname.c
│ │ ├── uname.h
│ │ ├── vm86.c
│ │ ├── x86_64/
│ │ │ ├── cpu_loop.c
│ │ │ ├── signal.c
│ │ │ ├── sockbits.h
│ │ │ ├── syscall_nr.h
│ │ │ ├── target_cpu.h
│ │ │ ├── target_elf.h
│ │ │ ├── target_fcntl.h
│ │ │ ├── target_signal.h
│ │ │ ├── target_structs.h
│ │ │ ├── target_syscall.h
│ │ │ └── termbits.h
│ │ └── xtensa/
│ │ ├── cpu_loop.c
│ │ ├── signal.c
│ │ ├── sockbits.h
│ │ ├── syscall_nr.h
│ │ ├── target_cpu.h
│ │ ├── target_elf.h
│ │ ├── target_fcntl.h
│ │ ├── target_flat.h
│ │ ├── target_signal.h
│ │ ├── target_structs.h
│ │ ├── target_syscall.h
│ │ └── termbits.h
│ ├── memory.c
│ ├── memory_ldst.inc.c
│ ├── memory_mapping.c
│ ├── migration/
│ │ ├── Makefile.objs
│ │ ├── block-dirty-bitmap.c
│ │ ├── block.c
│ │ ├── block.h
│ │ ├── channel.c
│ │ ├── channel.h
│ │ ├── colo-failover.c
│ │ ├── colo.c
│ │ ├── exec.c
│ │ ├── exec.h
│ │ ├── fd.c
│ │ ├── fd.h
│ │ ├── global_state.c
│ │ ├── migration.c
│ │ ├── migration.h
│ │ ├── page_cache.c
│ │ ├── page_cache.h
│ │ ├── postcopy-ram.c
│ │ ├── postcopy-ram.h
│ │ ├── qemu-file-channel.c
│ │ ├── qemu-file-channel.h
│ │ ├── qemu-file.c
│ │ ├── qemu-file.h
│ │ ├── qjson.c
│ │ ├── qjson.h
│ │ ├── ram.c
│ │ ├── ram.h
│ │ ├── rdma.c
│ │ ├── rdma.h
│ │ ├── savevm.c
│ │ ├── savevm.h
│ │ ├── socket.c
│ │ ├── socket.h
│ │ ├── tls.c
│ │ ├── tls.h
│ │ ├── trace-events
│ │ ├── vmstate-types.c
│ │ ├── vmstate.c
│ │ ├── xbzrle.c
│ │ └── xbzrle.h
│ ├── module-common.c
│ ├── monitor.c
│ ├── nbd/
│ │ ├── Makefile.objs
│ │ ├── client.c
│ │ ├── common.c
│ │ ├── nbd-internal.h
│ │ ├── server.c
│ │ └── trace-events
│ ├── net/
│ │ ├── Makefile.objs
│ │ ├── can/
│ │ │ ├── Makefile.objs
│ │ │ ├── can_core.c
│ │ │ ├── can_host.c
│ │ │ └── can_socketcan.c
│ │ ├── checksum.c
│ │ ├── clients.h
│ │ ├── colo-compare.c
│ │ ├── colo-compare.h
│ │ ├── colo.c
│ │ ├── colo.h
│ │ ├── dump.c
│ │ ├── eth.c
│ │ ├── filter-buffer.c
│ │ ├── filter-mirror.c
│ │ ├── filter-replay.c
│ │ ├── filter-rewriter.c
│ │ ├── filter.c
│ │ ├── hub.c
│ │ ├── hub.h
│ │ ├── l2tpv3.c
│ │ ├── net.c
│ │ ├── netmap.c
│ │ ├── queue.c
│ │ ├── slirp.c
│ │ ├── socket.c
│ │ ├── tap-bsd.c
│ │ ├── tap-linux.c
│ │ ├── tap-linux.h
│ │ ├── tap-solaris.c
│ │ ├── tap-stub.c
│ │ ├── tap-win32.c
│ │ ├── tap.c
│ │ ├── tap_int.h
│ │ ├── trace-events
│ │ ├── util.c
│ │ ├── util.h
│ │ ├── vde.c
│ │ └── vhost-user.c
│ ├── numa.c
│ ├── os-posix.c
│ ├── os-win32.c
│ ├── pc-bios/
│ │ ├── Makefile
│ │ ├── README
│ │ ├── bamboo.dtb
│ │ ├── bamboo.dts
│ │ ├── canyonlands.dtb
│ │ ├── canyonlands.dts
│ │ ├── efi-e1000.rom
│ │ ├── efi-e1000e.rom
│ │ ├── efi-eepro100.rom
│ │ ├── efi-ne2k_pci.rom
│ │ ├── efi-pcnet.rom
│ │ ├── efi-rtl8139.rom
│ │ ├── efi-virtio.rom
│ │ ├── efi-vmxnet3.rom
│ │ ├── hppa-firmware.img
│ │ ├── keymaps/
│ │ │ ├── Makefile
│ │ │ ├── ar
│ │ │ ├── bepo
│ │ │ ├── common
│ │ │ ├── cz
│ │ │ ├── da
│ │ │ ├── de
│ │ │ ├── de-ch
│ │ │ ├── en-gb
│ │ │ ├── en-us
│ │ │ ├── es
│ │ │ ├── et
│ │ │ ├── fi
│ │ │ ├── fo
│ │ │ ├── fr
│ │ │ ├── fr-be
│ │ │ ├── fr-ca
│ │ │ ├── fr-ch
│ │ │ ├── hr
│ │ │ ├── hu
│ │ │ ├── is
│ │ │ ├── it
│ │ │ ├── ja
│ │ │ ├── lt
│ │ │ ├── lv
│ │ │ ├── mk
│ │ │ ├── modifiers
│ │ │ ├── nl
│ │ │ ├── nl-be
│ │ │ ├── no
│ │ │ ├── pl
│ │ │ ├── pt
│ │ │ ├── pt-br
│ │ │ ├── ru
│ │ │ ├── sl
│ │ │ ├── sv
│ │ │ ├── th
│ │ │ └── tr
│ │ ├── openbios-ppc
│ │ ├── openbios-sparc32
│ │ ├── openbios-sparc64
│ │ ├── optionrom/
│ │ │ ├── Makefile
│ │ │ ├── code16gcc.h
│ │ │ ├── flat.lds
│ │ │ ├── kvmvapic.S
│ │ │ ├── linuxboot.S
│ │ │ ├── linuxboot_dma.c
│ │ │ ├── multiboot.S
│ │ │ └── optionrom.h
│ │ ├── palcode-clipper
│ │ ├── petalogix-ml605.dtb
│ │ ├── petalogix-s3adsp1800.dtb
│ │ ├── pxe-e1000.rom
│ │ ├── pxe-eepro100.rom
│ │ ├── pxe-ne2k_pci.rom
│ │ ├── pxe-pcnet.rom
│ │ ├── pxe-rtl8139.rom
│ │ ├── pxe-virtio.rom
│ │ ├── qemu.rsrc
│ │ ├── qemu_vga.ndrv
│ │ ├── s390-ccw/
│ │ │ ├── Makefile
│ │ │ ├── bootmap.c
│ │ │ ├── bootmap.h
│ │ │ ├── bswap.h
│ │ │ ├── cio.h
│ │ │ ├── iplb.h
│ │ │ ├── jump2ipl.c
│ │ │ ├── libc.c
│ │ │ ├── libc.h
│ │ │ ├── main.c
│ │ │ ├── menu.c
│ │ │ ├── netboot.mak
│ │ │ ├── netmain.c
│ │ │ ├── s390-ccw.h
│ │ │ ├── sclp.c
│ │ │ ├── sclp.h
│ │ │ ├── scsi.h
│ │ │ ├── start.S
│ │ │ ├── virtio-blkdev.c
│ │ │ ├── virtio-net.c
│ │ │ ├── virtio-scsi.c
│ │ │ ├── virtio-scsi.h
│ │ │ ├── virtio.c
│ │ │ └── virtio.h
│ │ ├── s390-ccw.img
│ │ ├── s390-netboot.img
│ │ ├── skiboot.lid
│ │ ├── spapr-rtas/
│ │ │ ├── Makefile
│ │ │ └── spapr-rtas.S
│ │ └── u-boot.e500
│ ├── po/
│ │ ├── Makefile
│ │ ├── bg.po
│ │ ├── de_DE.po
│ │ ├── fr_FR.po
│ │ ├── hu.po
│ │ ├── it.po
│ │ ├── messages.po
│ │ ├── tr.po
│ │ └── zh_CN.po
│ ├── qapi/
│ │ ├── Makefile.objs
│ │ ├── block-core.json
│ │ ├── block.json
│ │ ├── char.json
│ │ ├── common.json
│ │ ├── crypto.json
│ │ ├── introspect.json
│ │ ├── job.json
│ │ ├── migration.json
│ │ ├── misc.json
│ │ ├── net.json
│ │ ├── opts-visitor.c
│ │ ├── qapi-clone-visitor.c
│ │ ├── qapi-dealloc-visitor.c
│ │ ├── qapi-schema.json
│ │ ├── qapi-util.c
│ │ ├── qapi-visit-core.c
│ │ ├── qmp-dispatch.c
│ │ ├── qmp-event.c
│ │ ├── qmp-registry.c
│ │ ├── qobject-input-visitor.c
│ │ ├── qobject-output-visitor.c
│ │ ├── rocker.json
│ │ ├── run-state.json
│ │ ├── sockets.json
│ │ ├── string-input-visitor.c
│ │ ├── string-output-visitor.c
│ │ ├── tpm.json
│ │ ├── trace-events
│ │ ├── trace.json
│ │ ├── transaction.json
│ │ └── ui.json
│ ├── qdev-monitor.c
│ ├── qdict-test-data.txt
│ ├── qemu-bridge-helper.c
│ ├── qemu-deprecated.texi
│ ├── qemu-doc.texi
│ ├── qemu-edid.c
│ ├── qemu-ga.texi
│ ├── qemu-img-cmds.hx
│ ├── qemu-img.c
│ ├── qemu-img.texi
│ ├── qemu-io-cmds.c
│ ├── qemu-io.c
│ ├── qemu-keymap.c
│ ├── qemu-nbd.c
│ ├── qemu-nbd.texi
│ ├── qemu-option-trace.texi
│ ├── qemu-options-wrapper.h
│ ├── qemu-options.h
│ ├── qemu-options.hx
│ ├── qemu-seccomp.c
│ ├── qemu-tech.texi
│ ├── qemu.nsi
│ ├── qemu.sasl
│ ├── qga/
│ │ ├── Makefile.objs
│ │ ├── channel-posix.c
│ │ ├── channel-win32.c
│ │ ├── channel.h
│ │ ├── commands-posix.c
│ │ ├── commands-win32.c
│ │ ├── commands.c
│ │ ├── guest-agent-command-state.c
│ │ ├── guest-agent-core.h
│ │ ├── installer/
│ │ │ └── qemu-ga.wxs
│ │ ├── main.c
│ │ ├── qapi-schema.json
│ │ ├── service-win32.c
│ │ ├── service-win32.h
│ │ ├── vss-win32/
│ │ │ ├── Makefile.objs
│ │ │ ├── install.cpp
│ │ │ ├── install.h
│ │ │ ├── provider.cpp
│ │ │ ├── qga-vss.def
│ │ │ ├── qga-vss.idl
│ │ │ ├── qga-vss.tlb
│ │ │ ├── requester.cpp
│ │ │ ├── requester.h
│ │ │ ├── vss-common.h
│ │ │ └── vss-handles.h
│ │ ├── vss-win32.c
│ │ └── vss-win32.h
│ ├── qmp.c
│ ├── qobject/
│ │ ├── Makefile.objs
│ │ ├── block-qdict.c
│ │ ├── json-lexer.c
│ │ ├── json-parser-int.h
│ │ ├── json-parser.c
│ │ ├── json-streamer.c
│ │ ├── qbool.c
│ │ ├── qdict.c
│ │ ├── qjson.c
│ │ ├── qlist.c
│ │ ├── qlit.c
│ │ ├── qnull.c
│ │ ├── qnum.c
│ │ ├── qobject.c
│ │ └── qstring.c
│ ├── qom/
│ │ ├── Makefile.objs
│ │ ├── container.c
│ │ ├── cpu.c
│ │ ├── object.c
│ │ ├── object_interfaces.c
│ │ ├── qom-qobject.c
│ │ └── trace-events
│ ├── qtest.c
│ ├── replay/
│ │ ├── Makefile.objs
│ │ ├── replay-audio.c
│ │ ├── replay-char.c
│ │ ├── replay-events.c
│ │ ├── replay-input.c
│ │ ├── replay-internal.c
│ │ ├── replay-internal.h
│ │ ├── replay-net.c
│ │ ├── replay-snapshot.c
│ │ ├── replay-time.c
│ │ └── replay.c
│ ├── replication.c
│ ├── replication.h
│ ├── roms/
│ │ ├── Makefile
│ │ ├── QemuMacDrivers/
│ │ │ ├── COPYING
│ │ │ ├── QemuVGADriver/
│ │ │ │ ├── QemuVGADriver.mcp.xml
│ │ │ │ └── src/
│ │ │ │ ├── DriverDoDriverIO.c
│ │ │ │ ├── DriverGestaltHandler.c
│ │ │ │ ├── DriverQDCalls.c
│ │ │ │ ├── DriverQDCalls.h
│ │ │ │ ├── QemuVga.c
│ │ │ │ ├── QemuVga.h
│ │ │ │ ├── VideoDriver.exp
│ │ │ │ ├── VideoDriverPrivate.h
│ │ │ │ └── VideoDriverPrototypes.h
│ │ │ ├── builds/
│ │ │ │ ├── qemu_vga.ndrv
│ │ │ │ └── qemu_vga_debugosi.ndrv
│ │ │ ├── cleanup.sh
│ │ │ └── shared/
│ │ │ ├── LinuxOSI.h
│ │ │ ├── LinuxOSI.s
│ │ │ ├── LinuxOSIDefs.s
│ │ │ ├── MacDriverUtils.c
│ │ │ ├── MacDriverUtils.h
│ │ │ ├── MakeFunction.s
│ │ │ ├── logger.h
│ │ │ └── vsprintf.c
│ │ ├── SLOF/
│ │ │ ├── .gitignore
│ │ │ ├── INSTALL
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── Makefile.gen
│ │ │ ├── README
│ │ │ ├── VERSION
│ │ │ ├── board-js2x/
│ │ │ │ ├── Makefile
│ │ │ │ ├── Makefile.dirs
│ │ │ │ ├── config
│ │ │ │ ├── include/
│ │ │ │ │ ├── bmc.h
│ │ │ │ │ ├── hw.h
│ │ │ │ │ ├── nvramlog.h
│ │ │ │ │ ├── product.h
│ │ │ │ │ └── southbridge.h
│ │ │ │ ├── llfw/
│ │ │ │ │ ├── Cboot.S
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── board_io.S
│ │ │ │ │ ├── hw.c
│ │ │ │ │ ├── stage2.c
│ │ │ │ │ ├── stage2.h
│ │ │ │ │ ├── stage2.lds
│ │ │ │ │ ├── stage2_head.S
│ │ │ │ │ ├── stage_s.S
│ │ │ │ │ ├── stage_s.lds
│ │ │ │ │ ├── startup.S
│ │ │ │ │ └── u4mem.c
│ │ │ │ ├── romfs/
│ │ │ │ │ └── boot_rom.ffs
│ │ │ │ ├── rtas/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── i2c_bmc.oco
│ │ │ │ │ ├── ipmi_oem.oco
│ │ │ │ │ ├── rtas_board.c
│ │ │ │ │ ├── rtas_board.h
│ │ │ │ │ ├── rtas_flash.c
│ │ │ │ │ ├── rtas_flash.h
│ │ │ │ │ ├── rtas_i2c_bmc.h
│ │ │ │ │ ├── rtas_ipmi_bmc.h
│ │ │ │ │ ├── rtas_out.c
│ │ │ │ │ ├── rtas_pci.c
│ │ │ │ │ └── rtas_table.c
│ │ │ │ └── slof/
│ │ │ │ ├── Makefile
│ │ │ │ ├── OF.fs
│ │ │ │ ├── attu.fs
│ │ │ │ ├── bcm57xx.fs
│ │ │ │ ├── citrine-disk.fs
│ │ │ │ ├── citrine-flash.fs
│ │ │ │ ├── citrine.fs
│ │ │ │ ├── copyright-oss.fs
│ │ │ │ ├── cpu.fs
│ │ │ │ ├── dart.fs
│ │ │ │ ├── dma-function.fs
│ │ │ │ ├── flash.fs
│ │ │ │ ├── freq.fs
│ │ │ │ ├── header.fs
│ │ │ │ ├── helper.fs
│ │ │ │ ├── ht.fs
│ │ │ │ ├── i2c.fs
│ │ │ │ ├── io.fs
│ │ │ │ ├── ioapic.fs
│ │ │ │ ├── ipmi-kcs.fs
│ │ │ │ ├── ipmi-vpd.fs
│ │ │ │ ├── memory.fs
│ │ │ │ ├── mpic.fs
│ │ │ │ ├── pci-aliases.fs
│ │ │ │ ├── pci-bridge_1022_7460.fs
│ │ │ │ ├── pci-capabilities.fs
│ │ │ │ ├── pci-class_03.fs
│ │ │ │ ├── pci-device_1002_515e.fs
│ │ │ │ ├── pci-device_1014_028c.fs
│ │ │ │ ├── pci-device_1014_02bd.fs
│ │ │ │ ├── pci-device_1022_7451.fs
│ │ │ │ ├── pci-device_1022_7468.fs
│ │ │ │ ├── pci-device_1022_7469.fs
│ │ │ │ ├── pci-device_14e4_16a8.fs
│ │ │ │ ├── pci-interrupts.fs
│ │ │ │ ├── rtas.fs
│ │ │ │ ├── rtc.fs
│ │ │ │ ├── serial.fs
│ │ │ │ ├── sio.fs
│ │ │ │ ├── tpm.fs
│ │ │ │ ├── tree.fs
│ │ │ │ ├── u4-mem.fs
│ │ │ │ ├── version.c
│ │ │ │ └── vga-display.fs
│ │ │ ├── board-qemu/
│ │ │ │ ├── Makefile
│ │ │ │ ├── Makefile.dirs
│ │ │ │ ├── config
│ │ │ │ ├── include/
│ │ │ │ │ ├── hw.h
│ │ │ │ │ ├── nvramlog.h
│ │ │ │ │ ├── product.h
│ │ │ │ │ └── southbridge.h
│ │ │ │ ├── llfw/
│ │ │ │ │ ├── Cboot.S
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── board_io.S
│ │ │ │ │ ├── stage2.c
│ │ │ │ │ ├── stage2.h
│ │ │ │ │ ├── stage2.lds
│ │ │ │ │ ├── stage2_head.S
│ │ │ │ │ ├── startup.S
│ │ │ │ │ └── version.S
│ │ │ │ ├── romfs/
│ │ │ │ │ └── boot_rom.ffs
│ │ │ │ └── slof/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── Makefile
│ │ │ │ ├── OF.fs
│ │ │ │ ├── archsupport.fs
│ │ │ │ ├── copyright-oss.fs
│ │ │ │ ├── dev-null.fs
│ │ │ │ ├── e1k.fs
│ │ │ │ ├── fdt-fl.fs
│ │ │ │ ├── fdt.fs
│ │ │ │ ├── header.fs
│ │ │ │ ├── helper.fs
│ │ │ │ ├── hvterm.fs
│ │ │ │ ├── pci-aliases.fs
│ │ │ │ ├── pci-capabilities.fs
│ │ │ │ ├── pci-device_1013_00b8.fs
│ │ │ │ ├── pci-device_1234_1111.fs
│ │ │ │ ├── pci-device_1af4_1000.fs
│ │ │ │ ├── pci-device_1af4_1001.fs
│ │ │ │ ├── pci-device_1af4_1003.fs
│ │ │ │ ├── pci-device_1af4_1004.fs
│ │ │ │ ├── pci-device_1af4_1009.fs
│ │ │ │ ├── pci-device_1af4_1041.fs
│ │ │ │ ├── pci-device_1af4_1042.fs
│ │ │ │ ├── pci-device_1af4_1043.fs
│ │ │ │ ├── pci-device_1af4_1048.fs
│ │ │ │ ├── pci-device_1af4_1049.fs
│ │ │ │ ├── pci-device_1af4_1050.fs
│ │ │ │ ├── pci-device_8086_100e.fs
│ │ │ │ ├── pci-interrupts.fs
│ │ │ │ ├── pci-phb.fs
│ │ │ │ ├── qemu-bootlist.fs
│ │ │ │ ├── qemu-vga.fs
│ │ │ │ ├── rtas-nvram.fs
│ │ │ │ ├── rtas.fs
│ │ │ │ ├── tree.fs
│ │ │ │ ├── version.S
│ │ │ │ ├── vio-hvterm.fs
│ │ │ │ ├── vio-veth.fs
│ │ │ │ ├── vio-vscsi.fs
│ │ │ │ ├── virtio-block.fs
│ │ │ │ ├── virtio-fs.fs
│ │ │ │ ├── virtio-net.fs
│ │ │ │ ├── virtio-scsi.fs
│ │ │ │ └── virtio-serial.fs
│ │ │ ├── clients/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── Makefile
│ │ │ │ ├── clients.mk
│ │ │ │ ├── net-snk/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── app/
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── biosemu/
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── biosemu.c
│ │ │ │ │ │ │ ├── biosemu.h
│ │ │ │ │ │ │ ├── debug.c
│ │ │ │ │ │ │ ├── debug.h
│ │ │ │ │ │ │ ├── device.c
│ │ │ │ │ │ │ ├── device.h
│ │ │ │ │ │ │ ├── interrupt.c
│ │ │ │ │ │ │ ├── interrupt.h
│ │ │ │ │ │ │ ├── io.c
│ │ │ │ │ │ │ ├── io.h
│ │ │ │ │ │ │ ├── mem.c
│ │ │ │ │ │ │ ├── mem.h
│ │ │ │ │ │ │ ├── vbe.c
│ │ │ │ │ │ │ └── vbe.h
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── client.lds
│ │ │ │ │ ├── include/
│ │ │ │ │ │ ├── crt0.h
│ │ │ │ │ │ ├── fcntl.h
│ │ │ │ │ │ ├── fileio.h
│ │ │ │ │ │ ├── kernel.h
│ │ │ │ │ │ ├── of.h
│ │ │ │ │ │ ├── pci.h
│ │ │ │ │ │ ├── rtas.h
│ │ │ │ │ │ └── time.h
│ │ │ │ │ ├── kernel/
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── crt0.c
│ │ │ │ │ │ ├── entry.S
│ │ │ │ │ │ ├── init.c
│ │ │ │ │ │ ├── systemcall.c
│ │ │ │ │ │ └── timer.c
│ │ │ │ │ ├── libc/
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── sbrk.c
│ │ │ │ │ │ └── time/
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── ftime.c
│ │ │ │ │ │ └── timer.c
│ │ │ │ │ ├── make.rules
│ │ │ │ │ ├── oflib/
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── entry.S
│ │ │ │ │ │ ├── of.c
│ │ │ │ │ │ ├── pci.c
│ │ │ │ │ │ └── rtas.c
│ │ │ │ │ └── sec-client.lds
│ │ │ │ └── takeover/
│ │ │ │ ├── Makefile
│ │ │ │ ├── client.lds
│ │ │ │ ├── entry.S
│ │ │ │ ├── main.c
│ │ │ │ ├── ppc32wrap.S
│ │ │ │ ├── takeover.h
│ │ │ │ └── takeover.oco
│ │ │ ├── include/
│ │ │ │ ├── allocator.h
│ │ │ │ ├── byteorder.h
│ │ │ │ ├── calculatecrc.h
│ │ │ │ ├── helpers.h
│ │ │ │ ├── libelf.h
│ │ │ │ ├── macros.h
│ │ │ │ ├── memmap.h
│ │ │ │ ├── netdriver.h
│ │ │ │ ├── pcd.h
│ │ │ │ ├── ppc970/
│ │ │ │ │ ├── cache.h
│ │ │ │ │ └── cpu.h
│ │ │ │ ├── ppcp7/
│ │ │ │ │ ├── cache.h
│ │ │ │ │ └── cpu.h
│ │ │ │ ├── romfs.h
│ │ │ │ ├── rtas.h
│ │ │ │ ├── rtas_table.h
│ │ │ │ ├── termctrl.h
│ │ │ │ └── xvect.h
│ │ │ ├── lib/
│ │ │ │ ├── Makefile
│ │ │ │ ├── libbases/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── libbases.code
│ │ │ │ │ └── libbases.in
│ │ │ │ ├── libbcm/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── bcm.code
│ │ │ │ │ ├── bcm.in
│ │ │ │ │ ├── bcm57xx.c
│ │ │ │ │ └── bcm57xx.h
│ │ │ │ ├── libbootmenu/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── bootmenu.c
│ │ │ │ │ ├── bootmenu.code
│ │ │ │ │ ├── bootmenu.h
│ │ │ │ │ └── bootmenu.in
│ │ │ │ ├── libbootmsg/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── bootmsg.code
│ │ │ │ │ ├── bootmsg.in
│ │ │ │ │ ├── bootmsg_lvl.S
│ │ │ │ │ └── libbootmsg.h
│ │ │ │ ├── libc/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── README.txt
│ │ │ │ │ ├── ctype/
│ │ │ │ │ │ ├── Makefile.inc
│ │ │ │ │ │ ├── isdigit.c
│ │ │ │ │ │ ├── isprint.c
│ │ │ │ │ │ ├── isspace.c
│ │ │ │ │ │ ├── isxdigit.c
│ │ │ │ │ │ ├── tolower.c
│ │ │ │ │ │ └── toupper.c
│ │ │ │ │ ├── getopt/
│ │ │ │ │ │ ├── Makefile.inc
│ │ │ │ │ │ └── getopt.c
│ │ │ │ │ ├── include/
│ │ │ │ │ │ ├── assert.h
│ │ │ │ │ │ ├── ctype.h
│ │ │ │ │ │ ├── errno.h
│ │ │ │ │ │ ├── getopt.h
│ │ │ │ │ │ ├── limits.h
│ │ │ │ │ │ ├── stdarg.h
│ │ │ │ │ │ ├── stdbool.h
│ │ │ │ │ │ ├── stddef.h
│ │ │ │ │ │ ├── stdint.h
│ │ │ │ │ │ ├── stdio.h
│ │ │ │ │ │ ├── stdlib.h
│ │ │ │ │ │ ├── string.h
│ │ │ │ │ │ ├── sys/
│ │ │ │ │ │ │ └── socket.h
│ │ │ │ │ │ └── unistd.h
│ │ │ │ │ ├── stdio/
│ │ │ │ │ │ ├── Makefile.inc
│ │ │ │ │ │ ├── fileno.c
│ │ │ │ │ │ ├── fprintf.c
│ │ │ │ │ │ ├── fscanf.c
│ │ │ │ │ │ ├── printf.c
│ │ │ │ │ │ ├── putc.c
│ │ │ │ │ │ ├── putchar.c
│ │ │ │ │ │ ├── puts.c
│ │ │ │ │ │ ├── scanf.c
│ │ │ │ │ │ ├── setvbuf.c
│ │ │ │ │ │ ├── snprintf.c
│ │ │ │ │ │ ├── sprintf.c
│ │ │ │ │ │ ├── stdchnls.c
│ │ │ │ │ │ ├── vfprintf.c
│ │ │ │ │ │ ├── vfscanf.c
│ │ │ │ │ │ ├── vsnprintf.c
│ │ │ │ │ │ ├── vsprintf.c
│ │ │ │ │ │ └── vsscanf.c
│ │ │ │ │ ├── stdlib/
│ │ │ │ │ │ ├── Makefile.inc
│ │ │ │ │ │ ├── atoi.c
│ │ │ │ │ │ ├── atol.c
│ │ │ │ │ │ ├── error.c
│ │ │ │ │ │ ├── free.c
│ │ │ │ │ │ ├── malloc.c
│ │ │ │ │ │ ├── malloc_defs.h
│ │ │ │ │ │ ├── memalign.c
│ │ │ │ │ │ ├── rand.c
│ │ │ │ │ │ ├── realloc.c
│ │ │ │ │ │ ├── strtol.c
│ │ │ │ │ │ └── strtoul.c
│ │ │ │ │ └── string/
│ │ │ │ │ ├── Makefile.inc
│ │ │ │ │ ├── memchr.c
│ │ │ │ │ ├── memcmp.c
│ │ │ │ │ ├── memcpy.c
│ │ │ │ │ ├── memmove.c
│ │ │ │ │ ├── memset.c
│ │ │ │ │ ├── strcasecmp.c
│ │ │ │ │ ├── strcat.c
│ │ │ │ │ ├── strchr.c
│ │ │ │ │ ├── strcmp.c
│ │ │ │ │ ├── strcpy.c
│ │ │ │ │ ├── strlen.c
│ │ │ │ │ ├── strncasecmp.c
│ │ │ │ │ ├── strncmp.c
│ │ │ │ │ ├── strncpy.c
│ │ │ │ │ ├── strrchr.c
│ │ │ │ │ ├── strstr.c
│ │ │ │ │ └── strtok.c
│ │ │ │ ├── libe1k/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── e1k.c
│ │ │ │ │ ├── e1k.code
│ │ │ │ │ ├── e1k.h
│ │ │ │ │ └── e1k.in
│ │ │ │ ├── libelf/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── elf.c
│ │ │ │ │ ├── elf32.c
│ │ │ │ │ ├── elf64.c
│ │ │ │ │ ├── elf_claim.c
│ │ │ │ │ ├── libelf.code
│ │ │ │ │ └── libelf.in
│ │ │ │ ├── libhvcall/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── brokensc1.c
│ │ │ │ │ ├── hvcall.S
│ │ │ │ │ ├── hvcall.code
│ │ │ │ │ ├── hvcall.in
│ │ │ │ │ ├── libhvcall.h
│ │ │ │ │ └── rfill.c
│ │ │ │ ├── libipmi/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── libipmi.code
│ │ │ │ │ ├── libipmi.h
│ │ │ │ │ ├── libipmi.in
│ │ │ │ │ └── libipmi.oco
│ │ │ │ ├── libnativeio/
│ │ │ │ │ ├── nativeio.code
│ │ │ │ │ └── nativeio.in
│ │ │ │ ├── libnet/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── args.c
│ │ │ │ │ ├── args.h
│ │ │ │ │ ├── bootp.c
│ │ │ │ │ ├── dhcp.c
│ │ │ │ │ ├── dhcp.h
│ │ │ │ │ ├── dhcpv6.c
│ │ │ │ │ ├── dhcpv6.h
│ │ │ │ │ ├── dns.c
│ │ │ │ │ ├── dns.h
│ │ │ │ │ ├── ethernet.c
│ │ │ │ │ ├── ethernet.h
│ │ │ │ │ ├── icmpv6.c
│ │ │ │ │ ├── icmpv6.h
│ │ │ │ │ ├── ipv4.c
│ │ │ │ │ ├── ipv4.h
│ │ │ │ │ ├── ipv6.c
│ │ │ │ │ ├── ipv6.h
│ │ │ │ │ ├── libnet.code
│ │ │ │ │ ├── libnet.in
│ │ │ │ │ ├── ndp.c
│ │ │ │ │ ├── ndp.h
│ │ │ │ │ ├── netapps.h
│ │ │ │ │ ├── netload.c
│ │ │ │ │ ├── ping.c
│ │ │ │ │ ├── pxelinux.c
│ │ │ │ │ ├── pxelinux.h
│ │ │ │ │ ├── tcp.c
│ │ │ │ │ ├── tcp.h
│ │ │ │ │ ├── tftp.c
│ │ │ │ │ ├── tftp.h
│ │ │ │ │ ├── time.h
│ │ │ │ │ ├── udp.c
│ │ │ │ │ └── udp.h
│ │ │ │ ├── libnvram/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── envvar.c
│ │ │ │ │ ├── libnvram.code
│ │ │ │ │ ├── libnvram.in
│ │ │ │ │ ├── nvram.c
│ │ │ │ │ └── nvram.h
│ │ │ │ ├── libusb/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── tools.h
│ │ │ │ │ ├── usb-core.c
│ │ │ │ │ ├── usb-core.h
│ │ │ │ │ ├── usb-ehci.c
│ │ │ │ │ ├── usb-ehci.h
│ │ │ │ │ ├── usb-hid.c
│ │ │ │ │ ├── usb-hub.c
│ │ │ │ │ ├── usb-key.c
│ │ │ │ │ ├── usb-key.h
│ │ │ │ │ ├── usb-ohci.c
│ │ │ │ │ ├── usb-ohci.h
│ │ │ │ │ ├── usb-slof.c
│ │ │ │ │ ├── usb-xhci.c
│ │ │ │ │ ├── usb-xhci.h
│ │ │ │ │ ├── usb.code
│ │ │ │ │ ├── usb.h
│ │ │ │ │ └── usb.in
│ │ │ │ ├── libveth/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── veth.c
│ │ │ │ │ ├── veth.code
│ │ │ │ │ ├── veth.h
│ │ │ │ │ └── veth.in
│ │ │ │ └── libvirtio/
│ │ │ │ ├── Makefile
│ │ │ │ ├── p9.c
│ │ │ │ ├── p9.h
│ │ │ │ ├── virtio-9p.c
│ │ │ │ ├── virtio-9p.h
│ │ │ │ ├── virtio-blk.c
│ │ │ │ ├── virtio-blk.h
│ │ │ │ ├── virtio-internal.h
│ │ │ │ ├── virtio-net.c
│ │ │ │ ├── virtio-net.h
│ │ │ │ ├── virtio-scsi.c
│ │ │ │ ├── virtio-scsi.h
│ │ │ │ ├── virtio-serial.c
│ │ │ │ ├── virtio-serial.h
│ │ │ │ ├── virtio.c
│ │ │ │ ├── virtio.code
│ │ │ │ ├── virtio.h
│ │ │ │ └── virtio.in
│ │ │ ├── llfw/
│ │ │ │ ├── boot_abort.S
│ │ │ │ ├── boot_abort.h
│ │ │ │ ├── clib/
│ │ │ │ │ ├── Makefile.inc
│ │ │ │ │ ├── iolib.c
│ │ │ │ │ └── iolib.h
│ │ │ │ ├── io_generic/
│ │ │ │ │ ├── Makefile.inc
│ │ │ │ │ └── io_generic.S
│ │ │ │ ├── nvramlog.S
│ │ │ │ ├── romfs.S
│ │ │ │ └── romfs_wrap.c
│ │ │ ├── make.rules
│ │ │ ├── other-licence/
│ │ │ │ ├── Makefile
│ │ │ │ └── x86emu/
│ │ │ │ ├── Makefile
│ │ │ │ ├── x86emu_changes.diff
│ │ │ │ └── x86emu_download.sh
│ │ │ ├── romfs/
│ │ │ │ ├── header.img
│ │ │ │ └── tools/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── Makefile
│ │ │ │ ├── build_ffs.c
│ │ │ │ ├── cfg_parse.c
│ │ │ │ ├── cfgparse.h
│ │ │ │ ├── crclib.c
│ │ │ │ ├── crclib.h
│ │ │ │ ├── create_crc.c
│ │ │ │ ├── create_flash.c
│ │ │ │ └── createcrc.h
│ │ │ ├── rtas/
│ │ │ │ ├── Makefile.inc
│ │ │ │ ├── flash/
│ │ │ │ │ ├── block_lists.c
│ │ │ │ │ ├── block_lists.h
│ │ │ │ │ └── tmpXXX.update-comments
│ │ │ │ ├── reloc.S
│ │ │ │ ├── rtas.lds
│ │ │ │ ├── rtas_call.c
│ │ │ │ ├── rtas_common.S
│ │ │ │ └── rtas_entry.S
│ │ │ ├── slof/
│ │ │ │ ├── Makefile.inc
│ │ │ │ ├── OF.lds
│ │ │ │ ├── allocator.c
│ │ │ │ ├── default-font.c
│ │ │ │ ├── engine.in
│ │ │ │ ├── entry.S
│ │ │ │ ├── fs/
│ │ │ │ │ ├── accept.fs
│ │ │ │ │ ├── alloc-mem-debug.fs
│ │ │ │ │ ├── alloc-mem.fs
│ │ │ │ │ ├── available.fs
│ │ │ │ │ ├── banner.fs
│ │ │ │ │ ├── base.fs
│ │ │ │ │ ├── boot.fs
│ │ │ │ │ ├── bootmsg.fs
│ │ │ │ │ ├── claim.fs
│ │ │ │ │ ├── client.fs
│ │ │ │ │ ├── debug.fs
│ │ │ │ │ ├── devices/
│ │ │ │ │ │ ├── pci-class_02.fs
│ │ │ │ │ │ ├── pci-class_0c.fs
│ │ │ │ │ │ └── pci-device_10de_0141.fs
│ │ │ │ │ ├── dictionary.fs
│ │ │ │ │ ├── display.fs
│ │ │ │ │ ├── dma-function.fs
│ │ │ │ │ ├── dump.fs
│ │ │ │ │ ├── elf.fs
│ │ │ │ │ ├── envvar.fs
│ │ │ │ │ ├── envvar_defaults.fs
│ │ │ │ │ ├── exception.fs
│ │ │ │ │ ├── fbuffer.fs
│ │ │ │ │ ├── fcode/
│ │ │ │ │ │ ├── 1275.fs
│ │ │ │ │ │ ├── core.fs
│ │ │ │ │ │ ├── evaluator.fs
│ │ │ │ │ │ ├── little-big.fs
│ │ │ │ │ │ ├── locals.fs
│ │ │ │ │ │ └── tokens.fs
│ │ │ │ │ ├── find-hash.fs
│ │ │ │ │ ├── generic-disk.fs
│ │ │ │ │ ├── graphics.fs
│ │ │ │ │ ├── history.fs
│ │ │ │ │ ├── ide.fs
│ │ │ │ │ ├── instance.fs
│ │ │ │ │ ├── little-endian.fs
│ │ │ │ │ ├── loaders.fs
│ │ │ │ │ ├── logging.fs
│ │ │ │ │ ├── node.fs
│ │ │ │ │ ├── nvram.fs
│ │ │ │ │ ├── packages/
│ │ │ │ │ │ ├── deblocker.fs
│ │ │ │ │ │ ├── disk-label.fs
│ │ │ │ │ │ ├── ext2-files.fs
│ │ │ │ │ │ ├── fat-files.fs
│ │ │ │ │ │ ├── filler.fs
│ │ │ │ │ │ ├── iso-9660.fs
│ │ │ │ │ │ ├── obp-tftp.fs
│ │ │ │ │ │ └── rom-files.fs
│ │ │ │ │ ├── packages.fs
│ │ │ │ │ ├── pci-bridge.fs
│ │ │ │ │ ├── pci-class-code-names.fs
│ │ │ │ │ ├── pci-config-bridge.fs
│ │ │ │ │ ├── pci-device.fs
│ │ │ │ │ ├── pci-helper.fs
│ │ │ │ │ ├── pci-properties.fs
│ │ │ │ │ ├── pci-scan.fs
│ │ │ │ │ ├── preprocessor.fs
│ │ │ │ │ ├── property.fs
│ │ │ │ │ ├── quiesce.fs
│ │ │ │ │ ├── romfs.fs
│ │ │ │ │ ├── root.fs
│ │ │ │ │ ├── rtas/
│ │ │ │ │ │ ├── rtas-cpu.fs
│ │ │ │ │ │ ├── rtas-flash.fs
│ │ │ │ │ │ ├── rtas-init.fs
│ │ │ │ │ │ ├── rtas-reboot.fs
│ │ │ │ │ │ └── rtas-vpd.fs
│ │ │ │ │ ├── scsi-disk.fs
│ │ │ │ │ ├── scsi-host-helpers.fs
│ │ │ │ │ ├── scsi-loader.fs
│ │ │ │ │ ├── scsi-probe-helpers.fs
│ │ │ │ │ ├── scsi-support.fs
│ │ │ │ │ ├── search.fs
│ │ │ │ │ ├── stack.fs
│ │ │ │ │ ├── start-up.fs
│ │ │ │ │ ├── term-io.fs
│ │ │ │ │ ├── terminal.fs
│ │ │ │ │ ├── timebase.fs
│ │ │ │ │ ├── translate.fs
│ │ │ │ │ ├── update_flash.fs
│ │ │ │ │ ├── usb/
│ │ │ │ │ │ ├── dev-hci.fs
│ │ │ │ │ │ ├── dev-hub.fs
│ │ │ │ │ │ ├── dev-keyb.fs
│ │ │ │ │ │ ├── dev-mouse.fs
│ │ │ │ │ │ ├── dev-parent-calls.fs
│ │ │ │ │ │ ├── dev-storage.fs
│ │ │ │ │ │ ├── slofdev.fs
│ │ │ │ │ │ └── usb-static.fs
│ │ │ │ │ ├── vpd-bootlist.fs
│ │ │ │ │ └── xmodem.fs
│ │ │ │ ├── helpers.c
│ │ │ │ ├── lowmem.S
│ │ │ │ ├── ofw.S
│ │ │ │ ├── paflof.c
│ │ │ │ ├── paflof.h
│ │ │ │ ├── ppc64.c
│ │ │ │ ├── ppc64.code
│ │ │ │ ├── ppc64.h
│ │ │ │ ├── ppc64.in
│ │ │ │ ├── prep.h
│ │ │ │ ├── prim.code
│ │ │ │ ├── prim.in
│ │ │ │ ├── ref.pl
│ │ │ │ ├── sbrk.c
│ │ │ │ └── types.h
│ │ │ └── tools/
│ │ │ ├── .gitignore
│ │ │ ├── Makefile
│ │ │ ├── create_reloc_table.sh
│ │ │ ├── gen_reloc_table.c
│ │ │ └── sloffs.c
│ │ ├── config.seabios-128k
│ │ ├── config.seabios-256k
│ │ ├── config.vga-bochs-display
│ │ ├── config.vga-cirrus
│ │ ├── config.vga-isavga
│ │ ├── config.vga-qxl
│ │ ├── config.vga-ramfb
│ │ ├── config.vga-stdvga
│ │ ├── config.vga-virtio
│ │ ├── config.vga-vmware
│ │ ├── configure-seabios.sh
│ │ ├── ipxe/
│ │ │ ├── .travis.yml
│ │ │ ├── COPYING
│ │ │ ├── COPYING.GPLv2
│ │ │ ├── COPYING.UBDL
│ │ │ ├── README
│ │ │ ├── contrib/
│ │ │ │ ├── README
│ │ │ │ ├── coverity/
│ │ │ │ │ └── model.c
│ │ │ │ ├── errdb/
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ └── errdb.pl
│ │ │ │ └── rom-o-matic/
│ │ │ │ ├── README
│ │ │ │ ├── bottom.php
│ │ │ │ ├── build.php
│ │ │ │ ├── customize-flags.php
│ │ │ │ ├── directions.php
│ │ │ │ ├── doc/
│ │ │ │ │ ├── AUTOBOOT_CMD.html
│ │ │ │ │ ├── BANNER_TIMEOUT.html
│ │ │ │ │ ├── COMCONSOLE.html
│ │ │ │ │ ├── COMDATA.html
│ │ │ │ │ ├── COMPARITY.html
│ │ │ │ │ ├── COMPRESERVE.html
│ │ │ │ │ ├── COMSPEED.html
│ │ │ │ │ ├── COMSTOP.html
│ │ │ │ │ ├── CONFIG_CMD.html
│ │ │ │ │ ├── CONSOLE_PC_BIOS.html
│ │ │ │ │ ├── CONSOLE_SERIAL.html
│ │ │ │ │ ├── CRYPTO_80211_WEP.html
│ │ │ │ │ ├── CRYPTO_80211_WPA.html
│ │ │ │ │ ├── CRYPTO_80211_WPA2.html
│ │ │ │ │ ├── DHCP_CMD.html
│ │ │ │ │ ├── DNS_RESOLVER.html
│ │ │ │ │ ├── DOWNLOAD_PROTO_FTP.html
│ │ │ │ │ ├── DOWNLOAD_PROTO_HTTP.html
│ │ │ │ │ ├── DOWNLOAD_PROTO_TFTP.html
│ │ │ │ │ ├── IFMGMT_CMD.html
│ │ │ │ │ ├── IMAGE_BZIMAGE.html
│ │ │ │ │ ├── IMAGE_CMD.html
│ │ │ │ │ ├── IMAGE_ELF.html
│ │ │ │ │ ├── IMAGE_MULTIBOOT.html
│ │ │ │ │ ├── IMAGE_NBI.html
│ │ │ │ │ ├── IMAGE_PXE.html
│ │ │ │ │ ├── IMAGE_SCRIPT.html
│ │ │ │ │ ├── IWMGMT_CMD.html
│ │ │ │ │ ├── NMB_RESOLVER.html
│ │ │ │ │ ├── NVO_CMD.html
│ │ │ │ │ ├── ROUTE_CMD.html
│ │ │ │ │ └── SANBOOT_CMD.html
│ │ │ │ ├── flag-table.php
│ │ │ │ ├── globals.php
│ │ │ │ ├── index.php
│ │ │ │ ├── top.php
│ │ │ │ └── utils.php
│ │ │ └── src/
│ │ │ ├── .gitignore
│ │ │ ├── Makefile
│ │ │ ├── Makefile.efi
│ │ │ ├── Makefile.housekeeping
│ │ │ ├── arch/
│ │ │ │ ├── arm/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Makefile.efi
│ │ │ │ │ ├── core/
│ │ │ │ │ │ └── arm_io.c
│ │ │ │ │ ├── include/
│ │ │ │ │ │ ├── bits/
│ │ │ │ │ │ │ ├── acpi.h
│ │ │ │ │ │ │ ├── endian.h
│ │ │ │ │ │ │ ├── entropy.h
│ │ │ │ │ │ │ ├── errfile.h
│ │ │ │ │ │ │ ├── hyperv.h
│ │ │ │ │ │ │ ├── io.h
│ │ │ │ │ │ │ ├── iomap.h
│ │ │ │ │ │ │ ├── nap.h
│ │ │ │ │ │ │ ├── pci_io.h
│ │ │ │ │ │ │ ├── reboot.h
│ │ │ │ │ │ │ ├── sanboot.h
│ │ │ │ │ │ │ ├── smbios.h
│ │ │ │ │ │ │ ├── time.h
│ │ │ │ │ │ │ ├── uaccess.h
│ │ │ │ │ │ │ ├── uart.h
│ │ │ │ │ │ │ ├── umalloc.h
│ │ │ │ │ │ │ └── xen.h
│ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ ├── arm_io.h
│ │ │ │ │ │ └── efi/
│ │ │ │ │ │ └── efiarm_nap.h
│ │ │ │ │ └── interface/
│ │ │ │ │ └── efi/
│ │ │ │ │ └── efiarm_nap.c
│ │ │ │ ├── arm32/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Makefile.efi
│ │ │ │ │ ├── core/
│ │ │ │ │ │ ├── arm32_bigint.c
│ │ │ │ │ │ └── setjmp.S
│ │ │ │ │ ├── include/
│ │ │ │ │ │ ├── bits/
│ │ │ │ │ │ │ ├── bigint.h
│ │ │ │ │ │ │ ├── bitops.h
│ │ │ │ │ │ │ ├── byteswap.h
│ │ │ │ │ │ │ ├── compiler.h
│ │ │ │ │ │ │ ├── profile.h
│ │ │ │ │ │ │ ├── stdint.h
│ │ │ │ │ │ │ ├── string.h
│ │ │ │ │ │ │ ├── strings.h
│ │ │ │ │ │ │ └── tcpip.h
│ │ │ │ │ │ ├── efi/
│ │ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ │ └── dhcp_arch.h
│ │ │ │ │ │ ├── gdbmach.h
│ │ │ │ │ │ ├── limits.h
│ │ │ │ │ │ └── setjmp.h
│ │ │ │ │ └── libgcc/
│ │ │ │ │ ├── lldivmod.S
│ │ │ │ │ └── llshift.S
│ │ │ │ ├── arm64/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Makefile.efi
│ │ │ │ │ ├── core/
│ │ │ │ │ │ ├── arm64_bigint.c
│ │ │ │ │ │ ├── arm64_string.c
│ │ │ │ │ │ ├── arm64_tcpip.c
│ │ │ │ │ │ └── setjmp.S
│ │ │ │ │ └── include/
│ │ │ │ │ ├── bits/
│ │ │ │ │ │ ├── bigint.h
│ │ │ │ │ │ ├── bitops.h
│ │ │ │ │ │ ├── byteswap.h
│ │ │ │ │ │ ├── compiler.h
│ │ │ │ │ │ ├── profile.h
│ │ │ │ │ │ ├── stdint.h
│ │ │ │ │ │ ├── string.h
│ │ │ │ │ │ ├── strings.h
│ │ │ │ │ │ └── tcpip.h
│ │ │ │ │ ├── efi/
│ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ └── dhcp_arch.h
│ │ │ │ │ ├── gdbmach.h
│ │ │ │ │ ├── limits.h
│ │ │ │ │ └── setjmp.h
│ │ │ │ ├── i386/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Makefile.efi
│ │ │ │ │ ├── Makefile.linux
│ │ │ │ │ ├── Makefile.pcbios
│ │ │ │ │ ├── README.i386
│ │ │ │ │ ├── core/
│ │ │ │ │ │ ├── gdbidt.S
│ │ │ │ │ │ ├── linux/
│ │ │ │ │ │ │ ├── linux_syscall.S
│ │ │ │ │ │ │ └── linuxprefix.S
│ │ │ │ │ │ ├── nulltrap.c
│ │ │ │ │ │ └── setjmp.S
│ │ │ │ │ ├── include/
│ │ │ │ │ │ ├── bits/
│ │ │ │ │ │ │ ├── byteswap.h
│ │ │ │ │ │ │ ├── compiler.h
│ │ │ │ │ │ │ ├── hyperv.h
│ │ │ │ │ │ │ ├── linux_api.h
│ │ │ │ │ │ │ ├── profile.h
│ │ │ │ │ │ │ ├── stdint.h
│ │ │ │ │ │ │ └── strings.h
│ │ │ │ │ │ ├── efi/
│ │ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ │ └── dhcp_arch.h
│ │ │ │ │ │ ├── gdbmach.h
│ │ │ │ │ │ ├── ipxe/
│ │ │ │ │ │ │ └── msr.h
│ │ │ │ │ │ ├── limits.h
│ │ │ │ │ │ ├── pcbios/
│ │ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ │ └── dhcp_arch.h
│ │ │ │ │ │ └── setjmp.h
│ │ │ │ │ ├── kir-Makefile
│ │ │ │ │ ├── scripts/
│ │ │ │ │ │ ├── i386-kir.lds
│ │ │ │ │ │ └── linux.lds
│ │ │ │ │ └── tests/
│ │ │ │ │ ├── gdbstub_test.S
│ │ │ │ │ └── gdbstub_test.gdb
│ │ │ │ ├── x86/
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Makefile.efi
│ │ │ │ │ ├── Makefile.linux
│ │ │ │ │ ├── Makefile.pcbios
│ │ │ │ │ ├── core/
│ │ │ │ │ │ ├── basemem_packet.c
│ │ │ │ │ │ ├── cachedhcp.c
│ │ │ │ │ │ ├── cpuid.c
│ │ │ │ │ │ ├── cpuid_settings.c
│ │ │ │ │ │ ├── debugcon.c
│ │ │ │ │ │ ├── dumpregs.c
│ │ │ │ │ │ ├── gdbmach.c
│ │ │ │ │ │ ├── linux/
│ │ │ │ │ │ │ ├── linux_api.c
│ │ │ │ │ │ │ └── linux_strerror.c
│ │ │ │ │ │ ├── patch_cf.S
│ │ │ │ │ │ ├── pci_autoboot.c
│ │ │ │ │ │ ├── pcidirect.c
│ │ │ │ │ │ ├── pic8259.c
│ │ │ │ │ │ ├── pit8254.c
│ │ │ │ │ │ ├── rdtsc_timer.c
│ │ │ │ │ │ ├── relocate.c
│ │ │ │ │ │ ├── runtime.c
│ │ │ │ │ │ ├── stack.S
│ │ │ │ │ │ ├── stack16.S
│ │ │ │ │ │ ├── video_subr.c
│ │ │ │ │ │ ├── vram_settings.c
│ │ │ │ │ │ ├── x86_bigint.c
│ │ │ │ │ │ ├── x86_io.c
│ │ │ │ │ │ ├── x86_string.c
│ │ │ │ │ │ ├── x86_tcpip.c
│ │ │ │ │ │ └── x86_uart.c
│ │ │ │ │ ├── drivers/
│ │ │ │ │ │ ├── hyperv/
│ │ │ │ │ │ │ ├── hyperv.c
│ │ │ │ │ │ │ └── hyperv.h
│ │ │ │ │ │ ├── net/
│ │ │ │ │ │ │ ├── undi.c
│ │ │ │ │ │ │ ├── undiisr.S
│ │ │ │ │ │ │ ├── undiload.c
│ │ │ │ │ │ │ ├── undinet.c
│ │ │ │ │ │ │ ├── undionly.c
│ │ │ │ │ │ │ ├── undipreload.c
│ │ │ │ │ │ │ └── undirom.c
│ │ │ │ │ │ └── xen/
│ │ │ │ │ │ ├── hvm.c
│ │ │ │ │ │ └── hvm.h
│ │ │ │ │ ├── hci/
│ │ │ │ │ │ └── commands/
│ │ │ │ │ │ ├── cpuid_cmd.c
│ │ │ │ │ │ └── pxe_cmd.c
│ │ │ │ │ ├── image/
│ │ │ │ │ │ ├── bootsector.c
│ │ │ │ │ │ ├── bzimage.c
│ │ │ │ │ │ ├── com32.c
│ │ │ │ │ │ ├── comboot.c
│ │ │ │ │ │ ├── elfboot.c
│ │ │ │ │ │ ├── initrd.c
│ │ │ │ │ │ ├── multiboot.c
│ │ │ │ │ │ ├── nbi.c
│ │ │ │ │ │ ├── pxe_image.c
│ │ │ │ │ │ └── sdi.c
│ │ │ │ │ ├── include/
│ │ │ │ │ │ ├── basemem.h
│ │ │ │ │ │ ├── basemem_packet.h
│ │ │ │ │ │ ├── bios.h
│ │ │ │ │ │ ├── bios_disks.h
│ │ │ │ │ │ ├── biosint.h
│ │ │ │ │ │ ├── bits/
│ │ │ │ │ │ │ ├── acpi.h
│ │ │ │ │ │ │ ├── bigint.h
│ │ │ │ │ │ │ ├── bitops.h
│ │ │ │ │ │ │ ├── endian.h
│ │ │ │ │ │ │ ├── entropy.h
│ │ │ │ │ │ │ ├── errfile.h
│ │ │ │ │ │ │ ├── io.h
│ │ │ │ │ │ │ ├── iomap.h
│ │ │ │ │ │ │ ├── linux_api_platform.h
│ │ │ │ │ │ │ ├── nap.h
│ │ │ │ │ │ │ ├── pci_io.h
│ │ │ │ │ │ │ ├── reboot.h
│ │ │ │ │ │ │ ├── sanboot.h
│ │ │ │ │ │ │ ├── smbios.h
│ │ │ │ │ │ │ ├── string.h
│ │ │ │ │ │ │ ├── tcpip.h
│ │ │ │ │ │ │ ├── time.h
│ │ │ │ │ │ │ ├── uaccess.h
│ │ │ │ │ │ │ ├── uart.h
│ │ │ │ │ │ │ ├── umalloc.h
│ │ │ │ │ │ │ └── xen.h
│ │ │ │ │ │ ├── bochs.h
│ │ │ │ │ │ ├── bootsector.h
│ │ │ │ │ │ ├── bzimage.h
│ │ │ │ │ │ ├── comboot.h
│ │ │ │ │ │ ├── fakee820.h
│ │ │ │ │ │ ├── initrd.h
│ │ │ │ │ │ ├── int13.h
│ │ │ │ │ │ ├── ipxe/
│ │ │ │ │ │ │ ├── acpipwr.h
│ │ │ │ │ │ │ ├── apm.h
│ │ │ │ │ │ │ ├── bios_nap.h
│ │ │ │ │ │ │ ├── bios_reboot.h
│ │ │ │ │ │ │ ├── bios_sanboot.h
│ │ │ │ │ │ │ ├── bios_smbios.h
│ │ │ │ │ │ │ ├── cpuid.h
│ │ │ │ │ │ │ ├── efi/
│ │ │ │ │ │ │ │ └── efix86_nap.h
│ │ │ │ │ │ │ ├── errno/
│ │ │ │ │ │ │ │ └── pcbios.h
│ │ │ │ │ │ │ ├── guestrpc.h
│ │ │ │ │ │ │ ├── iomap_pages.h
│ │ │ │ │ │ │ ├── memtop_umalloc.h
│ │ │ │ │ │ │ ├── pcibios.h
│ │ │ │ │ │ │ ├── pcidirect.h
│ │ │ │ │ │ │ ├── pit8254.h
│ │ │ │ │ │ │ ├── rsdp.h
│ │ │ │ │ │ │ ├── rtc_entropy.h
│ │ │ │ │ │ │ ├── rtc_time.h
│ │ │ │ │ │ │ ├── vesafb.h
│ │ │ │ │ │ │ ├── vmware.h
│ │ │ │ │ │ │ └── x86_io.h
│ │ │ │ │ │ ├── kir.h
│ │ │ │ │ │ ├── libkir.h
│ │ │ │ │ │ ├── librm.h
│ │ │ │ │ │ ├── linux/
│ │ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ │ └── dhcp_arch.h
│ │ │ │ │ │ ├── memsizes.h
│ │ │ │ │ │ ├── multiboot.h
│ │ │ │ │ │ ├── pic8259.h
│ │ │ │ │ │ ├── pnpbios.h
│ │ │ │ │ │ ├── pxe.h
│ │ │ │ │ │ ├── pxe_api.h
│ │ │ │ │ │ ├── pxe_call.h
│ │ │ │ │ │ ├── pxe_error.h
│ │ │ │ │ │ ├── pxe_types.h
│ │ │ │ │ │ ├── realmode.h
│ │ │ │ │ │ ├── registers.h
│ │ │ │ │ │ ├── rmsetjmp.h
│ │ │ │ │ │ ├── rtc.h
│ │ │ │ │ │ ├── sdi.h
│ │ │ │ │ │ ├── undi.h
│ │ │ │ │ │ ├── undiload.h
│ │ │ │ │ │ ├── undinet.h
│ │ │ │ │ │ ├── undipreload.h
│ │ │ │ │ │ ├── undirom.h
│ │ │ │ │ │ └── vga.h
│ │ │ │ │ ├── interface/
│ │ │ │ │ │ ├── efi/
│ │ │ │ │ │ │ └── efix86_nap.c
│ │ │ │ │ │ ├── pcbios/
│ │ │ │ │ │ │ ├── acpipwr.c
│ │ │ │ │ │ │ ├── apm.c
│ │ │ │ │ │ │ ├── basemem.c
│ │ │ │ │ │ │ ├── bios_console.c
│ │ │ │ │ │ │ ├── bios_nap.c
│ │ │ │ │ │ │ ├── bios_reboot.c
│ │ │ │ │ │ │ ├── bios_smbios.c
│ │ │ │ │ │ │ ├── bios_timer.c
│ │ │ │ │ │ │ ├── biosint.c
│ │ │ │ │ │ │ ├── e820mangler.S
│ │ │ │ │ │ │ ├── fakee820.c
│ │ │ │ │ │ │ ├── hidemem.c
│ │ │ │ │ │ │ ├── int13.c
│ │ │ │ │ │ │ ├── int13con.c
│ │ │ │ │ │ │ ├── memmap.c
│ │ │ │ │ │ │ ├── memtop_umalloc.c
│ │ │ │ │ │ │ ├── pcibios.c
│ │ │ │ │ │ │ ├── pnpbios.c
│ │ │ │ │ │ │ ├── rsdp.c
│ │ │ │ │ │ │ ├── rtc_entropy.c
│ │ │ │ │ │ │ ├── rtc_time.c
│ │ │ │ │ │ │ └── vesafb.c
│ │ │ │ │ │ ├── pxe/
│ │ │ │ │ │ │ ├── pxe_call.c
│ │ │ │ │ │ │ ├── pxe_entry.S
│ │ │ │ │ │ │ ├── pxe_exit_hook.c
│ │ │ │ │ │ │ ├── pxe_file.c
│ │ │ │ │ │ │ ├── pxe_loader.c
│ │ │ │ │ │ │ ├── pxe_preboot.c
│ │ │ │ │ │ │ ├── pxe_tftp.c
│ │ │ │ │ │ │ ├── pxe_udp.c
│ │ │ │ │ │ │ └── pxe_undi.c
│ │ │ │ │ │ ├── syslinux/
│ │ │ │ │ │ │ ├── com32_call.c
│ │ │ │ │ │ │ ├── com32_wrapper.S
│ │ │ │ │ │ │ ├── comboot_call.c
│ │ │ │ │ │ │ └── comboot_resolv.c
│ │ │ │ │ │ └── vmware/
│ │ │ │ │ │ ├── guestinfo.c
│ │ │ │ │ │ ├── guestrpc.c
│ │ │ │ │ │ ├── vmconsole.c
│ │ │ │ │ │ └── vmware.c
│ │ │ │ │ ├── prefix/
│ │ │ │ │ │ ├── bootpart.S
│ │ │ │ │ │ ├── dskprefix.S
│ │ │ │ │ │ ├── exeprefix.S
│ │ │ │ │ │ ├── hdprefix.S
│ │ │ │ │ │ ├── isaromprefix.S
│ │ │ │ │ │ ├── kkkpxeprefix.S
│ │ │ │ │ │ ├── kkpxeprefix.S
│ │ │ │ │ │ ├── kpxeprefix.S
│ │ │ │ │ │ ├── libprefix.S
│ │ │ │ │ │ ├── lkrnprefix.S
│ │ │ │ │ │ ├── mbr.S
│ │ │ │ │ │ ├── mromprefix.S
│ │ │ │ │ │ ├── nbiprefix.S
│ │ │ │ │ │ ├── nullprefix.S
│ │ │ │ │ │ ├── pciromprefix.S
│ │ │ │ │ │ ├── pxeprefix.S
│ │ │ │ │ │ ├── romprefix.S
│ │ │ │ │ │ ├── undiloader.S
│ │ │ │ │ │ ├── unlzma.S
│ │ │ │ │ │ ├── unlzma16.S
│ │ │ │ │ │ └── usbdisk.S
│ │ │ │ │ ├── scripts/
│ │ │ │ │ │ └── pcbios.lds
│ │ │ │ │ ├── tests/
│ │ │ │ │ │ └── comboot/
│ │ │ │ │ │ ├── shuffle-simple.asm
│ │ │ │ │ │ └── version.asm
│ │ │ │ │ └── transitions/
│ │ │ │ │ ├── liba20.S
│ │ │ │ │ ├── libkir.S
│ │ │ │ │ ├── libpm.S
│ │ │ │ │ ├── librm.S
│ │ │ │ │ ├── librm_mgmt.c
│ │ │ │ │ └── librm_test.c
│ │ │ │ └── x86_64/
│ │ │ │ ├── Makefile
│ │ │ │ ├── Makefile.efi
│ │ │ │ ├── Makefile.linux
│ │ │ │ ├── Makefile.pcbios
│ │ │ │ ├── core/
│ │ │ │ │ ├── gdbidt.S
│ │ │ │ │ ├── linux/
│ │ │ │ │ │ ├── linux_syscall.S
│ │ │ │ │ │ └── linuxprefix.S
│ │ │ │ │ └── setjmp.S
│ │ │ │ ├── include/
│ │ │ │ │ ├── bits/
│ │ │ │ │ │ ├── byteswap.h
│ │ │ │ │ │ ├── compiler.h
│ │ │ │ │ │ ├── hyperv.h
│ │ │ │ │ │ ├── linux_api.h
│ │ │ │ │ │ ├── profile.h
│ │ │ │ │ │ ├── stdint.h
│ │ │ │ │ │ └── strings.h
│ │ │ │ │ ├── efi/
│ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ └── dhcp_arch.h
│ │ │ │ │ ├── gdbmach.h
│ │ │ │ │ ├── ipxe/
│ │ │ │ │ │ └── msr.h
│ │ │ │ │ ├── limits.h
│ │ │ │ │ ├── pcbios/
│ │ │ │ │ │ └── ipxe/
│ │ │ │ │ │ └── dhcp_arch.h
│ │ │ │ │ └── setjmp.h
│ │ │ │ └── scripts/
│ │ │ │ └── linux.lds
│ │ │ ├── config/
│ │ │ │ ├── branding.h
│ │ │ │ ├── cloud/
│ │ │ │ │ ├── aws.ipxe
│ │ │ │ │ ├── colour.h
│ │ │ │ │ ├── console.h
│ │ │ │ │ ├── crypto.h
│ │ │ │ │ ├── gce.ipxe
│ │ │ │ │ ├── general.h
│ │ │ │ │ ├── serial.h
│ │ │ │ │ ├── settings.h
│ │ │ │ │ ├── sideband.h
│ │ │ │ │ └── usb.h
│ │ │ │ ├── colour.h
│ │ │ │ ├── config.c
│ │ │ │ ├── config_asn1.c
│ │ │ │ ├── config_crypto.c
│ │ │ │ ├── config_efi.c
│ │ │ │ ├── config_ethernet.c
│ │ │ │ ├── config_fc.c
│ │ │ │ ├── config_http.c
│ │ │ │ ├── config_infiniband.c
│ │ │ │ ├── config_linux.c
│ │ │ │ ├── config_net80211.c
│ │ │ │ ├── config_pcbios.c
│ │ │ │ ├── config_pixbuf.c
│ │ │ │ ├── config_romprefix.c
│ │ │ │ ├── config_route.c
│ │ │ │ ├── config_timer.c
│ │ │ │ ├── config_usb.c
│ │ │ │ ├── console.h
│ │ │ │ ├── crypto.h
│ │ │ │ ├── defaults/
│ │ │ │ │ ├── efi.h
│ │ │ │ │ ├── linux.h
│ │ │ │ │ └── pcbios.h
│ │ │ │ ├── defaults.h
│ │ │ │ ├── dhcp.h
│ │ │ │ ├── entropy.h
│ │ │ │ ├── fault.h
│ │ │ │ ├── general.h
│ │ │ │ ├── ioapi.h
│ │ │ │ ├── isa.h
│ │ │ │ ├── named.h
│ │ │ │ ├── nap.h
│ │ │ │ ├── qemu/
│ │ │ │ │ ├── colour.h
│ │ │ │ │ ├── console.h
│ │ │ │ │ ├── crypto.h
│ │ │ │ │ ├── general.h
│ │ │ │ │ ├── serial.h
│ │ │ │ │ ├── settings.h
│ │ │ │ │ ├── sideband.h
│ │ │ │ │ └── usb.h
│ │ │ │ ├── reboot.h
│ │ │ │ ├── sanboot.h
│ │ │ │ ├── serial.h
│ │ │ │ ├── settings.h
│ │ │ │ ├── sideband.h
│ │ │ │ ├── time.h
│ │ │ │ ├── timer.h
│ │ │ │ ├── umalloc.h
│ │ │ │ ├── usb.h
│ │ │ │ └── vbox/
│ │ │ │ ├── README
│ │ │ │ ├── colour.h
│ │ │ │ ├── console.h
│ │ │ │ ├── crypto.h
│ │ │ │ ├── general.h
│ │ │ │ ├── serial.h
│ │ │ │ ├── settings.h
│ │ │ │ ├── sideband.h
│ │ │ │ └── usb.h
│ │ │ ├── core/
│ │ │ │ ├── acpi.c
│ │ │ │ ├── acpi_settings.c
│ │ │ │ ├── ansicol.c
│ │ │ │ ├── ansicoldef.c
│ │ │ │ ├── ansiesc.c
│ │ │ │ ├── asprintf.c
│ │ │ │ ├── assert.c
│ │ │ │ ├── base16.c
│ │ │ │ ├── base64.c
│ │ │ │ ├── basename.c
│ │ │ │ ├── bitmap.c
│ │ │ │ ├── blockdev.c
│ │ │ │ ├── blocktrans.c
│ │ │ │ ├── console.c
│ │ │ │ ├── cpio.c
│ │ │ │ ├── ctype.c
│ │ │ │ ├── cwuri.c
│ │ │ │ ├── debug.c
│ │ │ │ ├── debug_md5.c
│ │ │ │ ├── device.c
│ │ │ │ ├── downloader.c
│ │ │ │ ├── dummy_sanboot.c
│ │ │ │ ├── edd.c
│ │ │ │ ├── errno.c
│ │ │ │ ├── exec.c
│ │ │ │ ├── fault.c
│ │ │ │ ├── fbcon.c
│ │ │ │ ├── fnrec.c
│ │ │ │ ├── gdbserial.c
│ │ │ │ ├── gdbstub.c
│ │ │ │ ├── gdbudp.c
│ │ │ │ ├── getkey.c
│ │ │ │ ├── getopt.c
│ │ │ │ ├── hw.c
│ │ │ │ ├── i82365.c
│ │ │ │ ├── image.c
│ │ │ │ ├── init.c
│ │ │ │ ├── interface.c
│ │ │ │ ├── iobuf.c
│ │ │ │ ├── iomap_virt.c
│ │ │ │ ├── isqrt.c
│ │ │ │ ├── job.c
│ │ │ │ ├── linebuf.c
│ │ │ │ ├── lineconsole.c
│ │ │ │ ├── list.c
│ │ │ │ ├── log.c
│ │ │ │ ├── main.c
│ │ │ │ ├── malloc.c
│ │ │ │ ├── memmap_settings.c
│ │ │ │ ├── menu.c
│ │ │ │ ├── monojob.c
│ │ │ │ ├── null_acpi.c
│ │ │ │ ├── null_nap.c
│ │ │ │ ├── null_reboot.c
│ │ │ │ ├── null_sanboot.c
│ │ │ │ ├── null_time.c
│ │ │ │ ├── nvo.c
│ │ │ │ ├── open.c
│ │ │ │ ├── params.c
│ │ │ │ ├── parseopt.c
│ │ │ │ ├── pc_kbd.c
│ │ │ │ ├── pcmcia.c
│ │ │ │ ├── pending.c
│ │ │ │ ├── pinger.c
│ │ │ │ ├── pixbuf.c
│ │ │ │ ├── pool.c
│ │ │ │ ├── posix_io.c
│ │ │ │ ├── process.c
│ │ │ │ ├── profile.c
│ │ │ │ ├── quiesce.c
│ │ │ │ ├── random.c
│ │ │ │ ├── refcnt.c
│ │ │ │ ├── resolv.c
│ │ │ │ ├── sanboot.c
│ │ │ │ ├── serial.c
│ │ │ │ ├── settings.c
│ │ │ │ ├── string.c
│ │ │ │ ├── stringextra.c
│ │ │ │ ├── time.c
│ │ │ │ ├── timer.c
│ │ │ │ ├── uart.c
│ │ │ │ ├── uri.c
│ │ │ │ ├── uuid.c
│ │ │ │ ├── version.c
│ │ │ │ ├── vsprintf.c
│ │ │ │ ├── wchar.c
│ │ │ │ ├── xfer.c
│ │ │ │ └── xferbuf.c
│ │ │ ├── crypto/
│ │ │ │ ├── aes.c
│ │ │ │ ├── aes_wrap.c
│ │ │ │ ├── arc4.c
│ │ │ │ ├── asn1.c
│ │ │ │ ├── bigint.c
│ │ │ │ ├── cbc.c
│ │ │ │ ├── certstore.c
│ │ │ │ ├── chap.c
│ │ │ │ ├── cms.c
│ │ │ │ ├── crc32.c
│ │ │ │ ├── crypto_null.c
│ │ │ │ ├── deflate.c
│ │ │ │ ├── drbg.c
│ │ │ │ ├── ecb.c
│ │ │ │ ├── entropy.c
│ │ │ │ ├── hash_df.c
│ │ │ │ ├── hmac.c
│ │ │ │ ├── hmac_drbg.c
│ │ │ │ ├── md5.c
│ │ │ │ ├── mishmash/
│ │ │ │ │ ├── rsa_aes_cbc_sha1.c
│ │ │ │ │ ├── rsa_aes_cbc_sha256.c
│ │ │ │ │ ├── rsa_md5.c
│ │ │ │ │ ├── rsa_sha1.c
│ │ │ │ │ ├── rsa_sha224.c
│ │ │ │ │ ├── rsa_sha256.c
│ │ │ │ │ ├── rsa_sha384.c
│ │ │ │ │ └── rsa_sha512.c
│ │ │ │ ├── null_entropy.c
│ │ │ │ ├── ocsp.c
│ │ │ │ ├── privkey.c
│ │ │ │ ├── random_nz.c
│ │ │ │ ├── rbg.c
│ │ │ │ ├── rootcert.c
│ │ │ │ ├── rsa.c
│ │ │ │ ├── sha1.c
│ │ │ │ ├── sha1extra.c
│ │ │ │ ├── sha224.c
│ │ │ │ ├── sha256.c
│ │ │ │ ├── sha384.c
│ │ │ │ ├── sha512.c
│ │ │ │ ├── sha512_224.c
│ │ │ │ ├── sha512_256.c
│ │ │ │ └── x509.c
│ │ │ ├── doc/
│ │ │ │ ├── build_sys.dox
│ │ │ │ └── pxe_extensions
│ │ │ ├── doxygen.cfg
│ │ │ ├── drivers/
│ │ │ │ ├── bitbash/
│ │ │ │ │ ├── bitbash.c
│ │ │ │ │ ├── i2c_bit.c
│ │ │ │ │ └── spi_bit.c
│ │ │ │ ├── block/
│ │ │ │ │ ├── ata.c
│ │ │ │ │ ├── ibft.c
│ │ │ │ │ ├── scsi.c
│ │ │ │ │ └── srp.c
│ │ │ │ ├── bus/
│ │ │ │ │ ├── cdc.c
│ │ │ │ │ ├── eisa.c
│ │ │ │ │ ├── isa.c
│ │ │ │ │ ├── isa_ids.c
│ │ │ │ │ ├── isapnp.c
│ │ │ │ │ ├── mca.c
│ │ │ │ │ ├── pci.c
│ │ │ │ │ ├── pci_settings.c
│ │ │ │ │ ├── pcibackup.c
│ │ │ │ │ ├── pciea.c
│ │ │ │ │ ├── pciextra.c
│ │ │ │ │ ├── pcivpd.c
│ │ │ │ │ ├── usb.c
│ │ │ │ │ ├── virtio-pci.c
│ │ │ │ │ └── virtio-ring.c
│ │ │ │ ├── infiniband/
│ │ │ │ │ ├── CIB_PRM.h
│ │ │ │ │ ├── MT25218_PRM.h
│ │ │ │ │ ├── MT25408_PRM.h
│ │ │ │ │ ├── arbel.c
│ │ │ │ │ ├── arbel.h
│ │ │ │ │ ├── flexboot_nodnic.c
│ │ │ │ │ ├── flexboot_nodnic.h
│ │ │ │ │ ├── golan.c
│ │ │ │ │ ├── golan.h
│ │ │ │ │ ├── hermon.c
│ │ │ │ │ ├── hermon.h
│ │ │ │ │ ├── linda.c
│ │ │ │ │ ├── linda.h
│ │ │ │ │ ├── linda_fw.c
│ │ │ │ │ ├── mlx_bitops.h
│ │ │ │ │ ├── mlx_nodnic/
│ │ │ │ │ │ ├── include/
│ │ │ │ │ │ │ ├── mlx_cmd.h
│ │ │ │ │ │ │ ├── mlx_device.h
│ │ │ │ │ │ │ ├── mlx_nodnic_data_structures.h
│ │ │ │ │ │ │ └── mlx_port.h
│ │ │ │ │ │ └── src/
│ │ │ │ │ │ ├── mlx_cmd.c
│ │ │ │ │ │ ├── mlx_device.c
│ │ │ │ │ │ └── mlx_port.c
│ │ │ │ │ ├── mlx_utils/
│ │ │ │ │ │ ├── include/
│ │ │ │ │ │ │ ├── private/
│ │ │ │ │ │ │ │ ├── mlx_memory_priv.h
│ │ │ │ │ │ │ │ ├── mlx_pci_priv.h
│ │ │ │ │ │ │ │ └── mlx_utils_priv.h
│ │ │ │ │ │ │ └── public/
│ │ │ │ │ │ │ ├── mlx_bail.h
│ │ │ │ │ │ │ ├── mlx_icmd.h
│ │ │ │ │ │ │ ├── mlx_logging.h
│ │ │ │ │ │ │ ├── mlx_memory.h
│ │ │ │ │ │ │ ├── mlx_pci.h
│ │ │ │ │ │ │ ├── mlx_pci_gw.h
│ │ │ │ │ │ │ ├── mlx_types.h
│ │ │ │ │ │ │ └── mlx_utils.h
│ │ │ │ │ │ ├── mlx_lib/
│ │ │ │ │ │ │ ├── mlx_blink_leds/
│ │ │ │ │ │ │ │ ├── mlx_blink_leds.c
│ │ │ │ │ │ │ │ └── mlx_blink_leds.h
│ │ │ │ │ │ │ ├── mlx_link_speed/
│ │ │ │ │ │ │ │ ├── mlx_link_speed.c
│ │ │ │ │ │ │ │ └── mlx_link_speed.h
│ │ │ │ │ │ │ ├── mlx_mtu/
│ │ │ │ │ │ │ │ ├── mlx_mtu.c
│ │ │ │ │ │ │ │ └── mlx_mtu.h
│ │ │ │ │ │ │ ├── mlx_nvconfig/
│ │ │ │ │ │ │ │ ├── mlx_nvconfig.c
│ │ │ │ │ │ │ │ ├── mlx_nvconfig.h
│ │ │ │ │ │ │ │ ├── mlx_nvconfig_defaults.c
│ │ │ │ │ │ │ │ ├── mlx_nvconfig_defaults.h
│ │ │ │ │ │ │ │ └── mlx_nvconfig_prm.h
│ │ │ │ │ │ │ ├── mlx_reg_access/
│ │ │ │ │ │ │ │ ├── mlx_reg_access.c
│ │ │ │ │ │ │ │ └── mlx_reg_access.h
│ │ │ │ │ │ │ └── mlx_vmac/
│ │ │ │ │ │ │ ├── mlx_vmac.c
│ │ │ │ │ │ │ └── mlx_vmac.h
│ │ │ │ │ │ └── src/
│ │ │ │ │ │ └── public/
│ │ │ │ │ │ ├── mlx_icmd.c
│ │ │ │ │ │ ├── mlx_memory.c
│ │ │ │ │ │ ├── mlx_pci.c
│ │ │ │ │ │ ├── mlx_pci_gw.c
│ │ │ │ │ │ └── mlx_utils.c
│ │ │ │ │ ├── mlx_utils_flexboot/
│ │ │ │ │ │ ├── include/
│ │ │ │ │ │ │ ├── mlx_logging_priv.h
│ │ │ │ │ │ │ └── mlx_types_priv.h
│ │ │ │ │ │ └── src/
│ │ │ │ │ │ ├── mlx_memory_priv.c
│ │ │ │ │ │ ├── mlx_pci_priv.c
│ │ │ │ │ │ └── mlx_utils_priv.c
│ │ │ │ │ ├── nodnic_prm.h
│ │ │ │ │ ├── nodnic_shomron_prm.h
│ │ │ │ │ ├── qib7322.c
│ │ │ │ │ ├── qib7322.h
│ │ │ │ │ ├── qib_7220_regs.h
│ │ │ │ │ ├── qib_7322_regs.h
│ │ │ │ │ └── qib_genbits.pl
│ │ │ │ ├── linux/
│ │ │ │ │ ├── af_packet.c
│ │ │ │ │ ├── linux.c
│ │ │ │ │ └── tap.c
│ │ │ │ ├── net/
│ │ │ │ │ ├── 3c503.c
│ │ │ │ │ ├── 3c509-eisa.c
│ │ │ │ │ ├── 3c509.c
│ │ │ │ │ ├── 3c509.h
│ │ │ │ │ ├── 3c515.c
│ │ │ │ │ ├── 3c515.txt
│ │ │ │ │ ├── 3c529.c
│ │ │ │ │ ├── 3c595.c
│ │ │ │ │ ├── 3c595.h
│ │ │ │ │ ├── 3c5x9.c
│ │ │ │ │ ├── 3c90x.c
│ │ │ │ │ ├── 3c90x.h
│ │ │ │ │ ├── acm.c
│ │ │ │ │ ├── acm.h
│ │ │ │ │ ├── amd8111e.c
│ │ │ │ │ ├── amd8111e.h
│ │ │ │ │ ├── ath/
│ │ │ │ │ │ ├── ath.h
│ │ │ │ │ │ ├── ath5k/
│ │ │ │ │ │ │ ├── ath5k.c
│ │ │ │ │ │ │ ├── ath5k.h
│ │ │ │ │ │ │ ├── ath5k_attach.c
│ │ │ │ │ │ │ ├── ath5k_caps.c
│ │ │ │ │ │ │ ├── ath5k_desc.c
│ │ │ │ │ │ │ ├── ath5k_dma.c
│ │ │ │ │ │ │ ├── ath5k_eeprom.c
│ │ │ │ │ │ │ ├── ath5k_gpio.c
│ │ │ │ │ │ │ ├── ath5k_initvals.c
│ │ │ │ │ │ │ ├── ath5k_pcu.c
│ │ │ │ │ │ │ ├── ath5k_phy.c
│ │ │ │ │ │ │ ├── ath5k_qcu.c
│ │ │ │ │ │ │ ├── ath5k_reset.c
│ │ │ │ │ │ │ ├── ath5k_rfkill.c
│ │ │ │ │ │ │ ├── base.h
│ │ │ │ │ │ │ ├── desc.h
│ │ │ │ │ │ │ ├── eeprom.h
│ │ │ │ │ │ │ ├── reg.h
│ │ │ │ │ │ │ ├── rfbuffer.h
│ │ │ │ │ │ │ └── rfgain.h
│ │ │ │ │ │ ├── ath9k/
│ │ │ │ │ │ │ ├── ani.h
│ │ │ │ │ │ │ ├── ar5008_initvals.h
│ │ │ │ │ │ │ ├── ar9001_initvals.h
│ │ │ │ │ │ │ ├── ar9002_initvals.h
│ │ │ │ │ │ │ ├── ar9002_phy.h
│ │ │ │ │ │ │ ├── ar9003_2p2_initvals.h
│ │ │ │ │ │ │ ├── ar9003_eeprom.h
│ │ │ │ │ │ │ ├── ar9003_mac.h
│ │ │ │ │ │ │ ├── ar9003_phy.h
│ │ │ │ │ │ │ ├── ar9340_initvals.h
│ │ │ │ │ │ │ ├── ar9485_initvals.h
│ │ │ │ │ │ │ ├── ath9k.c
│ │ │ │ │ │ │ ├── ath9k.h
│ │ │ │ │ │ │ ├── ath9k_ani.c
│ │ │ │ │ │ │ ├── ath9k_ar5008_phy.c
│ │ │ │ │ │ │ ├── ath9k_ar9002_calib.c
│ │ │ │ │ │ │ ├── ath9k_ar9002_hw.c
│ │ │ │ │ │ │ ├── ath9k_ar9002_mac.c
│ │ │ │ │ │ │ ├── ath9k_ar9002_phy.c
│ │ │ │ │ │ │ ├── ath9k_ar9003_calib.c
│ │ │ │ │ │ │ ├── ath9k_ar9003_eeprom.c
│ │ │ │ │ │ │ ├── ath9k_ar9003_hw.c
│ │ │ │ │ │ │ ├── ath9k_ar9003_mac.c
│ │ │ │ │ │ │ ├── ath9k_ar9003_phy.c
│ │ │ │ │ │ │ ├── ath9k_calib.c
│ │ │ │ │ │ │ ├── ath9k_common.c
│ │ │ │ │ │ │ ├── ath9k_eeprom.c
│ │ │ │ │ │ │ ├── ath9k_eeprom_4k.c
│ │ │ │ │ │ │ ├── ath9k_eeprom_9287.c
│ │ │ │ │ │ │ ├── ath9k_eeprom_def.c
│ │ │ │ │ │ │ ├── ath9k_hw.c
│ │ │ │ │ │ │ ├── ath9k_init.c
│ │ │ │ │ │ │ ├── ath9k_mac.c
│ │ │ │ │ │ │ ├── ath9k_main.c
│ │ │ │ │ │ │ ├── ath9k_recv.c
│ │ │ │ │ │ │ ├── ath9k_xmit.c
│ │ │ │ │ │ │ ├── calib.h
│ │ │ │ │ │ │ ├── common.h
│ │ │ │ │ │ │ ├── eeprom.h
│ │ │ │ │ │ │ ├── hw-ops.h
│ │ │ │ │ │ │ ├── hw.h
│ │ │ │ │ │ │ ├── mac.h
│ │ │ │ │ │ │ ├── phy.h
│ │ │ │ │ │ │ └── reg.h
│ │ │ │ │ │ ├── ath_hw.c
│ │ │ │ │ │ ├── ath_key.c
│ │ │ │ │ │ ├── ath_regd.c
│ │ │ │ │ │ ├── reg.h
│ │ │ │ │ │ ├── regd.h
│ │ │ │ │ │ └── regd_common.h
│ │ │ │ │ ├── atl1e.c
│ │ │ │ │ ├── atl1e.h
│ │ │ │ │ ├── axge.c
│ │ │ │ │ ├── axge.h
│ │ │ │ │ ├── b44.c
│ │ │ │ │ ├── b44.h
│ │ │ │ │ ├── bnx2.c
│ │ │ │ │ ├── bnx2.h
│ │ │ │ │ ├── bnx2_fw.h
│ │ │ │ │ ├── cs89x0.c
│ │ │ │ │ ├── cs89x0.h
│ │ │ │ │ ├── cs89x0.txt
│ │ │ │ │ ├── davicom.c
│ │ │ │ │ ├── depca.c
│ │ │ │ │ ├── dm96xx.c
│ │ │ │ │ ├── dm96xx.h
│ │ │ │ │ ├── dmfe.c
│ │ │ │ │ ├── ecm.c
│ │ │ │ │ ├── ecm.h
│ │ │ │ │ ├── eepro.c
│ │ │ │ │ ├── eepro100.c
│ │ │ │ │ ├── eepro100.h
│ │ │ │ │ ├── efi/
│ │ │ │ │ │ ├── nii.c
│ │ │ │ │ │ ├── nii.h
│ │ │ │ │ │ ├── snp.c
│ │ │ │ │ │ ├── snpnet.c
│ │ │ │ │ │ ├── snpnet.h
│ │ │ │ │ │ └── snponly.c
│ │ │ │ │ ├── eoib.c
│ │ │ │ │ ├── epic100.c
│ │ │ │ │ ├── epic100.h
│ │ │ │ │ ├── etherfabric.c
│ │ │ │ │ ├── etherfabric.h
│ │ │ │ │ ├── etherfabric_nic.h
│ │ │ │ │ ├── exanic.c
│ │ │ │ │ ├── exanic.h
│ │ │ │ │ ├── forcedeth.c
│ │ │ │ │ ├── forcedeth.h
│ │ │ │ │ ├── hfa384x.h
│ │ │ │ │ ├── igbvf/
│ │ │ │ │ │ ├── igbvf.h
│ │ │ │ │ │ ├── igbvf_defines.h
│ │ │ │ │ │ ├── igbvf_main.c
│ │ │ │ │ │ ├── igbvf_mbx.c
│ │ │ │ │ │ ├── igbvf_mbx.h
│ │ │ │ │ │ ├── igbvf_osdep.h
│ │ │ │ │ │ ├── igbvf_regs.h
│ │ │ │ │ │ ├── igbvf_vf.c
│ │ │ │ │ │ └── igbvf_vf.h
│ │ │ │ │ ├── intel.c
│ │ │ │ │ ├── intel.h
│ │ │ │ │ ├── intelvf.c
│ │ │ │ │ ├── intelvf.h
│ │ │ │ │ ├── intelx.c
│ │ │ │ │ ├── intelx.h
│ │ │ │ │ ├── intelxvf.c
│ │ │ │ │ ├── intelxvf.h
│ │ │ │ │ ├── ipoib.c
│ │ │ │ │ ├── jme.c
│ │ │ │ │ ├── jme.h
│ │ │ │ │ ├── lan78xx.c
│ │ │ │ │ ├── lan78xx.h
│ │ │ │ │ ├── legacy.c
│ │ │ │ │ ├── mii.c
│ │ │ │ │ ├── myri10ge.c
│ │ │ │ │ ├── myri10ge_mcp.h
│ │ │ │ │ ├── myson.c
│ │ │ │ │ ├── myson.h
│ │ │ │ │ ├── natsemi.c
│ │ │ │ │ ├── natsemi.h
│ │ │ │ │ ├── ncm.c
│ │ │ │ │ ├── ncm.h
│ │ │ │ │ ├── ne.c
│ │ │ │ │ ├── ne2k_isa.c
│ │ │ │ │ ├── netfront.c
│ │ │ │ │ ├── netfront.h
│ │ │ │ │ ├── netvsc.c
│ │ │ │ │ ├── netvsc.h
│ │ │ │ │ ├── ns8390.c
│ │ │ │ │ ├── ns8390.h
│ │ │ │ │ ├── p80211hdr.h
│ │ │ │ │ ├── pcnet32.c
│ │ │ │ │ ├── pcnet32.h
│ │ │ │ │ ├── phantom/
│ │ │ │ │ │ ├── nx_bitops.h
│ │ │ │ │ │ ├── nxhal_nic_interface.h
│ │ │ │ │ │ ├── phantom.c
│ │ │ │ │ │ ├── phantom.h
│ │ │ │ │ │ └── phantom_hw.h
│ │ │ │ │ ├── pnic.c
│ │ │ │ │ ├── pnic_api.h
│ │ │ │ │ ├── prism2.c
│ │ │ │ │ ├── prism2_pci.c
│ │ │ │ │ ├── prism2_plx.c
│ │ │ │ │ ├── realtek.c
│ │ │ │ │ ├── realtek.h
│ │ │ │ │ ├── rhine.c
│ │ │ │ │ ├── rhine.h
│ │ │ │ │ ├── rtl818x/
│ │ │ │ │ │ ├── rtl8180.c
│ │ │ │ │ │ ├── rtl8180_grf5101.c
│ │ │ │ │ │ ├── rtl8180_max2820.c
│ │ │ │ │ │ ├── rtl8180_sa2400.c
│ │ │ │ │ │ ├── rtl8185.c
│ │ │ │ │ │ ├── rtl8185_rtl8225.c
│ │ │ │ │ │ ├── rtl818x.c
│ │ │ │ │ │ └── rtl818x.h
│ │ │ │ │ ├── sfc/
│ │ │ │ │ │ ├── ef10_regs.h
│ │ │ │ │ │ ├── efx_bitfield.h
│ │ │ │ │ │ ├── efx_common.c
│ │ │ │ │ │ ├── efx_common.h
│ │ │ │ │ │ ├── efx_hunt.c
│ │ │ │ │ │ ├── efx_hunt.h
│ │ │ │ │ │ ├── mc_driver_pcol.h
│ │ │ │ │ │ ├── mcdi.h
│ │ │ │ │ │ └── sfc_hunt.c
│ │ │ │ │ ├── sis190.c
│ │ │ │ │ ├── sis190.h
│ │ │ │ │ ├── sis900.c
│ │ │ │ │ ├── sis900.h
│ │ │ │ │ ├── skeleton.c
│ │ │ │ │ ├── skeleton.h
│ │ │ │ │ ├── skge.c
│ │ │ │ │ ├── skge.h
│ │ │ │ │ ├── sky2.c
│ │ │ │ │ ├── sky2.h
│ │ │ │ │ ├── smc9000.c
│ │ │ │ │ ├── smc9000.h
│ │ │ │ │ ├── smsc75xx.c
│ │ │ │ │ ├── smsc75xx.h
│ │ │ │ │ ├── smsc95xx.c
│ │ │ │ │ ├── smsc95xx.h
│ │ │ │ │ ├── smscusb.c
│ │ │ │ │ ├── smscusb.h
│ │ │ │ │ ├── sundance.c
│ │ │ │ │ ├── tg3/
│ │ │ │ │ │ ├── tg3.c
│ │ │ │ │ │ ├── tg3.h
│ │ │ │ │ │ ├── tg3_hw.c
│ │ │ │ │ │ └── tg3_phy.c
│ │ │ │ │ ├── thunderx.c
│ │ │ │ │ ├── thunderx.h
│ │ │ │ │ ├── thunderxcfg.h
│ │ │ │ │ ├── tlan.c
│ │ │ │ │ ├── tlan.h
│ │ │ │ │ ├── tulip.c
│ │ │ │ │ ├── tulip.txt
│ │ │ │ │ ├── velocity.c
│ │ │ │ │ ├── velocity.h
│ │ │ │ │ ├── virtio-net.c
│ │ │ │ │ ├── virtio-net.h
│ │ │ │ │ ├── vmxnet3.c
│ │ │ │ │ ├── vmxnet3.h
│ │ │ │ │ ├── vxge/
│ │ │ │ │ │ ├── vxge.c
│ │ │ │ │ │ ├── vxge_config.c
│ │ │ │ │ │ ├── vxge_config.h
│ │ │ │ │ │ ├── vxge_main.c
│ │ │ │ │ │ ├── vxge_main.h
│ │ │ │ │ │ ├── vxge_reg.h
│ │ │ │ │ │ ├── vxge_traffic.c
│ │ │ │ │ │ ├── vxge_traffic.h
│ │ │ │ │ │ └── vxge_version.h
│ │ │ │ │ ├── w89c840.c
│ │ │ │ │ ├── wd.c
│ │ │ │ │ └── wlan_compat.h
│ │ │ │ ├── nvs/
│ │ │ │ │ ├── nvs.c
│ │ │ │ │ ├── nvsvpd.c
│ │ │ │ │ ├── spi.c
│ │ │ │ │ └── threewire.c
│ │ │ │ └── usb/
│ │ │ │ ├── ehci.c
│ │ │ │ ├── ehci.h
│ │ │ │ ├── uhci.c
│ │ │ │ ├── uhci.h
│ │ │ │ ├── usbhid.c
│ │ │ │ ├── usbhub.c
│ │ │ │ ├── usbhub.h
│ │ │ │ ├── usbio.c
│ │ │ │ ├── usbio.h
│ │ │ │ ├── usbkbd.c
│ │ │ │ ├── usbkbd.h
│ │ │ │ ├── usbnet.c
│ │ │ │ ├── xhci.c
│ │ │ │ └── xhci.h
│ │ │ ├── hci/
│ │ │ │ ├── commands/
│ │ │ │ │ ├── autoboot_cmd.c
│ │ │ │ │ ├── cert_cmd.c
│ │ │ │ │ ├── config_cmd.c
│ │ │ │ │ ├── console_cmd.c
│ │ │ │ │ ├── dhcp_cmd.c
│ │ │ │ │ ├── digest_cmd.c
│ │ │ │ │ ├── fcmgmt_cmd.c
│ │ │ │ │ ├── gdbstub_cmd.c
│ │ │ │ │ ├── ibmgmt_cmd.c
│ │ │ │ │ ├── ifmgmt_cmd.c
│ │ │ │ │ ├── image_cmd.c
│ │ │ │ │ ├── image_trust_cmd.c
│ │ │ │ │ ├── ipstat_cmd.c
│ │ │ │ │ ├── iwmgmt_cmd.c
│ │ │ │ │ ├── login_cmd.c
│ │ │ │ │ ├── lotest_cmd.c
│ │ │ │ │ ├── menu_cmd.c
│ │ │ │ │ ├── neighbour_cmd.c
│ │ │ │ │ ├── nslookup_cmd.c
│ │ │ │ │ ├── ntp_cmd.c
│ │ │ │ │ ├── nvo_cmd.c
│ │ │ │ │ ├── param_cmd.c
│ │ │ │ │ ├── pci_cmd.c
│ │ │ │ │ ├── ping_cmd.c
│ │ │ │ │ ├── poweroff_cmd.c
│ │ │ │ │ ├── profstat_cmd.c
│ │ │ │ │ ├── reboot_cmd.c
│ │ │ │ │ ├── route_cmd.c
│ │ │ │ │ ├── sanboot_cmd.c
│ │ │ │ │ ├── sync_cmd.c
│ │ │ │ │ ├── time_cmd.c
│ │ │ │ │ └── vlan_cmd.c
│ │ │ │ ├── editstring.c
│ │ │ │ ├── jumpscroll.c
│ │ │ │ ├── keymap/
│ │ │ │ │ ├── keymap_al.c
│ │ │ │ │ ├── keymap_az.c
│ │ │ │ │ ├── keymap_bg.c
│ │ │ │ │ ├── keymap_by.c
│ │ │ │ │ ├── keymap_cf.c
│ │ │ │ │ ├── keymap_cz.c
│ │ │ │ │ ├── keymap_de.c
│ │ │ │ │ ├── keymap_dk.c
│ │ │ │ │ ├── keymap_es.c
│ │ │ │ │ ├── keymap_et.c
│ │ │ │ │ ├── keymap_fi.c
│ │ │ │ │ ├── keymap_fr.c
│ │ │ │ │ ├── keymap_gr.c
│ │ │ │ │ ├── keymap_hu.c
│ │ │ │ │ ├── keymap_il.c
│ │ │ │ │ ├── keymap_it.c
│ │ │ │ │ ├── keymap_lt.c
│ │ │ │ │ ├── keymap_mk.c
│ │ │ │ │ ├── keymap_mt.c
│ │ │ │ │ ├── keymap_nl.c
│ │ │ │ │ ├── keymap_no-latin1.c
│ │ │ │ │ ├── keymap_no.c
│ │ │ │ │ ├── keymap_pl.c
│ │ │ │ │ ├── keymap_pt.c
│ │ │ │ │ ├── keymap_ro.c
│ │ │ │ │ ├── keymap_ru.c
│ │ │ │ │ ├── keymap_sg.c
│ │ │ │ │ ├── keymap_sr.c
│ │ │ │ │ ├── keymap_th.c
│ │ │ │ │ ├── keymap_ua.c
│ │ │ │ │ ├── keymap_uk.c
│ │ │ │ │ ├── keymap_us.c
│ │ │ │ │ └── keymap_wo.c
│ │ │ │ ├── linux_args.c
│ │ │ │ ├── mucurses/
│ │ │ │ │ ├── alert.c
│ │ │ │ │ ├── ansi_screen.c
│ │ │ │ │ ├── clear.c
│ │ │ │ │ ├── colour.c
│ │ │ │ │ ├── cursor.h
│ │ │ │ │ ├── edging.c
│ │ │ │ │ ├── kb.c
│ │ │ │ │ ├── mucurses.c
│ │ │ │ │ ├── mucurses.h
│ │ │ │ │ ├── print.c
│ │ │ │ │ ├── print_nadv.c
│ │ │ │ │ ├── slk.c
│ │ │ │ │ ├── widgets/
│ │ │ │ │ │ └── editbox.c
│ │ │ │ │ ├── winattrs.c
│ │
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
tests/double_free
tests/oob_neg_read
libclang_rt.asan-*.so
qasan-qemu
qasan-system
qemu-x86_64
libqasan.so
libqasan/libqasan.so
================================================
FILE: .gitmodules
================================================
[submodule "asan-giovese"]
path = asan-giovese
url = https://github.com/andreafioraldi/asan-giovese.git
================================================
FILE: CITATION.cff
================================================
cff-version: 1.2.0
title: "Fuzzing Binaries for Memory Safety Errors with QASan"
authors:
- family-names: "Fioraldi"
given-names: "Andrea"
- family-names: "D'Elia"
given-names: "Daniele Cono"
- family-names: "Querzoni"
given-names: "Leonardo"
version: 1.0
date-released: 2020-09-28
doi: 10.1109/SecDev45635.2020.00019
message: "If you use QASan for your academic work, you should cite the following pubblication."
================================================
FILE: LICENSE
================================================
QEMU-AddressSanitizer is composed by various parts under different OSS licenses:
The pathes to QEMU related to QEMU-AddressSanitizer are licensed under the
GNU General Public License, version 2.
Those patches belongs to Andrea Fioraldi (C) 2019-2020.
A copy of the GNU GPL 2 is in qemu/COPYING.
The patches and the headers related to the AFLplusplus project are licensed
under the Apache 2 license and are under the copyright of the authors.
libqasan and the other additional files not related to QEMU are licensed under
the BSD 2-Clause License and are a trademark of Andrea Fioraldi (C) 2019-2020.
================================================
FILE: README.md
================================================
# QASan (QEMU-AddressSanitizer)
> Written and maintaned by Andrea Fioraldi <andreafioraldi@gmail.com>
**For just usermode fuzzing, a more updated version of QASan is now [embedded into AFL++](https://github.com/AFLplusplus/AFLplusplus/tree/dev/qemu_mode/libqasan), use it instead**
QASan is a custom QEMU 3.1.1 that detects memory errors in the guest using AddressSanitizer.
As QEMU is a binary code emulator, QASan is a binary-only sanitizer and does not require compiler-based instrumentation.
Dowload it with:
```
git clone --recursive https://github.com/andreafioraldi/qasan.git
```
## Build
QASan comes in two possible twists, one based on my own ASan implementation and the other on the clang's implementation of ASan.
`build.py` is the script used to build all.
The flag `--system` allows you to build full-system QASan, an experimental feature ATM.
### asan-giovese
asan-giovese is my implementation of AddressSanitizer. It is in pure C11 and allows
you to get useful informations from the target process like stacktraces on allocations
and on errors.
It will be the only supported option in future, but at the moment is not already completely thread safe.
This is the default mode, built when you don't specify the `--asan-dso` flag.
### compiler-rt ASan
You need the lief python3 package.
Build using the `build.py` script specifying the path to the ASan DSO.
```
./build.py --asan-dso /path/to/libclang_rt.asan-ARCH.so
```
On Ubuntu 18.04, the path is `/usr/lib/llvm-8/lib/clang/8.0.0/lib/linux/libclang_rt.asan-x86_64.so`
Note that QASan will not output meaningful stacktraces or error reports when using this mode.
The reported errors show informaton about the QEMU host and so they are not useful for debugging.
### other options
Other available build options are:
+ `--arch` to specify the target architecture (default is x86_64)
+ `--cc` and `--cxx` to specify C and C++ compilers (default clang-8)
+ `--cross` to specify the cross C compiler for libqasan
+ `--clean` to clean builded files
Tested only on Ubuntu 18.04 with x86[_64] and arm[64] targets.
## Usage
To simply run a binary under QASan:
`./qasan ./program args...`
To set the LD path (useful when running cross arch, in this case armhf):
`./qasan --prefix /usr/arm-linux-gnueabihf/ ./program args...`
Other options are `--preload` to preload a shared object, `--verbose` to get a verbose output with memory mappings and `--debug` to log hooked actions if libqasan is compiled in debug mode.
By default, only the main executable memory accesses are instrumented. To enable the instrumentation of all the libraries, use `AFL_INST_LIBS=1`.
Beware that glibc have a lot of assumptions on buffer size and a lot of handwritten magic (see [this](https://twitter.com/andreafioraldi/status/1227635146452541441)).
If you have an error caused by these optimizations you can disable the instrumentation for single functions adding them to [libqasan/uninstrument.c](libqasan/uninstrument.c).
### Fuzzing
To fuzz a binary with QASan and AFL++ use a command similar to the following:
```
~/AFLplusplus/afl-fuzz -U -i in -o out -m none -- python3 ~/qasan/qasan ./program
```
It supports all the AFL++ QEMU configurations, `AFL_COMPCOV_LEVEL=2` is higly suggested.
To improve speed, set the env variables `QASAN_MAX_CALL_STACK=0` and `QASAN_SYMBOLIZE=0`.
## FAQ
> When I should use QASan?
If your target binary is PIC x86_64, you should before give a try to [retrowrite](https://github.com/HexHive/retrowrite) for static rewriting.
If it fails, or if your binary is for another architecture, QASan is the tool that you want/have to use.
Note that the overhead of AFL++ libdislocator is much lower but it can catch less bugs. This is a short blanket, take your choice.
Another discriminat for the choice is [CompareCoverage](https://andreafioraldi.github.io/articles/2019/07/20/aflpp-qemu-compcov.html). If your target has fuzzing roadblocks, you can use QASan+CompCov to fuzz it with Sanitization and Roadblocks bypassing.
> QEMU segfaults with big endian archs
See https://bugs.launchpad.net/qemu/+bug/1701798, use the workaround described here.
## Performance
Native (slowdown: 1x):
```
$ time /usr/bin/objdump -g -x /usr/bin/objdump
...
real 0m0,058s
user 0m0,010s
sys 0m0,029s
```
QEMU (slowdown: 2.4x):
```
$ time qemu-x86_64 /usr/bin/objdump -g -x /usr/bin/objdump
...
real 0m0,141s
user 0m0,096s
sys 0m0,020s
```
QASan (slowdown: 3.6x):
```
$ time ./qasan /usr/bin/objdump -g -x /usr/bin/objdump
...
real 0m0,209s
user 0m0,120s
sys 0m0,032s
```
Valgrind (slowdown: 17.4x):
```
$ time valgrind /usr/bin/objdump -g -x /usr/bin/objdump
...
real 0m1,009s
user 0m0,921s
sys 0m0,076s
```
## Cite
If you use QASan for your academic work, you should cite the following pubblication:
+ Andrea Fioraldi, Daniele Cono D’Elia, and Leonardo Querzoni. “Fuzzing binaries for memory safety errors with QASan”. In 2020 IEEE Secure Development Conference (SecDev), 2020.
Preprint: https://andreafioraldi.github.io/assets/qasan-secdev20.pdf
Bibtex:
```bibtex
@INPROCEEDINGS{QASan-SecDev20,
author={Fioraldi, Andrea and D’Elia, Daniele Cono and Querzoni, Leonardo},
title={Fuzzing Binaries for Memory Safety Errors with {QASan}},
booktitle={2020 IEEE Secure Development Conference (SecDev)},
doi={10.1109/SecDev45635.2020.00019},
pages={23--30},
year={2020}
}
```
Video: https://www.youtube.com/watch?v=UtFXU7Nkd8g
Slides: https://andreafioraldi.github.io/assets/qasan-secdev20-slides.pdf
================================================
FILE: TODO.md
================================================
# TODOs
+ thread-safe interval tree for allocation tracking
+ update to the current AFL++ QEMU mode, this is a bit old
+ ~~flags to disable shadow call stack~~
+ ~~shadow call stack for other archs (not only x86)~~
+ stack-use-after-return detection
+ backdoor instruction for other archs (not only x86)
================================================
FILE: afl/afl-qemu-common.h
================================================
/*
american fuzzy lop++ - high-performance binary-only instrumentation
-------------------------------------------------------------------
Originally written by Andrew Griffiths <agriffiths@google.com> and
Michal Zalewski
TCG instrumentation and block chaining support by Andrea Biondo
<andrea.biondo965@gmail.com>
QEMU 3.1.1 port, TCG thread-safety, CompareCoverage and NeverZero
counters by Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2015, 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
This code is a shim patched into the separately-distributed source
code of QEMU 3.1.0. It leverages the built-in QEMU tracing functionality
to implement AFL-style instrumentation and to take care of the remaining
parts of the AFL fork server logic.
The resulting QEMU binary is essentially a standalone instrumentation
tool; for an example of how to leverage it for other purposes, you can
have a look at afl-showmap.c.
*/
#ifndef __AFL_QEMU_COMMON
#define __AFL_QEMU_COMMON
#include "config.h"
#ifndef CPU_NB_REGS
#define AFL_REGS_NUM 1000
#else
#define AFL_REGS_NUM CPU_NB_REGS
#endif
/* NeverZero */
#if (defined(__x86_64__) || defined(__i386__)) && defined(AFL_QEMU_NOT_ZERO)
#define INC_AFL_AREA(loc) \
asm volatile( \
"incb (%0, %1, 1)\n" \
"adcb $0, (%0, %1, 1)\n" \
: /* no out */ \
: "r"(afl_area_ptr), "r"(loc) \
: "memory", "eax")
#else
#define INC_AFL_AREA(loc) afl_area_ptr[loc]++
#endif
/* Declared in afl-qemu-cpu-inl.h */
extern unsigned char *afl_area_ptr;
extern unsigned int afl_inst_rms;
extern target_ulong afl_start_code, afl_end_code;
extern target_ulong afl_persistent_addr;
extern target_ulong afl_persistent_ret_addr;
extern u8 afl_compcov_level;
extern unsigned char afl_fork_child;
extern unsigned char is_persistent;
extern target_long persistent_stack_offset;
extern unsigned char persistent_first_pass;
extern unsigned char persistent_save_gpr;
extern target_ulong persistent_saved_gpr[AFL_REGS_NUM];
extern int persisent_retaddr_offset;
extern __thread target_ulong afl_prev_loc;
void afl_debug_dump_saved_regs();
void afl_persistent_loop();
void tcg_gen_afl_call0(void *func);
void tcg_gen_afl_compcov_log_call(void *func, target_ulong cur_loc,
TCGv arg1, TCGv arg2);
void tcg_gen_afl_maybe_log_call(target_ulong cur_loc);
void afl_float_compcov_log_32(target_ulong cur_loc, float32 arg1, float32 arg2,
void *status);
void afl_float_compcov_log_64(target_ulong cur_loc, float64 arg1, float64 arg2,
void *status);
void afl_float_compcov_log_80(target_ulong cur_loc, floatx80 arg1,
floatx80 arg2);
/* Check if an address is valid in the current mapping */
static inline int is_valid_addr(target_ulong addr) {
#if defined(CONFIG_USER_ONLY)
int l, flags;
target_ulong page;
void * p;
page = addr & TARGET_PAGE_MASK;
l = (page + TARGET_PAGE_SIZE) - addr;
flags = page_get_flags(page);
if (!(flags & PAGE_VALID) || !(flags & PAGE_READ)) return 0;
return 1;
#else
// only for x86 shit, from TriforceAFL
return addr >= 0xffffffff81000000 && addr <= 0xffffffff81ffffff;
#endif
}
#endif
================================================
FILE: afl/afl-qemu-cpu-inl.h
================================================
/*
american fuzzy lop++ - high-performance binary-only instrumentation
-------------------------------------------------------------------
Originally written by Andrew Griffiths <agriffiths@google.com> and
Michal Zalewski
TCG instrumentation and block chaining support by Andrea Biondo
<andrea.biondo965@gmail.com>
QEMU 3.1.1 port, TCG thread-safety, CompareCoverage and NeverZero
counters by Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2015, 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
This code is a shim patched into the separately-distributed source
code of QEMU 3.1.1. It leverages the built-in QEMU tracing functionality
to implement AFL-style instrumentation and to take care of the remaining
parts of the AFL fork server logic.
The resulting QEMU binary is essentially a standalone instrumentation
tool; for an example of how to leverage it for other purposes, you can
have a look at afl-showmap.c.
*/
#include <sys/shm.h>
#include "config.h"
#include "afl-qemu-common.h"
#define PERSISTENT_DEFAULT_MAX_CNT 1000
/***************************
* VARIOUS AUXILIARY STUFF *
***************************/
/* This snippet kicks in when the instruction pointer is positioned at
_start and does the usual forkserver stuff, not very different from
regular instrumentation injected via afl-as.h. */
#define AFL_QEMU_CPU_SNIPPET2 \
do { \
\
if (itb->pc == afl_entry_point) { \
\
afl_setup(); \
afl_forkserver(cpu); \
\
} \
\
} while (0)
/* We use one additional file descriptor to relay "needs translation"
messages between the child and the fork server. */
#define TSL_FD (FORKSRV_FD - 1)
/* This is equivalent to afl-as.h: */
static unsigned char
dummy[MAP_SIZE]; /* costs MAP_SIZE but saves a few instructions */
unsigned char *afl_area_ptr = dummy; /* Exported for afl_gen_trace */
/* Exported variables populated by the code patched into elfload.c: */
target_ulong afl_entry_point, /* ELF entry point (_start) */
afl_start_code, /* .text start pointer */
afl_end_code; /* .text end pointer */
target_ulong afl_persistent_addr, afl_persistent_ret_addr;
unsigned int afl_persistent_cnt;
u8 afl_compcov_level;
__thread target_ulong afl_prev_loc;
/* Set in the child process in forkserver mode: */
static int forkserver_installed = 0;
static int disable_caching = 0;
unsigned char afl_fork_child;
unsigned int afl_forksrv_pid;
unsigned char is_persistent;
target_long persistent_stack_offset;
unsigned char persistent_first_pass = 1;
unsigned char persistent_save_gpr;
target_ulong persistent_saved_gpr[AFL_REGS_NUM];
int persisent_retaddr_offset;
/* Instrumentation ratio: */
unsigned int afl_inst_rms = MAP_SIZE; /* Exported for afl_gen_trace */
/* Function declarations. */
static void afl_setup(void);
static void afl_forkserver(CPUState *);
static void afl_wait_tsl(CPUState *, int);
static void afl_request_tsl(target_ulong, target_ulong, uint32_t, uint32_t,
TranslationBlock *, int);
/* Data structures passed around by the translate handlers: */
struct afl_tb {
target_ulong pc;
target_ulong cs_base;
uint32_t flags;
uint32_t cf_mask;
};
struct afl_tsl {
struct afl_tb tb;
char is_chain;
};
struct afl_chain {
struct afl_tb last_tb;
uint32_t cf_mask;
int tb_exit;
};
/* Some forward decls: */
TranslationBlock *tb_htable_lookup(CPUState *, target_ulong, target_ulong,
uint32_t, uint32_t);
static inline TranslationBlock *tb_find(CPUState *, TranslationBlock *, int,
uint32_t);
static inline void tb_add_jump(TranslationBlock *tb, int n,
TranslationBlock *tb_next);
/*************************
* ACTUAL IMPLEMENTATION *
*************************/
/* Set up SHM region and initialize other stuff. */
static void afl_setup(void) {
char *id_str = getenv(SHM_ENV_VAR), *inst_r = getenv("AFL_INST_RATIO");
int shm_id;
if (inst_r) {
unsigned int r;
r = atoi(inst_r);
if (r > 100) r = 100;
if (!r) r = 1;
afl_inst_rms = MAP_SIZE * r / 100;
}
if (id_str) {
shm_id = atoi(id_str);
afl_area_ptr = shmat(shm_id, NULL, 0);
if (afl_area_ptr == (void *)-1) exit(1);
/* With AFL_INST_RATIO set to a low value, we want to touch the bitmap
so that the parent doesn't give up on us. */
if (inst_r) afl_area_ptr[0] = 1;
}
if (getenv("AFL_INST_LIBS")) {
afl_start_code = 0;
afl_end_code = (target_ulong)-1;
}
if (getenv("AFL_CODE_START"))
afl_start_code = strtoll(getenv("AFL_CODE_START"), NULL, 16);
if (getenv("AFL_CODE_END"))
afl_end_code = strtoll(getenv("AFL_CODE_END"), NULL, 16);
/* Maintain for compatibility */
if (getenv("AFL_QEMU_COMPCOV")) { afl_compcov_level = 1; }
if (getenv("AFL_COMPCOV_LEVEL")) {
afl_compcov_level = atoi(getenv("AFL_COMPCOV_LEVEL"));
}
/* pthread_atfork() seems somewhat broken in util/rcu.c, and I'm
not entirely sure what is the cause. This disables that
behaviour, and seems to work alright? */
rcu_disable_atfork();
disable_caching = getenv("AFL_QEMU_DISABLE_CACHE") != NULL;
is_persistent = getenv("AFL_QEMU_PERSISTENT_ADDR") != NULL;
if (is_persistent) {
afl_persistent_addr = strtoll(getenv("AFL_QEMU_PERSISTENT_ADDR"), NULL, 0);
if (getenv("AFL_QEMU_PERSISTENT_RET"))
afl_persistent_ret_addr =
strtoll(getenv("AFL_QEMU_PERSISTENT_RET"), NULL, 0);
/* If AFL_QEMU_PERSISTENT_RET is not specified patch the return addr */
}
if (getenv("AFL_QEMU_PERSISTENT_GPR")) persistent_save_gpr = 1;
if (getenv("AFL_QEMU_PERSISTENT_RETADDR_OFFSET"))
persisent_retaddr_offset =
strtoll(getenv("AFL_QEMU_PERSISTENT_RETADDR_OFFSET"), NULL, 0);
if (getenv("AFL_QEMU_PERSISTENT_CNT"))
afl_persistent_cnt = strtoll(getenv("AFL_QEMU_PERSISTENT_CNT"), NULL, 0);
else
afl_persistent_cnt = PERSISTENT_DEFAULT_MAX_CNT;
}
static void print_mappings(void) {
u8 buf[MAX_LINE];
FILE *f = fopen("/proc/self/maps", "r");
if (!f) return;
while (fgets(buf, MAX_LINE, f))
printf("%s", buf);
fclose(f);
}
/* Fork server logic, invoked once we hit _start. */
static void afl_forkserver(CPUState *cpu) {
static unsigned char tmp[4];
if (forkserver_installed == 1) return;
forkserver_installed = 1;
if (getenv("AFL_QEMU_DEBUG_MAPS")) print_mappings();
// if (!afl_area_ptr) return; // not necessary because of fixed dummy buffer
pid_t child_pid;
int t_fd[2];
u8 child_stopped = 0;
/* Tell the parent that we're alive. If the parent doesn't want
to talk, assume that we're not running in forkserver mode. */
if (write(FORKSRV_FD + 1, tmp, 4) != 4) return;
afl_forksrv_pid = getpid();
/* All right, let's await orders... */
while (1) {
int status;
u32 was_killed;
/* Whoops, parent dead? */
if (read(FORKSRV_FD, &was_killed, 4) != 4) exit(2);
/* If we stopped the child in persistent mode, but there was a race
condition and afl-fuzz already issued SIGKILL, write off the old
process. */
if (child_stopped && was_killed) {
child_stopped = 0;
if (waitpid(child_pid, &status, 0) < 0) exit(8);
}
if (!child_stopped) {
/* Establish a channel with child to grab translation commands. We'll
read from t_fd[0], child will write to TSL_FD. */
if (pipe(t_fd) || dup2(t_fd[1], TSL_FD) < 0) exit(3);
close(t_fd[1]);
child_pid = fork();
if (child_pid < 0) exit(4);
if (!child_pid) {
/* Child process. Close descriptors and run free. */
afl_fork_child = 1;
close(FORKSRV_FD);
close(FORKSRV_FD + 1);
close(t_fd[0]);
return;
}
/* Parent. */
close(TSL_FD);
} else {
/* Special handling for persistent mode: if the child is alive but
currently stopped, simply restart it with SIGCONT. */
kill(child_pid, SIGCONT);
child_stopped = 0;
}
/* Parent. */
if (write(FORKSRV_FD + 1, &child_pid, 4) != 4) exit(5);
/* Collect translation requests until child dies and closes the pipe. */
afl_wait_tsl(cpu, t_fd[0]);
/* Get and relay exit status to parent. */
if (waitpid(child_pid, &status, is_persistent ? WUNTRACED : 0) < 0) exit(6);
/* In persistent mode, the child stops itself with SIGSTOP to indicate
a successful run. In this case, we want to wake it up without forking
again. */
if (WIFSTOPPED(status)) child_stopped = 1;
if (write(FORKSRV_FD + 1, &status, 4) != 4) exit(7);
}
}
/* A simplified persistent mode handler, used as explained in README.llvm. */
void afl_persistent_loop() {
static u32 cycle_cnt;
static struct afl_tsl exit_cmd_tsl = {{-1, 0, 0, 0}, NULL};
if (!afl_fork_child) return;
if (persistent_first_pass) {
/* Make sure that every iteration of __AFL_LOOP() starts with a clean slate.
On subsequent calls, the parent will take care of that, but on the first
iteration, it's our job to erase any trace of whatever happened
before the loop. */
if (is_persistent) {
memset(afl_area_ptr, 0, MAP_SIZE);
afl_area_ptr[0] = 1;
afl_prev_loc = 0;
}
cycle_cnt = afl_persistent_cnt;
persistent_first_pass = 0;
persistent_stack_offset = TARGET_LONG_BITS / 8;
return;
}
if (is_persistent) {
if (--cycle_cnt) {
if (write(TSL_FD, &exit_cmd_tsl, sizeof(struct afl_tsl)) !=
sizeof(struct afl_tsl)) {
/* Exit the persistent loop on pipe error */
afl_area_ptr = dummy;
exit(0);
}
raise(SIGSTOP);
afl_area_ptr[0] = 1;
afl_prev_loc = 0;
} else {
afl_area_ptr = dummy;
exit(0);
}
}
}
/* This code is invoked whenever QEMU decides that it doesn't have a
translation of a particular block and needs to compute it, or when it
decides to chain two TBs together. When this happens, we tell the parent to
mirror the operation, so that the next fork() has a cached copy. */
static void afl_request_tsl(target_ulong pc, target_ulong cb, uint32_t flags,
uint32_t cf_mask, TranslationBlock *last_tb,
int tb_exit) {
if (disable_caching) return;
struct afl_tsl t;
struct afl_chain c;
if (!afl_fork_child) return;
t.tb.pc = pc;
t.tb.cs_base = cb;
t.tb.flags = flags;
t.tb.cf_mask = cf_mask;
t.is_chain = (last_tb != NULL);
if (write(TSL_FD, &t, sizeof(struct afl_tsl)) != sizeof(struct afl_tsl))
return;
if (t.is_chain) {
c.last_tb.pc = last_tb->pc;
c.last_tb.cs_base = last_tb->cs_base;
c.last_tb.flags = last_tb->flags;
c.cf_mask = cf_mask;
c.tb_exit = tb_exit;
if (write(TSL_FD, &c, sizeof(struct afl_chain)) != sizeof(struct afl_chain))
return;
}
}
/* This is the other side of the same channel. Since timeouts are handled by
afl-fuzz simply killing the child, we can just wait until the pipe breaks. */
static void afl_wait_tsl(CPUState *cpu, int fd) {
struct afl_tsl t;
struct afl_chain c;
TranslationBlock *tb, *last_tb;
while (1) {
u8 invalid_pc = 0;
/* Broken pipe means it's time to return to the fork server routine. */
if (read(fd, &t, sizeof(struct afl_tsl)) != sizeof(struct afl_tsl)) break;
/* Exit command for persistent */
if (t.tb.pc == (target_ulong)(-1)) return;
tb = tb_htable_lookup(cpu, t.tb.pc, t.tb.cs_base, t.tb.flags, t.tb.cf_mask);
if (!tb) {
/* The child may request to transate a block of memory that is not
mapped in the parent (e.g. jitted code or dlopened code).
This causes a SIGSEV in gen_intermediate_code() and associated
subroutines. We simply avoid caching of such blocks. */
if (is_valid_addr(t.tb.pc)) {
mmap_lock();
tb = tb_gen_code(cpu, t.tb.pc, t.tb.cs_base, t.tb.flags, t.tb.cf_mask);
mmap_unlock();
} else {
invalid_pc = 1;
}
}
if (t.is_chain) {
if (read(fd, &c, sizeof(struct afl_chain)) != sizeof(struct afl_chain))
break;
if (!invalid_pc) {
last_tb = tb_htable_lookup(cpu, c.last_tb.pc, c.last_tb.cs_base,
c.last_tb.flags, c.cf_mask);
if (last_tb) { tb_add_jump(last_tb, c.tb_exit, tb); }
}
}
}
close(fd);
}
================================================
FILE: afl/afl-qemu-cpu-translate-inl.h
================================================
/*
american fuzzy lop++ - high-performance binary-only instrumentation
-------------------------------------------------------------------
Originally written by Andrew Griffiths <agriffiths@google.com> and
Michal Zalewski
TCG instrumentation and block chaining support by Andrea Biondo
<andrea.biondo965@gmail.com>
QEMU 3.1.1 port, TCG thread-safety, CompareCoverage and NeverZero
counters by Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2015, 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
This code is a shim patched into the separately-distributed source
code of QEMU 3.1.0. It leverages the built-in QEMU tracing functionality
to implement AFL-style instrumentation and to take care of the remaining
parts of the AFL fork server logic.
The resulting QEMU binary is essentially a standalone instrumentation
tool; for an example of how to leverage it for other purposes, you can
have a look at afl-showmap.c.
*/
#include "afl-qemu-common.h"
#include "tcg.h"
#include "tcg-op.h"
static void afl_compcov_log_16(target_ulong cur_loc, target_ulong arg1,
target_ulong arg2) {
register uintptr_t idx = cur_loc;
if ((arg1 & 0xff00) == (arg2 & 0xff00)) { INC_AFL_AREA(idx); }
}
static void afl_compcov_log_32(target_ulong cur_loc, target_ulong arg1,
target_ulong arg2) {
register uintptr_t idx = cur_loc;
if ((arg1 & 0xff000000) == (arg2 & 0xff000000)) {
INC_AFL_AREA(idx + 2);
if ((arg1 & 0xff0000) == (arg2 & 0xff0000)) {
INC_AFL_AREA(idx + 1);
if ((arg1 & 0xff00) == (arg2 & 0xff00)) { INC_AFL_AREA(idx); }
}
}
}
static void afl_compcov_log_64(target_ulong cur_loc, target_ulong arg1,
target_ulong arg2) {
register uintptr_t idx = cur_loc;
if ((arg1 & 0xff00000000000000) == (arg2 & 0xff00000000000000)) {
INC_AFL_AREA(idx + 6);
if ((arg1 & 0xff000000000000) == (arg2 & 0xff000000000000)) {
INC_AFL_AREA(idx + 5);
if ((arg1 & 0xff0000000000) == (arg2 & 0xff0000000000)) {
INC_AFL_AREA(idx + 4);
if ((arg1 & 0xff00000000) == (arg2 & 0xff00000000)) {
INC_AFL_AREA(idx + 3);
if ((arg1 & 0xff000000) == (arg2 & 0xff000000)) {
INC_AFL_AREA(idx + 2);
if ((arg1 & 0xff0000) == (arg2 & 0xff0000)) {
INC_AFL_AREA(idx + 1);
if ((arg1 & 0xff00) == (arg2 & 0xff00)) { INC_AFL_AREA(idx); }
}
}
}
}
}
}
}
static void afl_gen_compcov(target_ulong cur_loc, TCGv_i64 arg1, TCGv_i64 arg2,
TCGMemOp ot, int is_imm) {
void *func;
if (!afl_compcov_level || cur_loc > afl_end_code || cur_loc < afl_start_code)
return;
if (!is_imm && afl_compcov_level < 2) return;
switch (ot) {
case MO_64: func = &afl_compcov_log_64; break;
case MO_32: func = &afl_compcov_log_32; break;
case MO_16: func = &afl_compcov_log_16; break;
default: return;
}
cur_loc = (cur_loc >> 4) ^ (cur_loc << 8);
cur_loc &= MAP_SIZE - 7;
if (cur_loc >= afl_inst_rms) return;
tcg_gen_afl_compcov_log_call(func, cur_loc, arg1, arg2);
}
/* Routines for debug */
/*
static void log_x86_saved_gpr(void) {
static const char reg_names[CPU_NB_REGS][4] = {
#ifdef TARGET_X86_64
[R_EAX] = "rax",
[R_EBX] = "rbx",
[R_ECX] = "rcx",
[R_EDX] = "rdx",
[R_ESI] = "rsi",
[R_EDI] = "rdi",
[R_EBP] = "rbp",
[R_ESP] = "rsp",
[8] = "r8",
[9] = "r9",
[10] = "r10",
[11] = "r11",
[12] = "r12",
[13] = "r13",
[14] = "r14",
[15] = "r15",
#else
[R_EAX] = "eax",
[R_EBX] = "ebx",
[R_ECX] = "ecx",
[R_EDX] = "edx",
[R_ESI] = "esi",
[R_EDI] = "edi",
[R_EBP] = "ebp",
[R_ESP] = "esp",
#endif
};
int i;
for (i = 0; i < CPU_NB_REGS; ++i) {
fprintf(stderr, "%s = %lx\n", reg_names[i], persistent_saved_gpr[i]);
}
}
static void log_x86_sp_content(void) {
fprintf(stderr, ">> SP = %lx -> %lx\n", persistent_saved_gpr[R_ESP],
*(unsigned long*)persistent_saved_gpr[R_ESP]);
}*/
#define I386_RESTORE_STATE_FOR_PERSISTENT \
do { \
\
if (persistent_save_gpr) { \
\
int i; \
TCGv_ptr gpr_sv; \
\
TCGv_ptr first_pass_ptr = tcg_const_ptr(&persistent_first_pass); \
TCGv first_pass = tcg_temp_local_new(); \
TCGv one = tcg_const_tl(1); \
tcg_gen_ld8u_tl(first_pass, first_pass_ptr, 0); \
\
TCGLabel *lbl_save_gpr = gen_new_label(); \
TCGLabel *lbl_finish_restore_gpr = gen_new_label(); \
tcg_gen_brcond_tl(TCG_COND_EQ, first_pass, one, lbl_save_gpr); \
\
for (i = 0; i < CPU_NB_REGS; ++i) { \
\
gpr_sv = tcg_const_ptr(&persistent_saved_gpr[i]); \
tcg_gen_ld_tl(cpu_regs[i], gpr_sv, 0); \
\
} \
\
tcg_gen_br(lbl_finish_restore_gpr); \
\
gen_set_label(lbl_save_gpr); \
\
for (i = 0; i < CPU_NB_REGS; ++i) { \
\
gpr_sv = tcg_const_ptr(&persistent_saved_gpr[i]); \
tcg_gen_st_tl(cpu_regs[i], gpr_sv, 0); \
\
} \
\
gen_set_label(lbl_finish_restore_gpr); \
tcg_temp_free(first_pass); \
\
} else if (afl_persistent_ret_addr == 0) { \
\
TCGv_ptr stack_off_ptr = tcg_const_ptr(&persistent_stack_offset); \
TCGv stack_off = tcg_temp_new(); \
tcg_gen_ld_tl(stack_off, stack_off_ptr, 0); \
tcg_gen_sub_tl(cpu_regs[R_ESP], cpu_regs[R_ESP], stack_off); \
tcg_temp_free(stack_off); \
\
} \
\
} while (0)
#define AFL_QEMU_TARGET_i386_SNIPPET \
if (is_persistent) { \
\
if (s->pc == afl_persistent_addr) { \
\
I386_RESTORE_STATE_FOR_PERSISTENT; \
/*tcg_gen_afl_call0(log_x86_saved_gpr); \
tcg_gen_afl_call0(log_x86_sp_content);*/ \
\
if (afl_persistent_ret_addr == 0) { \
\
TCGv_ptr paddr = tcg_const_ptr(afl_persistent_addr); \
tcg_gen_st_tl(paddr, cpu_regs[R_ESP], persisent_retaddr_offset); \
\
} \
tcg_gen_afl_call0(&afl_persistent_loop); \
/*tcg_gen_afl_call0(log_x86_sp_content);*/ \
\
} else if (afl_persistent_ret_addr && s->pc == afl_persistent_ret_addr) { \
\
gen_jmp_im(s, afl_persistent_addr); \
gen_eob(s); \
\
} \
\
}
================================================
FILE: afl/afl-qemu-floats.h
================================================
/*
american fuzzy lop++ - high-performance binary-only instrumentation
-------------------------------------------------------------------
Originally written by Andrew Griffiths <agriffiths@google.com> and
Michal Zalewski
TCG instrumentation and block chaining support by Andrea Biondo
<andrea.biondo965@gmail.com>
QEMU 3.1.1 port, TCG thread-safety, CompareCoverage and NeverZero
counters by Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2015, 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
This code is a shim patched into the separately-distributed source
code of QEMU 3.1.0. It leverages the built-in QEMU tracing functionality
to implement AFL-style instrumentation and to take care of the remaining
parts of the AFL fork server logic.
The resulting QEMU binary is essentially a standalone instrumentation
tool; for an example of how to leverage it for other purposes, you can
have a look at afl-showmap.c.
*/
#include "tcg.h"
#include "afl-qemu-common.h"
union afl_float32 {
float32 f;
struct {
u64 sign : 1;
u64 exp : 7;
u64 frac : 24;
};
};
union afl_float64 {
float64 f;
struct {
u64 sign : 1;
u64 exp : 11;
u64 frac : 52;
};
};
// TODO 16 and 128 bits floats
// TODO figure out why float*_unpack_canonical does not work
void afl_float_compcov_log_32(target_ulong cur_loc, float32 arg1, float32 arg2,
void* status) {
cur_loc = (cur_loc >> 4) ^ (cur_loc << 8);
cur_loc &= MAP_SIZE - 7;
if (cur_loc >= afl_inst_rms) return;
// float_status* s = (float_status*)status;
// FloatParts a = float32_unpack_canonical(arg1, s);
// FloatParts b = float32_unpack_canonical(arg2, s);
union afl_float32 a = {.f = arg1};
union afl_float32 b = {.f = arg2};
// if (is_nan(a.cls) || is_nan(b.cls)) return;
register uintptr_t idx = cur_loc;
if (a.sign != b.sign) return;
INC_AFL_AREA(idx);
if (a.exp != b.exp) return;
INC_AFL_AREA(idx + 1);
if ((a.frac & 0xff0000) == (b.frac & 0xff0000)) {
INC_AFL_AREA(idx + 2);
if ((a.frac & 0xff00) == (b.frac & 0xff00)) { INC_AFL_AREA(idx + 3); }
}
}
void afl_float_compcov_log_64(target_ulong cur_loc, float64 arg1, float64 arg2,
void* status) {
cur_loc = (cur_loc >> 4) ^ (cur_loc << 8);
cur_loc &= MAP_SIZE - 7;
if (cur_loc >= afl_inst_rms) return;
// float_status* s = (float_status*)status;
// FloatParts a = float64_unpack_canonical(arg1, s);
// FloatParts b = float64_unpack_canonical(arg2, s);
union afl_float64 a = {.f = arg1};
union afl_float64 b = {.f = arg2};
// if (is_nan(a.cls) || is_nan(b.cls)) return;
register uintptr_t idx = cur_loc;
if (a.sign == b.sign) INC_AFL_AREA(idx);
if ((a.exp & 0xff00) == (b.exp & 0xff00)) {
INC_AFL_AREA(idx + 1);
if ((a.exp & 0xff) == (b.exp & 0xff)) INC_AFL_AREA(idx + 2);
}
if ((a.frac & 0xff000000000000) == (b.frac & 0xff000000000000)) {
INC_AFL_AREA(idx + 3);
if ((a.frac & 0xff0000000000) == (b.frac & 0xff0000000000)) {
INC_AFL_AREA(idx + 4);
if ((a.frac & 0xff00000000) == (b.frac & 0xff00000000)) {
INC_AFL_AREA(idx + 5);
if ((a.frac & 0xff000000) == (b.frac & 0xff000000)) {
INC_AFL_AREA(idx + 6);
if ((a.frac & 0xff0000) == (b.frac & 0xff0000)) {
INC_AFL_AREA(idx + 7);
if ((a.frac & 0xff00) == (b.frac & 0xff00)) INC_AFL_AREA(idx + 8);
}
}
}
}
}
}
void afl_float_compcov_log_80(target_ulong cur_loc, floatx80 arg1,
floatx80 arg2) {
cur_loc = (cur_loc >> 4) ^ (cur_loc << 8);
cur_loc &= MAP_SIZE - 7;
if (cur_loc >= afl_inst_rms) return;
if (floatx80_invalid_encoding(arg1) || floatx80_invalid_encoding(arg2))
return;
flag a_sign = extractFloatx80Sign(arg1);
flag b_sign = extractFloatx80Sign(arg2);
/*if (((extractFloatx80Exp(arg1) == 0x7fff) &&
(extractFloatx80Frac(arg1) << 1)) ||
((extractFloatx80Exp(arg2) == 0x7fff) &&
(extractFloatx80Frac(arg2) << 1)))
return;*/
register uintptr_t idx = cur_loc;
if (a_sign == b_sign) INC_AFL_AREA(idx);
if ((arg1.high & 0x7f00) == (arg2.high & 0x7f00)) {
INC_AFL_AREA(idx + 1);
if ((arg1.high & 0xff) == (arg2.high & 0xff)) INC_AFL_AREA(idx + 2);
}
if ((arg1.low & 0xff00000000000000) == (arg2.low & 0xff00000000000000)) {
INC_AFL_AREA(idx + 3);
if ((arg1.low & 0xff000000000000) == (arg2.low & 0xff000000000000)) {
INC_AFL_AREA(idx + 4);
if ((arg1.low & 0xff0000000000) == (arg2.low & 0xff0000000000)) {
INC_AFL_AREA(idx + 5);
if ((arg1.low & 0xff00000000) == (arg2.low & 0xff00000000)) {
INC_AFL_AREA(idx + 6);
if ((arg1.low & 0xff000000) == (arg2.low & 0xff000000)) {
INC_AFL_AREA(idx + 7);
if ((arg1.low & 0xff0000) == (arg2.low & 0xff0000)) {
INC_AFL_AREA(idx + 8);
if ((arg1.low & 0xff00) == (arg2.low & 0xff00)) {
INC_AFL_AREA(idx + 9);
// if ((arg1.low & 0xff) == (arg2.low & 0xff))
// INC_AFL_AREA(idx + 10);
}
}
}
}
}
}
}
}
================================================
FILE: afl/afl-qemu-tcg-inl.h
================================================
/*
american fuzzy lop++ - high-performance binary-only instrumentation
-------------------------------------------------------------------
Originally written by Andrew Griffiths <agriffiths@google.com> and
Michal Zalewski
TCG instrumentation and block chaining support by Andrea Biondo
<andrea.biondo965@gmail.com>
QEMU 3.1.1 port, TCG thread-safety, CompareCoverage and NeverZero
counters by Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2015, 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
This code is a shim patched into the separately-distributed source
code of QEMU 3.1.0. It leverages the built-in QEMU tracing functionality
to implement AFL-style instrumentation and to take care of the remaining
parts of the AFL fork server logic.
The resulting QEMU binary is essentially a standalone instrumentation
tool; for an example of how to leverage it for other purposes, you can
have a look at afl-showmap.c.
*/
void afl_maybe_log(void *cur_loc);
/* Note: we convert the 64 bit args to 32 bit and do some alignment
and endian swap. Maybe it would be better to do the alignment
and endian swap in tcg_reg_alloc_call(). */
void tcg_gen_afl_maybe_log_call(target_ulong cur_loc) {
int real_args, pi;
unsigned sizemask, flags;
TCGOp * op;
#if TARGET_LONG_BITS == 64
TCGTemp *arg = tcgv_i64_temp(tcg_const_tl(cur_loc));
sizemask = dh_sizemask(void, 0) | dh_sizemask(i64, 1);
#else
TCGTemp *arg = tcgv_i32_temp(tcg_const_tl(cur_loc));
sizemask = dh_sizemask(void, 0) | dh_sizemask(i32, 1);
#endif
flags = 0;
#if defined(__sparc__) && !defined(__arch64__) && \
!defined(CONFIG_TCG_INTERPRETER)
/* We have 64-bit values in one register, but need to pass as two
separate parameters. Split them. */
int orig_sizemask = sizemask;
TCGv_i64 retl, reth;
TCGTemp *split_args[MAX_OPC_PARAM];
retl = NULL;
reth = NULL;
if (sizemask != 0) {
real_args = 0;
int is_64bit = sizemask & (1 << 2);
if (is_64bit) {
TCGv_i64 orig = temp_tcgv_i64(arg);
TCGv_i32 h = tcg_temp_new_i32();
TCGv_i32 l = tcg_temp_new_i32();
tcg_gen_extr_i64_i32(l, h, orig);
split_args[real_args++] = tcgv_i32_temp(h);
split_args[real_args++] = tcgv_i32_temp(l);
} else {
split_args[real_args++] = arg;
}
nargs = real_args;
args = split_args;
sizemask = 0;
}
#elif defined(TCG_TARGET_EXTEND_ARGS) && TCG_TARGET_REG_BITS == 64
int is_64bit = sizemask & (1 << 2);
int is_signed = sizemask & (2 << 2);
if (!is_64bit) {
TCGv_i64 temp = tcg_temp_new_i64();
TCGv_i64 orig = temp_tcgv_i64(arg);
if (is_signed) {
tcg_gen_ext32s_i64(temp, orig);
} else {
tcg_gen_ext32u_i64(temp, orig);
}
arg = tcgv_i64_temp(temp);
}
#endif /* TCG_TARGET_EXTEND_ARGS */
op = tcg_emit_op(INDEX_op_call);
pi = 0;
TCGOP_CALLO(op) = 0;
real_args = 0;
int is_64bit = sizemask & (1 << 2);
if (TCG_TARGET_REG_BITS < 64 && is_64bit) {
#ifdef TCG_TARGET_CALL_ALIGN_ARGS
/* some targets want aligned 64 bit args */
if (real_args & 1) {
op->args[pi++] = TCG_CALL_DUMMY_ARG;
real_args++;
}
#endif
/* If stack grows up, then we will be placing successive
arguments at lower addresses, which means we need to
reverse the order compared to how we would normally
treat either big or little-endian. For those arguments
that will wind up in registers, this still works for
HPPA (the only current STACK_GROWSUP target) since the
argument registers are *also* allocated in decreasing
order. If another such target is added, this logic may
have to get more complicated to differentiate between
stack arguments and register arguments. */
#if defined(HOST_WORDS_BIGENDIAN) != defined(TCG_TARGET_STACK_GROWSUP)
op->args[pi++] = temp_arg(arg + 1);
op->args[pi++] = temp_arg(arg);
#else
op->args[pi++] = temp_arg(arg);
op->args[pi++] = temp_arg(arg + 1);
#endif
real_args += 2;
}
op->args[pi++] = temp_arg(arg);
real_args++;
op->args[pi++] = (uintptr_t)&afl_maybe_log;
op->args[pi++] = flags;
TCGOP_CALLI(op) = real_args;
/* Make sure the fields didn't overflow. */
tcg_debug_assert(TCGOP_CALLI(op) == real_args);
tcg_debug_assert(pi <= ARRAY_SIZE(op->args));
#if defined(__sparc__) && !defined(__arch64__) && \
!defined(CONFIG_TCG_INTERPRETER)
/* Free all of the parts we allocated above. */
real_args = 0;
int is_64bit = orig_sizemask & (1 << 2);
if (is_64bit) {
tcg_temp_free_internal(args[real_args++]);
tcg_temp_free_internal(args[real_args++]);
} else {
real_args++;
}
if (orig_sizemask & 1) {
/* The 32-bit ABI returned two 32-bit pieces. Re-assemble them.
Note that describing these as TCGv_i64 eliminates an unnecessary
zero-extension that tcg_gen_concat_i32_i64 would create. */
tcg_gen_concat32_i64(temp_tcgv_i64(NULL), retl, reth);
tcg_temp_free_i64(retl);
tcg_temp_free_i64(reth);
}
#elif defined(TCG_TARGET_EXTEND_ARGS) && TCG_TARGET_REG_BITS == 64
int is_64bit = sizemask & (1 << 2);
if (!is_64bit) { tcg_temp_free_internal(arg); }
#endif /* TCG_TARGET_EXTEND_ARGS */
}
/* Note: we convert the 64 bit args to 32 bit and do some alignment
and endian swap. Maybe it would be better to do the alignment
and endian swap in tcg_reg_alloc_call(). */
void tcg_gen_afl_call0(void *func) {
int i, real_args, nb_rets, pi;
unsigned sizemask, flags;
TCGOp * op;
const int nargs = 0;
TCGTemp **args;
flags = 0;
sizemask = dh_sizemask(void, 0);
#if defined(__sparc__) && !defined(__arch64__) && \
!defined(CONFIG_TCG_INTERPRETER)
/* We have 64-bit values in one register, but need to pass as two
separate parameters. Split them. */
int orig_sizemask = sizemask;
int orig_nargs = nargs;
TCGv_i64 retl, reth;
TCGTemp *split_args[MAX_OPC_PARAM];
retl = NULL;
reth = NULL;
if (sizemask != 0) {
for (i = real_args = 0; i < nargs; ++i) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
if (is_64bit) {
TCGv_i64 orig = temp_tcgv_i64(args[i]);
TCGv_i32 h = tcg_temp_new_i32();
TCGv_i32 l = tcg_temp_new_i32();
tcg_gen_extr_i64_i32(l, h, orig);
split_args[real_args++] = tcgv_i32_temp(h);
split_args[real_args++] = tcgv_i32_temp(l);
} else {
split_args[real_args++] = args[i];
}
}
nargs = real_args;
args = split_args;
sizemask = 0;
}
#elif defined(TCG_TARGET_EXTEND_ARGS) && TCG_TARGET_REG_BITS == 64
for (i = 0; i < nargs; ++i) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
int is_signed = sizemask & (2 << (i + 1) * 2);
if (!is_64bit) {
TCGv_i64 temp = tcg_temp_new_i64();
TCGv_i64 orig = temp_tcgv_i64(args[i]);
if (is_signed) {
tcg_gen_ext32s_i64(temp, orig);
} else {
tcg_gen_ext32u_i64(temp, orig);
}
args[i] = tcgv_i64_temp(temp);
}
}
#endif /* TCG_TARGET_EXTEND_ARGS */
op = tcg_emit_op(INDEX_op_call);
pi = 0;
nb_rets = 0;
TCGOP_CALLO(op) = nb_rets;
real_args = 0;
for (i = 0; i < nargs; i++) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
if (TCG_TARGET_REG_BITS < 64 && is_64bit) {
#ifdef TCG_TARGET_CALL_ALIGN_ARGS
/* some targets want aligned 64 bit args */
if (real_args & 1) {
op->args[pi++] = TCG_CALL_DUMMY_ARG;
real_args++;
}
#endif
/* If stack grows up, then we will be placing successive
arguments at lower addresses, which means we need to
reverse the order compared to how we would normally
treat either big or little-endian. For those arguments
that will wind up in registers, this still works for
HPPA (the only current STACK_GROWSUP target) since the
argument registers are *also* allocated in decreasing
order. If another such target is added, this logic may
have to get more complicated to differentiate between
stack arguments and register arguments. */
#if defined(HOST_WORDS_BIGENDIAN) != defined(TCG_TARGET_STACK_GROWSUP)
op->args[pi++] = temp_arg(args[i] + 1);
op->args[pi++] = temp_arg(args[i]);
#else
op->args[pi++] = temp_arg(args[i]);
op->args[pi++] = temp_arg(args[i] + 1);
#endif
real_args += 2;
continue;
}
op->args[pi++] = temp_arg(args[i]);
real_args++;
}
op->args[pi++] = (uintptr_t)func;
op->args[pi++] = flags;
TCGOP_CALLI(op) = real_args;
/* Make sure the fields didn't overflow. */
tcg_debug_assert(TCGOP_CALLI(op) == real_args);
tcg_debug_assert(pi <= ARRAY_SIZE(op->args));
#if defined(__sparc__) && !defined(__arch64__) && \
!defined(CONFIG_TCG_INTERPRETER)
/* Free all of the parts we allocated above. */
for (i = real_args = 0; i < orig_nargs; ++i) {
int is_64bit = orig_sizemask & (1 << (i + 1) * 2);
if (is_64bit) {
tcg_temp_free_internal(args[real_args++]);
tcg_temp_free_internal(args[real_args++]);
} else {
real_args++;
}
}
if (orig_sizemask & 1) {
/* The 32-bit ABI returned two 32-bit pieces. Re-assemble them.
Note that describing these as TCGv_i64 eliminates an unnecessary
zero-extension that tcg_gen_concat_i32_i64 would create. */
tcg_gen_concat32_i64(temp_tcgv_i64(NULL), retl, reth);
tcg_temp_free_i64(retl);
tcg_temp_free_i64(reth);
}
#elif defined(TCG_TARGET_EXTEND_ARGS) && TCG_TARGET_REG_BITS == 64
for (i = 0; i < nargs; ++i) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
if (!is_64bit) { tcg_temp_free_internal(args[i]); }
}
#endif /* TCG_TARGET_EXTEND_ARGS */
}
void tcg_gen_afl_compcov_log_call(void *func, target_ulong cur_loc,
TCGv arg1, TCGv arg2) {
int i, real_args, nb_rets, pi;
unsigned sizemask, flags;
TCGOp * op;
const int nargs = 3;
#if TARGET_LONG_BITS == 64
TCGTemp *args[3] = {tcgv_i64_temp(tcg_const_tl(cur_loc)), tcgv_i64_temp(arg1),
tcgv_i64_temp(arg2)};
sizemask = dh_sizemask(void, 0) | dh_sizemask(i64, 1) | dh_sizemask(i64, 2) |
dh_sizemask(i64, 3);
#else
TCGTemp *args[3] = {tcgv_i32_temp(tcg_const_tl(cur_loc)), tcgv_i32_temp(arg1),
tcgv_i32_temp(arg2)};
sizemask = dh_sizemask(void, 0) | dh_sizemask(i32, 1) | dh_sizemask(i32, 2) |
dh_sizemask(i32, 3);
#endif
flags = 0;
#if defined(__sparc__) && !defined(__arch64__) && \
!defined(CONFIG_TCG_INTERPRETER)
/* We have 64-bit values in one register, but need to pass as two
separate parameters. Split them. */
int orig_sizemask = sizemask;
int orig_nargs = nargs;
TCGv_i64 retl, reth;
TCGTemp *split_args[MAX_OPC_PARAM];
retl = NULL;
reth = NULL;
if (sizemask != 0) {
for (i = real_args = 0; i < nargs; ++i) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
if (is_64bit) {
TCGv_i64 orig = temp_tcgv_i64(args[i]);
TCGv_i32 h = tcg_temp_new_i32();
TCGv_i32 l = tcg_temp_new_i32();
tcg_gen_extr_i64_i32(l, h, orig);
split_args[real_args++] = tcgv_i32_temp(h);
split_args[real_args++] = tcgv_i32_temp(l);
} else {
split_args[real_args++] = args[i];
}
}
nargs = real_args;
args = split_args;
sizemask = 0;
}
#elif defined(TCG_TARGET_EXTEND_ARGS) && TCG_TARGET_REG_BITS == 64
for (i = 0; i < nargs; ++i) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
int is_signed = sizemask & (2 << (i + 1) * 2);
if (!is_64bit) {
TCGv_i64 temp = tcg_temp_new_i64();
TCGv_i64 orig = temp_tcgv_i64(args[i]);
if (is_signed) {
tcg_gen_ext32s_i64(temp, orig);
} else {
tcg_gen_ext32u_i64(temp, orig);
}
args[i] = tcgv_i64_temp(temp);
}
}
#endif /* TCG_TARGET_EXTEND_ARGS */
op = tcg_emit_op(INDEX_op_call);
pi = 0;
nb_rets = 0;
TCGOP_CALLO(op) = nb_rets;
real_args = 0;
for (i = 0; i < nargs; i++) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
if (TCG_TARGET_REG_BITS < 64 && is_64bit) {
#ifdef TCG_TARGET_CALL_ALIGN_ARGS
/* some targets want aligned 64 bit args */
if (real_args & 1) {
op->args[pi++] = TCG_CALL_DUMMY_ARG;
real_args++;
}
#endif
/* If stack grows up, then we will be placing successive
arguments at lower addresses, which means we need to
reverse the order compared to how we would normally
treat either big or little-endian. For those arguments
that will wind up in registers, this still works for
HPPA (the only current STACK_GROWSUP target) since the
argument registers are *also* allocated in decreasing
order. If another such target is added, this logic may
have to get more complicated to differentiate between
stack arguments and register arguments. */
#if defined(HOST_WORDS_BIGENDIAN) != defined(TCG_TARGET_STACK_GROWSUP)
op->args[pi++] = temp_arg(args[i] + 1);
op->args[pi++] = temp_arg(args[i]);
#else
op->args[pi++] = temp_arg(args[i]);
op->args[pi++] = temp_arg(args[i] + 1);
#endif
real_args += 2;
continue;
}
op->args[pi++] = temp_arg(args[i]);
real_args++;
}
op->args[pi++] = (uintptr_t)func;
op->args[pi++] = flags;
TCGOP_CALLI(op) = real_args;
/* Make sure the fields didn't overflow. */
tcg_debug_assert(TCGOP_CALLI(op) == real_args);
tcg_debug_assert(pi <= ARRAY_SIZE(op->args));
#if defined(__sparc__) && !defined(__arch64__) && \
!defined(CONFIG_TCG_INTERPRETER)
/* Free all of the parts we allocated above. */
for (i = real_args = 0; i < orig_nargs; ++i) {
int is_64bit = orig_sizemask & (1 << (i + 1) * 2);
if (is_64bit) {
tcg_temp_free_internal(args[real_args++]);
tcg_temp_free_internal(args[real_args++]);
} else {
real_args++;
}
}
if (orig_sizemask & 1) {
/* The 32-bit ABI returned two 32-bit pieces. Re-assemble them.
Note that describing these as TCGv_i64 eliminates an unnecessary
zero-extension that tcg_gen_concat_i32_i64 would create. */
tcg_gen_concat32_i64(temp_tcgv_i64(NULL), retl, reth);
tcg_temp_free_i64(retl);
tcg_temp_free_i64(reth);
}
#elif defined(TCG_TARGET_EXTEND_ARGS) && TCG_TARGET_REG_BITS == 64
for (i = 0; i < nargs; ++i) {
int is_64bit = sizemask & (1 << (i + 1) * 2);
if (!is_64bit) { tcg_temp_free_internal(args[i]); }
}
#endif /* TCG_TARGET_EXTEND_ARGS */
}
================================================
FILE: afl/afl-qemu-translate-inl.h
================================================
/*
american fuzzy lop++ - high-performance binary-only instrumentation
-------------------------------------------------------------------
Originally written by Andrew Griffiths <agriffiths@google.com> and
Michal Zalewski
TCG instrumentation and block chaining support by Andrea Biondo
<andrea.biondo965@gmail.com>
QEMU 3.1.1 port, TCG thread-safety, CompareCoverage and NeverZero
counters by Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2015, 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
This code is a shim patched into the separately-distributed source
code of QEMU 3.1.0. It leverages the built-in QEMU tracing functionality
to implement AFL-style instrumentation and to take care of the remaining
parts of the AFL fork server logic.
The resulting QEMU binary is essentially a standalone instrumentation
tool; for an example of how to leverage it for other purposes, you can
have a look at afl-showmap.c.
*/
#include "afl-qemu-common.h"
#include "tcg-op.h"
__thread int cur_block_is_good;
void afl_maybe_log(target_ulong cur_loc) {
register uintptr_t afl_idx = cur_loc ^ afl_prev_loc;
INC_AFL_AREA(afl_idx);
afl_prev_loc = cur_loc >> 1;
}
/* Generates TCG code for AFL's tracing instrumentation. */
static void afl_gen_trace(target_ulong cur_loc) {
/* Optimize for cur_loc > afl_end_code, which is the most likely case on
Linux systems. */
cur_block_is_good = cur_loc >= afl_start_code && cur_loc < afl_end_code;
if (!cur_block_is_good)
#ifdef CONFIG_USER_ONLY
return;
#else
{ cur_block_is_good = 1; return; }
#endif
/* Looks like QEMU always maps to fixed locations, so ASLR is not a
concern. Phew. But instruction addresses may be aligned. Let's mangle
the value to get something quasi-uniform. */
cur_loc = (cur_loc >> 4) ^ (cur_loc << 8);
cur_loc &= MAP_SIZE - 1;
/* Implement probabilistic instrumentation by looking at scrambled block
address. This keeps the instrumented locations stable across runs. */
if (cur_loc >= afl_inst_rms) return;
tcg_gen_afl_maybe_log_call(cur_loc); // TODO bugged when building with --cpu=i386
}
================================================
FILE: afl/config.h
================================================
/*
american fuzzy lop++ - vaguely configurable bits
------------------------------------------------
Originally written by Michal Zalewski
Now maintained by by Marc Heuse <mh@mh-sec.de>,
Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _HAVE_CONFIG_H
#define _HAVE_CONFIG_H
#include "types.h"
/* Version string: */
#define VERSION "++2.58d" // c = release, d = volatile github dev
/******************************************************
* *
* Settings that may be of interest to power users: *
* *
******************************************************/
/* Comment out to disable terminal colors (note that this makes afl-analyze
a lot less nice): */
#define USE_COLOR
/* Comment out to disable fancy ANSI boxes and use poor man's 7-bit UI: */
#ifndef ANDROID_DISABLE_FANCY // Fancy boxes are ugly from adb
#define FANCY_BOXES
#endif
/* Default timeout for fuzzed code (milliseconds). This is the upper bound,
also used for detecting hangs; the actual value is auto-scaled: */
#define EXEC_TIMEOUT 1000
/* Timeout rounding factor when auto-scaling (milliseconds): */
#define EXEC_TM_ROUND 20
/* 64bit arch MACRO */
#if (defined(__x86_64__) || defined(__arm64__) || defined(__aarch64__))
#define WORD_SIZE_64 1
#endif
/* Default memory limit for child process (MB): */
#ifndef WORD_SIZE_64
#define MEM_LIMIT 25
#else
#define MEM_LIMIT 50
#endif /* ^!WORD_SIZE_64 */
/* Default memory limit when running in QEMU mode (MB): */
#define MEM_LIMIT_QEMU 200
/* Default memory limit when running in Unicorn mode (MB): */
#define MEM_LIMIT_UNICORN 200
/* Number of calibration cycles per every new test case (and for test
cases that show variable behavior): */
#define CAL_CYCLES 8
#define CAL_CYCLES_LONG 40
/* Number of subsequent timeouts before abandoning an input file: */
#define TMOUT_LIMIT 250
/* Maximum number of unique hangs or crashes to record: */
#define KEEP_UNIQUE_HANG 500
#define KEEP_UNIQUE_CRASH 5000
/* Baseline number of random tweaks during a single 'havoc' stage: */
#define HAVOC_CYCLES 256
#define HAVOC_CYCLES_INIT 1024
/* Maximum multiplier for the above (should be a power of two, beware
of 32-bit int overflows): */
#define HAVOC_MAX_MULT 16
#define HAVOC_MAX_MULT_MOPT 32
/* Absolute minimum number of havoc cycles (after all adjustments): */
#define HAVOC_MIN 16
/* Power Schedule Divisor */
#define POWER_BETA 1
#define MAX_FACTOR (POWER_BETA * 32)
/* Maximum stacking for havoc-stage tweaks. The actual value is calculated
like this:
n = random between 1 and HAVOC_STACK_POW2
stacking = 2^n
In other words, the default (n = 7) produces 2, 4, 8, 16, 32, 64, or
128 stacked tweaks: */
#define HAVOC_STACK_POW2 7
/* Caps on block sizes for cloning and deletion operations. Each of these
ranges has a 33% probability of getting picked, except for the first
two cycles where smaller blocks are favored: */
#define HAVOC_BLK_SMALL 32
#define HAVOC_BLK_MEDIUM 128
#define HAVOC_BLK_LARGE 1500
/* Extra-large blocks, selected very rarely (<5% of the time): */
#define HAVOC_BLK_XL 32768
/* Probabilities of skipping non-favored entries in the queue, expressed as
percentages: */
#define SKIP_TO_NEW_PROB 99 /* ...when there are new, pending favorites */
#define SKIP_NFAV_OLD_PROB 95 /* ...no new favs, cur entry already fuzzed */
#define SKIP_NFAV_NEW_PROB 75 /* ...no new favs, cur entry not fuzzed yet */
/* Splicing cycle count: */
#define SPLICE_CYCLES 15
/* Nominal per-splice havoc cycle length: */
#define SPLICE_HAVOC 32
/* Maximum offset for integer addition / subtraction stages: */
#define ARITH_MAX 35
/* Limits for the test case trimmer. The absolute minimum chunk size; and
the starting and ending divisors for chopping up the input file: */
#define TRIM_MIN_BYTES 4
#define TRIM_START_STEPS 16
#define TRIM_END_STEPS 1024
/* Maximum size of input file, in bytes (keep under 100MB): */
#define MAX_FILE (1 * 1024 * 1024)
/* The same, for the test case minimizer: */
#define TMIN_MAX_FILE (10 * 1024 * 1024)
/* Block normalization steps for afl-tmin: */
#define TMIN_SET_MIN_SIZE 4
#define TMIN_SET_STEPS 128
/* Maximum dictionary token size (-x), in bytes: */
#define MAX_DICT_FILE 128
/* Length limits for auto-detected dictionary tokens: */
#define MIN_AUTO_EXTRA 3
#define MAX_AUTO_EXTRA 32
/* Maximum number of user-specified dictionary tokens to use in deterministic
steps; past this point, the "extras/user" step will be still carried out,
but with proportionally lower odds: */
#define MAX_DET_EXTRAS 200
/* Maximum number of auto-extracted dictionary tokens to actually use in fuzzing
(first value), and to keep in memory as candidates. The latter should be much
higher than the former. */
#define USE_AUTO_EXTRAS 50
#define MAX_AUTO_EXTRAS (USE_AUTO_EXTRAS * 10)
/* Scaling factor for the effector map used to skip some of the more
expensive deterministic steps. The actual divisor is set to
2^EFF_MAP_SCALE2 bytes: */
#define EFF_MAP_SCALE2 3
/* Minimum input file length at which the effector logic kicks in: */
#define EFF_MIN_LEN 128
/* Maximum effector density past which everything is just fuzzed
unconditionally (%): */
#define EFF_MAX_PERC 90
/* UI refresh frequency (Hz): */
#define UI_TARGET_HZ 5
/* Fuzzer stats file and plot update intervals (sec): */
#define STATS_UPDATE_SEC 60
#define PLOT_UPDATE_SEC 5
/* Smoothing divisor for CPU load and exec speed stats (1 - no smoothing). */
#define AVG_SMOOTHING 16
/* Sync interval (every n havoc cycles): */
#define SYNC_INTERVAL 5
/* Output directory reuse grace period (minutes): */
#define OUTPUT_GRACE 25
/* Uncomment to use simple file names (id_NNNNNN): */
// #define SIMPLE_FILES
/* List of interesting values to use in fuzzing. */
#define INTERESTING_8 \
-128, /* Overflow signed 8-bit when decremented */ \
-1, /* */ \
0, /* */ \
1, /* */ \
16, /* One-off with common buffer size */ \
32, /* One-off with common buffer size */ \
64, /* One-off with common buffer size */ \
100, /* One-off with common buffer size */ \
127 /* Overflow signed 8-bit when incremented */
#define INTERESTING_8_LEN 9
#define INTERESTING_16 \
-32768, /* Overflow signed 16-bit when decremented */ \
-129, /* Overflow signed 8-bit */ \
128, /* Overflow signed 8-bit */ \
255, /* Overflow unsig 8-bit when incremented */ \
256, /* Overflow unsig 8-bit */ \
512, /* One-off with common buffer size */ \
1000, /* One-off with common buffer size */ \
1024, /* One-off with common buffer size */ \
4096, /* One-off with common buffer size */ \
32767 /* Overflow signed 16-bit when incremented */
#define INTERESTING_16_LEN 10
#define INTERESTING_32 \
-2147483648LL, /* Overflow signed 32-bit when decremented */ \
-100663046, /* Large negative number (endian-agnostic) */ \
-32769, /* Overflow signed 16-bit */ \
32768, /* Overflow signed 16-bit */ \
65535, /* Overflow unsig 16-bit when incremented */ \
65536, /* Overflow unsig 16 bit */ \
100663045, /* Large positive number (endian-agnostic) */ \
2147483647 /* Overflow signed 32-bit when incremented */
#define INTERESTING_32_LEN 8
/***********************************************************
* *
* Really exotic stuff you probably don't want to touch: *
* *
***********************************************************/
/* Call count interval between reseeding the libc PRNG from /dev/urandom: */
#define RESEED_RNG 10000
/* Maximum line length passed from GCC to 'as' and used for parsing
configuration files: */
#define MAX_LINE 8192
/* Environment variable used to pass SHM ID to the called program. */
#define SHM_ENV_VAR "__AFL_SHM_ID"
/* Other less interesting, internal-only variables. */
#define CLANG_ENV_VAR "__AFL_CLANG_MODE"
#define AS_LOOP_ENV_VAR "__AFL_AS_LOOPCHECK"
#define PERSIST_ENV_VAR "__AFL_PERSISTENT"
#define DEFER_ENV_VAR "__AFL_DEFER_FORKSRV"
/* In-code signatures for deferred and persistent mode. */
#define PERSIST_SIG "##SIG_AFL_PERSISTENT##"
#define DEFER_SIG "##SIG_AFL_DEFER_FORKSRV##"
/* Distinctive bitmap signature used to indicate failed execution: */
#define EXEC_FAIL_SIG 0xfee1dead
/* Distinctive exit code used to indicate MSAN trip condition: */
#define MSAN_ERROR 86
/* Designated file descriptors for forkserver commands (the application will
use FORKSRV_FD and FORKSRV_FD + 1): */
#define FORKSRV_FD 198
/* Fork server init timeout multiplier: we'll wait the user-selected
timeout plus this much for the fork server to spin up. */
#define FORK_WAIT_MULT 10
/* Calibration timeout adjustments, to be a bit more generous when resuming
fuzzing sessions or trying to calibrate already-added internal finds.
The first value is a percentage, the other is in milliseconds: */
#define CAL_TMOUT_PERC 125
#define CAL_TMOUT_ADD 50
/* Number of chances to calibrate a case before giving up: */
#define CAL_CHANCES 3
/* Map size for the traced binary (2^MAP_SIZE_POW2). Must be greater than
2; you probably want to keep it under 18 or so for performance reasons
(adjusting AFL_INST_RATIO when compiling is probably a better way to solve
problems with complex programs). You need to recompile the target binary
after changing this - otherwise, SEGVs may ensue. */
#define MAP_SIZE_POW2 16
#define MAP_SIZE (1 << MAP_SIZE_POW2)
/* Maximum allocator request size (keep well under INT_MAX): */
#define MAX_ALLOC 0x40000000
/* A made-up hashing seed: */
#define HASH_CONST 0xa5b35705
/* Constants for afl-gotcpu to control busy loop timing: */
#define CTEST_TARGET_MS 5000
#define CTEST_CORE_TRG_MS 1000
#define CTEST_BUSY_CYCLES (10 * 1000 * 1000)
/* Enable NeverZero counters in QEMU mode */
#define AFL_QEMU_NOT_ZERO
/* Uncomment this to use inferior block-coverage-based instrumentation. Note
that you need to recompile the target binary for this to have any effect: */
// #define COVERAGE_ONLY
/* Uncomment this to ignore hit counts and output just one bit per tuple.
As with the previous setting, you will need to recompile the target
binary: */
// #define SKIP_COUNTS
/* Uncomment this to use instrumentation data to record newly discovered paths,
but do not use them as seeds for fuzzing. This is useful for conveniently
measuring coverage that could be attained by a "dumb" fuzzing algorithm: */
// #define IGNORE_FINDS
/* for *BSD: use ARC4RANDOM and save a file descriptor */
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#ifndef HAVE_ARC4RANDOM
#define HAVE_ARC4RANDOM 1
#endif
#endif /* __APPLE__ || __FreeBSD__ || __OpenBSD__ */
#endif /* ! _HAVE_CONFIG_H */
================================================
FILE: afl/types.h
================================================
/*
american fuzzy lop++ - type definitions and minor macros
--------------------------------------------------------
Originally written by Michal Zalewski
Now maintained by by Marc Heuse <mh@mh-sec.de>,
Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2016, 2017 Google Inc. All rights reserved.
Copyright 2019 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _HAVE_TYPES_H
#define _HAVE_TYPES_H
#include <stdint.h>
#include <stdlib.h>
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
/*
Ugh. There is an unintended compiler / glibc #include glitch caused by
combining the u64 type an %llu in format strings, necessitating a workaround.
In essence, the compiler is always looking for 'unsigned long long' for %llu.
On 32-bit systems, the u64 type (aliased to uint64_t) is expanded to
'unsigned long long' in <bits/types.h>, so everything checks out.
But on 64-bit systems, it is #ifdef'ed in the same file as 'unsigned long'.
Now, it only happens in circumstances where the type happens to have the
expected bit width, *but* the compiler does not know that... and complains
about 'unsigned long' being unsafe to pass to %llu.
*/
#ifdef __x86_64__
typedef unsigned long long u64;
#else
typedef uint64_t u64;
#endif /* ^__x86_64__ */
typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
#ifndef MIN
#define MIN(_a, _b) ((_a) > (_b) ? (_b) : (_a))
#define MAX(_a, _b) ((_a) > (_b) ? (_a) : (_b))
#endif /* !MIN */
#define SWAP16(_x) \
({ \
\
u16 _ret = (_x); \
(u16)((_ret << 8) | (_ret >> 8)); \
\
})
#define SWAP32(_x) \
({ \
\
u32 _ret = (_x); \
(u32)((_ret << 24) | (_ret >> 24) | ((_ret << 8) & 0x00FF0000) | \
((_ret >> 8) & 0x0000FF00)); \
\
})
#ifdef AFL_LLVM_PASS
#if defined(__linux__)
#define AFL_SR(s) (srandom(s))
#define AFL_R(x) (random() % (x))
#else
#define AFL_SR(s)
#define AFL_R(x) (arc4random_uniform(x))
#endif
#else
#if defined(__linux__)
#define SR(s) (srandom(s))
#define R(x) (random() % (x))
#else
#define SR(s)
#define R(x) (arc4random_uniform(x))
#endif
#endif /* ^AFL_LLVM_PASS */
#define STRINGIFY_INTERNAL(x) #x
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
#define MEM_BARRIER() __asm__ volatile("" ::: "memory")
#if __GNUC__ < 6
#define likely(_x) (_x)
#define unlikely(_x) (_x)
#else
#define likely(_x) __builtin_expect(!!(_x), 1)
#define unlikely(_x) __builtin_expect(!!(_x), 0)
#endif
#endif /* ! _HAVE_TYPES_H */
================================================
FILE: build.py
================================================
#!/usr/bin/env python3
'''
Copyright (c) 2019-2020, Andrea Fioraldi
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
import os
import sys
import shutil
import platform
import argparse
DESCR = """QEMU-AddressSanitizer Builder
Copyright (C) 2019 Andrea Fioraldi <andreafioraldi@gmail.com>
"""
EPILOG="""Note that the ASan DSO must refer to the host arch in a coherent way
with TARGET_BITS. For example, if the target is arm32 you have to provide the
i386 ASan DSO, if teh target if x86_64 you have to provide the x86_64 DSO.
As example, on Ubuntu 18.04, it is:
/usr/lib/llvm-8/lib/clang/8.0.0/lib/linux/libclang_rt.asan-x86_64.so
"""
ARCHS = {
"x86_64": "x86_64",
"amd64": "x86_64",
"x86": "i386",
"i386": "i386",
"arm": "arm",
"arm64": "aarch64",
"aarch64": "aarch64",
#"mips": "mips",
#"mips64": "mips64",
#"mipsel": "mipsel",
#"mips64el": "mips64el",
}
ARCHS_32 = ["i386", "arm", "mips", "mipsel"]
ARCHS_CROSS = list(set(ARCHS.values()))
ARCHS_CROSS.remove("i386")
ARCHS_CROSS.remove("x86_64")
dir_path = os.path.dirname(os.path.realpath(__file__))
opt = argparse.ArgumentParser(description=DESCR, epilog=EPILOG, formatter_class=argparse.RawTextHelpFormatter)
opt.add_argument("--arch", help="Set target architecture (default x86_64)", action='store', default="x86_64")
opt.add_argument('--asan-dso', help="Path to ASan DSO", action='store')
opt.add_argument("--clean", help="Clean builded files", action='store_true')
opt.add_argument("--debug", help="Compile debug libqasan", action='store_true')
opt.add_argument("--system", help="(eperimental) Build qemu-system", action='store_true')
opt.add_argument("--cc", help="C compiler (default clang-8)", action='store', default="clang")
opt.add_argument("--cxx", help="C++ compiler (default clang++-8)", action='store', default="clang++")
opt.add_argument("--cross", help="Cross C compiler for libqasan", action='store')
args = opt.parse_args()
def try_remove(path):
print("Deleting", path)
try:
os.remove(path)
except:
pass
if args.clean:
print("Cleaning...")
try_remove(os.path.join(dir_path, "qasan-qemu"))
try_remove(os.path.join(dir_path, "libqasan.so"))
try_remove(os.path.join(dir_path, "libqasan", "libqasan.so"))
# try_remove(output_dso)
os.system("""cd '%s' ; make clean""" % (os.path.join(dir_path, "qemu")))
print("Successful clean.")
print("")
exit(0)
if args.arch not in ARCHS:
print("ERROR:", args.arch, "is not a supported architecture.")
print("Supported architectures are", ", ".join(ARCHS.keys()))
print("")
exit(1)
if shutil.which(args.cc) is None and not os.path.isfile(args.cc):
print("ERROR:", args.cc, " not found.")
print("Specify another C compiler with --cc")
print("")
exit(1)
if shutil.which(args.cxx) is None and not os.path.isfile(args.cxx):
print("ERROR:", args.cxx, " not found.")
print("Specify another C++ compiler with --cxx")
print("")
exit(1)
def deintercept(asan_dso, output_dso):
global arch
print("Patching", asan_dso)
try:
import lief
except ImportError:
print("ERROR: lief not installed.")
print(" $ pip3 install lief --user")
print("")
exit(1)
lib = lief.parse(asan_dso)
names = []
for index, symbol in enumerate(lib.symbols):
if symbol.type == lief.ELF.SYMBOL_TYPES.FUNC and symbol.name.startswith("__interceptor_"):
names.append(lib.symbols[index].name[len("__interceptor_"):])
#names = ["malloc", "calloc", "realloc", "valloc", "pvalloc", "memalign", "posix_memalign", "free"]
for index, symbol in enumerate(lib.symbols):
if symbol.type == lief.ELF.SYMBOL_TYPES.FUNC and symbol.binding == lief.ELF.SYMBOL_BINDINGS.WEAK and symbol.name in names:
print("Renaming ", symbol)
lib.symbols[index].name = "__qasan_" + symbol.name
lib.write(output_dso)
arch = ARCHS[args.arch]
extra_c_flags = ""
if args.asan_dso:
# on Ubuntu 18.04: /usr/lib/llvm-8/lib/clang/8.0.0/lib/linux/libclang_rt.asan-x86_64.so
if not os.path.isfile(args.asan_dso):
print("ERROR:", args.asan_dso, "not found.")
print("")
exit(1)
output_dso = os.path.join(dir_path, os.path.basename(args.asan_dso))
lib_dso = os.path.basename(args.asan_dso)
if lib_dso.startswith("lib"): lib_dso = lib_dso[3:]
if lib_dso.endswith(".so"): lib_dso = lib_dso[:-3]
extra_ld_flags = "-L %s -l%s -Wl,-rpath,.,-rpath,%s" % (dir_path, lib_dso, dir_path)
deintercept(args.asan_dso, output_dso)
else:
# if the ASan DSO is not specified, use asan-giovese
if arch not in ("x86_64", "i386", "arm", "aarch64"):
print("ERROR: asan-giovese is still not supported for %s." % arch)
print("Please specify the ASan DSO with --asan-dso")
print("")
exit(1)
print("")
print("WARNING: QASan with asan-giovese is an experimental feature!")
print("")
extra_ld_flags = ""
extra_c_flags = "-DASAN_GIOVESE=1 -DTARGET_ULONG=target_ulong -I " + os.path.join(dir_path, "asan-giovese", "interval-tree")
cross_cc = args.cc
if arch in ARCHS_CROSS:
if args.cross is None:
cross_cc = "%s-linux-gnu-gcc" % arch
print("")
print("WARNING: The selected arch needs a cross compiler for libqasan")
print("We selected %s by default, use --cross to specify a custom one" % cross_cc)
print("")
else:
cross_cc = args.cross
if shutil.which(cross_cc) is None:
print("ERROR:", cross_cc, " not found.")
print("Specify another Cross C compiler with --cross")
print("")
exit(1)
if not args.system:
'''if not args.asan_dso:
print("ERROR: usermode QASan still depends on ASan.")
print("Please specify the ASan DSO with --asan-dso")
print("")
exit(1)'''
cpu_qemu_flag = ""
if arch in ARCHS_32 and args.asan_dso:
cpu_qemu_flag = "--cpu=i386"
print("")
print("WARNING: To do a 32 bit build, you have to install i386 libraries and set PKG_CONFIG_PATH")
print("If you haven't did it yet, on Ubuntu 18.04 it is PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig")
print("")
cmd = """cd '%s' ; ./configure --target-list="%s-linux-user" --disable-system --enable-pie \
--cc="%s" --cxx="%s" %s --extra-cflags="-O3 -ggdb %s" --extra-ldflags="%s" \
--enable-linux-user --disable-gtk --disable-sdl --disable-vnc --disable-strip""" \
% (os.path.join(dir_path, "qemu"), arch, args.cc, args.cxx, cpu_qemu_flag,
extra_c_flags, extra_ld_flags)
print (cmd)
assert (os.system(cmd) == 0)
cmd = """cd '%s' ; make -j `nproc`""" % (os.path.join(dir_path, "qemu"))
print (cmd)
assert (os.system(cmd) == 0)
shutil.copy2(
os.path.join(dir_path, "qemu", arch + "-linux-user", "qemu-" + arch),
os.path.join(dir_path, "qasan-qemu")
)
libqasan_cflags = "-Wno-int-to-void-pointer-cast -ggdb"
if arch == "i386":
libqasan_cflags += " -m32"
libqasan_target = ''
if args.debug:
libqasan_target = 'debug'
assert ( os.system("""cd '%s' ; make %s CC='%s' CFLAGS='%s'"""
% (os.path.join(dir_path, "libqasan"), libqasan_target, cross_cc,
libqasan_cflags)) == 0 )
shutil.copy2(
os.path.join(dir_path, "libqasan", "libqasan.so"),
dir_path
)
print("Successful build.")
print("Test it with ./qasan /bin/ls")
print("")
else:
cmd = """cd '%s' ; ./configure --target-list="%s-softmmu" --enable-pie \
--cc="%s" --cxx="%s" --extra-cflags="-O3 -ggdb %s" --extra-ldflags="%s" \
--disable-linux-user --disable-sdl --disable-vnc --disable-strip""" \
% (os.path.join(dir_path, "qemu"), arch, args.cc, args.cxx,
extra_c_flags, extra_ld_flags)
print (cmd)
assert (os.system(cmd) == 0)
cmd = """cd '%s' ; make -j `nproc`""" % (os.path.join(dir_path, "qemu"))
print (cmd)
assert (os.system(cmd) == 0)
if os.path.exists(os.path.join(dir_path, "qasan-system")):
os.unlink(os.path.join(dir_path, "qasan-system"))
os.symlink(
os.path.join(dir_path, "qemu", arch + "-softmmu", "qemu-system-" + arch),
os.path.join(dir_path, "qasan-system")
)
print("Successful build.")
print("")
================================================
FILE: include/qasan.h
================================================
/*******************************************************************************
Copyright (c) 2019-2020, Andrea Fioraldi
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
#ifndef __QASAN_H__
#define __QASAN_H__
#define QASAN_VERSTR "0.2"
#define QASAN_FAKEINSTR_X86 { 0x0f, 0x3a, 0xf2 }
#define QASAN_FAKESYS_NR 0xa2a4
enum {
QASAN_ACTION_CHECK_LOAD,
QASAN_ACTION_CHECK_STORE,
QASAN_ACTION_POISON,
QASAN_ACTION_USER_POISON,
QASAN_ACTION_UNPOISON,
QASAN_ACTION_IS_POISON,
QASAN_ACTION_ALLOC,
QASAN_ACTION_DEALLOC,
QASAN_ACTION_ENABLE,
QASAN_ACTION_DISABLE,
QASAN_ACTION_SWAP_STATE,
};
/* shadow map byte values */
#define ASAN_VALID 0x00
#define ASAN_PARTIAL1 0x01
#define ASAN_PARTIAL2 0x02
#define ASAN_PARTIAL3 0x03
#define ASAN_PARTIAL4 0x04
#define ASAN_PARTIAL5 0x05
#define ASAN_PARTIAL6 0x06
#define ASAN_PARTIAL7 0x07
#define ASAN_ARRAY_COOKIE 0xac
#define ASAN_STACK_RZ 0xf0
#define ASAN_STACK_LEFT_RZ 0xf1
#define ASAN_STACK_MID_RZ 0xf2
#define ASAN_STACK_RIGHT_RZ 0xf3
#define ASAN_STACK_FREED 0xf5
#define ASAN_STACK_OOSCOPE 0xf8
#define ASAN_GLOBAL_RZ 0xf9
#define ASAN_HEAP_RZ 0xe9
#define ASAN_USER 0xf7
#define ASAN_HEAP_LEFT_RZ 0xfa
#define ASAN_HEAP_RIGHT_RZ 0xfb
#define ASAN_HEAP_FREED 0xfd
#define QASAN_ENABLED (0)
#define QASAN_DISABLED (1)
#if __x86_64__
// The backdoor is more performant than the fake syscall
#define QASAN_CALL0(action) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movq %1, %%rax\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movq %%rax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)) \
: "%rax", "memory" \
); \
__libqasan__ret__; \
})
#define QASAN_CALL1(action, arg1) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movq %1, %%rax\n" \
"movq %2, %%rdi\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movq %%rax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)), "g"((uintptr_t)(arg1)) \
: "%rax", "%rdi", "memory" \
); \
__libqasan__ret__; \
})
#define QASAN_CALL2(action, arg1, arg2) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movq %1, %%rax\n" \
"movq %2, %%rdi\n" \
"movq %3, %%rsi\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movq %%rax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)), "g"((uintptr_t)(arg1)), "g"((uintptr_t)(arg2)) \
: "%rax", "%rdi", "%rsi", "memory" \
); \
__libqasan__ret__; \
})
#define QASAN_CALL3(action, arg1, arg2, arg3) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movq %1, %%rax\n" \
"movq %2, %%rdi\n" \
"movq %3, %%rsi\n" \
"movq %4, %%rdx\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movq %%rax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)), "g"((uintptr_t)(arg1)), "g"((uintptr_t)(arg2)), "g"((uintptr_t)(arg3)) \
: "%rax", "%rdi", "%rsi", "%rdx", "memory" \
); \
__libqasan__ret__; \
})
/*
#elif __i386__
// The backdoor is more performant than the fake syscall
#define QASAN_CALL0(action) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movl %1, %%eax\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movl %%eax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)) \
: "%eax", "memory" \
); \
__libqasan__ret__; \
})
#define QASAN_CALL1(action, arg1) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movl %1, %%eax\n" \
"movl %2, %%edi\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movl %%eax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)), "g"((uintptr_t)(arg1)) \
: "%eax", "%edi", "memory" \
); \
__libqasan__ret__; \
})
#define QASAN_CALL2(action, arg1, arg2) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movl %1, %%eax\n" \
"movl %2, %%edi\n" \
"movl %3, %%esi\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movl %%eax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)), "g"((uintptr_t)(arg1)), "g"((uintptr_t)(arg2)) \
: "%eax", "%edi", "%esi", "memory" \
); \
__libqasan__ret__; \
})
#define QASAN_CALL3(action, arg1, arg2, arg3) \
({ \
uintptr_t __libqasan__ret__; \
asm volatile ( \
"movl %1, %%eax\n" \
"movl %2, %%edi\n" \
"movl %3, %%esi\n" \
"movl %4, %%edx\n" \
".byte 0x0f\n" \
".byte 0x3a\n" \
".byte 0xf2\n" \
"movl %%eax, %0\n" \
: "=g"(__libqasan__ret__) \
: "g"((uintptr_t)(action)), "g"((uintptr_t)(arg1)), "g"((uintptr_t)(arg2)), "g"((uintptr_t)(arg3)) \
: "%eax", "%edi", "%esi", "%edx", "memory" \
); \
__libqasan__ret__; \
})
*/
#else
// fake syscall, works only for QASan user-mode!!!
#include <unistd.h>
#define QASAN_CALL0(action) \
syscall(QASAN_FAKESYS_NR, action, NULL, NULL, NULL)
#define QASAN_CALL1(action, arg1) \
syscall(QASAN_FAKESYS_NR, action, arg1, NULL, NULL)
#define QASAN_CALL2(action, arg1, arg2) \
syscall(QASAN_FAKESYS_NR, action, arg1, arg2, NULL)
#define QASAN_CALL3(action, arg1, arg2, arg3) \
syscall(QASAN_FAKESYS_NR, action, arg1, arg2, arg3)
#endif
#define QASAN_LOAD(ptr, len) \
QASAN_CALL2(QASAN_ACTION_CHECK_LOAD, ptr, len)
#define QASAN_STORE(ptr, len) \
QASAN_CALL2(QASAN_ACTION_CHECK_STORE, ptr, len)
#define QASAN_POISON(ptr, len, poison_byte) \
QASAN_CALL3(QASAN_ACTION_POISON, ptr, len, poison_byte)
#define QASAN_USER_POISON(ptr, len) \
QASAN_CALL3(QASAN_ACTION_POISON, ptr, len, ASAN_USER)
#define QASAN_UNPOISON(ptr, len) \
QASAN_CALL2(QASAN_ACTION_UNPOISON, ptr, len)
#define QASAN_IS_POISON(ptr, len) \
QASAN_CALL2(QASAN_ACTION_IS_POISON, ptr, len)
#define QASAN_ALLOC(start, end) \
QASAN_CALL2(QASAN_ACTION_ALLOC, start, end)
#define QASAN_DEALLOC(ptr) \
QASAN_CALL1(QASAN_ACTION_DEALLOC, ptr)
#define QASAN_SWAP(state) \
QASAN_CALL1(QASAN_ACTION_SWAP_STATE, state)
#endif
================================================
FILE: libqasan/Makefile
================================================
CC := clang
CFLAGS += -Wno-int-to-void-pointer-cast -ggdb
LDFLAGS += -ldl -pthread
SRC := libqasan.c hooks.c malloc.c string.c uninstrument.c patch.c dlmalloc.c
HDR := libqasan.h
all: $(HDR) $(SRC)
$(CC) $(CFLAGS) -fPIC -shared -I ../include $(SRC) -o libqasan.so $(LDFLAGS)
debug: $(HDR) $(SRC)
$(CC) $(CFLAGS) -DDEBUG=1 -fPIC -shared -I ../include $(SRC) -o libqasan.so $(LDFLAGS)
================================================
FILE: libqasan/dlmalloc.c
================================================
#include <features.h>
#ifndef __GLIBC__
/*
This is a version (aka dlmalloc) of malloc/free/realloc written by
Doug Lea and released to the public domain, as explained at
http://creativecommons.org/publicdomain/zero/1.0/ Send questions,
comments, complaints, performance data, etc to dl@cs.oswego.edu
* Version 2.8.6 Wed Aug 29 06:57:58 2012 Doug Lea
Note: There may be an updated version of this malloc obtainable at
ftp://gee.cs.oswego.edu/pub/misc/malloc.c
Check before installing!
* Quickstart
This library is all in one file to simplify the most common usage:
ftp it, compile it (-O3), and link it into another program. All of
the compile-time options default to reasonable values for use on
most platforms. You might later want to step through various
compile-time and dynamic tuning options.
For convenience, an include file for code using this malloc is at:
ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.6.h
You don't really need this .h file unless you call functions not
defined in your system include files. The .h file contains only the
excerpts from this file needed for using this malloc on ANSI C/C++
systems, so long as you haven't changed compile-time options about
naming and tuning parameters. If you do, then you can create your
own malloc.h that does include all settings by cutting at the point
indicated below. Note that you may already by default be using a C
library containing a malloc that is based on some version of this
malloc (for example in linux). You might still want to use the one
in this file to customize settings or to avoid overheads associated
with library versions.
* Vital statistics:
Supported pointer/size_t representation: 4 or 8 bytes
size_t MUST be an unsigned type of the same width as
pointers. (If you are using an ancient system that declares
size_t as a signed type, or need it to be a different width
than pointers, you can use a previous release of this malloc
(e.g. 2.7.2) supporting these.)
Alignment: 8 bytes (minimum)
This suffices for nearly all current machines and C compilers.
However, you can define MALLOC_ALIGNMENT to be wider than this
if necessary (up to 128bytes), at the expense of using more space.
Minimum overhead per allocated chunk: 4 or 8 bytes (if 4byte sizes)
8 or 16 bytes (if 8byte sizes)
Each malloced chunk has a hidden word of overhead holding size
and status information, and additional cross-check word
if FOOTERS is defined.
Minimum allocated size: 4-byte ptrs: 16 bytes (including overhead)
8-byte ptrs: 32 bytes (including overhead)
Even a request for zero bytes (i.e., malloc(0)) returns a
pointer to something of the minimum allocatable size.
The maximum overhead wastage (i.e., number of extra bytes
allocated than were requested in malloc) is less than or equal
to the minimum size, except for requests >= mmap_threshold that
are serviced via mmap(), where the worst case wastage is about
32 bytes plus the remainder from a system page (the minimal
mmap unit); typically 4096 or 8192 bytes.
Security: static-safe; optionally more or less
The "security" of malloc refers to the ability of malicious
code to accentuate the effects of errors (for example, freeing
space that is not currently malloc'ed or overwriting past the
ends of chunks) in code that calls malloc. This malloc
guarantees not to modify any memory locations below the base of
heap, i.e., static variables, even in the presence of usage
errors. The routines additionally detect most improper frees
and reallocs. All this holds as long as the static bookkeeping
for malloc itself is not corrupted by some other means. This
is only one aspect of security -- these checks do not, and
cannot, detect all possible programming errors.
If FOOTERS is defined nonzero, then each allocated chunk
carries an additional check word to verify that it was malloced
from its space. These check words are the same within each
execution of a program using malloc, but differ across
executions, so externally crafted fake chunks cannot be
freed. This improves security by rejecting frees/reallocs that
could corrupt heap memory, in addition to the checks preventing
writes to statics that are always on. This may further improve
security at the expense of time and space overhead. (Note that
FOOTERS may also be worth using with MSPACES.)
By default detected errors cause the program to abort (calling
"abort()"). You can override this to instead proceed past
errors by defining PROCEED_ON_ERROR. In this case, a bad free
has no effect, and a malloc that encounters a bad address
caused by user overwrites will ignore the bad address by
dropping pointers and indices to all known memory. This may
be appropriate for programs that should continue if at all
possible in the face of programming errors, although they may
run out of memory because dropped memory is never reclaimed.
If you don't like either of these options, you can define
CORRUPTION_ERROR_ACTION and USAGE_ERROR_ACTION to do anything
else. And if if you are sure that your program using malloc has
no errors or vulnerabilities, you can define INSECURE to 1,
which might (or might not) provide a small performance improvement.
It is also possible to limit the maximum total allocatable
space, using malloc_set_footprint_limit. This is not
designed as a security feature in itself (calls to set limits
are not screened or privileged), but may be useful as one
aspect of a secure implementation.
Thread-safety: NOT thread-safe unless USE_LOCKS defined non-zero
When USE_LOCKS is defined, each public call to malloc, free,
etc is surrounded with a lock. By default, this uses a plain
pthread mutex, win32 critical section, or a spin-lock if if
available for the platform and not disabled by setting
USE_SPIN_LOCKS=0. However, if USE_RECURSIVE_LOCKS is defined,
recursive versions are used instead (which are not required for
base functionality but may be needed in layered extensions).
Using a global lock is not especially fast, and can be a major
bottleneck. It is designed only to provide minimal protection
in concurrent environments, and to provide a basis for
extensions. If you are using malloc in a concurrent program,
consider instead using nedmalloc
(http://www.nedprod.com/programs/portable/nedmalloc/) or
ptmalloc (See http://www.malloc.de), which are derived from
versions of this malloc.
System requirements: Any combination of MORECORE and/or MMAP/MUNMAP
This malloc can use unix sbrk or any emulation (invoked using
the CALL_MORECORE macro) and/or mmap/munmap or any emulation
(invoked using CALL_MMAP/CALL_MUNMAP) to get and release system
memory. On most unix systems, it tends to work best if both
MORECORE and MMAP are enabled. On Win32, it uses emulations
based on VirtualAlloc. It also uses common C library functions
like memset.
Compliance: I believe it is compliant with the Single Unix Specification
(See http://www.unix.org). Also SVID/XPG, ANSI C, and probably
others as well.
* Overview of algorithms
This is not the fastest, most space-conserving, most portable, or
most tunable malloc ever written. However it is among the fastest
while also being among the most space-conserving, portable and
tunable. Consistent balance across these factors results in a good
general-purpose allocator for malloc-intensive programs.
In most ways, this malloc is a best-fit allocator. Generally, it
chooses the best-fitting existing chunk for a request, with ties
broken in approximately least-recently-used order. (This strategy
normally maintains low fragmentation.) However, for requests less
than 256bytes, it deviates from best-fit when there is not an
exactly fitting available chunk by preferring to use space adjacent
to that used for the previous small request, as well as by breaking
ties in approximately most-recently-used order. (These enhance
locality of series of small allocations.) And for very large requests
(>= 256Kb by default), it relies on system memory mapping
facilities, if supported. (This helps avoid carrying around and
possibly fragmenting memory used only for large chunks.)
All operations (except malloc_stats and mallinfo) have execution
times that are bounded by a constant factor of the number of bits in
a size_t, not counting any clearing in calloc or copying in realloc,
or actions surrounding MORECORE and MMAP that have times
proportional to the number of non-contiguous regions returned by
system allocation routines, which is often just 1. In real-time
applications, you can optionally suppress segment traversals using
NO_SEGMENT_TRAVERSAL, which assures bounded execution even when
system allocators return non-contiguous spaces, at the typical
expense of carrying around more memory and increased fragmentation.
The implementation is not very modular and seriously overuses
macros. Perhaps someday all C compilers will do as good a job
inlining modular code as can now be done by brute-force expansion,
but now, enough of them seem not to.
Some compilers issue a lot of warnings about code that is
dead/unreachable only on some platforms, and also about intentional
uses of negation on unsigned types. All known cases of each can be
ignored.
For a longer but out of date high-level description, see
http://gee.cs.oswego.edu/dl/html/malloc.html
* MSPACES
If MSPACES is defined, then in addition to malloc, free, etc.,
this file also defines mspace_malloc, mspace_free, etc. These
are versions of malloc routines that take an "mspace" argument
obtained using create_mspace, to control all internal bookkeeping.
If ONLY_MSPACES is defined, only these versions are compiled.
So if you would like to use this allocator for only some allocations,
and your system malloc for others, you can compile with
ONLY_MSPACES and then do something like...
static mspace mymspace = create_mspace(0,0); // for example
#define mymalloc(bytes) mspace_malloc(mymspace, bytes)
(Note: If you only need one instance of an mspace, you can instead
use "USE_DL_PREFIX" to relabel the global malloc.)
You can similarly create thread-local allocators by storing
mspaces as thread-locals. For example:
static __thread mspace tlms = 0;
void* tlmalloc(size_t bytes) {
if (tlms == 0) tlms = create_mspace(0, 0);
return mspace_malloc(tlms, bytes);
}
void tlfree(void* mem) { mspace_free(tlms, mem); }
Unless FOOTERS is defined, each mspace is completely independent.
You cannot allocate from one and free to another (although
conformance is only weakly checked, so usage errors are not always
caught). If FOOTERS is defined, then each chunk carries around a tag
indicating its originating mspace, and frees are directed to their
originating spaces. Normally, this requires use of locks.
------------------------- Compile-time options ---------------------------
Be careful in setting #define values for numerical constants of type
size_t. On some systems, literal values are not automatically extended
to size_t precision unless they are explicitly casted. You can also
use the symbolic values MAX_SIZE_T, SIZE_T_ONE, etc below.
WIN32 default: defined if _WIN32 defined
Defining WIN32 sets up defaults for MS environment and compilers.
Otherwise defaults are for unix. Beware that there seem to be some
cases where this malloc might not be a pure drop-in replacement for
Win32 malloc: Random-looking failures from Win32 GDI API's (eg;
SetDIBits()) may be due to bugs in some video driver implementations
when pixel buffers are malloc()ed, and the region spans more than
one VirtualAlloc()ed region. Because dlmalloc uses a small (64Kb)
default granularity, pixel buffers may straddle virtual allocation
regions more often than when using the Microsoft allocator. You can
avoid this by using VirtualAlloc() and VirtualFree() for all pixel
buffers rather than using malloc(). If this is not possible,
recompile this malloc with a larger DEFAULT_GRANULARITY. Note:
in cases where MSC and gcc (cygwin) are known to differ on WIN32,
conditions use _MSC_VER to distinguish them.
DLMALLOC_EXPORT default: extern
Defines how public APIs are declared. If you want to export via a
Windows DLL, you might define this as
#define DLMALLOC_EXPORT extern __declspec(dllexport)
If you want a POSIX ELF shared object, you might use
#define DLMALLOC_EXPORT extern __attribute__((visibility("default")))
MALLOC_ALIGNMENT default: (size_t)(2 * sizeof(void *))
Controls the minimum alignment for malloc'ed chunks. It must be a
power of two and at least 8, even on machines for which smaller
alignments would suffice. It may be defined as larger than this
though. Note however that code and data structures are optimized for
the case of 8-byte alignment.
MSPACES default: 0 (false)
If true, compile in support for independent allocation spaces.
This is only supported if HAVE_MMAP is true.
ONLY_MSPACES default: 0 (false)
If true, only compile in mspace versions, not regular versions.
USE_LOCKS default: 0 (false)
Causes each call to each public routine to be surrounded with
pthread or WIN32 mutex lock/unlock. (If set true, this can be
overridden on a per-mspace basis for mspace versions.) If set to a
non-zero value other than 1, locks are used, but their
implementation is left out, so lock functions must be supplied manually,
as described below.
USE_SPIN_LOCKS default: 1 iff USE_LOCKS and spin locks available
If true, uses custom spin locks for locking. This is currently
supported only gcc >= 4.1, older gccs on x86 platforms, and recent
MS compilers. Otherwise, posix locks or win32 critical sections are
used.
USE_RECURSIVE_LOCKS default: not defined
If defined nonzero, uses recursive (aka reentrant) locks, otherwise
uses plain mutexes. This is not required for malloc proper, but may
be needed for layered allocators such as nedmalloc.
LOCK_AT_FORK default: not defined
If defined nonzero, performs pthread_atfork upon initialization
to initialize child lock while holding parent lock. The implementation
assumes that pthread locks (not custom locks) are being used. In other
cases, you may need to customize the implementation.
FOOTERS default: 0
If true, provide extra checking and dispatching by placing
information in the footers of allocated chunks. This adds
space and time overhead.
INSECURE default: 0
If true, omit checks for usage errors and heap space overwrites.
USE_DL_PREFIX default: NOT defined
Causes compiler to prefix all public routines with the string 'dl'.
This can be useful when you only want to use this malloc in one part
of a program, using your regular system malloc elsewhere.
MALLOC_INSPECT_ALL default: NOT defined
If defined, compiles malloc_inspect_all and mspace_inspect_all, that
perform traversal of all heap space. Unless access to these
functions is otherwise restricted, you probably do not want to
include them in secure implementations.
ABORT default: defined as abort()
Defines how to abort on failed checks. On most systems, a failed
check cannot die with an "assert" or even print an informative
message, because the underlying print routines in turn call malloc,
which will fail again. Generally, the best policy is to simply call
abort(). It's not very useful to do more than this because many
errors due to overwriting will show up as address faults (null, odd
addresses etc) rather than malloc-triggered checks, so will also
abort. Also, most compilers know that abort() does not return, so
can better optimize code conditionally calling it.
PROCEED_ON_ERROR default: defined as 0 (false)
Controls whether detected bad addresses cause them to bypassed
rather than aborting. If set, detected bad arguments to free and
realloc are ignored. And all bookkeeping information is zeroed out
upon a detected overwrite of freed heap space, thus losing the
ability to ever return it from malloc again, but enabling the
application to proceed. If PROCEED_ON_ERROR is defined, the
static variable malloc_corruption_error_count is compiled in
and can be examined to see if errors have occurred. This option
generates slower code than the default abort policy.
DEBUG default: NOT defined
The DEBUG setting is mainly intended for people trying to modify
this code or diagnose problems when porting to new platforms.
However, it may also be able to better isolate user errors than just
using runtime checks. The assertions in the check routines spell
out in more detail the assumptions and invariants underlying the
algorithms. The checking is fairly extensive, and will slow down
execution noticeably. Calling malloc_stats or mallinfo with DEBUG
set will attempt to check every non-mmapped allocated and free chunk
in the course of computing the summaries.
ABORT_ON_ASSERT_FAILURE default: defined as 1 (true)
Debugging assertion failures can be nearly impossible if your
version of the assert macro causes malloc to be called, which will
lead to a cascade of further failures, blowing the runtime stack.
ABORT_ON_ASSERT_FAILURE cause assertions failures to call abort(),
which will usually make debugging easier.
MALLOC_FAILURE_ACTION default: sets errno to ENOMEM, or no-op on win32
The action to take before "return 0" when malloc fails to be able to
return memory because there is none available.
HAVE_MORECORE default: 1 (true) unless win32 or ONLY_MSPACES
True if this system supports sbrk or an emulation of it.
MORECORE default: sbrk
The name of the sbrk-style system routine to call to obtain more
memory. See below for guidance on writing custom MORECORE
functions. The type of the argument to sbrk/MORECORE varies across
systems. It cannot be size_t, because it supports negative
arguments, so it is normally the signed type of the same width as
size_t (sometimes declared as "intptr_t"). It doesn't much matter
though. Internally, we only call it with arguments less than half
the max value of a size_t, which should work across all reasonable
possibilities, although sometimes generating compiler warnings.
MORECORE_CONTIGUOUS default: 1 (true) if HAVE_MORECORE
If true, take advantage of fact that consecutive calls to MORECORE
with positive arguments always return contiguous increasing
addresses. This is true of unix sbrk. It does not hurt too much to
set it true anyway, since malloc copes with non-contiguities.
Setting it false when definitely non-contiguous saves time
and possibly wasted space it would take to discover this though.
MORECORE_CANNOT_TRIM default: NOT defined
True if MORECORE cannot release space back to the system when given
negative arguments. This is generally necessary only if you are
using a hand-crafted MORECORE function that cannot handle negative
arguments.
NO_SEGMENT_TRAVERSAL default: 0
If non-zero, suppresses traversals of memory segments
returned by either MORECORE or CALL_MMAP. This disables
merging of segments that are contiguous, and selectively
releasing them to the OS if unused, but bounds execution times.
HAVE_MMAP default: 1 (true)
True if this system supports mmap or an emulation of it. If so, and
HAVE_MORECORE is not true, MMAP is used for all system
allocation. If set and HAVE_MORECORE is true as well, MMAP is
primarily used to directly allocate very large blocks. It is also
used as a backup strategy in cases where MORECORE fails to provide
space from system. Note: A single call to MUNMAP is assumed to be
able to unmap memory that may have be allocated using multiple calls
to MMAP, so long as they are adjacent.
HAVE_MREMAP default: 1 on linux, else 0
If true realloc() uses mremap() to re-allocate large blocks and
extend or shrink allocation spaces.
MMAP_CLEARS default: 1 except on WINCE.
True if mmap clears memory so calloc doesn't need to. This is true
for standard unix mmap using /dev/zero and on WIN32 except for WINCE.
USE_BUILTIN_FFS default: 0 (i.e., not used)
Causes malloc to use the builtin ffs() function to compute indices.
Some compilers may recognize and intrinsify ffs to be faster than the
supplied C version. Also, the case of x86 using gcc is special-cased
to an asm instruction, so is already as fast as it can be, and so
this setting has no effect. Similarly for Win32 under recent MS compilers.
(On most x86s, the asm version is only slightly faster than the C version.)
malloc_getpagesize default: derive from system includes, or 4096.
The system page size. To the extent possible, this malloc manages
memory from the system in page-size units. This may be (and
usually is) a function rather than a constant. This is ignored
if WIN32, where page size is determined using getSystemInfo during
initialization.
USE_DEV_RANDOM default: 0 (i.e., not used)
Causes malloc to use /dev/random to initialize secure magic seed for
stamping footers. Otherwise, the current time is used.
NO_MALLINFO default: 0
If defined, don't compile "mallinfo". This can be a simple way
of dealing with mismatches between system declarations and
those in this file.
MALLINFO_FIELD_TYPE default: size_t
The type of the fields in the mallinfo struct. This was originally
defined as "int" in SVID etc, but is more usefully defined as
size_t. The value is used only if HAVE_USR_INCLUDE_MALLOC_H is not set
NO_MALLOC_STATS default: 0
If defined, don't compile "malloc_stats". This avoids calls to
fprintf and bringing in stdio dependencies you might not want.
REALLOC_ZERO_BYTES_FREES default: not defined
This should be set if a call to realloc with zero bytes should
be the same as a call to free. Some people think it should. Otherwise,
since this malloc returns a unique pointer for malloc(0), so does
realloc(p, 0).
LACKS_UNISTD_H, LACKS_FCNTL_H, LACKS_SYS_PARAM_H, LACKS_SYS_MMAN_H
LACKS_STRINGS_H, LACKS_STRING_H, LACKS_SYS_TYPES_H, LACKS_ERRNO_H
LACKS_STDLIB_H LACKS_SCHED_H LACKS_TIME_H default: NOT defined unless on WIN32
Define these if your system does not have these header files.
You might need to manually insert some of the declarations they provide.
DEFAULT_GRANULARITY default: page size if MORECORE_CONTIGUOUS,
system_info.dwAllocationGranularity in WIN32,
otherwise 64K.
Also settable using mallopt(M_GRANULARITY, x)
The unit for allocating and deallocating memory from the system. On
most systems with contiguous MORECORE, there is no reason to
make this more than a page. However, systems with MMAP tend to
either require or encourage larger granularities. You can increase
this value to prevent system allocation functions to be called so
often, especially if they are slow. The value must be at least one
page and must be a power of two. Setting to 0 causes initialization
to either page size or win32 region size. (Note: In previous
versions of malloc, the equivalent of this option was called
"TOP_PAD")
DEFAULT_TRIM_THRESHOLD default: 2MB
Also settable using mallopt(M_TRIM_THRESHOLD, x)
The maximum amount of unused top-most memory to keep before
releasing via malloc_trim in free(). Automatic trimming is mainly
useful in long-lived programs using contiguous MORECORE. Because
trimming via sbrk can be slow on some systems, and can sometimes be
wasteful (in cases where programs immediately afterward allocate
more large chunks) the value should be high enough so that your
overall system performance would improve by releasing this much
memory. As a rough guide, you might set to a value close to the
average size of a process (program) running on your system.
Releasing this much memory would allow such a process to run in
memory. Generally, it is worth tuning trim thresholds when a
program undergoes phases where several large chunks are allocated
and released in ways that can reuse each other's storage, perhaps
mixed with phases where there are no such chunks at all. The trim
value must be greater than page size to have any useful effect. To
disable trimming completely, you can set to MAX_SIZE_T. Note that the trick
some people use of mallocing a huge space and then freeing it at
program startup, in an attempt to reserve system memory, doesn't
have the intended effect under automatic trimming, since that memory
will immediately be returned to the system.
DEFAULT_MMAP_THRESHOLD default: 256K
Also settable using mallopt(M_MMAP_THRESHOLD, x)
The request size threshold for using MMAP to directly service a
request. Requests of at least this size that cannot be allocated
using already-existing space will be serviced via mmap. (If enough
normal freed space already exists it is used instead.) Using mmap
segregates relatively large chunks of memory so that they can be
individually obtained and released from the host system. A request
serviced through mmap is never reused by any other request (at least
not directly; the system may just so happen to remap successive
requests to the same locations). Segregating space in this way has
the benefits that: Mmapped space can always be individually released
back to the system, which helps keep the system level memory demands
of a long-lived program low. Also, mapped memory doesn't become
`locked' between other chunks, as can happen with normally allocated
chunks, which means that even trimming via malloc_trim would not
release them. However, it has the disadvantage that the space
cannot be reclaimed, consolidated, and then used to service later
requests, as happens with normal chunks. The advantages of mmap
nearly always outweigh disadvantages for "large" chunks, but the
value of "large" may vary across systems. The default is an
empirically derived value that works well in most systems. You can
disable mmap by setting to MAX_SIZE_T.
MAX_RELEASE_CHECK_RATE default: 4095 unless not HAVE_MMAP
The number of consolidated frees between checks to release
unused segments when freeing. When using non-contiguous segments,
especially with multiple mspaces, checking only for topmost space
doesn't always suffice to trigger trimming. To compensate for this,
free() will, with a period of MAX_RELEASE_CHECK_RATE (or the
current number of segments, if greater) try to release unused
segments to the OS when freeing chunks that result in
consolidation. The best value for this parameter is a compromise
between slowing down frees with relatively costly checks that
rarely trigger versus holding on to unused memory. To effectively
disable, set to MAX_SIZE_T. This may lead to a very slight speed
improvement at the expense of carrying around more memory.
*/
#define USE_DL_PREFIX
/* Version identifier to allow people to support multiple versions */
#ifndef DLMALLOC_VERSION
#define DLMALLOC_VERSION 20806
#endif /* DLMALLOC_VERSION */
#ifndef DLMALLOC_EXPORT
#define DLMALLOC_EXPORT extern
#endif
#ifndef WIN32
#ifdef _WIN32
#define WIN32 1
#endif /* _WIN32 */
#ifdef _WIN32_WCE
#define LACKS_FCNTL_H
#define WIN32 1
#endif /* _WIN32_WCE */
#endif /* WIN32 */
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <tchar.h>
#define HAVE_MMAP 1
#define HAVE_MORECORE 0
#define LACKS_UNISTD_H
#define LACKS_SYS_PARAM_H
#define LACKS_SYS_MMAN_H
#define LACKS_STRING_H
#define LACKS_STRINGS_H
#define LACKS_SYS_TYPES_H
#define LACKS_ERRNO_H
#define LACKS_SCHED_H
#ifndef MALLOC_FAILURE_ACTION
#define MALLOC_FAILURE_ACTION
#endif /* MALLOC_FAILURE_ACTION */
#ifndef MMAP_CLEARS
#ifdef _WIN32_WCE /* WINCE reportedly does not clear */
#define MMAP_CLEARS 0
#else
#define MMAP_CLEARS 1
#endif /* _WIN32_WCE */
#endif /*MMAP_CLEARS */
#endif /* WIN32 */
#if defined(DARWIN) || defined(_DARWIN)
/* Mac OSX docs advise not to use sbrk; it seems better to use mmap */
#ifndef HAVE_MORECORE
#define HAVE_MORECORE 0
#define HAVE_MMAP 1
/* OSX allocators provide 16 byte alignment */
#ifndef MALLOC_ALIGNMENT
#define MALLOC_ALIGNMENT ((size_t)16U)
#endif
#endif /* HAVE_MORECORE */
#endif /* DARWIN */
#ifndef LACKS_SYS_TYPES_H
#include <sys/types.h> /* For size_t */
#endif /* LACKS_SYS_TYPES_H */
/* The maximum possible size_t value has all bits set */
#define MAX_SIZE_T (~(size_t)0)
#ifndef USE_LOCKS /* ensure true if spin or recursive locks set */
#define USE_LOCKS ((defined(USE_SPIN_LOCKS) && USE_SPIN_LOCKS != 0) || \
(defined(USE_RECURSIVE_LOCKS) && USE_RECURSIVE_LOCKS != 0))
#endif /* USE_LOCKS */
#if USE_LOCKS /* Spin locks for gcc >= 4.1, older gcc on x86, MSC >= 1310 */
#if ((defined(__GNUC__) && \
((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) || \
defined(__i386__) || defined(__x86_64__))) || \
(defined(_MSC_VER) && _MSC_VER>=1310))
#ifndef USE_SPIN_LOCKS
#define USE_SPIN_LOCKS 1
#endif /* USE_SPIN_LOCKS */
#elif USE_SPIN_LOCKS
#error "USE_SPIN_LOCKS defined without implementation"
#endif /* ... locks available... */
#elif !defined(USE_SPIN_LOCKS)
#define USE_SPIN_LOCKS 0
#endif /* USE_LOCKS */
#ifndef ONLY_MSPACES
#define ONLY_MSPACES 0
#endif /* ONLY_MSPACES */
#ifndef MSPACES
#if ONLY_MSPACES
#define MSPACES 1
#else /* ONLY_MSPACES */
#define MSPACES 0
#endif /* ONLY_MSPACES */
#endif /* MSPACES */
#ifndef MALLOC_ALIGNMENT
#define MALLOC_ALIGNMENT ((size_t)(2 * sizeof(void *)))
#endif /* MALLOC_ALIGNMENT */
#ifndef FOOTERS
#define FOOTERS 0
#endif /* FOOTERS */
#ifndef ABORT
#define ABORT abort()
#endif /* ABORT */
#ifndef ABORT_ON_ASSERT_FAILURE
#define ABORT_ON_ASSERT_FAILURE 1
#endif /* ABORT_ON_ASSERT_FAILURE */
#ifndef PROCEED_ON_ERROR
#define PROCEED_ON_ERROR 0
#endif /* PROCEED_ON_ERROR */
#ifndef INSECURE
#define INSECURE 0
#endif /* INSECURE */
#ifndef MALLOC_INSPECT_ALL
#define MALLOC_INSPECT_ALL 0
#endif /* MALLOC_INSPECT_ALL */
#ifndef HAVE_MMAP
#define HAVE_MMAP 1
#endif /* HAVE_MMAP */
#ifndef MMAP_CLEARS
#define MMAP_CLEARS 1
#endif /* MMAP_CLEARS */
#ifndef HAVE_MREMAP
#ifdef linux
#define HAVE_MREMAP 1
#define _GNU_SOURCE /* Turns on mremap() definition */
#else /* linux */
#define HAVE_MREMAP 0
#endif /* linux */
#endif /* HAVE_MREMAP */
#ifndef MALLOC_FAILURE_ACTION
#define MALLOC_FAILURE_ACTION errno = ENOMEM;
#endif /* MALLOC_FAILURE_ACTION */
#ifndef HAVE_MORECORE
#if ONLY_MSPACES
#define HAVE_MORECORE 0
#else /* ONLY_MSPACES */
#define HAVE_MORECORE 1
#endif /* ONLY_MSPACES */
#endif /* HAVE_MORECORE */
#if !HAVE_MORECORE
#define MORECORE_CONTIGUOUS 0
#else /* !HAVE_MORECORE */
#define MORECORE_DEFAULT sbrk
#ifndef MORECORE_CONTIGUOUS
#define MORECORE_CONTIGUOUS 1
#endif /* MORECORE_CONTIGUOUS */
#endif /* HAVE_MORECORE */
#ifndef DEFAULT_GRANULARITY
#if (MORECORE_CONTIGUOUS || defined(WIN32))
#define DEFAULT_GRANULARITY (0) /* 0 means to compute in init_mparams */
#else /* MORECORE_CONTIGUOUS */
#define DEFAULT_GRANULARITY ((size_t)64U * (size_t)1024U)
#endif /* MORECORE_CONTIGUOUS */
#endif /* DEFAULT_GRANULARITY */
#ifndef DEFAULT_TRIM_THRESHOLD
#ifndef MORECORE_CANNOT_TRIM
#define DEFAULT_TRIM_THRESHOLD ((size_t)2U * (size_t)1024U * (size_t)1024U)
#else /* MORECORE_CANNOT_TRIM */
#define DEFAULT_TRIM_THRESHOLD MAX_SIZE_T
#endif /* MORECORE_CANNOT_TRIM */
#endif /* DEFAULT_TRIM_THRESHOLD */
#ifndef DEFAULT_MMAP_THRESHOLD
#if HAVE_MMAP
#define DEFAULT_MMAP_THRESHOLD ((size_t)256U * (size_t)1024U)
#else /* HAVE_MMAP */
#define DEFAULT_MMAP_THRESHOLD MAX_SIZE_T
#endif /* HAVE_MMAP */
#endif /* DEFAULT_MMAP_THRESHOLD */
#ifndef MAX_RELEASE_CHECK_RATE
#if HAVE_MMAP
#define MAX_RELEASE_CHECK_RATE 4095
#else
#define MAX_RELEASE_CHECK_RATE MAX_SIZE_T
#endif /* HAVE_MMAP */
#endif /* MAX_RELEASE_CHECK_RATE */
#ifndef USE_BUILTIN_FFS
#define USE_BUILTIN_FFS 0
#endif /* USE_BUILTIN_FFS */
#ifndef USE_DEV_RANDOM
#define USE_DEV_RANDOM 0
#endif /* USE_DEV_RANDOM */
#ifndef NO_MALLINFO
#define NO_MALLINFO 0
#endif /* NO_MALLINFO */
#ifndef MALLINFO_FIELD_TYPE
#define MALLINFO_FIELD_TYPE size_t
#endif /* MALLINFO_FIELD_TYPE */
#ifndef NO_MALLOC_STATS
#define NO_MALLOC_STATS 0
#endif /* NO_MALLOC_STATS */
#ifndef NO_SEGMENT_TRAVERSAL
#define NO_SEGMENT_TRAVERSAL 0
#endif /* NO_SEGMENT_TRAVERSAL */
/*
mallopt tuning options. SVID/XPG defines four standard parameter
numbers for mallopt, normally defined in malloc.h. None of these
are used in this malloc, so setting them has no effect. But this
malloc does support the following options.
*/
#undef M_TRIM_THRESHOLD
#undef M_GRANULARITY
#undef M_MMAP_THRESHOLD
#define M_TRIM_THRESHOLD (-1)
#define M_GRANULARITY (-2)
#define M_MMAP_THRESHOLD (-3)
/* ------------------------ Mallinfo declarations ------------------------ */
#if !NO_MALLINFO
/*
This version of malloc supports the standard SVID/XPG mallinfo
routine that returns a struct containing usage properties and
statistics. It should work on any system that has a
/usr/include/malloc.h defining struct mallinfo. The main
declaration needed is the mallinfo struct that is returned (by-copy)
by mallinfo(). The malloinfo struct contains a bunch of fields that
are not even meaningful in this version of malloc. These fields are
are instead filled by mallinfo() with other numbers that might be of
interest.
HAVE_USR_INCLUDE_MALLOC_H should be set if you have a
/usr/include/malloc.h file that includes a declaration of struct
mallinfo. If so, it is included; else a compliant version is
declared below. These must be precisely the same for mallinfo() to
work. The original SVID version of this struct, defined on most
systems with mallinfo, declares all fields as ints. But some others
define as unsigned long. If your system defines the fields using a
type of different width than listed here, you MUST #include your
system version and #define HAVE_USR_INCLUDE_MALLOC_H.
*/
/* #define HAVE_USR_INCLUDE_MALLOC_H */
#ifdef HAVE_USR_INCLUDE_MALLOC_H
#include "/usr/include/malloc.h"
#else /* HAVE_USR_INCLUDE_MALLOC_H */
#ifndef STRUCT_MALLINFO_DECLARED
/* HP-UX (and others?) redefines mallinfo unless _STRUCT_MALLINFO is defined */
#define _STRUCT_MALLINFO
#define STRUCT_MALLINFO_DECLARED 1
struct mallinfo {
MALLINFO_FIELD_TYPE arena; /* non-mmapped space allocated from system */
MALLINFO_FIELD_TYPE ordblks; /* number of free chunks */
MALLINFO_FIELD_TYPE smblks; /* always 0 */
MALLINFO_FIELD_TYPE hblks; /* always 0 */
MALLINFO_FIELD_TYPE hblkhd; /* space in mmapped regions */
MALLINFO_FIELD_TYPE usmblks; /* maximum total allocated space */
MALLINFO_FIELD_TYPE fsmblks; /* always 0 */
MALLINFO_FIELD_TYPE uordblks; /* total allocated space */
MALLINFO_FIELD_TYPE fordblks; /* total free space */
MALLINFO_FIELD_TYPE keepcost; /* releasable (via malloc_trim) space */
};
#endif /* STRUCT_MALLINFO_DECLARED */
#endif /* HAVE_USR_INCLUDE_MALLOC_H */
#endif /* NO_MALLINFO */
/*
Try to persuade compilers to inline. The most critical functions for
inlining are defined as macros, so these aren't used for them.
*/
#ifndef FORCEINLINE
#if defined(__GNUC__)
#define FORCEINLINE __inline __attribute__ ((always_inline))
#elif defined(_MSC_VER)
#define FORCEINLINE __forceinline
#endif
#endif
#ifndef NOINLINE
#if defined(__GNUC__)
#define NOINLINE __attribute__ ((noinline))
#elif defined(_MSC_VER)
#define NOINLINE __declspec(noinline)
#else
#define NOINLINE
#endif
#endif
#ifdef __cplusplus
extern "C" {
#ifndef FORCEINLINE
#define FORCEINLINE inline
#endif
#endif /* __cplusplus */
#ifndef FORCEINLINE
#define FORCEINLINE
#endif
#if !ONLY_MSPACES
/* ------------------- Declarations of public routines ------------------- */
#ifndef USE_DL_PREFIX
#define dlcalloc calloc
#define dlfree free
#define dlmalloc malloc
#define dlmemalign memalign
#define dlposix_memalign posix_memalign
#define dlrealloc realloc
#define dlrealloc_in_place realloc_in_place
#define dlvalloc valloc
#define dlpvalloc pvalloc
#define dlmallinfo mallinfo
#define dlmallopt mallopt
#define dlmalloc_trim malloc_trim
#define dlmalloc_stats malloc_stats
#define dlmalloc_usable_size malloc_usable_size
#define dlmalloc_footprint malloc_footprint
#define dlmalloc_max_footprint malloc_max_footprint
#define dlmalloc_footprint_limit malloc_footprint_limit
#define dlmalloc_set_footprint_limit malloc_set_footprint_limit
#define dlmalloc_inspect_all malloc_inspect_all
#define dlindependent_calloc independent_calloc
#define dlindependent_comalloc independent_comalloc
#define dlbulk_free bulk_free
#endif /* USE_DL_PREFIX */
/*
malloc(size_t n)
Returns a pointer to a newly allocated chunk of at least n bytes, or
null if no space is available, in which case errno is set to ENOMEM
on ANSI C systems.
If n is zero, malloc returns a minimum-sized chunk. (The minimum
size is 16 bytes on most 32bit systems, and 32 bytes on 64bit
systems.) Note that size_t is an unsigned type, so calls with
arguments that would be negative if signed are interpreted as
requests for huge amounts of space, which will often fail. The
maximum supported value of n differs across systems, but is in all
cases less than the maximum representable value of a size_t.
*/
DLMALLOC_EXPORT void* dlmalloc(size_t);
/*
free(void* p)
Releases the chunk of memory pointed to by p, that had been previously
allocated using malloc or a related routine such as realloc.
It has no effect if p is null. If p was not malloced or already
freed, free(p) will by default cause the current program to abort.
*/
DLMALLOC_EXPORT void dlfree(void*);
/*
calloc(size_t n_elements, size_t element_size);
Returns a pointer to n_elements * element_size bytes, with all locations
set to zero.
*/
DLMALLOC_EXPORT void* dlcalloc(size_t, size_t);
/*
realloc(void* p, size_t n)
Returns a pointer to a chunk of size n that contains the same data
as does chunk p up to the minimum of (n, p's size) bytes, or null
if no space is available.
The returned pointer may or may not be the same as p. The algorithm
prefers extending p in most cases when possible, otherwise it
employs the equivalent of a malloc-copy-free sequence.
If p is null, realloc is equivalent to malloc.
If space is not available, realloc returns null, errno is set (if on
ANSI) and p is NOT freed.
if n is for fewer bytes than already held by p, the newly unused
space is lopped off and freed if possible. realloc with a size
argument of zero (re)allocates a minimum-sized chunk.
The old unix realloc convention of allowing the last-free'd chunk
to be used as an argument to realloc is not supported.
*/
DLMALLOC_EXPORT void* dlrealloc(void*, size_t);
/*
realloc_in_place(void* p, size_t n)
Resizes the space allocated for p to size n, only if this can be
done without moving p (i.e., only if there is adjacent space
available if n is greater than p's current allocated size, or n is
less than or equal to p's size). This may be used instead of plain
realloc if an alternative allocation strategy is needed upon failure
to expand space; for example, reallocation of a buffer that must be
memory-aligned or cleared. You can use realloc_in_place to trigger
these alternatives only when needed.
Returns p if successful; otherwise null.
*/
DLMALLOC_EXPORT void* dlrealloc_in_place(void*, size_t);
/*
memalign(size_t alignment, size_t n);
Returns a pointer to a newly allocated chunk of n bytes, aligned
in accord with the alignment argument.
The alignment argument should be a power of two. If the argument is
not a power of two, the nearest greater power is used.
8-byte alignment is guaranteed by normal malloc calls, so don't
bother calling memalign with an argument of 8 or less.
Overreliance on memalign is a sure way to fragment space.
*/
DLMALLOC_EXPORT void* dlmemalign(size_t, size_t);
/*
int posix_memalign(void** pp, size_t alignment, size_t n);
Allocates a chunk of n bytes, aligned in accord with the alignment
argument. Differs from memalign only in that it (1) assigns the
allocated memory to *pp rather than returning it, (2) fails and
returns EINVAL if the alignment is not a power of two (3) fails and
returns ENOMEM if memory cannot be allocated.
*/
DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t);
/*
valloc(size_t n);
Equivalent to memalign(pagesize, n), where pagesize is the page
size of the system. If the pagesize is unknown, 4096 is used.
*/
DLMALLOC_EXPORT void* dlvalloc(size_t);
/*
mallopt(int parameter_number, int parameter_value)
Sets tunable parameters The format is to provide a
(parameter-number, parameter-value) pair. mallopt then sets the
corresponding parameter to the argument value if it can (i.e., so
long as the value is meaningful), and returns 1 if successful else
0. To workaround the fact that mallopt is specified to use int,
not size_t parameters, the value -1 is specially treated as the
maximum unsigned size_t value.
SVID/XPG/ANSI defines four standard param numbers for mallopt,
normally defined in malloc.h. None of these are use in this malloc,
so setting them has no effect. But this malloc also supports other
options in mallopt. See below for details. Briefly, supported
parameters are as follows (listed defaults are for "typical"
configurations).
Symbol param # default allowed param values
M_TRIM_THRESHOLD -1 2*1024*1024 any (-1 disables)
M_GRANULARITY -2 page size any power of 2 >= page size
M_MMAP_THRESHOLD -3 256*1024 any (or 0 if no MMAP support)
*/
DLMALLOC_EXPORT int dlmallopt(int, int);
/*
malloc_footprint();
Returns the number of bytes obtained from the system. The total
number of bytes allocated by malloc, realloc etc., is less than this
value. Unlike mallinfo, this function returns only a precomputed
result, so can be called frequently to monitor memory consumption.
Even if locks are otherwise defined, this function does not use them,
so results might not be up to date.
*/
DLMALLOC_EXPORT size_t dlmalloc_footprint(void);
/*
malloc_max_footprint();
Returns the maximum number of bytes obtained from the system. This
value will be greater than current footprint if deallocated space
has been reclaimed by the system. The peak number of bytes allocated
by malloc, realloc etc., is less than this value. Unlike mallinfo,
this function returns only a precomputed result, so can be called
frequently to monitor memory consumption. Even if locks are
otherwise defined, this function does not use them, so results might
not be up to date.
*/
DLMALLOC_EXPORT size_t dlmalloc_max_footprint(void);
/*
malloc_footprint_limit();
Returns the number of bytes that the heap is allowed to obtain from
the system, returning the last value returned by
malloc_set_footprint_limit, or the maximum size_t value if
never set. The returned value reflects a permission. There is no
guarantee that this number of bytes can actually be obtained from
the system.
*/
DLMALLOC_EXPORT size_t dlmalloc_footprint_limit();
/*
malloc_set_footprint_limit();
Sets the maximum number of bytes to obtain from the system, causing
failure returns from malloc and related functions upon attempts to
exceed this value. The argument value may be subject to page
rounding to an enforceable limit; this actual value is returned.
Using an argument of the maximum possible size_t effectively
disables checks. If the argument is less than or equal to the
current malloc_footprint, then all future allocations that require
additional system memory will fail. However, invocation cannot
retroactively deallocate existing used memory.
*/
DLMALLOC_EXPORT size_t dlmalloc_set_footprint_limit(size_t bytes);
#if MALLOC_INSPECT_ALL
/*
malloc_inspect_all(void(*handler)(void *start,
void *end,
size_t used_bytes,
void* callback_arg),
void* arg);
Traverses the heap and calls the given handler for each managed
region, skipping all bytes that are (or may be) used for bookkeeping
purposes. Traversal does not include include chunks that have been
directly memory mapped. Each reported region begins at the start
address, and continues up to but not including the end address. The
first used_bytes of the region contain allocated data. If
used_bytes is zero, the region is unallocated. The handler is
invoked with the given callback argument. If locks are defined, they
are held during the entire traversal. It is a bad idea to invoke
other malloc functions from within the handler.
For example, to count the number of in-use chunks with size greater
than 1000, you could write:
static int count = 0;
void count_chunks(void* start, void* end, size_t used, void* arg) {
if (used >= 1000) ++count;
}
then:
malloc_inspect_all(count_chunks, NULL);
malloc_inspect_all is compiled only if MALLOC_INSPECT_ALL is defined.
*/
DLMALLOC_EXPORT void dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*),
void* arg);
#endif /* MALLOC_INSPECT_ALL */
#if !NO_MALLINFO
/*
mallinfo()
Returns (by copy) a struct containing various summary statistics:
arena: current total non-mmapped bytes allocated from system
ordblks: the number of free chunks
smblks: always zero.
hblks: current number of mmapped regions
hblkhd: total bytes held in mmapped regions
usmblks: the maximum total allocated space. This will be greater
than current total if trimming has occurred.
fsmblks: always zero
uordblks: current total allocated space (normal or mmapped)
fordblks: total free space
keepcost: the maximum number of bytes that could ideally be released
back to system via malloc_trim. ("ideally" means that
it ignores page restrictions etc.)
Because these fields are ints, but internal bookkeeping may
be kept as longs, the reported values may wrap around zero and
thus be inaccurate.
*/
DLMALLOC_EXPORT struct mallinfo dlmallinfo(void);
#endif /* NO_MALLINFO */
/*
independent_calloc(size_t n_elements, size_t element_size, void* chunks[]);
independent_calloc is similar to calloc, but instead of returning a
single cleared space, it returns an array of pointers to n_elements
independent elements that can hold contents of size elem_size, each
of which starts out cleared, and can be independently freed,
realloc'ed etc. The elements are guaranteed to be adjacently
allocated (this is not guaranteed to occur with multiple callocs or
mallocs), which may also improve cache locality in some
applications.
The "chunks" argument is optional (i.e., may be null, which is
probably the most typical usage). If it is null, the returned array
is itself dynamically allocated and should also be freed when it is
no longer needed. Otherwise, the chunks array must be of at least
n_elements in length. It is filled in with the pointers to the
chunks.
In either case, independent_calloc returns this pointer array, or
null if the allocation failed. If n_elements is zero and "chunks"
is null, it returns a chunk representing an array with zero elements
(which should be freed if not wanted).
Each element must be freed when it is no longer needed. This can be
done all at once using bulk_free.
independent_calloc simplifies and speeds up implementations of many
kinds of pools. It may also be useful when constructing large data
structures that initially have a fixed number of fixed-sized nodes,
but the number is not known at compile time, and some of the nodes
may later need to be freed. For example:
struct Node { int item; struct Node* next; };
struct Node* build_list() {
struct Node** pool;
int n = read_number_of_nodes_needed();
if (n <= 0) return 0;
pool = (struct Node**)(independent_calloc(n, sizeof(struct Node), 0);
if (pool == 0) die();
// organize into a linked list...
struct Node* first = pool[0];
for (i = 0; i < n-1; ++i)
pool[i]->next = pool[i+1];
free(pool); // Can now free the array (or not, if it is needed later)
return first;
}
*/
DLMALLOC_EXPORT void** dlindependent_calloc(size_t, size_t, void**);
/*
independent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]);
independent_comalloc allocates, all at once, a set of n_elements
chunks with sizes indicated in the "sizes" array. It returns
an array of pointers to these elements, each of which can be
independently freed, realloc'ed etc. The elements are guaranteed to
be adjacently allocated (this is not guaranteed to occur with
multiple callocs or mallocs), which may also improve cache locality
in some applications.
The "chunks" argument is optional (i.e., may be null). If it is null
the returned array is itself dynamically allocated and should also
be freed when it is no longer needed. Otherwise, the chunks array
must be of at least n_elements in length. It is filled in with the
pointers to the chunks.
In either case, independent_comalloc returns this pointer array, or
null if the allocation failed. If n_elements is zero and chunks is
null, it returns a chunk representing an array with zero elements
(which should be freed if not wanted).
Each element must be freed when it is no longer needed. This can be
done all at once using bulk_free.
independent_comallac differs from independent_calloc in that each
element may have a different size, and also that it does not
automatically clear elements.
independent_comalloc can be used to speed up allocation in cases
where several structs or objects must always be allocated at the
same time. For example:
struct Head { ... }
struct Foot { ... }
void send_message(char* msg) {
int msglen = strlen(msg);
size_t sizes[3] = { sizeof(struct Head), msglen, sizeof(struct Foot) };
void* chunks[3];
if (independent_comalloc(3, sizes, chunks) == 0)
die();
struct Head* head = (struct Head*)(chunks[0]);
char* body = (char*)(chunks[1]);
struct Foot* foot = (struct Foot*)(chunks[2]);
// ...
}
In general though, independent_comalloc is worth using only for
larger values of n_elements. For small values, you probably won't
detect enough difference from series of malloc calls to bother.
Overuse of independent_comalloc can increase overall memory usage,
since it cannot reuse existing noncontiguous small chunks that
might be available for some of the elements.
*/
DLMALLOC_EXPORT void** dlindependent_comalloc(size_t, size_t*, void**);
/*
bulk_free(void* array[], size_t n_elements)
Frees and clears (sets to null) each non-null pointer in the given
array. This is likely to be faster than freeing them one-by-one.
If footers are used, pointers that have been allocated in different
mspaces are not freed or cleared, and the count of all such pointers
is returned. For large arrays of pointers with poor locality, it
may be worthwhile to sort this array before calling bulk_free.
*/
DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
/*
pvalloc(size_t n);
Equivalent to valloc(minimum-page-that-holds(n)), that is,
round up n to nearest pagesize.
*/
DLMALLOC_EXPORT void* dlpvalloc(size_t);
/*
malloc_trim(size_t pad);
If possible, gives memory back to the system (via negative arguments
to sbrk) if there is unused memory at the `high' end of the malloc
pool or in unused MMAP segments. You can call this after freeing
large blocks of memory to potentially reduce the system-level memory
requirements of a program. However, it cannot guarantee to reduce
memory. Under some allocation patterns, some large free blocks of
memory will be locked between two used chunks, so they cannot be
given back to the system.
The `pad' argument to malloc_trim represents the amount of free
trailing space to leave untrimmed. If this argument is zero, only
the minimum amount of memory to maintain internal data structures
will be left. Non-zero arguments can be supplied to maintain enough
trailing space to service future expected allocations without having
to re-obtain memory from the system.
Malloc_trim returns 1 if it actually released any memory, else 0.
*/
DLMALLOC_EXPORT int dlmalloc_trim(size_t);
/*
malloc_stats();
Prints on stderr the amount of space obtained from the system (both
via sbrk and mmap), the maximum amount (which may be more than
current if malloc_trim and/or munmap got called), and the current
number of bytes allocated via malloc (or realloc, etc) but not yet
freed. Note that this is the number of bytes allocated, not the
number requested. It will be larger than the number requested
because of alignment and bookkeeping overhead. Because it includes
alignment wastage as being in use, this figure may be greater than
zero even when no user-level chunks are allocated.
The reported current and maximum system memory can be inaccurate if
a program makes other calls to system memory allocation functions
(normally sbrk) outside of malloc.
malloc_stats prints only the most commonly interesting statistics.
More information can be obtained by calling mallinfo.
*/
DLMALLOC_EXPORT void dlmalloc_stats(void);
/*
malloc_usable_size(void* p);
Returns the number of bytes you can actually use in
an allocated chunk, which may be more than you requested (although
often not) due to alignment and minimum size constraints.
You can use this many bytes without worrying about
overwriting other allocated objects. This is not a particularly great
programming practice. malloc_usable_size can be more useful in
debugging and assertions, for example:
p = malloc(n);
assert(malloc_usable_size(p) >= 256);
*/
size_t dlmalloc_usable_size(void*);
#endif /* ONLY_MSPACES */
#if MSPACES
/*
mspace is an opaque type representing an independent
region of space that supports mspace_malloc, etc.
*/
typedef void* mspace;
/*
create_mspace creates and returns a new independent space with the
given initial capacity, or, if 0, the default granularity size. It
returns null if there is no system memory available to create the
space. If argument locked is non-zero, the space uses a separate
lock to control access. The capacity of the space will grow
dynamically as needed to service mspace_malloc requests. You can
control the sizes of incremental increases of this space by
compiling with a different DEFAULT_GRANULARITY or dynamically
setting with mallopt(M_GRANULARITY, value).
*/
DLMALLOC_EXPORT mspace create_mspace(size_t capacity, int locked);
/*
destroy_mspace destroys the given space, and attempts to return all
of its memory back to the system, returning the total number of
bytes freed. After destruction, the results of access to all memory
used by the space become undefined.
*/
DLMALLOC_EXPORT size_t destroy_mspace(mspace msp);
/*
create_mspace_with_base uses the memory supplied as the initial base
of a new mspace. Part (less than 128*sizeof(size_t) bytes) of this
space is used for bookkeeping, so the capacity must be at least this
large. (Otherwise 0 is returned.) When this initial space is
exhausted, additional memory will be obtained from the system.
Destroying this space will deallocate all additionally allocated
space (if possible) but not the initial base.
*/
DLMALLOC_EXPORT mspace create_mspace_with_base(void* base, size_t capacity, int locked);
/*
mspace_track_large_chunks controls whether requests for large chunks
are allocated in their own untracked mmapped regions, separate from
others in this mspace. By default large chunks are not tracked,
which reduces fragmentation. However, such chunks are not
necessarily released to the system upon destroy_mspace. Enabling
tracking by setting to true may increase fragmentation, but avoids
leakage when relying on destroy_mspace to release all memory
allocated using this space. The function returns the previous
setting.
*/
DLMALLOC_EXPORT int mspace_track_large_chunks(mspace msp, int enable);
/*
mspace_malloc behaves as malloc, but operates within
the given space.
*/
DLMALLOC_EXPORT void* mspace_malloc(mspace msp, size_t bytes);
/*
mspace_free behaves as free, but operates within
the given space.
If compiled with FOOTERS==1, mspace_free is not actually needed.
free may be called instead of mspace_free because freed chunks from
any space are handled by their originating spaces.
*/
DLMALLOC_EXPORT void mspace_free(mspace msp, void* mem);
/*
mspace_realloc behaves as realloc, but operates within
the given space.
If compiled with FOOTERS==1, mspace_realloc is not actually
needed. realloc may be called instead of mspace_realloc because
realloced chunks from any space are handled by their originating
spaces.
*/
DLMALLOC_EXPORT void* mspace_realloc(mspace msp, void* mem, size_t newsize);
/*
mspace_calloc behaves as calloc, but operates within
the given space.
*/
DLMALLOC_EXPORT void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
/*
mspace_memalign behaves as memalign, but operates within
the given space.
*/
DLMALLOC_EXPORT void* mspace_memalign(mspace msp, size_t alignment, size_t bytes);
/*
mspace_independent_calloc behaves as independent_calloc, but
operates within the given space.
*/
DLMALLOC_EXPORT void** mspace_independent_calloc(mspace msp, size_t n_elements,
size_t elem_size, void* chunks[]);
/*
mspace_independent_comalloc behaves as independent_comalloc, but
operates within the given space.
*/
DLMALLOC_EXPORT void** mspace_independent_comalloc(mspace msp, size_t n_elements,
size_t sizes[], void* chunks[]);
/*
mspace_footprint() returns the number of bytes obtained from the
system for this space.
*/
DLMALLOC_EXPORT size_t mspace_footprint(mspace msp);
/*
mspace_max_footprint() returns the peak number of bytes obtained from the
system for this space.
*/
DLMALLOC_EXPORT size_t mspace_max_footprint(mspace msp);
#if !NO_MALLINFO
/*
mspace_mallinfo behaves as mallinfo, but reports properties of
the given space.
*/
DLMALLOC_EXPORT struct mallinfo mspace_mallinfo(mspace msp);
#endif /* NO_MALLINFO */
/*
malloc_usable_size(void* p) behaves the same as malloc_usable_size;
*/
DLMALLOC_EXPORT size_t mspace_usable_size(const void* mem);
/*
mspace_malloc_stats behaves as malloc_stats, but reports
properties of the given space.
*/
DLMALLOC_EXPORT void mspace_malloc_stats(mspace msp);
/*
mspace_trim behaves as malloc_trim, but
operates within the given space.
*/
DLMALLOC_EXPORT int mspace_trim(mspace msp, size_t pad);
/*
An alias for mallopt.
*/
DLMALLOC_EXPORT int mspace_mallopt(int, int);
#endif /* MSPACES */
#ifdef __cplusplus
} /* end of extern "C" */
#endif /* __cplusplus */
/*
========================================================================
To make a fully customizable malloc.h header file, cut everything
above this line, put into file malloc.h, edit to suit, and #include it
on the next line, as well as in programs that use this malloc.
========================================================================
*/
/* #include "malloc.h" */
/*------------------------------ internal #includes ---------------------- */
#ifdef _MSC_VER
#pragma warning( disable : 4146 ) /* no "unsigned" warnings */
#endif /* _MSC_VER */
#if !NO_MALLOC_STATS
#include <stdio.h> /* for printing in malloc_stats */
#endif /* NO_MALLOC_STATS */
#ifndef LACKS_ERRNO_H
#include <errno.h> /* for MALLOC_FAILURE_ACTION */
#endif /* LACKS_ERRNO_H */
#ifdef DEBUG
#if ABORT_ON_ASSERT_FAILURE
#undef assert
#define assert(x) if(!(x)) ABORT
#else /* ABORT_ON_ASSERT_FAILURE */
#include <assert.h>
#endif /* ABORT_ON_ASSERT_FAILURE */
#else /* DEBUG */
#ifndef assert
#define assert(x)
#endif
#define DEBUG 0
#endif /* DEBUG */
#if !defined(WIN32) && !defined(LACKS_TIME_H)
#include <time.h> /* for magic initialization */
#endif /* WIN32 */
#ifndef LACKS_STDLIB_H
#include <stdlib.h> /* for abort() */
#endif /* LACKS_STDLIB_H */
#ifndef LACKS_STRING_H
#include <string.h> /* for memset etc */
#endif /* LACKS_STRING_H */
#if USE_BUILTIN_FFS
#ifndef LACKS_STRINGS_H
#include <strings.h> /* for ffs */
#endif /* LACKS_STRINGS_H */
#endif /* USE_BUILTIN_FFS */
#if HAVE_MMAP
#ifndef LACKS_SYS_MMAN_H
/* On some versions of linux, mremap decl in mman.h needs __USE_GNU set */
#if (defined(linux) && !defined(__USE_GNU))
#define __USE_GNU 1
#include <sys/mman.h> /* for mmap */
#undef __USE_GNU
#else
#include <sys/mman.h> /* for mmap */
#endif /* linux */
#endif /* LACKS_SYS_MMAN_H */
#ifndef LACKS_FCNTL_H
#include <fcntl.h>
#endif /* LACKS_FCNTL_H */
#endif /* HAVE_MMAP */
#ifndef LACKS_UNISTD_H
#include <unistd.h> /* for sbrk, sysconf */
#else /* LACKS_UNISTD_H */
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
extern void* sbrk(ptrdiff_t);
#endif /* FreeBSD etc */
#endif /* LACKS_UNISTD_H */
/* Declarations for locking */
#if USE_LOCKS
#ifndef WIN32
#if defined (__SVR4) && defined (__sun) /* solaris */
#include <thread.h>
#elif !defined(LACKS_SCHED_H)
#include <sched.h>
#endif /* solaris or LACKS_SCHED_H */
#if (defined(USE_RECURSIVE_LOCKS) && USE_RECURSIVE_LOCKS != 0) || !USE_SPIN_LOCKS
#include <pthread.h>
#endif /* USE_RECURSIVE_LOCKS ... */
#elif defined(_MSC_VER)
#ifndef _M_AMD64
/* These are already defined on AMD64 builds */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
LONG __cdecl _InterlockedCompareExchange(LONG volatile *Dest, LONG Exchange, LONG Comp);
LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _M_AMD64 */
#pragma intrinsic (_InterlockedCompareExchange)
#pragma intrinsic (_InterlockedExchange)
#define interlockedcompareexchange _InterlockedCompareExchange
#define interlockedexchange _InterlockedExchange
#elif defined(WIN32) && defined(__GNUC__)
#define interlockedcompareexchange(a, b, c) __sync_val_compare_and_swap(a, c, b)
#define interlockedexchange __sync_lock_test_and_set
#endif /* Win32 */
#else /* USE_LOCKS */
#endif /* USE_LOCKS */
#ifndef LOCK_AT_FORK
#define LOCK_AT_FORK 0
#endif
/* Declarations for bit scanning on win32 */
#if defined(_MSC_VER) && _MSC_VER>=1300
#ifndef BitScanForward /* Try to avoid pulling in WinNT.h */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
unsigned char _BitScanForward(unsigned long *index, unsigned long mask);
unsigned char _BitScanReverse(unsigned long *index, unsigned long mask);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#define BitScanForward _BitScanForward
#define BitScanReverse _BitScanReverse
#pragma intrinsic(_BitScanForward)
#pragma intrinsic(_BitScanReverse)
#endif /* BitScanForward */
#endif /* defined(_MSC_VER) && _MSC_VER>=1300 */
#ifndef WIN32
#ifndef malloc_getpagesize
# ifdef _SC_PAGESIZE /* some SVR4 systems omit an underscore */
# ifndef _SC_PAGE_SIZE
# define _SC_PAGE_SIZE _SC_PAGESIZE
# endif
# endif
# ifdef _SC_PAGE_SIZE
# define malloc_getpagesize sysconf(_SC_PAGE_SIZE)
# else
# if defined(BSD) || defined(DGUX) || defined(HAVE_GETPAGESIZE)
extern size_t getpagesize();
# define malloc_getpagesize getpagesize()
# else
# ifdef WIN32 /* use supplied emulation of getpagesize */
# define malloc_getpagesize getpagesize()
# else
# ifndef LACKS_SYS_PARAM_H
# include <sys/param.h>
# endif
# ifdef EXEC_PAGESIZE
# define malloc_getpagesize EXEC_PAGESIZE
# else
# ifdef NBPG
# ifndef CLSIZE
# define malloc_getpagesize NBPG
# else
# define malloc_getpagesize (NBPG * CLSIZE)
# endif
# else
# ifdef NBPC
# define malloc_getpagesize NBPC
# else
# ifdef PAGESIZE
# define malloc_getpagesize PAGESIZE
# else /* just guess */
# define malloc_getpagesize ((size_t)4096U)
# endif
# endif
# endif
# endif
# endif
# endif
# endif
#endif
#endif
/* ------------------- size_t and alignment properties -------------------- */
/* The byte and bit size of a size_t */
#define SIZE_T_SIZE (sizeof(size_t))
#define SIZE_T_BITSIZE (sizeof(size_t) << 3)
/* Some constants coerced to size_t */
/* Annoying but necessary to avoid errors on some platforms */
#define SIZE_T_ZERO ((size_t)0)
#define SIZE_T_ONE ((size_t)1)
#define SIZE_T_TWO ((size_t)2)
#define SIZE_T_FOUR ((size_t)4)
#define TWO_SIZE_T_SIZES (SIZE_T_SIZE<<1)
#define FOUR_SIZE_T_SIZES (SIZE_T_SIZE<<2)
#define SIX_SIZE_T_SIZES (FOUR_SIZE_T_SIZES+TWO_SIZE_T_SIZES)
#define HALF_MAX_SIZE_T (MAX_SIZE_T / 2U)
/* The bit mask value corresponding to MALLOC_ALIGNMENT */
#define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
/* True if address a has acceptable alignment */
#define is_aligned(A) (((size_t)((A)) & (CHUNK_ALIGN_MASK)) == 0)
/* the number of bytes to offset an address to align it */
#define align_offset(A)\
((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :\
((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
/* -------------------------- MMAP preliminaries ------------------------- */
/*
If HAVE_MORECORE or HAVE_MMAP are false, we just define calls and
checks to fail so compiler optimizer can delete code rather than
using so many "#if"s.
*/
/* MORECORE and MMAP must return MFAIL on failure */
#define MFAIL ((void*)(MAX_SIZE_T))
#define CMFAIL ((char*)(MFAIL)) /* defined for convenience */
#if HAVE_MMAP
#ifndef WIN32
#define MMAP_PROT (PROT_READ|PROT_WRITE)
#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
#define MAP_ANONYMOUS MAP_ANON
#endif /* MAP_ANON */
#ifdef MAP_ANONYMOUS
#define MMAP_FLAGS (MAP_PRIVATE|MAP_ANONYMOUS)
static FORCEINLINE void* unixmmap(size_t size) {
void* result;
result = mmap(0, size, MMAP_PROT, MMAP_FLAGS, -1, 0);
if (result == MFAIL)
return MFAIL;
return result;
}
static FORCEINLINE int unixmunmap(void* ptr, size_t size) {
int result;
result = munmap(ptr, size);
if (result != 0)
return result;
return result;
}
#define MMAP_DEFAULT(s) unixmmap(s)
#define MUNMAP_DEFAULT(a, s) unixmunmap((a), (s))
#else /* MAP_ANONYMOUS */
/*
Nearly all versions of mmap support MAP_ANONYMOUS, so the following
is unlikely to be needed, but is supplied just in case.
*/
#define MMAP_FLAGS (MAP_PRIVATE)
static int dev_zero_fd = -1; /* Cached file descriptor for /dev/zero. */
#define MMAP_DEFAULT(s) ((dev_zero_fd < 0) ? \
(dev_zero_fd = open("/dev/zero", O_RDWR), \
mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0)) : \
mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0))
#define MUNMAP_DEFAULT(a, s) munmap((a), (s))
#endif /* MAP_ANONYMOUS */
#define DIRECT_MMAP_DEFAULT(s) MMAP_DEFAULT(s)
#else /* WIN32 */
/* Win32 MMAP via VirtualAlloc */
static FORCEINLINE void* win32mmap(size_t size) {
void* ptr;
ptr = VirtualAlloc(0, size, MEM_RESERVE|MEM_COMMIT, PAGE_READWRITE);
if (ptr == 0)
return MFAIL;
return ptr;
}
/* For direct MMAP, use MEM_TOP_DOWN to minimize interference */
static FORCEINLINE void* win32direct_mmap(size_t size) {
void* ptr;
ptr = VirtualAlloc(0, size, MEM_RESERVE|MEM_COMMIT|MEM_TOP_DOWN,
PAGE_READWRITE);
if (ptr == 0)
return MFAIL;
return ptr;
}
/* This function supports releasing coalesed segments */
static FORCEINLINE int win32munmap(void* ptr, size_t size) {
MEMORY_BASIC_INFORMATION minfo;
char* cptr = (char*)ptr;
while (size) {
if (VirtualQuery(cptr, &minfo, sizeof(minfo)) == 0)
return -1;
if (minfo.BaseAddress != cptr || minfo.AllocationBase != cptr ||
minfo.State != MEM_COMMIT || minfo.RegionSize > size)
return -1;
if (VirtualFree(cptr, 0, MEM_RELEASE) == 0)
return -1;
cptr += minfo.RegionSize;
size -= minfo.RegionSize;
}
return 0;
}
#define MMAP_DEFAULT(s) win32mmap(s)
#define MUNMAP_DEFAULT(a, s) win32munmap((a), (s))
#define DIRECT_MMAP_DEFAULT(s) win32direct_mmap(s)
#endif /* WIN32 */
#endif /* HAVE_MMAP */
#if HAVE_MREMAP
#ifndef WIN32
static FORCEINLINE void* dlmremap(void* old_address, size_t old_size, size_t new_size, int flags) {
void* result;
result = mremap(old_address, old_size, new_size, flags);
if (result == MFAIL)
return MFAIL;
return result;
}
#define MREMAP_DEFAULT(addr, osz, nsz, mv) dlmremap((addr), (osz), (nsz), (mv))
#endif /* WIN32 */
#endif /* HAVE_MREMAP */
/**
* Define CALL_MORECORE
*/
#if HAVE_MORECORE
#ifdef MORECORE
#define CALL_MORECORE(S) MORECORE(S)
#else /* MORECORE */
#define CALL_MORECORE(S) MORECORE_DEFAULT(S)
#endif /* MORECORE */
#else /* HAVE_MORECORE */
#define CALL_MORECORE(S) MFAIL
#endif /* HAVE_MORECORE */
/**
* Define CALL_MMAP/CALL_MUNMAP/CALL_DIRECT_MMAP
*/
#if HAVE_MMAP
#define USE_MMAP_BIT (SIZE_T_ONE)
#ifdef MMAP
#define CALL_MMAP(s) MMAP(s)
#else /* MMAP */
#define CALL_MMAP(s) MMAP_DEFAULT(s)
#endif /* MMAP */
#ifdef MUNMAP
#define CALL_MUNMAP(a, s) MUNMAP((a), (s))
#else /* MUNMAP */
#define CALL_MUNMAP(a, s) MUNMAP_DEFAULT((a), (s))
#endif /* MUNMAP */
#ifdef DIRECT_MMAP
#define CALL_DIRECT_MMAP(s) DIRECT_MMAP(s)
#else /* DIRECT_MMAP */
#define CALL_DIRECT_MMAP(s) DIRECT_MMAP_DEFAULT(s)
#endif /* DIRECT_MMAP */
#else /* HAVE_MMAP */
#define USE_MMAP_BIT (SIZE_T_ZERO)
#define MMAP(s) MFAIL
#define MUNMAP(a, s) (-1)
#define DIRECT_MMAP(s) MFAIL
#define CALL_DIRECT_MMAP(s) DIRECT_MMAP(s)
#define CALL_MMAP(s) MMAP(s)
#define CALL_MUNMAP(a, s) MUNMAP((a), (s))
#endif /* HAVE_MMAP */
/**
* Define CALL_MREMAP
*/
#if HAVE_MMAP && HAVE_MREMAP
#ifdef MREMAP
#define CALL_MREMAP(addr, osz, nsz, mv) MREMAP((addr), (osz), (nsz), (mv))
#else /* MREMAP */
#define CALL_MREMAP(addr, osz, nsz, mv) MREMAP_DEFAULT((addr), (osz), (nsz), (mv))
#endif /* MREMAP */
#else /* HAVE_MMAP && HAVE_MREMAP */
#define CALL_MREMAP(addr, osz, nsz, mv) MFAIL
#endif /* HAVE_MMAP && HAVE_MREMAP */
/* mstate bit set if continguous morecore disabled or failed */
#define USE_NONCONTIGUOUS_BIT (4U)
/* segment bit set in create_mspace_with_base */
#define EXTERN_BIT (8U)
/* --------------------------- Lock preliminaries ------------------------ */
/*
When locks are defined, there is one global lock, plus
one per-mspace lock.
The global lock_ensures that mparams.magic and other unique
mparams values are initialized only once. It also protects
sequences of calls to MORECORE. In many cases sys_alloc requires
two calls, that should not be interleaved with calls by other
threads. This does not protect against direct calls to MORECORE
by other threads not using this lock, so there is still code to
cope the best we can on interference.
Per-mspace locks surround calls to malloc, free, etc.
By default, locks are simple non-reentrant mutexes.
Because lock-protected regions generally have bounded times, it is
OK to use the supplied simple spinlocks. Spinlocks are likely to
improve performance for lightly contended applications, but worsen
performance under heavy contention.
If USE_LOCKS is > 1, the definitions of lock routines here are
bypassed, in which case you will need to define the type MLOCK_T,
and at least INITIAL_LOCK, DESTROY_LOCK, ACQUIRE_LOCK, RELEASE_LOCK
and TRY_LOCK. You must also declare a
static MLOCK_T malloc_global_mutex = { initialization values };.
*/
#if !USE_LOCKS
#define USE_LOCK_BIT (0U)
#define INITIAL_LOCK(l) (0)
#define DESTROY_LOCK(l) (0)
#define ACQUIRE_MALLOC_GLOBAL_LOCK()
#define RELEASE_MALLOC_GLOBAL_LOCK()
#else
#if USE_LOCKS > 1
/* ----------------------- User-defined locks ------------------------ */
/* Define your own lock implementation here */
/* #define INITIAL_LOCK(lk) ... */
/* #define DESTROY_LOCK(lk) ... */
/* #define ACQUIRE_LOCK(lk) ... */
/* #define RELEASE_LOCK(lk) ... */
/* #define TRY_LOCK(lk) ... */
/* static MLOCK_T malloc_global_mutex = ... */
#elif USE_SPIN_LOCKS
/* First, define CAS_LOCK and CLEAR_LOCK on ints */
/* Note CAS_LOCK defined to return 0 on success */
#if defined(__GNUC__)&& (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
#define CAS_LOCK(sl) __sync_lock_test_and_set(sl, 1)
#define CLEAR_LOCK(sl) __sync_lock_release(sl)
#elif (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))
/* Custom spin locks for older gcc on x86 */
static FORCEINLINE int x86_cas_lock(int *sl) {
int ret;
int val = 1;
int cmp = 0;
__asm__ __volatile__ ("lock; cmpxchgl %1, %2"
: "=a" (ret)
: "r" (val), "m" (*(sl)), "0"(cmp)
: "memory", "cc");
return ret;
}
static FORCEINLINE void x86_clear_lock(int* sl) {
assert(*sl != 0);
int prev = 0;
int ret;
__asm__ __volatile__ ("lock; xchgl %0, %1"
: "=r" (ret)
: "m" (*(sl)), "0"(prev)
: "memory");
}
#define CAS_LOCK(sl) x86_cas_lock(sl)
#define CLEAR_LOCK(sl) x86_clear_lock(sl)
#else /* Win32 MSC */
#define CAS_LOCK(sl) interlockedexchange((volatile LONG *)sl, (LONG)1)
#define CLEAR_LOCK(sl) interlockedexchange((volatile LONG *)sl, (LONG)0)
#endif /* ... gcc spins locks ... */
/* How to yield for a spin lock */
#define SPINS_PER_YIELD 63
#if defined(_MSC_VER)
#define SLEEP_EX_DURATION 50 /* delay for yield/sleep */
#define SPIN_LOCK_YIELD SleepEx(SLEEP_EX_DURATION, FALSE)
#elif defined (__SVR4) && defined (__sun) /* solaris */
#define SPIN_LOCK_YIELD thr_yield();
#elif !defined(LACKS_SCHED_H)
#define SPIN_LOCK_YIELD sched_yield();
#else
#define SPIN_LOCK_YIELD
#endif /* ... yield ... */
#if !defined(USE_RECURSIVE_LOCKS) || USE_RECURSIVE_LOCKS == 0
/* Plain spin locks use single word (embedded in malloc_states) */
static int spin_acquire_lock(int *sl) {
int spins = 0;
while (*(volatile int *)sl != 0 || CAS_LOCK(sl)) {
if ((++spins & SPINS_PER_YIELD) == 0) {
SPIN_LOCK_YIELD;
}
}
return 0;
}
#define MLOCK_T int
#define TRY_LOCK(sl) !CAS_LOCK(sl)
#define RELEASE_LOCK(sl) CLEAR_LOCK(sl)
#define ACQUIRE_LOCK(sl) (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
#define INITIAL_LOCK(sl) (*sl = 0)
#define DESTROY_LOCK(sl) (0)
static MLOCK_T malloc_global_mutex = 0;
#else /* USE_RECURSIVE_LOCKS */
/* types for lock owners */
#ifdef WIN32
#define THREAD_ID_T DWORD
#define CURRENT_THREAD GetCurrentThreadId()
#define EQ_OWNER(X,Y) ((X) == (Y))
#else
/*
Note: the following assume that pthread_t is a type that can be
initialized to (casted) zero. If this is not the case, you will need to
somehow redefine these or not use spin locks.
*/
#define THREAD_ID_T pthread_t
#define CURRENT_THREAD pthread_self()
#define EQ_OWNER(X,Y) pthread_equal(X, Y)
#endif
struct malloc_recursive_lock {
int sl;
unsigned int c;
THREAD_ID_T threadid;
};
#define MLOCK_T struct malloc_recursive_lock
static MLOCK_T malloc_global_mutex = { 0, 0, (THREAD_ID_T)0};
static FORCEINLINE void recursive_release_lock(MLOCK_T *lk) {
assert(lk->sl != 0);
if (--lk->c == 0) {
CLEAR_LOCK(&lk->sl);
}
}
static FORCEINLINE int recursive_acquire_lock(MLOCK_T *lk) {
THREAD_ID_T mythreadid = CURRENT_THREAD;
int spins = 0;
for (;;) {
if (*((volatile int *)(&lk->sl)) == 0) {
if (!CAS_LOCK(&lk->sl)) {
lk->threadid = mythreadid;
lk->c = 1;
return 0;
}
}
else if (EQ_OWNER(lk->threadid, mythreadid)) {
++lk->c;
return 0;
}
if ((++spins & SPINS_PER_YIELD) == 0) {
SPIN_LOCK_YIELD;
}
}
}
static FORCEINLINE int recursive_try_lock(MLOCK_T *lk) {
THREAD_ID_T mythreadid = CURRENT_THREAD;
if (*((volatile int *)(&lk->sl)) == 0) {
if (!CAS_LOCK(&lk->sl)) {
lk->threadid = mythreadid;
lk->c = 1;
return 1;
}
}
else if (EQ_OWNER(lk->threadid, mythreadid)) {
++lk->c;
return 1;
}
return 0;
}
#define RELEASE_LOCK(lk) recursive_release_lock(lk)
#define TRY_LOCK(lk) recursive_try_lock(lk)
#define ACQUIRE_LOCK(lk) recursive_acquire_lock(lk)
#define INITIAL_LOCK(lk) ((lk)->threadid = (THREAD_ID_T)0, (lk)->sl = 0, (lk)->c = 0)
#define DESTROY_LOCK(lk) (0)
#endif /* USE_RECURSIVE_LOCKS */
#elif defined(WIN32) /* Win32 critical sections */
#define MLOCK_T CRITICAL_SECTION
#define ACQUIRE_LOCK(lk) (EnterCriticalSection(lk), 0)
#define RELEASE_LOCK(lk) LeaveCriticalSection(lk)
#define TRY_LOCK(lk) TryEnterCriticalSection(lk)
#define INITIAL_LOCK(lk) (!InitializeCriticalSectionAndSpinCount((lk), 0x80000000|4000))
#define DESTROY_LOCK(lk) (DeleteCriticalSection(lk), 0)
#define NEED_GLOBAL_LOCK_INIT
static MLOCK_T malloc_global_mutex;
static volatile LONG malloc_global_mutex_status;
/* Use spin loop to initialize global lock */
static void init_malloc_global_mutex() {
for (;;) {
long stat = malloc_global_mutex_status;
if (stat > 0)
return;
/* transition to < 0 while initializing, then to > 0) */
if (stat == 0 &&
interlockedcompareexchange(&malloc_global_mutex_status, (LONG)-1, (LONG)0) == 0) {
InitializeCriticalSection(&malloc_global_mutex);
interlockedexchange(&malloc_global_mutex_status, (LONG)1);
return;
}
SleepEx(0, FALSE);
}
}
#else /* pthreads-based locks */
#define MLOCK_T pthread_mutex_t
#define ACQUIRE_LOCK(lk) pthread_mutex_lock(lk)
#define RELEASE_LOCK(lk) pthread_mutex_unlock(lk)
#define TRY_LOCK(lk) (!pthread_mutex_trylock(lk))
#define INITIAL_LOCK(lk) pthread_init_lock(lk)
#define DESTROY_LOCK(lk) pthread_mutex_destroy(lk)
#if defined(USE_RECURSIVE_LOCKS) && USE_RECURSIVE_LOCKS != 0 && defined(linux) && !defined(PTHREAD_MUTEX_RECURSIVE)
/* Cope with old-style linux recursive lock initialization by adding */
/* skipped internal declaration from pthread.h */
extern int pthread_mutexattr_setkind_np __P ((pthread_mutexattr_t *__attr,
int __kind));
#define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#define pthread_mutexattr_settype(x,y) pthread_mutexattr_setkind_np(x,y)
#endif /* USE_RECURSIVE_LOCKS ... */
static MLOCK_T malloc_global_mutex = PTHREAD_MUTEX_INITIALIZER;
static int pthread_init_lock (MLOCK_T *lk) {
pthread_mutexattr_t attr;
if (pthread_mutexattr_init(&attr)) return 1;
#if defined(USE_RECURSIVE_LOCKS) && USE_RECURSIVE_LOCKS != 0
if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)) return 1;
#endif
if (pthread_mutex_init(lk, &attr)) return 1;
if (pthread_mutexattr_destroy(&attr)) return 1;
return 0;
}
#endif /* ... lock types ... */
/* Common code for all lock types */
#define USE_LOCK_BIT (2U)
#ifndef ACQUIRE_MALLOC_GLOBAL_LOCK
#define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
#endif
#ifndef RELEASE_MALLOC_GLOBAL_LOCK
#define RELEASE_MALLOC_GLOBAL_LOCK() RELEASE_LOCK(&malloc_global_mutex);
#endif
#endif /* USE_LOCKS */
/* ----------------------- Chunk representations ------------------------ */
/*
(The following includes lightly edited explanations by Colin Plumb.)
The malloc_chunk declaration below is misleading (but accurate and
necessary). It declares a "view" into memory allowing access to
necessary fields at known offsets from a given base.
Chunks of memory are maintained using a `boundary tag' method as
originally described by Knuth. (See the paper by Paul Wilson
ftp://ftp.cs.utexas.edu/pub/garbage/allocsrv.ps for a survey of such
techniques.) Sizes of free chunks are stored both in the front of
each chunk and at the end. This makes consolidating fragmented
chunks into bigger chunks fast. The head fields also hold bits
representing whether chunks are free or in use.
Here are some pictures to make it clearer. They are "exploded" to
show that the state of a chunk can be thought of as extending from
the high 31 bits of the head field of its header through the
prev_foot and PINUSE_BIT bit of the following chunk header.
A chunk that's in use looks like:
chunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Size of previous chunk (if P = 0) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |P|
| Size of this chunk 1| +-+
mem-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+- -+
| |
+- -+
| :
+- size - sizeof(size_t) available payload bytes -+
: |
chunk-> +- -+
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1|
| Size of next chunk (may or may not be in use) | +-+
mem-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
And if it's free, it looks like this:
chunk-> +- -+
| User payload (must be in use, or we would have merged!) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |P|
| Size of this chunk 0| +-+
mem-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next pointer |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Prev pointer |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| :
+- size - sizeof(struct chunk) unused bytes -+
: |
chunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Size of this chunk |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0|
| Size of next chunk (must be in use, or we would have merged)| +-+
mem-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| :
+- User payload -+
: |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|
+-+
Note that since we always merge adjacent free chunks, the chunks
adjacent to a free chunk must be in use.
Given a pointer to a chunk (which can be derived trivially from the
payload pointer) we can, in O(1) time, find out whether the adjacent
chunks are free, and if so, unlink them from the lists that they
are on and merge them with the current chunk.
Chunks always begin on even word boundaries, so the mem portion
(which is returned to the user) is also on an even word boundary, and
thus at least double-word aligned.
The P (PINUSE_BIT) bit, stored in the unused low-order bit of the
chunk size (which is always a multiple of two words), is an in-use
bit for the *previous* chunk. If that bit is *clear*, then the
word before the current chunk size contains the previous chunk
size, and can be used to find the front of the previous chunk.
The very first chunk allocated always has this bit set, preventing
access to non-existent (or non-owned) memory. If pinuse is set for
any given chunk, then you CANNOT determine the size of the
previous chunk, and might even get a memory addressing fault when
trying to do so.
The C (CINUSE_BIT) bit, stored in the unused second-lowest bit of
the chunk size redundantly records whether the current chunk is
inuse (unless the chunk is mmapped). This redundancy enables usage
checks within free and realloc, and reduces indirection when freeing
and consolidating chunks.
Each freshly allocated chunk must have both cinuse and pinuse set.
That is, each allocated chunk borders either a previously allocated
and still in-use chunk, or the base of its memory arena. This is
ensured by making all allocations from the `lowest' part of any
found chunk. Further, no free chunk physically borders another one,
so each free chunk is known to be preceded and followed by either
inuse chunks or the ends of memory.
Note that the `foot' of the current chunk is actually represented
as the prev_foot of the NEXT chunk. This makes it easier to
deal with alignments etc but can be very confusing when trying
to extend or adapt this code.
The exceptions to all this are
1. The special chunk `top' is the top-most available chunk (i.e.,
the one bordering the end of available memory). It is treated
specially. Top is never included in any bin, is used only if
no other chunk is available, and is released back to the
system if it is very large (see M_TRIM_THRESHOLD). In effect,
the top chunk is treated as larger (and thus less well
fitting) than any other available chunk. The top chunk
doesn't update its trailing size field since there is no next
contiguous chunk that would have to index off it. However,
space is still allocated for it (TOP_FOOT_SIZE) to enable
separation or merging when space is extended.
3. Chunks allocated via mmap, have both cinuse and pinuse bits
cleared in their head fields. Because they are allocated
one-by-one, each must carry its own prev_foot field, which is
also used to hold the offset this chunk has within its mmapped
region, which is needed to preserve alignment. Each mmapped
chunk is trailed by the first two fields of a fake next-chunk
for sake of usage checks.
*/
struct malloc_chunk {
size_t prev_foot; /* Size of previous chunk (if free). */
size_t head; /* Size and inuse bits. */
struct malloc_chunk* fd; /* double links -- used only if free. */
struct malloc_chunk* bk;
};
typedef struct malloc_chunk mchunk;
typedef struct malloc_chunk* mchunkptr;
typedef struct malloc_chunk* sbinptr; /* The type of bins of chunks */
typedef unsigned int bindex_t; /* Described below */
typedef unsigned int binmap_t; /* Described below */
typedef unsigned int flag_t; /* The type of various bit flag sets */
/* ------------------- Chunks sizes and alignments ----------------------- */
#define MCHUNK_SIZE (sizeof(mchunk))
#if FOOTERS
#define CHUNK_OVERHEAD (TWO_SIZE_T_SIZES)
#else /* FOOTERS */
#define CHUNK_OVERHEAD (SIZE_T_SIZE)
#endif /* FOOTERS */
/* MMapped chunks need a second word of overhead ... */
#define MMAP_CHUNK_OVERHEAD (TWO_SIZE_T_SIZES)
/* ... and additional padding for fake next-chunk at foot */
#define MMAP_FOOT_PAD (FOUR_SIZE_T_SIZES)
/* The smallest size we can malloc is an aligned minimal chunk */
#define MIN_CHUNK_SIZE\
((MCHUNK_SIZE + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
/* conversion from malloc headers to user pointers, and back */
#define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES))
#define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES))
/* chunk associated with aligned address A */
#define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
/* Bounds on request (not chunk) sizes. */
#define MAX_REQUEST ((-MIN_CHUNK_SIZE) << 2)
#define MIN_REQUEST (MIN_CHUNK_SIZE - CHUNK_OVERHEAD - SIZE_T_ONE)
/* pad request bytes into a usable size */
#define pad_request(req) \
(((req) + CHUNK_OVERHEAD + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK)
/* pad request, checking for minimum (but not maximum) */
#define request2size(req) \
(((req) < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(req))
/* ------------------ Operations on head and foot fields ----------------- */
/*
The head field of a chunk is or'ed with PINUSE_BIT when previous
adjacent chunk in use, and or'ed with CINUSE_BIT if this chunk is in
use, unless mmapped, in which case both bits are cleared.
FLAG4_BIT is not used by this malloc, but might be useful in extensions.
*/
#define PINUSE_BIT (SIZE_T_ONE)
#define CINUSE_BIT (SIZE_T_TWO)
#define FLAG4_BIT (SIZE_T_FOUR)
#define INUSE_BITS (PINUSE_BIT|CINUSE_BIT)
#define FLAG_BITS (PINUSE_BIT|CINUSE_BIT|FLAG4_BIT)
/* Head value for fenceposts */
#define FENCEPOST_HEAD (INUSE_BITS|SIZE_T_SIZE)
/* extraction of fields from head words */
#define cinuse(p) ((p)->head & CINUSE_BIT)
#define pinuse(p) ((p)->head & PINUSE_BIT)
#define flag4inuse(p) ((p)->head & FLAG4_BIT)
#define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT)
#define is_mmapped(p) (((p)->head & INUSE_BITS) == 0)
#define chunksize(p) ((p)->head & ~(FLAG_BITS))
#define clear_pinuse(p) ((p)->head &= ~PINUSE_BIT)
#define set_flag4(p) ((p)->head |= FLAG4_BIT)
#define clear_flag4(p) ((p)->head &= ~FLAG4_BIT)
/* Treat space at ptr +/- offset as a chunk */
#define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s)))
#define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s)))
/* Ptr to next or previous physical malloc_chunk. */
#define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS)))
#define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) ))
/* extract next chunk's pinuse bit */
#define next_pinuse(p) ((next_chunk(p)->head) & PINUSE_BIT)
/* Get/set size at footer */
#define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot)
#define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s))
/* Set size, pinuse bit, and foot */
#define set_size_and_pinuse_of_free_chunk(p, s)\
((p)->head = (s|PINUSE_BIT), set_foot(p, s))
/* Set size, pinuse bit, foot, and clear next pinuse */
#define set_free_with_pinuse(p, s, n)\
(clear_pinuse(n), set_size_and_pinuse_of_free_chunk(p, s))
/* Get the internal overhead associated with chunk p */
#define overhead_for(p)\
(is_mmapped(p)? MMAP_CHUNK_OVERHEAD : CHUNK_OVERHEAD)
/* Return true if malloced space is not necessarily cleared */
#if MMAP_CLEARS
#define calloc_must_clear(p) (!is_mmapped(p))
#else /* MMAP_CLEARS */
#define calloc_must_clear(p) (1)
#endif /* MMAP_CLEARS */
/* ---------------------- Overlaid data structures ----------------------- */
/*
When chunks are not in use, they are treated as nodes of either
lists or trees.
"Small" chunks are stored in circular doubly-linked lists, and look
like this:
chunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Size of previous chunk |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
`head:' | Size of chunk, in bytes |P|
mem-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Forward pointer to next chunk in list |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Back pointer to previous chunk in list |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Unused space (may be 0 bytes long) .
. .
. |
nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
`foot:' | Size of chunk, in bytes |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Larger chunks are kept in a form of bitwise digital trees (aka
tries) keyed on chunksizes. Because malloc_tree_chunks are only for
free chunks greater than 256 bytes, their size doesn't impose any
constraints on user chunk sizes. Each node looks like:
chunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Size of previous chunk |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
`head:' | Size of chunk, in bytes |P|
mem-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Forward pointer to next chunk of same size |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Back pointer to previous chunk of same size |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Pointer to left child (child[0]) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Pointer to right child (child[1]) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Pointer to parent |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| bin index of this chunk |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Unused space .
. |
nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
`foot:' | Size of chunk, in bytes |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Each tree holding treenodes is a tree of unique chunk sizes. Chunks
of the same size are arranged in a circularly-linked list, with only
the oldest chunk (the next to be used, in our FIFO ordering)
actually in the tree. (Tree members are distinguished by a non-null
parent pointer.) If a chunk with the same size an an existing node
is inserted, it is linked off the existing node using pointers that
work in the same way as fd/bk pointers of small chunks.
Each tree contains a power of 2 sized range of chunk sizes (the
smallest is 0x100 <= x < 0x180), which is is divided in half at each
tree level, with the chunks in the smaller half of the range (0x100
<= x < 0x140 for the top nose) in the left subtree and the larger
half (0x140 <= x < 0x180) in the right subtree. This is, of course,
done by inspecting individual bits.
Using these rules, each node's left subtree contains all smaller
sizes than its right subtree. However, the node at the root of each
subtree has no particular ordering relationship to either. (The
dividing line between the subtree sizes is based on trie relation.)
If we remove the last chunk of a given size from the interior of the
tree, we need to replace it with a leaf node. The tree ordering
rules permit a node to be replaced by any leaf below it.
The smallest chunk in a tree (a common operation in a best-fit
allocator) can be found by walking a path to the leftmost leaf in
the tree. Unlike a usual binary tree, where we follow left child
pointers until we reach a null, here we follow the right child
pointer any time the left one is null, until we reach a leaf with
both child pointers null. The smallest chunk in the tree will be
somewhere along that path.
The worst case number of steps to add, find, or remove a node is
bounded by the number of bits differentiating chunks within
bins. Under current bin calculations, this ranges from 6 up to 21
(for 32 bit sizes) or up to 53 (for 64 bit sizes). The typical case
is of course much better.
*/
struct malloc_tree_chunk {
/* The first four fields must be compatible with malloc_chunk */
size_t prev_foot;
size_t head;
struct malloc_tree_chunk* fd;
struct malloc_tree_chunk* bk;
struct malloc_tree_chunk* child[2];
struct malloc_tree_chunk* parent;
bindex_t index;
};
typedef struct malloc_tree_chunk tchunk;
typedef struct malloc_tree_chunk* tchunkptr;
typedef struct malloc_tree_chunk* tbinptr; /* The type of bins of trees */
/* A little helper macro for trees */
#define leftmost_child(t) ((t)->child[0] != 0? (t)->child[0] : (t)->child[1])
/* ----------------------------- Segments -------------------------------- */
/*
Each malloc space may include non-contiguous segments, held in a
list headed by an embedded malloc_segment record representing the
top-most space. Segments also include flags holding properties of
the space. Large chunks that are directly allocated by mmap are not
included in this list. They are instead independently created and
destroyed without otherwise keeping track of them.
Segment management mainly comes into play for spaces allocated by
MMAP. Any call to MMAP might or might not return memory that is
adjacent to an existing segment. MORECORE normally contiguously
extends the current space, so this space is almost always adjacent,
which is simpler and faster to deal with. (This is why MORECORE is
used preferentially to MMAP when both are available -- see
sys_alloc.) When allocating using MMAP, we don't use any of the
hinting mechanisms (inconsistently) supported in various
implementations of unix mmap, or distinguish reserving from
committing memory. Instead, we just ask for space, and exploit
contiguity when we get it. It is probably possible to do
better than this on some systems, but no general scheme seems
to be significantly better.
Management entails a simpler variant of the consolidation scheme
used for chunks to reduce fragmentation -- new adjacent memory is
normally prepended or appended to an existing segment. However,
there are limitations compared to chunk consolidation that mostly
reflect the fact that segment processing is relatively infrequent
(occurring only when getting memory from system) and that we
don't expect to have huge numbers of segments:
* Segments are not indexed, so traversal requires linear scans. (It
would be possible to index these, but is not worth the extra
overhead and complexity for most programs on most platforms.)
* New segments are only appended to old ones when holding top-most
memory; if they cannot be prepended to others, they are held in
different segments.
Except for the top-most segment of an mstate, each segment record
is kept at the tail of its segment. Segments are added by pushing
segment records onto the list headed by &mstate.seg for the
containing mstate.
Segment flags control allocation/merge/deallocation policies:
* If EXTERN_BIT set, then we did not allocate this segment,
and so should not try to deallocate or merge with others.
(This currently holds only for the initial segment passed
into create_mspace_with_base.)
* If USE_MMAP_BIT set, the segment may be merged with
other surrounding mmapped segments and trimmed/de-allocated
using munmap.
* If neither bit is set, then the segment was obtained using
MORECORE so can be merged with surrounding MORECORE'd segments
and deallocated/trimmed using MORECORE with negative arguments.
*/
struct malloc_segment {
char* base; /* base address */
size_t size; /* allocated size */
struct malloc_segment* next; /* ptr to next segment */
flag_t sflags; /* mmap and extern flag */
};
#define is_mmapped_segment(S) ((S)->sflags & USE_MMAP_BIT)
#define is_extern_segment(S) ((S)->sflags & EXTERN_BIT)
typedef struct malloc_segment msegment;
typedef struct malloc_segment* msegmentptr;
/* ---------------------------- malloc_state ----------------------------- */
/*
A malloc_state holds all of the bookkeeping for a space.
The main fields are:
Top
The topmost chunk of the currently active segment. Its size is
cached in topsize. The actual size of topmost space is
topsize+TOP_FOOT_SIZE, which includes space reserved for adding
fenceposts and segment records if necessary when getting more
space from the system. The size at which to autotrim top is
cached from mparams in trim_check, except that it is disabled if
an autotrim fails.
Designated victim (dv)
This is the preferred chunk for servicing small requests that
don't have exact fits. It is normally the chunk split off most
recently to service another small request. Its size is cached in
dvsize. The link fields of this chunk are not maintained since it
is not kept in a bin.
SmallBins
An array of bin headers for free chunks. These bins hold chunks
with sizes less than MIN_LARGE_SIZE bytes. Each bin contains
chunks of all the same size, spaced 8 bytes apart. To simplify
use in double-linked lists, each bin header acts as a malloc_chunk
pointing to the real first node, if it exists (else pointing to
itself). This avoids special-casing for headers. But to avoid
waste, we allocate only the fd/bk pointers of bins, and then use
repositioning tricks to treat these as the fields of a chunk.
TreeBins
Treebins are pointers to the roots of trees holding a range of
sizes. There are 2 equally spaced treebins for each power of two
from TREE_SHIFT to TREE_SHIFT+16. The last bin holds anything
larger.
Bin maps
There is one bit map for small bins ("smallmap") and one for
treebins ("treemap). Each bin sets its bit when non-empty, and
clears the bit when empty. Bit operations are then used to avoid
bin-by-bin searching -- nearly all "search" is done without ever
looking at bins that won't be selected. The bit maps
conservatively use 32 bits per map word, even if on 64bit system.
For a good description of some of the bit-based techniques used
here, see Henry S. Warren Jr's book "Hacker's Delight" (and
supplement at http://hackersdelight.org/). Many of these are
intended to reduce the branchiness of paths through malloc etc, as
well as to reduce the number of memory locations read or written.
Segments
A list of segments headed by an embedded malloc_segment record
representing the initial space.
Address check support
The least_addr field is the least address ever obtained from
MORECORE or MMAP. Attempted frees and reallocs of any address less
than this are trapped (unless INSECURE is defined).
Magic tag
A cross-check field that should always hold same value as mparams.magic.
Max allowed footprint
The maximum allowed bytes to allocate from system (zero means no limit)
Flags
Bits recording whether to use MMAP, locks, or contiguous MORECORE
Statistics
Each space keeps track of current and maximum system memory
obtained via MORECORE or MMAP.
Trim support
Fields holding the amount of unused topmost memory that should trigger
trimming, and a counter to force periodic scanning to release unused
non-topmost segments.
Locking
If USE_LOCKS is defined, the "mutex" lock is acquired and released
around every public call using this mspace.
Extension support
A void* pointer and a size_t field that can be used to help implement
extensions to this malloc.
*/
Showing preview only (854K chars total). Download the full file or copy to clipboard to get everything.
gitextract_s8_l5x61/ ├── .gitignore ├── .gitmodules ├── CITATION.cff ├── LICENSE ├── README.md ├── TODO.md ├── afl/ │ ├── afl-qemu-common.h │ ├── afl-qemu-cpu-inl.h │ ├── afl-qemu-cpu-translate-inl.h │ ├── afl-qemu-floats.h │ ├── afl-qemu-tcg-inl.h │ ├── afl-qemu-translate-inl.h │ ├── config.h │ └── types.h ├── build.py ├── include/ │ └── qasan.h ├── libqasan/ │ ├── Makefile │ ├── dlmalloc.c │ ├── hooks.c │ ├── libqasan.c │ ├── libqasan.h │ ├── malloc.c │ ├── map_macro.h │ ├── patch.c │ ├── string.c │ └── uninstrument.c ├── qasan ├── qemu/ │ ├── .dir-locals.el │ ├── .editorconfig │ ├── .exrc │ ├── .gdbinit │ ├── .gitignore │ ├── .gitmodules │ ├── .gitpublish │ ├── .mailmap │ ├── .shippable.yml │ ├── .travis.yml │ ├── CODING_STYLE │ ├── COPYING │ ├── COPYING.LIB │ ├── Changelog │ ├── HACKING │ ├── LICENSE │ ├── MAINTAINERS │ ├── Makefile │ ├── Makefile.objs │ ├── Makefile.target │ ├── README │ ├── VERSION │ ├── accel/ │ │ ├── Makefile.objs │ │ ├── accel.c │ │ ├── kvm/ │ │ │ ├── Makefile.objs │ │ │ ├── kvm-all.c │ │ │ ├── sev-stub.c │ │ │ └── trace-events │ │ ├── stubs/ │ │ │ ├── Makefile.objs │ │ │ ├── hax-stub.c │ │ │ ├── hvf-stub.c │ │ │ ├── kvm-stub.c │ │ │ ├── tcg-stub.c │ │ │ └── whpx-stub.c │ │ └── tcg/ │ │ ├── Makefile.objs │ │ ├── atomic_template.h │ │ ├── cpu-exec-common.c │ │ ├── cpu-exec.c │ │ ├── cputlb.c │ │ ├── softmmu_template.h │ │ ├── tcg-all.c │ │ ├── tcg-runtime-gvec.c │ │ ├── tcg-runtime.c │ │ ├── tcg-runtime.h │ │ ├── trace-events │ │ ├── translate-all.c │ │ ├── translate-all.h │ │ ├── translator.c │ │ ├── user-exec-stub.c │ │ └── user-exec.c │ ├── arch_init.c │ ├── audio/ │ │ ├── Makefile.objs │ │ ├── alsaaudio.c │ │ ├── audio.c │ │ ├── audio.h │ │ ├── audio_int.h │ │ ├── audio_pt_int.c │ │ ├── audio_pt_int.h │ │ ├── audio_template.h │ │ ├── audio_win_int.c │ │ ├── audio_win_int.h │ │ ├── coreaudio.c │ │ ├── dsound_template.h │ │ ├── dsoundaudio.c │ │ ├── mixeng.c │ │ ├── mixeng.h │ │ ├── mixeng_template.h │ │ ├── noaudio.c │ │ ├── ossaudio.c │ │ ├── paaudio.c │ │ ├── rate_template.h │ │ ├── sdlaudio.c │ │ ├── spiceaudio.c │ │ ├── trace-events │ │ ├── wavaudio.c │ │ └── wavcapture.c │ ├── backends/ │ │ ├── Makefile.objs │ │ ├── cryptodev-builtin.c │ │ ├── cryptodev-vhost-user.c │ │ ├── cryptodev-vhost.c │ │ ├── cryptodev.c │ │ ├── hostmem-file.c │ │ ├── hostmem-memfd.c │ │ ├── hostmem-ram.c │ │ ├── hostmem.c │ │ ├── rng-egd.c │ │ ├── rng-random.c │ │ ├── rng.c │ │ └── tpm.c │ ├── balloon.c │ ├── block/ │ │ ├── Makefile.objs │ │ ├── accounting.c │ │ ├── backup.c │ │ ├── blkdebug.c │ │ ├── blklogwrites.c │ │ ├── blkreplay.c │ │ ├── blkverify.c │ │ ├── block-backend.c │ │ ├── bochs.c │ │ ├── cloop.c │ │ ├── commit.c │ │ ├── copy-on-read.c │ │ ├── create.c │ │ ├── crypto.c │ │ ├── crypto.h │ │ ├── curl.c │ │ ├── dirty-bitmap.c │ │ ├── dmg-bz2.c │ │ ├── dmg.c │ │ ├── dmg.h │ │ ├── file-posix.c │ │ ├── file-win32.c │ │ ├── gluster.c │ │ ├── io.c │ │ ├── iscsi-opts.c │ │ ├── iscsi.c │ │ ├── linux-aio.c │ │ ├── mirror.c │ │ ├── nbd-client.c │ │ ├── nbd-client.h │ │ ├── nbd.c │ │ ├── nfs.c │ │ ├── null.c │ │ ├── nvme.c │ │ ├── parallels.c │ │ ├── parallels.h │ │ ├── qapi.c │ │ ├── qcow.c │ │ ├── qcow2-bitmap.c │ │ ├── qcow2-cache.c │ │ ├── qcow2-cluster.c │ │ ├── qcow2-refcount.c │ │ ├── qcow2-snapshot.c │ │ ├── qcow2.c │ │ ├── qcow2.h │ │ ├── qed-check.c │ │ ├── qed-cluster.c │ │ ├── qed-l2-cache.c │ │ ├── qed-table.c │ │ ├── qed.c │ │ ├── qed.h │ │ ├── quorum.c │ │ ├── raw-format.c │ │ ├── rbd.c │ │ ├── replication.c │ │ ├── sheepdog.c │ │ ├── snapshot.c │ │ ├── ssh.c │ │ ├── stream.c │ │ ├── throttle-groups.c │ │ ├── throttle.c │ │ ├── trace-events │ │ ├── vdi.c │ │ ├── vhdx-endian.c │ │ ├── vhdx-log.c │ │ ├── vhdx.c │ │ ├── vhdx.h │ │ ├── vmdk.c │ │ ├── vpc.c │ │ ├── vvfat.c │ │ ├── vxhs.c │ │ ├── win32-aio.c │ │ └── write-threshold.c │ ├── block.c │ ├── blockdev-nbd.c │ ├── blockdev.c │ ├── blockjob.c │ ├── bootdevice.c │ ├── bsd-user/ │ │ ├── Makefile.objs │ │ ├── bsd-mman.h │ │ ├── bsdload.c │ │ ├── elfload.c │ │ ├── errno_defs.h │ │ ├── freebsd/ │ │ │ ├── strace.list │ │ │ └── syscall_nr.h │ │ ├── i386/ │ │ │ ├── target_signal.h │ │ │ └── target_syscall.h │ │ ├── main.c │ │ ├── mmap.c │ │ ├── netbsd/ │ │ │ ├── strace.list │ │ │ └── syscall_nr.h │ │ ├── openbsd/ │ │ │ ├── strace.list │ │ │ └── syscall_nr.h │ │ ├── qemu.h │ │ ├── signal.c │ │ ├── sparc/ │ │ │ ├── target_signal.h │ │ │ └── target_syscall.h │ │ ├── sparc64/ │ │ │ ├── target_signal.h │ │ │ └── target_syscall.h │ │ ├── strace.c │ │ ├── syscall.c │ │ ├── syscall_defs.h │ │ ├── uaccess.c │ │ └── x86_64/ │ │ ├── target_signal.h │ │ └── target_syscall.h │ ├── bt-host.c │ ├── bt-vhci.c │ ├── capstone/ │ │ ├── .appveyor.yml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CMakeLists.txt │ │ ├── COMPILE.TXT │ │ ├── COMPILE_CMAKE.TXT │ │ ├── COMPILE_MSVC.TXT │ │ ├── CREDITS.TXT │ │ ├── ChangeLog │ │ ├── HACK.TXT │ │ ├── LEB128.h │ │ ├── LICENSE.TXT │ │ ├── LICENSE_LLVM.TXT │ │ ├── MCDisassembler.h │ │ ├── MCFixedLenDisassembler.h │ │ ├── MCInst.c │ │ ├── MCInst.h │ │ ├── MCInstrDesc.c │ │ ├── MCInstrDesc.h │ │ ├── MCRegisterInfo.c │ │ ├── MCRegisterInfo.h │ │ ├── Makefile │ │ ├── MathExtras.h │ │ ├── README │ │ ├── RELEASE_NOTES │ │ ├── SStream.c │ │ ├── SStream.h │ │ ├── TODO │ │ ├── arch/ │ │ │ ├── AArch64/ │ │ │ │ ├── AArch64AddressingModes.h │ │ │ │ ├── AArch64BaseInfo.c │ │ │ │ ├── AArch64BaseInfo.h │ │ │ │ ├── AArch64Disassembler.c │ │ │ │ ├── AArch64Disassembler.h │ │ │ │ ├── AArch64GenAsmWriter.inc │ │ │ │ ├── AArch64GenDisassemblerTables.inc │ │ │ │ ├── AArch64GenInstrInfo.inc │ │ │ │ ├── AArch64GenRegisterInfo.inc │ │ │ │ ├── AArch64GenSubtargetInfo.inc │ │ │ │ ├── AArch64InstPrinter.c │ │ │ │ ├── AArch64InstPrinter.h │ │ │ │ ├── AArch64Mapping.c │ │ │ │ ├── AArch64Mapping.h │ │ │ │ └── AArch64Module.c │ │ │ ├── ARM/ │ │ │ │ ├── ARMAddressingModes.h │ │ │ │ ├── ARMBaseInfo.h │ │ │ │ ├── ARMDisassembler.c │ │ │ │ ├── ARMDisassembler.h │ │ │ │ ├── ARMGenAsmWriter.inc │ │ │ │ ├── ARMGenDisassemblerTables.inc │ │ │ │ ├── ARMGenInstrInfo.inc │ │ │ │ ├── ARMGenRegisterInfo.inc │ │ │ │ ├── ARMGenSubtargetInfo.inc │ │ │ │ ├── ARMInstPrinter.c │ │ │ │ ├── ARMInstPrinter.h │ │ │ │ ├── ARMMapping.c │ │ │ │ ├── ARMMapping.h │ │ │ │ └── ARMModule.c │ │ │ ├── Mips/ │ │ │ │ ├── MipsDisassembler.c │ │ │ │ ├── MipsDisassembler.h │ │ │ │ ├── MipsGenAsmWriter.inc │ │ │ │ ├── MipsGenDisassemblerTables.inc │ │ │ │ ├── MipsGenInstrInfo.inc │ │ │ │ ├── MipsGenRegisterInfo.inc │ │ │ │ ├── MipsGenSubtargetInfo.inc │ │ │ │ ├── MipsInstPrinter.c │ │ │ │ ├── MipsInstPrinter.h │ │ │ │ ├── MipsMapping.c │ │ │ │ ├── MipsMapping.h │ │ │ │ └── MipsModule.c │ │ │ ├── PowerPC/ │ │ │ │ ├── PPCDisassembler.c │ │ │ │ ├── PPCDisassembler.h │ │ │ │ ├── PPCGenAsmWriter.inc │ │ │ │ ├── PPCGenDisassemblerTables.inc │ │ │ │ ├── PPCGenInstrInfo.inc │ │ │ │ ├── PPCGenRegisterInfo.inc │ │ │ │ ├── PPCGenSubtargetInfo.inc │ │ │ │ ├── PPCInstPrinter.c │ │ │ │ ├── PPCInstPrinter.h │ │ │ │ ├── PPCMapping.c │ │ │ │ ├── PPCMapping.h │ │ │ │ ├── PPCModule.c │ │ │ │ └── PPCPredicates.h │ │ │ ├── Sparc/ │ │ │ │ ├── Sparc.h │ │ │ │ ├── SparcDisassembler.c │ │ │ │ ├── SparcDisassembler.h │ │ │ │ ├── SparcGenAsmWriter.inc │ │ │ │ ├── SparcGenDisassemblerTables.inc │ │ │ │ ├── SparcGenInstrInfo.inc │ │ │ │ ├── SparcGenRegisterInfo.inc │ │ │ │ ├── SparcGenSubtargetInfo.inc │ │ │ │ ├── SparcInstPrinter.c │ │ │ │ ├── SparcInstPrinter.h │ │ │ │ ├── SparcMapping.c │ │ │ │ ├── SparcMapping.h │ │ │ │ └── SparcModule.c │ │ │ ├── SystemZ/ │ │ │ │ ├── SystemZDisassembler.c │ │ │ │ ├── SystemZDisassembler.h │ │ │ │ ├── SystemZGenAsmWriter.inc │ │ │ │ ├── SystemZGenDisassemblerTables.inc │ │ │ │ ├── SystemZGenInstrInfo.inc │ │ │ │ ├── SystemZGenRegisterInfo.inc │ │ │ │ ├── SystemZGenSubtargetInfo.inc │ │ │ │ ├── SystemZInstPrinter.c │ │ │ │ ├── SystemZInstPrinter.h │ │ │ │ ├── SystemZMCTargetDesc.c │ │ │ │ ├── SystemZMCTargetDesc.h │ │ │ │ ├── SystemZMapping.c │ │ │ │ ├── SystemZMapping.h │ │ │ │ └── SystemZModule.c │ │ │ ├── X86/ │ │ │ │ ├── X86ATTInstPrinter.c │ │ │ │ ├── X86BaseInfo.h │ │ │ │ ├── X86Disassembler.c │ │ │ │ ├── X86Disassembler.h │ │ │ │ ├── X86DisassemblerDecoder.c │ │ │ │ ├── X86DisassemblerDecoder.h │ │ │ │ ├── X86DisassemblerDecoderCommon.h │ │ │ │ ├── X86GenAsmWriter.inc │ │ │ │ ├── X86GenAsmWriter1.inc │ │ │ │ ├── X86GenAsmWriter1_reduce.inc │ │ │ │ ├── X86GenAsmWriter_reduce.inc │ │ │ │ ├── X86GenDisassemblerTables.inc │ │ │ │ ├── X86GenDisassemblerTables_reduce.inc │ │ │ │ ├── X86GenInstrInfo.inc │ │ │ │ ├── X86GenInstrInfo_reduce.inc │ │ │ │ ├── X86GenRegisterInfo.inc │ │ │ │ ├── X86InstPrinter.h │ │ │ │ ├── X86IntelInstPrinter.c │ │ │ │ ├── X86Mapping.c │ │ │ │ ├── X86Mapping.h │ │ │ │ └── X86Module.c │ │ │ └── XCore/ │ │ │ ├── XCoreDisassembler.c │ │ │ ├── XCoreDisassembler.h │ │ │ ├── XCoreGenAsmWriter.inc │ │ │ ├── XCoreGenDisassemblerTables.inc │ │ │ ├── XCoreGenInstrInfo.inc │ │ │ ├── XCoreGenRegisterInfo.inc │ │ │ ├── XCoreInstPrinter.c │ │ │ ├── XCoreInstPrinter.h │ │ │ ├── XCoreMapping.c │ │ │ ├── XCoreMapping.h │ │ │ └── XCoreModule.c │ │ ├── bindings/ │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── const_generator.py │ │ │ ├── java/ │ │ │ │ ├── .gitignore │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── Test.java │ │ │ │ ├── TestArm.java │ │ │ │ ├── TestArm64.java │ │ │ │ ├── TestMips.java │ │ │ │ ├── TestPpc.java │ │ │ │ ├── TestSparc.java │ │ │ │ ├── TestSystemz.java │ │ │ │ ├── TestX86.java │ │ │ │ ├── TestXcore.java │ │ │ │ ├── capstone/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── Arm.java │ │ │ │ │ ├── Arm64.java │ │ │ │ │ ├── Arm64_const.java │ │ │ │ │ ├── Arm_const.java │ │ │ │ │ ├── Capstone.java │ │ │ │ │ ├── Mips.java │ │ │ │ │ ├── Mips_const.java │ │ │ │ │ ├── Ppc.java │ │ │ │ │ ├── Ppc_const.java │ │ │ │ │ ├── Sparc.java │ │ │ │ │ ├── Sparc_const.java │ │ │ │ │ ├── Systemz.java │ │ │ │ │ ├── Sysz_const.java │ │ │ │ │ ├── X86.java │ │ │ │ │ ├── X86_const.java │ │ │ │ │ ├── Xcore.java │ │ │ │ │ └── Xcore_const.java │ │ │ │ └── run.sh │ │ │ ├── ocaml/ │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── arm.ml │ │ │ │ ├── arm64.ml │ │ │ │ ├── arm64_const.ml │ │ │ │ ├── arm_const.ml │ │ │ │ ├── capstone.ml │ │ │ │ ├── mips.ml │ │ │ │ ├── mips_const.ml │ │ │ │ ├── ocaml.c │ │ │ │ ├── ppc.ml │ │ │ │ ├── ppc_const.ml │ │ │ │ ├── sparc.ml │ │ │ │ ├── sparc_const.ml │ │ │ │ ├── systemz.ml │ │ │ │ ├── sysz_const.ml │ │ │ │ ├── test_arm.ml │ │ │ │ ├── test_arm64.ml │ │ │ │ ├── test_basic.ml │ │ │ │ ├── test_detail.ml │ │ │ │ ├── test_mips.ml │ │ │ │ ├── test_ppc.ml │ │ │ │ ├── test_sparc.ml │ │ │ │ ├── test_systemz.ml │ │ │ │ ├── test_x86.ml │ │ │ │ ├── test_xcore.ml │ │ │ │ ├── x86.ml │ │ │ │ ├── x86_const.ml │ │ │ │ ├── xcore.ml │ │ │ │ └── xcore_const.ml │ │ │ ├── powershell/ │ │ │ │ ├── Capstone/ │ │ │ │ │ ├── Capstone.psd1 │ │ │ │ │ ├── Capstone.psm1 │ │ │ │ │ └── Lib/ │ │ │ │ │ └── Capstone/ │ │ │ │ │ └── .gitignore │ │ │ │ └── README.md │ │ │ ├── python/ │ │ │ │ ├── .gitignore │ │ │ │ ├── BUILDING.txt │ │ │ │ ├── LICENSE.TXT │ │ │ │ ├── MANIFEST.in │ │ │ │ ├── Makefile │ │ │ │ ├── README.txt │ │ │ │ ├── capstone/ │ │ │ │ │ ├── arm.py │ │ │ │ │ ├── arm64.py │ │ │ │ │ ├── arm64_const.py │ │ │ │ │ ├── arm_const.py │ │ │ │ │ ├── mips.py │ │ │ │ │ ├── mips_const.py │ │ │ │ │ ├── ppc.py │ │ │ │ │ ├── ppc_const.py │ │ │ │ │ ├── sparc.py │ │ │ │ │ ├── sparc_const.py │ │ │ │ │ ├── systemz.py │ │ │ │ │ ├── sysz_const.py │ │ │ │ │ ├── x86.py │ │ │ │ │ ├── x86_const.py │ │ │ │ │ ├── xcore.py │ │ │ │ │ └── xcore_const.py │ │ │ │ ├── prebuilt/ │ │ │ │ │ └── .gitkeep │ │ │ │ ├── pyx/ │ │ │ │ │ ├── README │ │ │ │ │ └── ccapstone.pxd │ │ │ │ ├── setup.py │ │ │ │ ├── setup_cython.py │ │ │ │ ├── test_all.py │ │ │ │ ├── test_arm.py │ │ │ │ ├── test_arm64.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_detail.py │ │ │ │ ├── test_lite.py │ │ │ │ ├── test_mips.py │ │ │ │ ├── test_ppc.py │ │ │ │ ├── test_skipdata.py │ │ │ │ ├── test_sparc.py │ │ │ │ ├── test_systemz.py │ │ │ │ ├── test_x86.py │ │ │ │ ├── test_xcore.py │ │ │ │ └── xprint.py │ │ │ └── vb6/ │ │ │ ├── CDisassembler.cls │ │ │ ├── CInstDetails.cls │ │ │ ├── CInstruction.cls │ │ │ ├── CX86Inst.cls │ │ │ ├── CX86OpMem.cls │ │ │ ├── CX86Operand.cls │ │ │ ├── Form1.frm │ │ │ ├── Form1.frx │ │ │ ├── Module1.bas │ │ │ ├── Project1.vbp │ │ │ ├── Project1.vbw │ │ │ ├── README.txt │ │ │ ├── mMisc.bas │ │ │ ├── mx86.bas │ │ │ ├── vbCapstone.cpp │ │ │ ├── vbCapstone.sln │ │ │ └── vbCapstone.vcproj │ │ ├── capstone.pc.in │ │ ├── config.mk │ │ ├── contrib/ │ │ │ ├── README │ │ │ ├── cs_driver/ │ │ │ │ ├── README │ │ │ │ ├── cs_driver/ │ │ │ │ │ ├── cs_driver.c │ │ │ │ │ ├── cs_driver.vcxproj │ │ │ │ │ └── cs_driver.vcxproj.filters │ │ │ │ └── cs_driver.sln │ │ │ └── windows_kernel/ │ │ │ ├── README │ │ │ ├── libc.cpp │ │ │ └── libc.h │ │ ├── cs.c │ │ ├── cs_priv.h │ │ ├── cstool/ │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── cstool.c │ │ │ ├── cstool_arm.c │ │ │ ├── cstool_arm64.c │ │ │ ├── cstool_mips.c │ │ │ ├── cstool_ppc.c │ │ │ ├── cstool_sparc.c │ │ │ ├── cstool_systemz.c │ │ │ ├── cstool_x86.c │ │ │ └── cstool_xcore.c │ │ ├── docs/ │ │ │ └── README │ │ ├── functions.mk │ │ ├── include/ │ │ │ ├── arm.h │ │ │ ├── arm64.h │ │ │ ├── capstone.h │ │ │ ├── mips.h │ │ │ ├── platform.h │ │ │ ├── ppc.h │ │ │ ├── sparc.h │ │ │ ├── systemz.h │ │ │ ├── x86.h │ │ │ └── xcore.h │ │ ├── make.sh │ │ ├── msvc/ │ │ │ ├── README │ │ │ ├── capstone.sln │ │ │ ├── capstone_dll/ │ │ │ │ └── capstone_dll.vcxproj │ │ │ ├── capstone_static/ │ │ │ │ └── capstone_static.vcxproj │ │ │ ├── capstone_static_winkernel/ │ │ │ │ └── capstone_static_winkernel.vcxproj │ │ │ ├── cstool/ │ │ │ │ └── cstool.vcxproj │ │ │ ├── test_arm/ │ │ │ │ └── test_arm.vcxproj │ │ │ ├── test_arm64/ │ │ │ │ └── test_arm64.vcxproj │ │ │ ├── test_basic/ │ │ │ │ └── test_basic.vcxproj │ │ │ ├── test_detail/ │ │ │ │ └── test_detail.vcxproj │ │ │ ├── test_iter/ │ │ │ │ └── test_iter.vcxproj │ │ │ ├── test_mips/ │ │ │ │ └── test_mips.vcxproj │ │ │ ├── test_ppc/ │ │ │ │ └── test_ppc.vcxproj │ │ │ ├── test_skipdata/ │ │ │ │ └── test_skipdata.vcxproj │ │ │ ├── test_sparc/ │ │ │ │ └── test_sparc.vcxproj │ │ │ ├── test_systemz/ │ │ │ │ └── test_systemz.vcxproj │ │ │ ├── test_winkernel/ │ │ │ │ └── test_winkernel.vcxproj │ │ │ ├── test_x86/ │ │ │ │ └── test_x86.vcxproj │ │ │ └── test_xcore/ │ │ │ └── test_xcore.vcxproj │ │ ├── nmake.bat │ │ ├── packages/ │ │ │ ├── freebsd/ │ │ │ │ └── ports/ │ │ │ │ └── devel/ │ │ │ │ └── capstone/ │ │ │ │ ├── Makefile │ │ │ │ ├── pkg-descr │ │ │ │ └── pkg-plist │ │ │ ├── homebrew/ │ │ │ │ ├── README │ │ │ │ └── capstone.rb │ │ │ ├── macports/ │ │ │ │ └── devel/ │ │ │ │ └── capstone/ │ │ │ │ ├── Portfile │ │ │ │ └── files/ │ │ │ │ └── patch-Makefile.diff │ │ │ └── rpm/ │ │ │ └── capstone.spec │ │ ├── pkgconfig.mk │ │ ├── suite/ │ │ │ ├── MC/ │ │ │ │ ├── AArch64/ │ │ │ │ │ ├── basic-a64-instructions.s.cs │ │ │ │ │ ├── gicv3-regs.s.cs │ │ │ │ │ ├── neon-2velem.s.cs │ │ │ │ │ ├── neon-3vdiff.s.cs │ │ │ │ │ ├── neon-aba-abd.s.cs │ │ │ │ │ ├── neon-across.s.cs │ │ │ │ │ ├── neon-add-pairwise.s.cs │ │ │ │ │ ├── neon-add-sub-instructions.s.cs │ │ │ │ │ ├── neon-bitwise-instructions.s.cs │ │ │ │ │ ├── neon-compare-instructions.s.cs │ │ │ │ │ ├── neon-crypto.s.cs │ │ │ │ │ ├── neon-extract.s.cs │ │ │ │ │ ├── neon-facge-facgt.s.cs │ │ │ │ │ ├── neon-frsqrt-frecp.s.cs │ │ │ │ │ ├── neon-halving-add-sub.s.cs │ │ │ │ │ ├── neon-max-min-pairwise.s.cs │ │ │ │ │ ├── neon-max-min.s.cs │ │ │ │ │ ├── neon-mla-mls-instructions.s.cs │ │ │ │ │ ├── neon-mov.s.cs │ │ │ │ │ ├── neon-mul-div-instructions.s.cs │ │ │ │ │ ├── neon-perm.s.cs │ │ │ │ │ ├── neon-rounding-halving-add.s.cs │ │ │ │ │ ├── neon-rounding-shift.s.cs │ │ │ │ │ ├── neon-saturating-add-sub.s.cs │ │ │ │ │ ├── neon-saturating-rounding-shift.s.cs │ │ │ │ │ ├── neon-saturating-shift.s.cs │ │ │ │ │ ├── neon-scalar-abs.s.cs │ │ │ │ │ ├── neon-scalar-add-sub.s.cs │ │ │ │ │ ├── neon-scalar-by-elem-mla.s.cs │ │ │ │ │ ├── neon-scalar-by-elem-mul.s.cs │ │ │ │ │ ├── neon-scalar-by-elem-saturating-mla.s.cs │ │ │ │ │ ├── neon-scalar-by-elem-saturating-mul.s.cs │ │ │ │ │ ├── neon-scalar-compare.s.cs │ │ │ │ │ ├── neon-scalar-cvt.s.cs │ │ │ │ │ ├── neon-scalar-dup.s.cs │ │ │ │ │ ├── neon-scalar-extract-narrow.s.cs │ │ │ │ │ ├── neon-scalar-fp-compare.s.cs │ │ │ │ │ ├── neon-scalar-mul.s.cs │ │ │ │ │ ├── neon-scalar-neg.s.cs │ │ │ │ │ ├── neon-scalar-recip.s.cs │ │ │ │ │ ├── neon-scalar-reduce-pairwise.s.cs │ │ │ │ │ ├── neon-scalar-rounding-shift.s.cs │ │ │ │ │ ├── neon-scalar-saturating-add-sub.s.cs │ │ │ │ │ ├── neon-scalar-saturating-rounding-shift.s.cs │ │ │ │ │ ├── neon-scalar-saturating-shift.s.cs │ │ │ │ │ ├── neon-scalar-shift-imm.s.cs │ │ │ │ │ ├── neon-scalar-shift.s.cs │ │ │ │ │ ├── neon-shift-left-long.s.cs │ │ │ │ │ ├── neon-shift.s.cs │ │ │ │ │ ├── neon-simd-copy.s.cs │ │ │ │ │ ├── neon-simd-ldst-multi-elem.s.cs │ │ │ │ │ ├── neon-simd-ldst-one-elem.s.cs │ │ │ │ │ ├── neon-simd-misc.s.cs │ │ │ │ │ ├── neon-simd-post-ldst-multi-elem.s.cs │ │ │ │ │ ├── neon-simd-shift.s.cs │ │ │ │ │ ├── neon-tbl.s.cs │ │ │ │ │ └── trace-regs.s.cs │ │ │ │ ├── ARM/ │ │ │ │ │ ├── arm-aliases.s.cs │ │ │ │ │ ├── arm-arithmetic-aliases.s.cs │ │ │ │ │ ├── arm-it-block.s.cs │ │ │ │ │ ├── arm-memory-instructions.s.cs │ │ │ │ │ ├── arm-shift-encoding.s.cs │ │ │ │ │ ├── arm-thumb-trustzone.s.cs │ │ │ │ │ ├── arm-trustzone.s.cs │ │ │ │ │ ├── arm_addrmode2.s.cs │ │ │ │ │ ├── arm_addrmode3.s.cs │ │ │ │ │ ├── arm_instructions.s.cs │ │ │ │ │ ├── basic-arm-instructions-v8.s.cs │ │ │ │ │ ├── basic-arm-instructions.s.cs │ │ │ │ │ ├── basic-thumb-instructions.s.cs │ │ │ │ │ ├── basic-thumb2-instructions-v8.s.cs │ │ │ │ │ ├── basic-thumb2-instructions.s.cs │ │ │ │ │ ├── crc32-thumb.s.cs │ │ │ │ │ ├── crc32.s.cs │ │ │ │ │ ├── dot-req.s.cs │ │ │ │ │ ├── fp-armv8.s.cs │ │ │ │ │ ├── idiv-thumb.s.cs │ │ │ │ │ ├── idiv.s.cs │ │ │ │ │ ├── load-store-acquire-release-v8-thumb.s.cs │ │ │ │ │ ├── load-store-acquire-release-v8.s.cs │ │ │ │ │ ├── mode-switch.s.cs │ │ │ │ │ ├── neon-abs-encoding.s.cs │ │ │ │ │ ├── neon-absdiff-encoding.s.cs │ │ │ │ │ ├── neon-add-encoding.s.cs │ │ │ │ │ ├── neon-bitcount-encoding.s.cs │ │ │ │ │ ├── neon-bitwise-encoding.s.cs │ │ │ │ │ ├── neon-cmp-encoding.s.cs │ │ │ │ │ ├── neon-convert-encoding.s.cs │ │ │ │ │ ├── neon-crypto.s.cs │ │ │ │ │ ├── neon-dup-encoding.s.cs │ │ │ │ │ ├── neon-minmax-encoding.s.cs │ │ │ │ │ ├── neon-mov-encoding.s.cs │ │ │ │ │ ├── neon-mul-accum-encoding.s.cs │ │ │ │ │ ├── neon-mul-encoding.s.cs │ │ │ │ │ ├── neon-neg-encoding.s.cs │ │ │ │ │ ├── neon-pairwise-encoding.s.cs │ │ │ │ │ ├── neon-reciprocal-encoding.s.cs │ │ │ │ │ ├── neon-reverse-encoding.s.cs │ │ │ │ │ ├── neon-satshift-encoding.s.cs │ │ │ │ │ ├── neon-shift-encoding.s.cs │ │ │ │ │ ├── neon-shiftaccum-encoding.s.cs │ │ │ │ │ ├── neon-shuffle-encoding.s.cs │ │ │ │ │ ├── neon-sub-encoding.s.cs │ │ │ │ │ ├── neon-table-encoding.s.cs │ │ │ │ │ ├── neon-v8.s.cs │ │ │ │ │ ├── neon-vld-encoding.s.cs │ │ │ │ │ ├── neon-vst-encoding.s.cs │ │ │ │ │ ├── neon-vswp.s.cs │ │ │ │ │ ├── neont2-abs-encoding.s.cs │ │ │ │ │ ├── neont2-absdiff-encoding.s.cs │ │ │ │ │ ├── neont2-add-encoding.s.cs │ │ │ │ │ ├── neont2-bitcount-encoding.s.cs │ │ │ │ │ ├── neont2-bitwise-encoding.s.cs │ │ │ │ │ ├── neont2-cmp-encoding.s.cs │ │ │ │ │ ├── neont2-convert-encoding.s.cs │ │ │ │ │ ├── neont2-dup-encoding.s.cs │ │ │ │ │ ├── neont2-minmax-encoding.s.cs │ │ │ │ │ ├── neont2-mov-encoding.s.cs │ │ │ │ │ ├── neont2-mul-accum-encoding.s.cs │ │ │ │ │ ├── neont2-mul-encoding.s.cs │ │ │ │ │ ├── neont2-neg-encoding.s.cs │ │ │ │ │ ├── neont2-pairwise-encoding.s.cs │ │ │ │ │ ├── neont2-reciprocal-encoding.s.cs │ │ │ │ │ ├── neont2-reverse-encoding.s.cs │ │ │ │ │ ├── neont2-satshift-encoding.s.cs │ │ │ │ │ ├── neont2-shift-encoding.s.cs │ │ │ │ │ ├── neont2-shiftaccum-encoding.s.cs │ │ │ │ │ ├── neont2-shuffle-encoding.s.cs │ │ │ │ │ ├── neont2-sub-encoding.s.cs │ │ │ │ │ ├── neont2-table-encoding.s.cs │ │ │ │ │ ├── neont2-vld-encoding.s.cs │ │ │ │ │ ├── neont2-vst-encoding.s.cs │ │ │ │ │ ├── simple-fp-encoding.s.cs │ │ │ │ │ ├── thumb-fp-armv8.s.cs │ │ │ │ │ ├── thumb-hints.s.cs │ │ │ │ │ ├── thumb-neon-crypto.s.cs │ │ │ │ │ ├── thumb-neon-v8.s.cs │ │ │ │ │ ├── thumb-shift-encoding.s.cs │ │ │ │ │ ├── thumb.s.cs │ │ │ │ │ ├── thumb2-b.w-encodingT4.s.cs │ │ │ │ │ ├── thumb2-branches.s.cs │ │ │ │ │ ├── thumb2-mclass.s.cs │ │ │ │ │ ├── thumb2-narrow-dp.ll.cs │ │ │ │ │ ├── thumb2-pldw.s.cs │ │ │ │ │ ├── vfp4-thumb.s.cs │ │ │ │ │ ├── vfp4.s.cs │ │ │ │ │ ├── vpush-vpop-thumb.s.cs │ │ │ │ │ └── vpush-vpop.s.cs │ │ │ │ ├── Mips/ │ │ │ │ │ ├── hilo-addressing.s.cs │ │ │ │ │ ├── micromips-alu-instructions-EB.s.cs │ │ │ │ │ ├── micromips-alu-instructions.s.cs │ │ │ │ │ ├── micromips-branch-instructions-EB.s.cs │ │ │ │ │ ├── micromips-branch-instructions.s.cs │ │ │ │ │ ├── micromips-expansions.s.cs │ │ │ │ │ ├── micromips-jump-instructions-EB.s.cs │ │ │ │ │ ├── micromips-jump-instructions.s.cs │ │ │ │ │ ├── micromips-loadstore-instructions-EB.s.cs │ │ │ │ │ ├── micromips-loadstore-instructions.s.cs │ │ │ │ │ ├── micromips-loadstore-unaligned-EB.s.cs │ │ │ │ │ ├── micromips-loadstore-unaligned.s.cs │ │ │ │ │ ├── micromips-movcond-instructions-EB.s.cs │ │ │ │ │ ├── micromips-movcond-instructions.s.cs │ │ │ │ │ ├── micromips-multiply-instructions-EB.s.cs │ │ │ │ │ ├── micromips-multiply-instructions.s.cs │ │ │ │ │ ├── micromips-shift-instructions-EB.s.cs │ │ │ │ │ ├── micromips-shift-instructions.s.cs │ │ │ │ │ ├── micromips-trap-instructions-EB.s.cs │ │ │ │ │ ├── micromips-trap-instructions.s.cs │ │ │ │ │ ├── mips-alu-instructions.s.cs │ │ │ │ │ ├── mips-control-instructions-64.s.cs │ │ │ │ │ ├── mips-control-instructions.s.cs │ │ │ │ │ ├── mips-coprocessor-encodings.s.cs │ │ │ │ │ ├── mips-dsp-instructions.s.cs │ │ │ │ │ ├── mips-expansions.s.cs │ │ │ │ │ ├── mips-fpu-instructions.s.cs │ │ │ │ │ ├── mips-jump-instructions.s.cs │ │ │ │ │ ├── mips-memory-instructions.s.cs │ │ │ │ │ ├── mips-register-names.s.cs │ │ │ │ │ ├── mips64-alu-instructions.s.cs │ │ │ │ │ ├── mips64-instructions.s.cs │ │ │ │ │ ├── mips64-register-names.s.cs │ │ │ │ │ ├── mips_directives.s.cs │ │ │ │ │ ├── nabi-regs.s.cs │ │ │ │ │ ├── set-at-directive.s.cs │ │ │ │ │ ├── test_2r.s.cs │ │ │ │ │ ├── test_2rf.s.cs │ │ │ │ │ ├── test_3r.s.cs │ │ │ │ │ ├── test_3rf.s.cs │ │ │ │ │ ├── test_bit.s.cs │ │ │ │ │ ├── test_cbranch.s.cs │ │ │ │ │ ├── test_ctrlregs.s.cs │ │ │ │ │ ├── test_elm.s.cs │ │ │ │ │ ├── test_elm_insert.s.cs │ │ │ │ │ ├── test_elm_insve.s.cs │ │ │ │ │ ├── test_i10.s.cs │ │ │ │ │ ├── test_i5.s.cs │ │ │ │ │ ├── test_i8.s.cs │ │ │ │ │ ├── test_lsa.s.cs │ │ │ │ │ ├── test_mi10.s.cs │ │ │ │ │ └── test_vec.s.cs │ │ │ │ ├── PowerPC/ │ │ │ │ │ ├── ppc64-encoding-bookII.s.cs │ │ │ │ │ ├── ppc64-encoding-bookIII.s.cs │ │ │ │ │ ├── ppc64-encoding-ext.s.cs │ │ │ │ │ ├── ppc64-encoding-fp.s.cs │ │ │ │ │ ├── ppc64-encoding-vmx.s.cs │ │ │ │ │ ├── ppc64-encoding.s.cs │ │ │ │ │ └── ppc64-operands.s.cs │ │ │ │ ├── README │ │ │ │ ├── Sparc/ │ │ │ │ │ ├── sparc-alu-instructions.s.cs │ │ │ │ │ ├── sparc-atomic-instructions.s.cs │ │ │ │ │ ├── sparc-ctrl-instructions.s.cs │ │ │ │ │ ├── sparc-fp-instructions.s.cs │ │ │ │ │ ├── sparc-mem-instructions.s.cs │ │ │ │ │ ├── sparc-vis.s.cs │ │ │ │ │ ├── sparc64-alu-instructions.s.cs │ │ │ │ │ ├── sparc64-ctrl-instructions.s.cs │ │ │ │ │ ├── sparcv8-instructions.s.cs │ │ │ │ │ └── sparcv9-instructions.s.cs │ │ │ │ ├── SystemZ/ │ │ │ │ │ ├── insn-good-z196.s.cs │ │ │ │ │ ├── insn-good.s.cs │ │ │ │ │ └── regs-good.s.cs │ │ │ │ └── X86/ │ │ │ │ ├── 3DNow.s.cs │ │ │ │ ├── address-size.s.cs │ │ │ │ ├── avx512-encodings.s.cs │ │ │ │ ├── intel-syntax-encoding.s.cs │ │ │ │ ├── x86-32-avx.s.cs │ │ │ │ ├── x86-32-fma3.s.cs │ │ │ │ ├── x86-32-ms-inline-asm.s.cs │ │ │ │ ├── x86_64-avx-clmul-encoding.s.cs │ │ │ │ ├── x86_64-avx-encoding.s.cs │ │ │ │ ├── x86_64-bmi-encoding.s.cs │ │ │ │ ├── x86_64-encoding.s.cs │ │ │ │ ├── x86_64-fma3-encoding.s.cs │ │ │ │ ├── x86_64-fma4-encoding.s.cs │ │ │ │ ├── x86_64-hle-encoding.s.cs │ │ │ │ ├── x86_64-imm-widths.s.cs │ │ │ │ ├── x86_64-rand-encoding.s.cs │ │ │ │ ├── x86_64-rtm-encoding.s.cs │ │ │ │ ├── x86_64-sse4a.s.cs │ │ │ │ ├── x86_64-tbm-encoding.s.cs │ │ │ │ └── x86_64-xop-encoding.s.cs │ │ │ ├── README │ │ │ ├── arm/ │ │ │ │ ├── Makefile │ │ │ │ └── test_arm_regression.c │ │ │ ├── benchmark/ │ │ │ │ ├── Makefile │ │ │ │ └── test_iter_benchmark.c │ │ │ ├── benchmark.py │ │ │ ├── compile_all.sh │ │ │ ├── fuzz/ │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ └── fuzz_harness.c │ │ │ ├── fuzz.py │ │ │ ├── patch_major_os_version.py │ │ │ ├── ppcbranch.py │ │ │ ├── python_capstone_setup.py │ │ │ ├── regress/ │ │ │ │ ├── Makefile │ │ │ │ └── invalid_read_in_print_operand.c │ │ │ ├── regress.py │ │ │ ├── test_all.sh │ │ │ ├── test_c.sh │ │ │ ├── test_group_name.py │ │ │ ├── test_mc.py │ │ │ ├── test_mc.sh │ │ │ ├── test_python.sh │ │ │ └── x86odd.py │ │ ├── tests/ │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── test_arm.c │ │ │ ├── test_arm64.c │ │ │ ├── test_basic.c │ │ │ ├── test_detail.c │ │ │ ├── test_iter.c │ │ │ ├── test_mips.c │ │ │ ├── test_ppc.c │ │ │ ├── test_skipdata.c │ │ │ ├── test_sparc.c │ │ │ ├── test_systemz.c │ │ │ ├── test_winkernel.cpp │ │ │ ├── test_x86.c │ │ │ └── test_xcore.c │ │ ├── utils.c │ │ ├── utils.h │ │ ├── windows/ │ │ │ ├── README │ │ │ ├── winkernel_mm.c │ │ │ └── winkernel_mm.h │ │ └── xcode/ │ │ ├── Capstone.xcodeproj/ │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace/ │ │ │ │ └── contents.xcworkspacedata │ │ │ └── xcshareddata/ │ │ │ └── xcschemes/ │ │ │ ├── Dynamic Library.xcscheme │ │ │ ├── Framework.xcscheme │ │ │ ├── Static Library.xcscheme │ │ │ └── Tests.xcscheme │ │ ├── CapstoneFramework/ │ │ │ └── Info.plist │ │ └── README.md │ ├── chardev/ │ │ ├── Makefile.objs │ │ ├── baum.c │ │ ├── char-console.c │ │ ├── char-fd.c │ │ ├── char-fe.c │ │ ├── char-file.c │ │ ├── char-io.c │ │ ├── char-mux.c │ │ ├── char-null.c │ │ ├── char-parallel.c │ │ ├── char-pipe.c │ │ ├── char-pty.c │ │ ├── char-ringbuf.c │ │ ├── char-serial.c │ │ ├── char-socket.c │ │ ├── char-stdio.c │ │ ├── char-udp.c │ │ ├── char-win-stdio.c │ │ ├── char-win.c │ │ ├── char.c │ │ ├── msmouse.c │ │ ├── spice.c │ │ ├── testdev.c │ │ ├── trace-events │ │ └── wctablet.c │ ├── configure │ ├── contrib/ │ │ ├── elf2dmp/ │ │ │ ├── Makefile.objs │ │ │ ├── addrspace.c │ │ │ ├── addrspace.h │ │ │ ├── download.c │ │ │ ├── download.h │ │ │ ├── err.h │ │ │ ├── kdbg.h │ │ │ ├── main.c │ │ │ ├── pdb.c │ │ │ ├── pdb.h │ │ │ ├── pe.h │ │ │ ├── qemu_elf.c │ │ │ └── qemu_elf.h │ │ ├── ivshmem-client/ │ │ │ ├── Makefile.objs │ │ │ ├── ivshmem-client.c │ │ │ ├── ivshmem-client.h │ │ │ └── main.c │ │ ├── ivshmem-server/ │ │ │ ├── Makefile.objs │ │ │ ├── ivshmem-server.c │ │ │ ├── ivshmem-server.h │ │ │ └── main.c │ │ ├── libvhost-user/ │ │ │ ├── Makefile.objs │ │ │ ├── libvhost-user-glib.c │ │ │ ├── libvhost-user-glib.h │ │ │ ├── libvhost-user.c │ │ │ └── libvhost-user.h │ │ ├── systemd/ │ │ │ ├── qemu-guest-agent.service │ │ │ ├── qemu-pr-helper.service │ │ │ └── qemu-pr-helper.socket │ │ ├── vhost-user-blk/ │ │ │ ├── Makefile.objs │ │ │ └── vhost-user-blk.c │ │ └── vhost-user-scsi/ │ │ ├── Makefile.objs │ │ └── vhost-user-scsi.c │ ├── cpus-common.c │ ├── cpus.c │ ├── crypto/ │ │ ├── Makefile.objs │ │ ├── aes.c │ │ ├── afalg.c │ │ ├── afalgpriv.h │ │ ├── afsplit.c │ │ ├── block-luks.c │ │ ├── block-luks.h │ │ ├── block-qcow.c │ │ ├── block-qcow.h │ │ ├── block.c │ │ ├── blockpriv.h │ │ ├── cipher-afalg.c │ │ ├── cipher-builtin.c │ │ ├── cipher-gcrypt.c │ │ ├── cipher-nettle.c │ │ ├── cipher.c │ │ ├── cipherpriv.h │ │ ├── desrfb.c │ │ ├── hash-afalg.c │ │ ├── hash-gcrypt.c │ │ ├── hash-glib.c │ │ ├── hash-nettle.c │ │ ├── hash.c │ │ ├── hashpriv.h │ │ ├── hmac-gcrypt.c │ │ ├── hmac-glib.c │ │ ├── hmac-nettle.c │ │ ├── hmac.c │ │ ├── hmacpriv.h │ │ ├── init.c │ │ ├── ivgen-essiv.c │ │ ├── ivgen-essiv.h │ │ ├── ivgen-plain.c │ │ ├── ivgen-plain.h │ │ ├── ivgen-plain64.c │ │ ├── ivgen-plain64.h │ │ ├── ivgen.c │ │ ├── ivgenpriv.h │ │ ├── pbkdf-gcrypt.c │ │ ├── pbkdf-nettle.c │ │ ├── pbkdf-stub.c │ │ ├── pbkdf.c │ │ ├── random-gcrypt.c │ │ ├── random-gnutls.c │ │ ├── random-platform.c │ │ ├── secret.c │ │ ├── tlscreds.c │ │ ├── tlscredsanon.c │ │ ├── tlscredspriv.h │ │ ├── tlscredspsk.c │ │ ├── tlscredsx509.c │ │ ├── tlssession.c │ │ ├── trace-events │ │ └── xts.c │ ├── default-configs/ │ │ ├── aarch64-linux-user.mak │ │ ├── aarch64-softmmu.mak │ │ ├── aarch64_be-linux-user.mak │ │ ├── alpha-linux-user.mak │ │ ├── alpha-softmmu.mak │ │ ├── arm-linux-user.mak │ │ ├── arm-softmmu.mak │ │ ├── armeb-linux-user.mak │ │ ├── cris-linux-user.mak │ │ ├── cris-softmmu.mak │ │ ├── hppa-linux-user.mak │ │ ├── hppa-softmmu.mak │ │ ├── hyperv.mak │ │ ├── i386-bsd-user.mak │ │ ├── i386-linux-user.mak │ │ ├── i386-softmmu.mak │ │ ├── lm32-softmmu.mak │ │ ├── m68k-linux-user.mak │ │ ├── m68k-softmmu.mak │ │ ├── microblaze-linux-user.mak │ │ ├── microblaze-softmmu.mak │ │ ├── microblazeel-linux-user.mak │ │ ├── microblazeel-softmmu.mak │ │ ├── mips-linux-user.mak │ │ ├── mips-softmmu-common.mak │ │ ├── mips-softmmu.mak │ │ ├── mips64-linux-user.mak │ │ ├── mips64-softmmu.mak │ │ ├── mips64el-linux-user.mak │ │ ├── mips64el-softmmu.mak │ │ ├── mipsel-linux-user.mak │ │ ├── mipsel-softmmu.mak │ │ ├── mipsn32-linux-user.mak │ │ ├── mipsn32el-linux-user.mak │ │ ├── moxie-softmmu.mak │ │ ├── nios2-linux-user.mak │ │ ├── nios2-softmmu.mak │ │ ├── or1k-linux-user.mak │ │ ├── or1k-softmmu.mak │ │ ├── pci.mak │ │ ├── ppc-linux-user.mak │ │ ├── ppc-softmmu.mak │ │ ├── ppc64-linux-user.mak │ │ ├── ppc64-softmmu.mak │ │ ├── ppc64abi32-linux-user.mak │ │ ├── ppc64le-linux-user.mak │ │ ├── riscv32-linux-user.mak │ │ ├── riscv32-softmmu.mak │ │ ├── riscv64-linux-user.mak │ │ ├── riscv64-softmmu.mak │ │ ├── s390x-linux-user.mak │ │ ├── s390x-softmmu.mak │ │ ├── sh4-linux-user.mak │ │ ├── sh4-softmmu.mak │ │ ├── sh4eb-linux-user.mak │ │ ├── sh4eb-softmmu.mak │ │ ├── sound.mak │ │ ├── sparc-bsd-user.mak │ │ ├── sparc-linux-user.mak │ │ ├── sparc-softmmu.mak │ │ ├── sparc32plus-linux-user.mak │ │ ├── sparc64-bsd-user.mak │ │ ├── sparc64-linux-user.mak │ │ ├── sparc64-softmmu.mak │ │ ├── tilegx-linux-user.mak │ │ ├── tricore-softmmu.mak │ │ ├── unicore32-softmmu.mak │ │ ├── usb.mak │ │ ├── virtio.mak │ │ ├── x86_64-bsd-user.mak │ │ ├── x86_64-linux-user.mak │ │ ├── x86_64-softmmu.mak │ │ ├── xtensa-linux-user.mak │ │ ├── xtensa-softmmu.mak │ │ ├── xtensaeb-linux-user.mak │ │ └── xtensaeb-softmmu.mak │ ├── device-hotplug.c │ ├── device_tree.c │ ├── disas/ │ │ ├── Makefile.objs │ │ ├── alpha.c │ │ ├── arm-a64.cc │ │ ├── arm.c │ │ ├── cris.c │ │ ├── hppa.c │ │ ├── i386.c │ │ ├── libvixl/ │ │ │ ├── LICENCE │ │ │ ├── Makefile.objs │ │ │ ├── README │ │ │ └── vixl/ │ │ │ ├── a64/ │ │ │ │ ├── assembler-a64.h │ │ │ │ ├── constants-a64.h │ │ │ │ ├── cpu-a64.h │ │ │ │ ├── decoder-a64.cc │ │ │ │ ├── decoder-a64.h │ │ │ │ ├── disasm-a64.cc │ │ │ │ ├── disasm-a64.h │ │ │ │ ├── instructions-a64.cc │ │ │ │ └── instructions-a64.h │ │ │ ├── code-buffer.h │ │ │ ├── compiler-intrinsics.cc │ │ │ ├── compiler-intrinsics.h │ │ │ ├── globals.h │ │ │ ├── invalset.h │ │ │ ├── platform.h │ │ │ ├── utils.cc │ │ │ └── utils.h │ │ ├── lm32.c │ │ ├── m68k.c │ │ ├── microblaze.c │ │ ├── mips.c │ │ ├── moxie.c │ │ ├── nanomips.cpp │ │ ├── nanomips.h │ │ ├── nios2.c │ │ ├── ppc.c │ │ ├── riscv.c │ │ ├── s390.c │ │ ├── sh4.c │ │ ├── sparc.c │ │ ├── tci.c │ │ └── xtensa.c │ ├── disas.c │ ├── dma-helpers.c │ ├── docs/ │ │ ├── COLO-FT.txt │ │ ├── amd-memory-encryption.txt │ │ ├── block-replication.txt │ │ ├── bootindex.txt │ │ ├── can.txt │ │ ├── ccid.txt │ │ ├── colo-proxy.txt │ │ ├── config/ │ │ │ ├── ich9-ehci-uhci.cfg │ │ │ ├── mach-virt-graphical.cfg │ │ │ ├── mach-virt-serial.cfg │ │ │ ├── q35-emulated.cfg │ │ │ ├── q35-virtio-graphical.cfg │ │ │ └── q35-virtio-serial.cfg │ │ ├── devel/ │ │ │ ├── atomics.txt │ │ │ ├── blkdebug.txt │ │ │ ├── blkverify.txt │ │ │ ├── build-system.txt │ │ │ ├── loads-stores.rst │ │ │ ├── lockcnt.txt │ │ │ ├── memory.txt │ │ │ ├── migration.rst │ │ │ ├── multi-thread-tcg.txt │ │ │ ├── multiple-iothreads.txt │ │ │ ├── qapi-code-gen.txt │ │ │ ├── rcu.txt │ │ │ ├── stable-process.rst │ │ │ ├── testing.rst │ │ │ ├── tracing.txt │ │ │ ├── virtio-migration.txt │ │ │ └── writing-qmp-commands.txt │ │ ├── generic-loader.txt │ │ ├── igd-assign.txt │ │ ├── image-fuzzer.txt │ │ ├── interop/ │ │ │ ├── bitmaps.rst │ │ │ ├── firmware.json │ │ │ ├── live-block-operations.rst │ │ │ ├── nbd.txt │ │ │ ├── parallels.txt │ │ │ ├── pr-helper.rst │ │ │ ├── prl-xml.txt │ │ │ ├── qcow2.txt │ │ │ ├── qed_spec.txt │ │ │ ├── qemu-ga-ref.texi │ │ │ ├── qemu-qmp-ref.texi │ │ │ ├── qmp-intro.txt │ │ │ ├── qmp-spec.txt │ │ │ ├── vhost-user.txt │ │ │ └── vnc-ledstate-Pseudo-encoding.txt │ │ ├── memory-hotplug.txt │ │ ├── multi-thread-compression.txt │ │ ├── multiseat.txt │ │ ├── nvdimm.txt │ │ ├── pci_expander_bridge.txt │ │ ├── pcie.txt │ │ ├── pcie_pci_bridge.txt │ │ ├── pr-manager.rst │ │ ├── pvrdma.txt │ │ ├── qcow2-cache.txt │ │ ├── qdev-device-use.txt │ │ ├── qemu-block-drivers.texi │ │ ├── qemu-cpu-models.texi │ │ ├── qemupciserial.inf │ │ ├── rdma.txt │ │ ├── replay.txt │ │ ├── specs/ │ │ │ ├── acpi_cpu_hotplug.txt │ │ │ ├── acpi_mem_hotplug.txt │ │ │ ├── acpi_nvdimm.txt │ │ │ ├── acpi_pci_hotplug.txt │ │ │ ├── edu.txt │ │ │ ├── fw_cfg.txt │ │ │ ├── ivshmem-spec.txt │ │ │ ├── pci-ids.txt │ │ │ ├── pci-serial.txt │ │ │ ├── pci-testdev.txt │ │ │ ├── ppc-spapr-hcalls.txt │ │ │ ├── ppc-spapr-hotplug.txt │ │ │ ├── pvpanic.txt │ │ │ ├── rocker.txt │ │ │ ├── standard-vga.txt │ │ │ ├── tpm.txt │ │ │ ├── vmcoreinfo.txt │ │ │ ├── vmgenid.txt │ │ │ └── vmw_pvscsi-spec.txt │ │ ├── spice-port-fqdn.txt │ │ ├── spin/ │ │ │ ├── aio_notify.promela │ │ │ ├── aio_notify_accept.promela │ │ │ ├── aio_notify_bug.promela │ │ │ ├── tcg-exclusive.promela │ │ │ └── win32-qemu-event.promela │ │ ├── throttle.txt │ │ ├── usb-storage.txt │ │ ├── usb2.txt │ │ ├── vfio-ap.txt │ │ ├── virtio-balloon-stats.txt │ │ ├── xbzrle.txt │ │ └── xen-save-devices-state.txt │ ├── dtc/ │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Documentation/ │ │ │ ├── dt-object-internal.txt │ │ │ ├── dtc-paper.bib │ │ │ ├── dtc-paper.tex │ │ │ ├── dts-format.txt │ │ │ └── manual.txt │ │ ├── GPL │ │ ├── Makefile │ │ ├── Makefile.convert-dtsv0 │ │ ├── Makefile.dtc │ │ ├── Makefile.utils │ │ ├── README │ │ ├── README.license │ │ ├── TODO │ │ ├── checks.c │ │ ├── convert-dtsv0-lexer.l │ │ ├── data.c │ │ ├── dtc-lexer.l │ │ ├── dtc-parser.y │ │ ├── dtc.c │ │ ├── dtc.h │ │ ├── dtdiff │ │ ├── fdtdump.c │ │ ├── fdtget.c │ │ ├── fdtoverlay.c │ │ ├── fdtput.c │ │ ├── flattree.c │ │ ├── fstree.c │ │ ├── libfdt/ │ │ │ ├── Makefile.libfdt │ │ │ ├── TODO │ │ │ ├── fdt.c │ │ │ ├── fdt.h │ │ │ ├── fdt_addresses.c │ │ │ ├── fdt_empty_tree.c │ │ │ ├── fdt_overlay.c │ │ │ ├── fdt_ro.c │ │ │ ├── fdt_rw.c │ │ │ ├── fdt_strerror.c │ │ │ ├── fdt_sw.c │ │ │ ├── fdt_wip.c │ │ │ ├── libfdt.h │ │ │ ├── libfdt_env.h │ │ │ ├── libfdt_internal.h │ │ │ └── version.lds │ │ ├── livetree.c │ │ ├── pylibfdt/ │ │ │ ├── .gitignore │ │ │ ├── Makefile.pylibfdt │ │ │ ├── libfdt.i │ │ │ └── setup.py │ │ ├── scripts/ │ │ │ ├── kup-dtc │ │ │ └── setlocalversion │ │ ├── srcpos.c │ │ ├── srcpos.h │ │ ├── tests/ │ │ │ ├── .gitignore │ │ │ ├── Makefile.tests │ │ │ ├── add_subnode_with_nops.c │ │ │ ├── addr_size_cells.c │ │ │ ├── addr_size_cells2.c │ │ │ ├── addresses.dts │ │ │ ├── aliases.dts │ │ │ ├── appendprop.dts │ │ │ ├── appendprop1.c │ │ │ ├── appendprop2.c │ │ │ ├── asm_tree_dump.c │ │ │ ├── bad-chosen.dts │ │ │ ├── bad-empty-ranges.dts │ │ │ ├── bad-gpio.dts │ │ │ ├── bad-graph.dts │ │ │ ├── bad-interrupt-cells.dts │ │ │ ├── bad-name-property.dts │ │ │ ├── bad-ncells.dts │ │ │ ├── bad-octal-literal.dts │ │ │ ├── bad-phandle-cells.dts │ │ │ ├── bad-reg-ranges.dts │ │ │ ├── bad-size-cells.dts │ │ │ ├── bad-string-props.dts │ │ │ ├── base01.asm │ │ │ ├── base01.cmd │ │ │ ├── base01.dts │ │ │ ├── base01.stderr │ │ │ ├── boot-cpuid.c │ │ │ ├── boot-cpuid.dts │ │ │ ├── char_literal.c │ │ │ ├── char_literal.dts │ │ │ ├── check_full.c │ │ │ ├── check_header.c │ │ │ ├── check_path.c │ │ │ ├── comments-cmp.dts │ │ │ ├── comments.dts │ │ │ ├── data.S │ │ │ ├── default-addr-size.dts │ │ │ ├── del_node.c │ │ │ ├── del_property.c │ │ │ ├── delete_reinstate_multilabel.dts │ │ │ ├── delete_reinstate_multilabel_ref.dts │ │ │ ├── dependencies.cmp │ │ │ ├── dependencies.dts │ │ │ ├── deps_inc1.dtsi │ │ │ ├── deps_inc2.dtsi │ │ │ ├── division-by-zero.dts │ │ │ ├── dtb_reverse.c │ │ │ ├── dtbs_equal_ordered.c │ │ │ ├── dtbs_equal_unordered.c │ │ │ ├── dtc-checkfails.sh │ │ │ ├── dtc-fails.sh │ │ │ ├── dtc-fatal.sh │ │ │ ├── dumptrees.c │ │ │ ├── dup-nodename.dts │ │ │ ├── dup-phandle.dts │ │ │ ├── dup-propname.dts │ │ │ ├── embedded_nul.dts │ │ │ ├── embedded_nul_equiv.dts │ │ │ ├── empty.dts │ │ │ ├── escapes.dts │ │ │ ├── extra-terminating-null.c │ │ │ ├── extra-terminating-null.dts │ │ │ ├── fdtdump-runtest.sh │ │ │ ├── fdtdump.dts │ │ │ ├── fdtget-runtest.sh │ │ │ ├── fdtoverlay-runtest.sh │ │ │ ├── fdtput-runtest.sh │ │ │ ├── find_property.c │ │ │ ├── get_alias.c │ │ │ ├── get_mem_rsv.c │ │ │ ├── get_name.c │ │ │ ├── get_path.c │ │ │ ├── get_phandle.c │ │ │ ├── getprop.c │ │ │ ├── incbin.c │ │ │ ├── incbin.dts │ │ │ ├── include0.dts │ │ │ ├── include1.dts │ │ │ ├── include2.dts │ │ │ ├── include3.dts │ │ │ ├── include4.dts │ │ │ ├── include5.dts │ │ │ ├── include5a.dts │ │ │ ├── include6.dts │ │ │ ├── include7.dts │ │ │ ├── include8.dts │ │ │ ├── integer-expressions.c │ │ │ ├── label01.dts │ │ │ ├── label_repeated.dts │ │ │ ├── line_directives.dts │ │ │ ├── lorem.txt │ │ │ ├── mangle-layout.c │ │ │ ├── minusone-phandle.dts │ │ │ ├── move_and_save.c │ │ │ ├── multilabel.dts │ │ │ ├── multilabel_merge.dts │ │ │ ├── node_check_compatible.c │ │ │ ├── node_offset_by_compatible.c │ │ │ ├── node_offset_by_phandle.c │ │ │ ├── node_offset_by_prop_value.c │ │ │ ├── nonexist-label-ref.dts │ │ │ ├── nonexist-node-ref.dts │ │ │ ├── nonexist-node-ref2.dts │ │ │ ├── nop_node.c │ │ │ ├── nop_property.c │ │ │ ├── nopulate.c │ │ │ ├── notfound.c │ │ │ ├── nul-in-escape.dts │ │ │ ├── nul-in-line-info1.dts │ │ │ ├── nul-in-line-info2.dts │ │ │ ├── obsolete-chosen-interrupt-controller.dts │ │ │ ├── omit-no-ref.dts │ │ │ ├── open_pack.c │ │ │ ├── overlay.c │ │ │ ├── overlay_bad_fixup.c │ │ │ ├── overlay_bad_fixup_bad_index.dts │ │ │ ├── overlay_bad_fixup_base.dtsi │ │ │ ├── overlay_bad_fixup_empty.dts │ │ │ ├── overlay_bad_fixup_empty_index.dts │ │ │ ├── overlay_bad_fixup_index_trailing.dts │ │ │ ├── overlay_bad_fixup_path_empty_prop.dts │ │ │ ├── overlay_bad_fixup_path_only.dts │ │ │ ├── overlay_bad_fixup_path_only_sep.dts │ │ │ ├── overlay_bad_fixup_path_prop.dts │ │ │ ├── overlay_base.dts │ │ │ ├── overlay_base_manual_symbols.dts │ │ │ ├── overlay_overlay.dts │ │ │ ├── overlay_overlay_bypath.dts │ │ │ ├── overlay_overlay_manual_fixups.dts │ │ │ ├── overlay_overlay_no_fixups.dts │ │ │ ├── overlay_overlay_nosugar.dts │ │ │ ├── overlay_overlay_simple.dts │ │ │ ├── parent_offset.c │ │ │ ├── path-references.c │ │ │ ├── path-references.dts │ │ │ ├── path_offset.c │ │ │ ├── path_offset_aliases.c │ │ │ ├── pci-bridge-bad1.dts │ │ │ ├── pci-bridge-bad2.dts │ │ │ ├── pci-bridge-ok.dts │ │ │ ├── phandle_format.c │ │ │ ├── prop-after-subnode.dts │ │ │ ├── property_iterate.c │ │ │ ├── property_iterate.dts │ │ │ ├── propname_escapes.c │ │ │ ├── propname_escapes.dts │ │ │ ├── pylibfdt_tests.py │ │ │ ├── references.c │ │ │ ├── references.dts │ │ │ ├── reg-ranges-root.dts │ │ │ ├── reg-without-unit-addr.dts │ │ │ ├── reuse-label.dts │ │ │ ├── reuse-label1.dts │ │ │ ├── reuse-label2.dts │ │ │ ├── reuse-label3.dts │ │ │ ├── reuse-label4.dts │ │ │ ├── reuse-label5.dts │ │ │ ├── reuse-label6.dts │ │ │ ├── root_node.c │ │ │ ├── run_tests.sh │ │ │ ├── rw_tree1.c │ │ │ ├── search_dir/ │ │ │ │ ├── search_test.dtsi │ │ │ │ └── search_test2.dtsi │ │ │ ├── search_dir_b/ │ │ │ │ ├── search_paths_subdir.dts │ │ │ │ ├── search_test_b.dtsi │ │ │ │ ├── search_test_b2.dtsi │ │ │ │ └── search_test_c.dtsi │ │ │ ├── search_paths.dts │ │ │ ├── search_paths_b.dts │ │ │ ├── set_name.c │ │ │ ├── setprop.c │ │ │ ├── setprop_inplace.c │ │ │ ├── sized_cells.c │ │ │ ├── sized_cells.dts │ │ │ ├── sourceoutput.dts │ │ │ ├── stacked_overlay_bar.dts │ │ │ ├── stacked_overlay_base.dts │ │ │ ├── stacked_overlay_baz.dts │ │ │ ├── string_escapes.c │ │ │ ├── stringlist.c │ │ │ ├── stringlist.dts │ │ │ ├── subnode_iterate.c │ │ │ ├── subnode_iterate.dts │ │ │ ├── subnode_offset.c │ │ │ ├── supernode_atdepth_offset.c │ │ │ ├── sw_states.c │ │ │ ├── sw_tree1.c │ │ │ ├── test01.asm │ │ │ ├── test01.dts │ │ │ ├── test01.stderr │ │ │ ├── test_kernel_dts │ │ │ ├── test_label_ref.dts │ │ │ ├── test_props.dts │ │ │ ├── test_tree1.dts │ │ │ ├── test_tree1_delete.dts │ │ │ ├── test_tree1_label_noderef.dts │ │ │ ├── test_tree1_merge.dts │ │ │ ├── test_tree1_merge_labelled.dts │ │ │ ├── test_tree1_merge_path.dts │ │ │ ├── test_tree1_wrong1.dts │ │ │ ├── test_tree1_wrong2.dts │ │ │ ├── test_tree1_wrong3.dts │ │ │ ├── test_tree1_wrong4.dts │ │ │ ├── test_tree1_wrong5.dts │ │ │ ├── test_tree1_wrong6.dts │ │ │ ├── test_tree1_wrong7.dts │ │ │ ├── test_tree1_wrong8.dts │ │ │ ├── test_tree1_wrong9.dts │ │ │ ├── testdata.h │ │ │ ├── tests.h │ │ │ ├── tests.sh │ │ │ ├── testutils.c │ │ │ ├── trees.S │ │ │ ├── truncated_memrsv.c │ │ │ ├── truncated_property.c │ │ │ ├── truncated_string.c │ │ │ ├── type-preservation.dts │ │ │ ├── unit-addr-leading-0s.dts │ │ │ ├── unit-addr-leading-0x.dts │ │ │ ├── unit-addr-unique.dts │ │ │ ├── unit-addr-without-reg.dts │ │ │ ├── utilfdt_test.c │ │ │ ├── value-labels.c │ │ │ ├── value-labels.dts │ │ │ └── zero-phandle.dts │ │ ├── treesource.c │ │ ├── util.c │ │ └── util.h │ ├── dump.c │ ├── exec.c │ ├── fpu/ │ │ ├── softfloat-specialize.h │ │ └── softfloat.c │ ├── fsdev/ │ │ ├── 9p-iov-marshal.c │ │ ├── 9p-iov-marshal.h │ │ ├── 9p-marshal.c │ │ ├── 9p-marshal.h │ │ ├── Makefile.objs │ │ ├── file-op-9p.h │ │ ├── qemu-fsdev-dummy.c │ │ ├── qemu-fsdev-opts.c │ │ ├── qemu-fsdev-throttle.c │ │ ├── qemu-fsdev-throttle.h │ │ ├── qemu-fsdev.c │ │ ├── qemu-fsdev.h │ │ ├── virtfs-proxy-helper.c │ │ └── virtfs-proxy-helper.texi │ ├── gdb-xml/ │ │ ├── aarch64-core.xml │ │ ├── aarch64-fpu.xml │ │ ├── arm-core.xml │ │ ├── arm-neon.xml │ │ ├── arm-vfp.xml │ │ ├── arm-vfp3.xml │ │ ├── cf-core.xml │ │ ├── cf-fp.xml │ │ ├── i386-32bit-core.xml │ │ ├── i386-32bit-sse.xml │ │ ├── i386-32bit.xml │ │ ├── i386-64bit-core.xml │ │ ├── i386-64bit-sse.xml │ │ ├── i386-64bit.xml │ │ ├── m68k-fp.xml │ │ ├── power-altivec.xml │ │ ├── power-core.xml │ │ ├── power-fpu.xml │ │ ├── power-spe.xml │ │ ├── power-vsx.xml │ │ ├── power64-core.xml │ │ ├── s390-acr.xml │ │ ├── s390-cr.xml │ │ ├── s390-fpr.xml │ │ ├── s390-gs.xml │ │ ├── s390-virt.xml │ │ ├── s390-vx.xml │ │ └── s390x-core64.xml │ ├── gdbstub.c │ ├── hmp-commands-info.hx │ ├── hmp-commands.hx │ ├── hmp.c │ ├── hmp.h │ ├── hw/ │ │ ├── 9pfs/ │ │ │ ├── 9p-handle.c │ │ │ ├── 9p-local.c │ │ │ ├── 9p-local.h │ │ │ ├── 9p-posix-acl.c │ │ │ ├── 9p-proxy.c │ │ │ ├── 9p-proxy.h │ │ │ ├── 9p-synth.c │ │ │ ├── 9p-synth.h │ │ │ ├── 9p-util.c │ │ │ ├── 9p-util.h │ │ │ ├── 9p-xattr-user.c │ │ │ ├── 9p-xattr.c │ │ │ ├── 9p-xattr.h │ │ │ ├── 9p.c │ │ │ ├── 9p.h │ │ │ ├── Makefile.objs │ │ │ ├── codir.c │ │ │ ├── cofile.c │ │ │ ├── cofs.c │ │ │ ├── coth.c │ │ │ ├── coth.h │ │ │ ├── coxattr.c │ │ │ ├── trace-events │ │ │ ├── virtio-9p-device.c │ │ │ ├── virtio-9p.h │ │ │ ├── xen-9p-backend.c │ │ │ └── xen-9pfs.h │ │ ├── Makefile.objs │ │ ├── acpi/ │ │ │ ├── Makefile.objs │ │ │ ├── acpi-stub.c │ │ │ ├── acpi_interface.c │ │ │ ├── aml-build.c │ │ │ ├── bios-linker-loader.c │ │ │ ├── core.c │ │ │ ├── cpu.c │ │ │ ├── cpu_hotplug.c │ │ │ ├── ich9.c │ │ │ ├── ipmi-stub.c │ │ │ ├── ipmi.c │ │ │ ├── memory_hotplug.c │ │ │ ├── nvdimm.c │ │ │ ├── pcihp.c │ │ │ ├── piix4.c │ │ │ ├── tco.c │ │ │ ├── trace-events │ │ │ └── vmgenid.c │ │ ├── adc/ │ │ │ ├── Makefile.objs │ │ │ └── stm32f2xx_adc.c │ │ ├── alpha/ │ │ │ ├── Makefile.objs │ │ │ ├── alpha_sys.h │ │ │ ├── dp264.c │ │ │ ├── pci.c │ │ │ ├── trace-events │ │ │ └── typhoon.c │ │ ├── arm/ │ │ │ ├── Makefile.objs │ │ │ ├── allwinner-a10.c │ │ │ ├── armv7m.c │ │ │ ├── aspeed.c │ │ │ ├── aspeed_soc.c │ │ │ ├── bcm2835_peripherals.c │ │ │ ├── bcm2836.c │ │ │ ├── boot.c │ │ │ ├── collie.c │ │ │ ├── cubieboard.c │ │ │ ├── digic.c │ │ │ ├── digic_boards.c │ │ │ ├── exynos4210.c │ │ │ ├── exynos4_boards.c │ │ │ ├── fsl-imx25.c │ │ │ ├── fsl-imx31.c │ │ │ ├── fsl-imx6.c │ │ │ ├── fsl-imx6ul.c │ │ │ ├── fsl-imx7.c │ │ │ ├── gumstix.c │ │ │ ├── highbank.c │ │ │ ├── imx25_pdk.c │ │ │ ├── integratorcp.c │ │ │ ├── iotkit.c │ │ │ ├── kzm.c │ │ │ ├── mainstone.c │ │ │ ├── mcimx6ul-evk.c │ │ │ ├── mcimx7d-sabre.c │ │ │ ├── microbit.c │ │ │ ├── mps2-tz.c │ │ │ ├── mps2.c │ │ │ ├── msf2-soc.c │ │ │ ├── msf2-som.c │ │ │ ├── musicpal.c │ │ │ ├── netduino2.c │ │ │ ├── nrf51_soc.c │ │ │ ├── nseries.c │ │ │ ├── omap1.c │ │ │ ├── omap2.c │ │ │ ├── omap_sx1.c │ │ │ ├── palm.c │ │ │ ├── pxa2xx.c │ │ │ ├── pxa2xx_gpio.c │ │ │ ├── pxa2xx_pic.c │ │ │ ├── raspi.c │ │ │ ├── realview.c │ │ │ ├── sabrelite.c │ │ │ ├── smmu-common.c │ │ │ ├── smmu-internal.h │ │ │ ├── smmuv3-internal.h │ │ │ ├── smmuv3.c │ │ │ ├── spitz.c │ │ │ ├── stellaris.c │ │ │ ├── stm32f205_soc.c │ │ │ ├── strongarm.c │ │ │ ├── strongarm.h │ │ │ ├── sysbus-fdt.c │ │ │ ├── tosa.c │ │ │ ├── trace-events │ │ │ ├── versatilepb.c │ │ │ ├── vexpress.c │ │ │ ├── virt-acpi-build.c │ │ │ ├── virt.c │ │ │ ├── xilinx_zynq.c │ │ │ ├── xlnx-versal-virt.c │ │ │ ├── xlnx-versal.c │ │ │ ├── xlnx-zcu102.c │ │ │ ├── xlnx-zynqmp.c │ │ │ └── z2.c │ │ ├── audio/ │ │ │ ├── Makefile.objs │ │ │ ├── ac97.c │ │ │ ├── adlib.c │ │ │ ├── cs4231.c │ │ │ ├── cs4231a.c │ │ │ ├── es1370.c │ │ │ ├── fmopl.c │ │ │ ├── fmopl.h │ │ │ ├── gus.c │ │ │ ├── gusemu.h │ │ │ ├── gusemu_hal.c │ │ │ ├── gusemu_mixer.c │ │ │ ├── gustate.h │ │ │ ├── hda-codec-common.h │ │ │ ├── hda-codec.c │ │ │ ├── intel-hda-defs.h │ │ │ ├── intel-hda.c │ │ │ ├── intel-hda.h │ │ │ ├── lm4549.c │ │ │ ├── lm4549.h │ │ │ ├── marvell_88w8618.c │ │ │ ├── milkymist-ac97.c │ │ │ ├── pcspk.c │ │ │ ├── pl041.c │ │ │ ├── pl041.h │ │ │ ├── pl041.hx │ │ │ ├── sb16.c │ │ │ ├── soundhw.c │ │ │ ├── trace-events │ │ │ └── wm8750.c │ │ ├── block/ │ │ │ ├── Makefile.objs │ │ │ ├── block.c │ │ │ ├── cdrom.c │ │ │ ├── dataplane/ │ │ │ │ ├── Makefile.objs │ │ │ │ ├── trace-events │ │ │ │ ├── virtio-blk.c │ │ │ │ └── virtio-blk.h │ │ │ ├── ecc.c │ │ │ ├── fdc.c │ │ │ ├── hd-geometry.c │ │ │ ├── m25p80.c │ │ │ ├── nand.c │ │ │ ├── nvme.c │ │ │ ├── nvme.h │ │ │ ├── onenand.c │ │ │ ├── pflash_cfi01.c │ │ │ ├── pflash_cfi02.c │ │ │ ├── tc58128.c │ │ │ ├── trace-events │ │ │ ├── vhost-user-blk.c │ │ │ ├── virtio-blk.c │ │ │ ├── xen_blkif.h │ │ │ └── xen_disk.c │ │ ├── bt/ │ │ │ ├── Makefile.objs │ │ │ ├── core.c │ │ │ ├── hci-csr.c │ │ │ ├── hci.c │ │ │ ├── hid.c │ │ │ ├── l2cap.c │ │ │ └── sdp.c │ │ ├── char/ │ │ │ ├── Makefile.objs │ │ │ ├── bcm2835_aux.c │ │ │ ├── cadence_uart.c │ │ │ ├── cmsdk-apb-uart.c │ │ │ ├── debugcon.c │ │ │ ├── digic-uart.c │ │ │ ├── escc.c │ │ │ ├── etraxfs_ser.c │ │ │ ├── exynos4210_uart.c │ │ │ ├── grlib_apbuart.c │ │ │ ├── imx_serial.c │ │ │ ├── ipoctal232.c │ │ │ ├── lm32_juart.c │ │ │ ├── lm32_uart.c │ │ │ ├── mcf_uart.c │ │ │ ├── milkymist-uart.c │ │ │ ├── nrf51_uart.c │ │ │ ├── omap_uart.c │ │ │ ├── parallel-isa.c │ │ │ ├── parallel.c │ │ │ ├── pl011.c │ │ │ ├── sclpconsole-lm.c │ │ │ ├── sclpconsole.c │ │ │ ├── serial-isa.c │ │ │ ├── serial-pci.c │ │ │ ├── serial.c │ │ │ ├── sh_serial.c │ │ │ ├── spapr_vty.c │ │ │ ├── stm32f2xx_usart.c │ │ │ ├── terminal3270.c │ │ │ ├── trace-events │ │ │ ├── virtio-console.c │ │ │ ├── virtio-serial-bus.c │ │ │ ├── xen_console.c │ │ │ └── xilinx_uartlite.c │ │ ├── core/ │ │ │ ├── Makefile.objs │ │ │ ├── bus.c │ │ │ ├── empty_slot.c │ │ │ ├── fw-path-provider.c │ │ │ ├── generic-loader.c │ │ │ ├── hotplug.c │ │ │ ├── irq.c │ │ │ ├── loader-fit.c │ │ │ ├── loader.c │ │ │ ├── machine.c │ │ │ ├── nmi.c │ │ │ ├── null-machine.c │ │ │ ├── or-irq.c │ │ │ ├── platform-bus.c │ │ │ ├── ptimer.c │ │ │ ├── qdev-fw.c │ │ │ ├── qdev-properties-system.c │ │ │ ├── qdev-properties.c │ │ │ ├── qdev.c │ │ │ ├── register.c │ │ │ ├── reset.c │ │ │ ├── split-irq.c │ │ │ ├── stream.c │ │ │ ├── sysbus.c │ │ │ └── uboot_image.h │ │ ├── cpu/ │ │ │ ├── Makefile.objs │ │ │ ├── a15mpcore.c │ │ │ ├── a9mpcore.c │ │ │ ├── arm11mpcore.c │ │ │ ├── core.c │ │ │ └── realview_mpcore.c │ │ ├── cris/ │ │ │ ├── Makefile.objs │ │ │ ├── axis_dev88.c │ │ │ ├── boot.c │ │ │ └── boot.h │ │ ├── display/ │ │ │ ├── Makefile.objs │ │ │ ├── ads7846.c │ │ │ ├── bcm2835_fb.c │ │ │ ├── blizzard.c │ │ │ ├── bochs-display.c │ │ │ ├── cg3.c │ │ │ ├── cirrus_vga.c │ │ │ ├── cirrus_vga_internal.h │ │ │ ├── cirrus_vga_isa.c │ │ │ ├── cirrus_vga_rop.h │ │ │ ├── cirrus_vga_rop2.h │ │ │ ├── dpcd.c │ │ │ ├── edid-generate.c │ │ │ ├── edid-region.c │ │ │ ├── exynos4210_fimd.c │ │ │ ├── framebuffer.c │ │ │ ├── framebuffer.h │ │ │ ├── g364fb.c │ │ │ ├── jazz_led.c │ │ │ ├── milkymist-tmu2.c │ │ │ ├── milkymist-vgafb.c │ │ │ ├── milkymist-vgafb_template.h │ │ │ ├── omap_dss.c │ │ │ ├── omap_lcd_template.h │ │ │ ├── omap_lcdc.c │ │ │ ├── pl110.c │ │ │ ├── pl110_template.h │ │ │ ├── pxa2xx_lcd.c │ │ │ ├── pxa2xx_template.h │ │ │ ├── qxl-logger.c │ │ │ ├── qxl-render.c │ │ │ ├── qxl.c │ │ │ ├── qxl.h │ │ │ ├── ramfb-standalone.c │ │ │ ├── ramfb.c │ │ │ ├── sii9022.c │ │ │ ├── sm501.c │ │ │ ├── sm501_template.h │ │ │ ├── ssd0303.c │ │ │ ├── ssd0323.c │ │ │ ├── tc6393xb.c │ │ │ ├── tc6393xb_template.h │ │ │ ├── tcx.c │ │ │ ├── trace-events │ │ │ ├── vga-helpers.h │ │ │ ├── vga-isa-mm.c │ │ │ ├── vga-isa.c │ │ │ ├── vga-pci.c │ │ │ ├── vga.c │ │ │ ├── vga_int.h │ │ │ ├── vga_regs.h │ │ │ ├── virtio-gpu-3d.c │ │ │ ├── virtio-gpu-pci.c │ │ │ ├── virtio-gpu.c │ │ │ ├── virtio-vga.c │ │ │ ├── vmware_vga.c │ │ │ ├── xenfb.c │ │ │ └── xlnx_dp.c │ │ ├── dma/ │ │ │ ├── Makefile.objs │ │ │ ├── bcm2835_dma.c │ │ │ ├── etraxfs_dma.c │ │ │ ├── i82374.c │ │ │ ├── i8257.c │ │ │ ├── omap_dma.c │ │ │ ├── pl080.c │ │ │ ├── pl330.c │ │ │ ├── puv3_dma.c │ │ │ ├── pxa2xx_dma.c │ │ │ ├── rc4030.c │ │ │ ├── soc_dma.c │ │ │ ├── sparc32_dma.c │ │ │ ├── trace-events │ │ │ ├── xilinx_axidma.c │ │ │ ├── xlnx-zdma.c │ │ │ ├── xlnx-zynq-devcfg.c │ │ │ └── xlnx_dpdma.c │ │ ├── gpio/ │ │ │ ├── Makefile.objs │ │ │ ├── bcm2835_gpio.c │ │ │ ├── gpio_key.c │ │ │ ├── imx_gpio.c │ │ │ ├── max7310.c │ │ │ ├── mpc8xxx.c │ │ │ ├── omap_gpio.c │ │ │ ├── pl061.c │ │ │ ├── puv3_gpio.c │ │ │ └── zaurus.c │ │ ├── hppa/ │ │ │ ├── Makefile.objs │ │ │ ├── dino.c │ │ │ ├── hppa_hardware.h │ │ │ ├── hppa_sys.h │ │ │ ├── machine.c │ │ │ ├── pci.c │ │ │ └── trace-events │ │ ├── hyperv/ │ │ │ ├── Makefile.objs │ │ │ ├── hyperv.c │ │ │ └── hyperv_testdev.c │ │ ├── i2c/ │ │ │ ├── Makefile.objs │ │ │ ├── aspeed_i2c.c │ │ │ ├── bitbang_i2c.c │ │ │ ├── bitbang_i2c.h │ │ │ ├── core.c │ │ │ ├── exynos4210_i2c.c │ │ │ ├── i2c-ddc.c │ │ │ ├── imx_i2c.c │ │ │ ├── omap_i2c.c │ │ │ ├── pm_smbus.c │ │ │ ├── ppc4xx_i2c.c │ │ │ ├── smbus.c │ │ │ ├── smbus_eeprom.c │ │ │ ├── smbus_ich9.c │ │ │ ├── trace-events │ │ │ └── versatile_i2c.c │ │ ├── i386/ │ │ │ ├── Makefile.objs │ │ │ ├── acpi-build.c │ │ │ ├── acpi-build.h │ │ │ ├── amd_iommu.c │ │ │ ├── amd_iommu.h │ │ │ ├── intel_iommu.c │ │ │ ├── intel_iommu_internal.h │ │ │ ├── kvm/ │ │ │ │ ├── Makefile.objs │ │ │ │ ├── apic.c │ │ │ │ ├── clock.c │ │ │ │ ├── i8254.c │ │ │ │ ├── i8259.c │ │ │ │ └── ioapic.c │ │ │ ├── kvmvapic.c │ │ │ ├── multiboot.c │ │ │ ├── multiboot.h │ │ │ ├── pc.c │ │ │ ├── pc_piix.c │ │ │ ├── pc_q35.c │ │ │ ├── pc_sysfw.c │ │ │ ├── trace-events │ │ │ ├── vmmouse.c │ │ │ ├── vmport.c │ │ │ ├── x86-iommu.c │ │ │ └── xen/ │ │ │ ├── Makefile.objs │ │ │ ├── trace-events │ │ │ ├── xen-hvm.c │ │ │ ├── xen-mapcache.c │ │ │ ├── xen_apic.c │ │ │ ├── xen_platform.c │ │ │ └── xen_pvdevice.c │ │ ├── ide/ │ │ │ ├── Makefile.objs │ │ │ ├── ahci-allwinner.c │ │ │ ├── ahci.c │ │ │ ├── ahci_internal.h │ │ │ ├── atapi.c │ │ │ ├── cmd646.c │ │ │ ├── core.c │ │ │ ├── ich.c │ │ │ ├── isa.c │ │ │ ├── macio.c │ │ │ ├── microdrive.c │ │ │ ├── mmio.c │ │ │ ├── pci.c │ │ │ ├── piix.c │ │ │ ├── qdev.c │ │ │ ├── sii3112.c │ │ │ ├── trace-events │ │ │ └── via.c │ │ ├── input/ │ │ │ ├── Makefile.objs │ │ │ ├── adb-internal.h │ │ │ ├── adb-kbd.c │ │ │ ├── adb-mouse.c │ │ │ ├── adb.c │ │ │ ├── hid.c │ │ │ ├── lm832x.c │ │ │ ├── milkymist-softusb.c │ │ │ ├── pckbd.c │ │ │ ├── pl050.c │ │ │ ├── ps2.c │ │ │ ├── pxa2xx_keypad.c │ │ │ ├── stellaris_input.c │ │ │ ├── trace-events │ │ │ ├── tsc2005.c │ │ │ ├── tsc210x.c │ │ │ ├── virtio-input-hid.c │ │ │ ├── virtio-input-host.c │ │ │ └── virtio-input.c │ │ ├── intc/ │ │ │ ├── Makefile.objs │ │ │ ├── allwinner-a10-pic.c │ │ │ ├── apic.c │ │ │ ├── apic_common.c │ │ │ ├── arm_gic.c │ │ │ ├── arm_gic_common.c │ │ │ ├── arm_gic_kvm.c │ │ │ ├── arm_gicv2m.c │ │ │ ├── arm_gicv3.c │ │ │ ├── arm_gicv3_common.c │ │ │ ├── arm_gicv3_cpuif.c │ │ │ ├── arm_gicv3_dist.c │ │ │ ├── arm_gicv3_its_common.c │ │ │ ├── arm_gicv3_its_kvm.c │ │ │ ├── arm_gicv3_kvm.c │ │ │ ├── arm_gicv3_redist.c │ │ │ ├── armv7m_nvic.c │ │ │ ├── aspeed_vic.c │ │ │ ├── bcm2835_ic.c │ │ │ ├── bcm2836_control.c │ │ │ ├── etraxfs_pic.c │ │ │ ├── exynos4210_combiner.c │ │ │ ├── exynos4210_gic.c │ │ │ ├── gic_internal.h │ │ │ ├── gicv3_internal.h │ │ │ ├── grlib_irqmp.c │ │ │ ├── heathrow_pic.c │ │ │ ├── i8259.c │ │ │ ├── i8259_common.c │ │ │ ├── imx_avic.c │ │ │ ├── imx_gpcv2.c │ │ │ ├── intc.c │ │ │ ├── ioapic.c │ │ │ ├── ioapic_common.c │ │ │ ├── lm32_pic.c │ │ │ ├── mips_gic.c │ │ │ ├── nios2_iic.c │ │ │ ├── omap_intc.c │ │ │ ├── ompic.c │ │ │ ├── openpic.c │ │ │ ├── openpic_kvm.c │ │ │ ├── pl190.c │ │ │ ├── puv3_intc.c │ │ │ ├── realview_gic.c │ │ │ ├── s390_flic.c │ │ │ ├── s390_flic_kvm.c │ │ │ ├── sh_intc.c │ │ │ ├── slavio_intctl.c │ │ │ ├── trace-events │ │ │ ├── vgic_common.h │ │ │ ├── xics.c │ │ │ ├── xics_kvm.c │ │ │ ├── xics_pnv.c │ │ │ ├── xics_spapr.c │ │ │ ├── xilinx_intc.c │ │ │ ├── xlnx-pmu-iomod-intc.c │ │ │ └── xlnx-zynqmp-ipi.c │ │ ├── ipack/ │ │ │ ├── Makefile.objs │ │ │ ├── ipack.c │ │ │ └── tpci200.c │ │ ├── ipmi/ │ │ │ ├── Makefile.objs │ │ │ ├── ipmi.c │ │ │ ├── ipmi_bmc_extern.c │ │ │ ├── ipmi_bmc_sim.c │ │ │ ├── isa_ipmi_bt.c │ │ │ └── isa_ipmi_kcs.c │ │ ├── isa/ │ │ │ ├── Makefile.objs │ │ │ ├── apm.c │ │ │ ├── i82378.c │ │ │ ├── isa-bus.c │ │ │ ├── isa-superio.c │ │ │ ├── lpc_ich9.c │ │ │ ├── pc87312.c │ │ │ ├── piix4.c │ │ │ ├── smc37c669-superio.c │ │ │ ├── trace-events │ │ │ └── vt82c686.c │ │ ├── lm32/ │ │ │ ├── Makefile.objs │ │ │ ├── lm32.h │ │ │ ├── lm32_boards.c │ │ │ ├── lm32_hwsetup.h │ │ │ ├── milkymist-hw.h │ │ │ └── milkymist.c │ │ ├── m68k/ │ │ │ ├── Makefile.objs │ │ │ ├── an5206.c │ │ │ ├── mcf5206.c │ │ │ ├── mcf5208.c │ │ │ └── mcf_intc.c │ │ ├── mem/ │ │ │ ├── Makefile.objs │ │ │ ├── memory-device.c │ │ │ ├── nvdimm.c │ │ │ ├── pc-dimm.c │ │ │ └── trace-events │ │ ├── microblaze/ │ │ │ ├── Makefile.objs │ │ │ ├── boot.c │ │ │ ├── boot.h │ │ │ ├── petalogix_ml605_mmu.c │ │ │ ├── petalogix_s3adsp1800_mmu.c │ │ │ └── xlnx-zynqmp-pmu.c │ │ ├── mips/ │ │ │ ├── Makefile.objs │ │ │ ├── addr.c │ │ │ ├── boston.c │ │ │ ├── cps.c │ │ │ ├── gt64xxx_pci.c │ │ │ ├── mips_fulong2e.c │ │ │ ├── mips_int.c │ │ │ ├── mips_jazz.c │ │ │ ├── mips_malta.c │ │ │ ├── mips_mipssim.c │ │ │ └── mips_r4k.c │ │ ├── misc/ │ │ │ ├── Makefile.objs │ │ │ ├── a9scu.c │ │ │ ├── applesmc.c │ │ │ ├── arm11scu.c │ │ │ ├── arm_integrator_debug.c │ │ │ ├── arm_l2x0.c │ │ │ ├── arm_sysctl.c │ │ │ ├── aspeed_scu.c │ │ │ ├── aspeed_sdmc.c │ │ │ ├── auxbus.c │ │ │ ├── bcm2835_mbox.c │ │ │ ├── bcm2835_property.c │ │ │ ├── bcm2835_rng.c │ │ │ ├── cbus.c │ │ │ ├── debugexit.c │ │ │ ├── eccmemctl.c │ │ │ ├── edu.c │ │ │ ├── exynos4210_clk.c │ │ │ ├── exynos4210_pmu.c │ │ │ ├── exynos4210_rng.c │ │ │ ├── imx25_ccm.c │ │ │ ├── imx2_wdt.c │ │ │ ├── imx31_ccm.c │ │ │ ├── imx6_ccm.c │ │ │ ├── imx6_src.c │ │ │ ├── imx6ul_ccm.c │ │ │ ├── imx7_ccm.c │ │ │ ├── imx7_gpr.c │ │ │ ├── imx7_snvs.c │ │ │ ├── imx_ccm.c │ │ │ ├── iotkit-secctl.c │ │ │ ├── iotkit-sysctl.c │ │ │ ├── iotkit-sysinfo.c │ │ │ ├── ivshmem.c │ │ │ ├── macio/ │ │ │ │ ├── Makefile.objs │ │ │ │ ├── cuda.c │ │ │ │ ├── gpio.c │ │ │ │ ├── mac_dbdma.c │ │ │ │ ├── macio.c │ │ │ │ ├── pmu.c │ │ │ │ └── trace-events │ │ │ ├── max111x.c │ │ │ ├── milkymist-hpdmc.c │ │ │ ├── milkymist-pfpu.c │ │ │ ├── mips_cmgcr.c │ │ │ ├── mips_cpc.c │ │ │ ├── mips_itu.c │ │ │ ├── mos6522.c │ │ │ ├── mps2-fpgaio.c │ │ │ ├── mps2-scc.c │ │ │ ├── msf2-sysreg.c │ │ │ ├── mst_fpga.c │ │ │ ├── omap_clk.c │ │ │ ├── omap_gpmc.c │ │ │ ├── omap_l4.c │ │ │ ├── omap_sdrc.c │ │ │ ├── omap_tap.c │ │ │ ├── pc-testdev.c │ │ │ ├── pca9552.c │ │ │ ├── pci-testdev.c │ │ │ ├── puv3_pm.c │ │ │ ├── pvpanic.c │ │ │ ├── sga.c │ │ │ ├── slavio_misc.c │ │ │ ├── stm32f2xx_syscfg.c │ │ │ ├── tmp105.c │ │ │ ├── tmp105.h │ │ │ ├── tmp421.c │ │ │ ├── trace-events │ │ │ ├── tz-mpc.c │ │ │ ├── tz-msc.c │ │ │ ├── tz-ppc.c │ │ │ ├── unimp.c │ │ │ ├── vmcoreinfo.c │ │ │ ├── zynq-xadc.c │ │ │ └── zynq_slcr.c │ │ ├── moxie/ │ │ │ ├── Makefile.objs │ │ │ └── moxiesim.c │ │ ├── net/ │ │ │ ├── Makefile.objs │ │ │ ├── allwinner_emac.c │ │ │ ├── cadence_gem.c │ │ │ ├── can/ │ │ │ │ ├── Makefile.objs │ │ │ │ ├── can_kvaser_pci.c │ │ │ │ ├── can_mioe3680_pci.c │ │ │ │ ├── can_pcm3680_pci.c │ │ │ │ ├── can_sja1000.c │ │ │ │ └── can_sja1000.h │ │ │ ├── dp8393x.c │ │ │ ├── e1000.c │ │ │ ├── e1000_regs.h │ │ │ ├── e1000e.c │ │ │ ├── e1000e_core.c │ │ │ ├── e1000e_core.h │ │ │ ├── e1000x_common.c │ │ │ ├── e1000x_common.h │ │ │ ├── eepro100.c │ │ │ ├── etraxfs_eth.c │ │ │ ├── fsl_etsec/ │ │ │ │ ├── etsec.c │ │ │ │ ├── etsec.h │ │ │ │ ├── miim.c │ │ │ │ ├── registers.c │ │ │ │ ├── registers.h │ │ │ │ └── rings.c │ │ │ ├── ftgmac100.c │ │ │ ├── imx_fec.c │ │ │ ├── lan9118.c │ │ │ ├── lance.c │ │ │ ├── mcf_fec.c │ │ │ ├── milkymist-minimac2.c │ │ │ ├── mipsnet.c │ │ │ ├── ne2000-isa.c │ │ │ ├── ne2000.c │ │ │ ├── ne2000.h │ │ │ ├── net_rx_pkt.c │ │ │ ├── net_rx_pkt.h │ │ │ ├── net_tx_pkt.c │ │ │ ├── net_tx_pkt.h │ │ │ ├── opencores_eth.c │ │ │ ├── pcnet-pci.c │ │ │ ├── pcnet.c │ │ │ ├── pcnet.h │ │ │ ├── rocker/ │ │ │ │ ├── qmp-norocker.c │ │ │ │ ├── rocker.c │ │ │ │ ├── rocker.h │ │ │ │ ├── rocker_desc.c │ │ │ │ ├── rocker_desc.h │ │ │ │ ├── rocker_fp.c │ │ │ │ ├── rocker_fp.h │ │ │ │ ├── rocker_hw.h │ │ │ │ ├── rocker_of_dpa.c │ │ │ │ ├── rocker_of_dpa.h │ │ │ │ ├── rocker_tlv.h │ │ │ │ ├── rocker_world.c │ │ │ │ └── rocker_world.h │ │ │ ├── rtl8139.c │ │ │ ├── smc91c111.c │ │ │ ├── spapr_llan.c │ │ │ ├── stellaris_enet.c │ │ │ ├── sungem.c │ │ │ ├── sunhme.c │ │ │ ├── trace-events │ │ │ ├── vhost_net.c │ │ │ ├── virtio-net.c │ │ │ ├── vmware_utils.h │ │ │ ├── vmxnet3.c │ │ │ ├── vmxnet3.h │ │ │ ├── vmxnet_debug.h │ │ │ ├── xen_nic.c │ │ │ ├── xgmac.c │ │ │ ├── xilinx_axienet.c │ │ │ └── xilinx_ethlite.c │ │ ├── nios2/ │ │ │ ├── 10m50_devboard.c │ │ │ ├── Makefile.objs │ │ │ ├── boot.c │ │ │ ├── boot.h │ │ │ └── cpu_pic.c │ │ ├── nvram/ │ │ │ ├── Makefile.objs │ │ │ ├── chrp_nvram.c │ │ │ ├── ds1225y.c │ │ │ ├── eeprom93xx.c │ │ │ ├── eeprom_at24c.c │ │ │ ├── fw_cfg.c │ │ │ ├── mac_nvram.c │ │ │ ├── spapr_nvram.c │ │ │ └── trace-events │ │ ├── openrisc/ │ │ │ ├── Makefile.objs │ │ │ ├── cputimer.c │ │ │ ├── openrisc_sim.c │ │ │ └── pic_cpu.c │ │ ├── pci/ │ │ │ ├── Makefile.objs │ │ │ ├── msi.c │ │ │ ├── msix.c │ │ │ ├── pci-stub.c │ │ │ ├── pci.c │ │ │ ├── pci_bridge.c │ │ │ ├── pci_host.c │ │ │ ├── pcie.c │ │ │ ├── pcie_aer.c │ │ │ ├── pcie_host.c │ │ │ ├── pcie_port.c │ │ │ ├── shpc.c │ │ │ ├── slotid_cap.c │ │ │ └── trace-events │ │ ├── pci-bridge/ │ │ │ ├── Makefile.objs │ │ │ ├── dec.c │ │ │ ├── dec.h │ │ │ ├── gen_pcie_root_port.c │ │ │ ├── i82801b11.c │ │ │ ├── ioh3420.c │ │ │ ├── pci_bridge_dev.c │ │ │ ├── pci_expander_bridge.c │ │ │ ├── pcie_pci_bridge.c │ │ │ ├── pcie_root_port.c │ │ │ ├── simba.c │ │ │ ├── xio3130_downstream.c │ │ │ └── xio3130_upstream.c │ │ ├── pci-host/ │ │ │ ├── Makefile.objs │ │ │ ├── bonito.c │ │ │ ├── designware.c │ │ │ ├── gpex.c │ │ │ ├── grackle.c │ │ │ ├── pam.c │ │ │ ├── piix.c │ │ │ ├── ppce500.c │ │ │ ├── prep.c │ │ │ ├── q35.c │ │ │ ├── sabre.c │ │ │ ├── trace-events │ │ │ ├── uninorth.c │ │ │ ├── versatile.c │ │ │ └── xilinx-pcie.c │ │ ├── pcmcia/ │ │ │ ├── Makefile.objs │ │ │ ├── pcmcia.c │ │ │ └── pxa2xx.c │ │ ├── ppc/ │ │ │ ├── Makefile.objs │ │ │ ├── e500-ccsr.h │ │ │ ├── e500.c │ │ │ ├── e500.h │ │ │ ├── e500plat.c │ │ │ ├── fdt.c │ │ │ ├── mac.h │ │ │ ├── mac_newworld.c │ │ │ ├── mac_oldworld.c │ │ │ ├── mpc8544_guts.c │ │ │ ├── mpc8544ds.c │ │ │ ├── pnv.c │ │ │ ├── pnv_bmc.c │ │ │ ├── pnv_core.c │ │ │ ├── pnv_lpc.c │ │ │ ├── pnv_occ.c │ │ │ ├── pnv_psi.c │ │ │ ├── pnv_xscom.c │ │ │ ├── ppc.c │ │ │ ├── ppc405.h │ │ │ ├── ppc405_boards.c │ │ │ ├── ppc405_uc.c │ │ │ ├── ppc440.h │ │ │ ├── ppc440_bamboo.c │ │ │ ├── ppc440_pcix.c │ │ │ ├── ppc440_uc.c │ │ │ ├── ppc4xx_devs.c │ │ │ ├── ppc4xx_pci.c │ │ │ ├── ppc_booke.c │ │ │ ├── ppce500_spin.c │ │ │ ├── prep.c │ │ │ ├── prep_systemio.c │ │ │ ├── rs6000_mc.c │ │ │ ├── sam460ex.c │ │ │ ├── spapr.c │ │ │ ├── spapr_caps.c │ │ │ ├── spapr_cpu_core.c │ │ │ ├── spapr_drc.c │ │ │ ├── spapr_events.c │ │ │ ├── spapr_hcall.c │ │ │ ├── spapr_iommu.c │ │ │ ├── spapr_irq.c │ │ │ ├── spapr_ovec.c │ │ │ ├── spapr_pci.c │ │ │ ├── spapr_pci_vfio.c │ │ │ ├── spapr_rng.c │ │ │ ├── spapr_rtas.c │ │ │ ├── spapr_rtas_ddw.c │ │ │ ├── spapr_rtc.c │ │ │ ├── spapr_vio.c │ │ │ ├── trace-events │ │ │ └── virtex_ml507.c │ │ ├── rdma/ │ │ │ ├── Makefile.objs │ │ │ ├── rdma_backend.c │ │ │ ├── rdma_backend.h │ │ │ ├── rdma_backend_defs.h │ │ │ ├── rdma_rm.c │ │ │ ├── rdma_rm.h │ │ │ ├── rdma_rm_defs.h │ │ │ ├── rdma_utils.c │ │ │ ├── rdma_utils.h │ │ │ ├── trace-events │ │ │ └── vmw/ │ │ │ ├── pvrdma.h │ │ │ ├── pvrdma_cmd.c │ │ │ ├── pvrdma_dev_ring.c │ │ │ ├── pvrdma_dev_ring.h │ │ │ ├── pvrdma_main.c │ │ │ ├── pvrdma_qp_ops.c │ │ │ ├── pvrdma_qp_ops.h │ │ │ └── trace-events │ │ ├── riscv/ │ │ │ ├── Makefile.objs │ │ │ ├── riscv_hart.c │ │ │ ├── riscv_htif.c │ │ │ ├── sifive_clint.c │ │ │ ├── sifive_e.c │ │ │ ├── sifive_plic.c │ │ │ ├── sifive_prci.c │ │ │ ├── sifive_test.c │ │ │ ├── sifive_u.c │ │ │ ├── sifive_uart.c │ │ │ ├── spike.c │ │ │ └── virt.c │ │ ├── s390x/ │ │ │ ├── 3270-ccw.c │ │ │ ├── Makefile.objs │ │ │ ├── ap-bridge.c │ │ │ ├── ap-device.c │ │ │ ├── ccw-device.c │ │ │ ├── ccw-device.h │ │ │ ├── css-bridge.c │ │ │ ├── css.c │ │ │ ├── event-facility.c │ │ │ ├── ipl.c │ │ │ ├── ipl.h │ │ │ ├── s390-ccw.c │ │ │ ├── s390-pci-bus.c │ │ │ ├── s390-pci-bus.h │ │ │ ├── s390-pci-inst.c │ │ │ ├── s390-pci-inst.h │ │ │ ├── s390-pci-stub.c │ │ │ ├── s390-skeys-kvm.c │ │ │ ├── s390-skeys.c │ │ │ ├── s390-stattrib-kvm.c │ │ │ ├── s390-stattrib.c │ │ │ ├── s390-virtio-ccw.c │ │ │ ├── s390-virtio-hcall.c │ │ │ ├── s390-virtio-hcall.h │ │ │ ├── sclp.c │ │ │ ├── sclpcpu.c │ │ │ ├── sclpquiesce.c │ │ │ ├── tod-kvm.c │ │ │ ├── tod-qemu.c │ │ │ ├── tod.c │ │ │ ├── trace-events │ │ │ ├── vhost-vsock-ccw.c │ │ │ ├── virtio-ccw-9p.c │ │ │ ├── virtio-ccw-balloon.c │ │ │ ├── virtio-ccw-blk.c │ │ │ ├── virtio-ccw-crypto.c │ │ │ ├── virtio-ccw-gpu.c │ │ │ ├── virtio-ccw-input.c │ │ │ ├── virtio-ccw-net.c │ │ │ ├── virtio-ccw-rng.c │ │ │ ├── virtio-ccw-scsi.c │ │ │ ├── virtio-ccw-serial.c │ │ │ ├── virtio-ccw.c │ │ │ └── virtio-ccw.h │ │ ├── scsi/ │ │ │ ├── Makefile.objs │ │ │ ├── emulation.c │ │ │ ├── esp-pci.c │ │ │ ├── esp.c │ │ │ ├── lsi53c895a.c │ │ │ ├── megasas.c │ │ │ ├── mfi.h │ │ │ ├── mpi.h │ │ │ ├── mptconfig.c │ │ │ ├── mptendian.c │ │ │ ├── mptsas.c │ │ │ ├── mptsas.h │ │ │ ├── scsi-bus.c │ │ │ ├── scsi-disk.c │ │ │ ├── scsi-generic.c │ │ │ ├── spapr_vscsi.c │ │ │ ├── srp.h │ │ │ ├── trace-events │ │ │ ├── vhost-scsi-common.c │ │ │ ├── vhost-scsi.c │ │ │ ├── vhost-user-scsi.c │ │ │ ├── viosrp.h │ │ │ ├── virtio-scsi-dataplane.c │ │ │ ├── virtio-scsi.c │ │ │ ├── vmw_pvscsi.c │ │ │ └── vmw_pvscsi.h │ │ ├── sd/ │ │ │ ├── Makefile.objs │ │ │ ├── bcm2835_sdhost.c │ │ │ ├── core.c │ │ │ ├── milkymist-memcard.c │ │ │ ├── omap_mmc.c │ │ │ ├── pl181.c │ │ │ ├── pxa2xx_mmci.c │ │ │ ├── sd.c │ │ │ ├── sdhci-internal.h │ │ │ ├── sdhci.c │ │ │ ├── sdmmc-internal.c │ │ │ ├── sdmmc-internal.h │ │ │ ├── ssi-sd.c │ │ │ └── trace-events │ │ ├── sh4/ │ │ │ ├── Makefile.objs │ │ │ ├── r2d.c │ │ │ ├── sh7750.c │ │ │ ├── sh7750_regnames.c │ │ │ ├── sh7750_regnames.h │ │ │ ├── sh7750_regs.h │ │ │ ├── sh_pci.c │ │ │ └── shix.c │ │ ├── smbios/ │ │ │ ├── Makefile.objs │ │ │ ├── smbios-stub.c │ │ │ ├── smbios.c │ │ │ ├── smbios_build.h │ │ │ ├── smbios_type_38-stub.c │ │ │ └── smbios_type_38.c │ │ ├── sparc/ │ │ │ ├── Makefile.objs │ │ │ ├── leon3.c │ │ │ ├── sun4m.c │ │ │ ├── sun4m_iommu.c │ │ │ └── trace-events │ │ ├── sparc64/ │ │ │ ├── Makefile.objs │ │ │ ├── niagara.c │ │ │ ├── sparc64.c │ │ │ ├── sun4u.c │ │ │ ├── sun4u_iommu.c │ │ │ └── trace-events │ │ ├── ssi/ │ │ │ ├── Makefile.objs │ │ │ ├── aspeed_smc.c │ │ │ ├── imx_spi.c │ │ │ ├── mss-spi.c │ │ │ ├── omap_spi.c │ │ │ ├── pl022.c │ │ │ ├── ssi.c │ │ │ ├── stm32f2xx_spi.c │ │ │ ├── xilinx_spi.c │ │ │ └── xilinx_spips.c │ │ ├── timer/ │ │ │ ├── Makefile.objs │ │ │ ├── a9gtimer.c │ │ │ ├── allwinner-a10-pit.c │ │ │ ├── altera_timer.c │ │ │ ├── arm_mptimer.c │ │ │ ├── arm_timer.c │ │ │ ├── armv7m_systick.c │ │ │ ├── aspeed_timer.c │ │ │ ├── cadence_ttc.c │ │ │ ├── cmsdk-apb-dualtimer.c │ │ │ ├── cmsdk-apb-timer.c │ │ │ ├── digic-timer.c │ │ │ ├── ds1338.c │ │ │ ├── etraxfs_timer.c │ │ │ ├── exynos4210_mct.c │ │ │ ├── exynos4210_pwm.c │ │ │ ├── exynos4210_rtc.c │ │ │ ├── grlib_gptimer.c │ │ │ ├── hpet.c │ │ │ ├── i8254.c │ │ │ ├── i8254_common.c │ │ │ ├── imx_epit.c │ │ │ ├── imx_gpt.c │ │ │ ├── lm32_timer.c │ │ │ ├── m41t80.c │ │ │ ├── m48t59-internal.h │ │ │ ├── m48t59-isa.c │ │ │ ├── m48t59.c │ │ │ ├── mc146818rtc.c │ │ │ ├── milkymist-sysctl.c │ │ │ ├── mips_gictimer.c │ │ │ ├── mss-timer.c │ │ │ ├── omap_gptimer.c │ │ │ ├── omap_synctimer.c │ │ │ ├── pl031.c │ │ │ ├── puv3_ost.c │ │ │ ├── pxa2xx_timer.c │ │ │ ├── sh_timer.c │ │ │ ├── slavio_timer.c │ │ │ ├── stm32f2xx_timer.c │ │ │ ├── sun4v-rtc.c │ │ │ ├── trace-events │ │ │ ├── twl92230.c │ │ │ ├── xilinx_timer.c │ │ │ └── xlnx-zynqmp-rtc.c │ │ ├── tpm/ │ │ │ ├── Makefile.objs │ │ │ ├── tpm_crb.c │ │ │ ├── tpm_emulator.c │ │ │ ├── tpm_int.h │ │ │ ├── tpm_ioctl.h │ │ │ ├── tpm_passthrough.c │ │ │ ├── tpm_tis.c │ │ │ ├── tpm_util.c │ │ │ ├── tpm_util.h │ │ │ └── trace-events │ │ ├── tricore/ │ │ │ ├── Makefile.objs │ │ │ └── tricore_testboard.c │ │ ├── unicore32/ │ │ │ ├── Makefile.objs │ │ │ └── puv3.c │ │ ├── usb/ │ │ │ ├── Makefile.objs │ │ │ ├── bus.c │ │ │ ├── ccid-card-emulated.c │ │ │ ├── ccid-card-passthru.c │ │ │ ├── ccid.h │ │ │ ├── chipidea.c │ │ │ ├── combined-packet.c │ │ │ ├── core.c │ │ │ ├── desc-msos.c │ │ │ ├── desc.c │ │ │ ├── desc.h │ │ │ ├── dev-audio.c │ │ │ ├── dev-bluetooth.c │ │ │ ├── dev-hid.c │ │ │ ├── dev-hub.c │ │ │ ├── dev-mtp.c │ │ │ ├── dev-network.c │ │ │ ├── dev-serial.c │ │ │ ├── dev-smartcard-reader.c │ │ │ ├── dev-storage.c │ │ │ ├── dev-uas.c │ │ │ ├── dev-wacom.c │ │ │ ├── hcd-ehci-pci.c │ │ │ ├── hcd-ehci-sysbus.c │ │ │ ├── hcd-ehci.c │ │ │ ├── hcd-ehci.h │ │ │ ├── hcd-musb.c │ │ │ ├── hcd-ohci.c │ │ │ ├── hcd-uhci.c │ │ │ ├── hcd-xhci-nec.c │ │ │ ├── hcd-xhci.c │ │ │ ├── hcd-xhci.h │ │ │ ├── host-libusb.c │ │ │ ├── host-stub.c │ │ │ ├── host.h │ │ │ ├── libhw.c │ │ │ ├── quirks-ftdi-ids.h │ │ │ ├── quirks-pl2303-ids.h │ │ │ ├── quirks.c │ │ │ ├── quirks.h │ │ │ ├── redirect.c │ │ │ ├── trace-events │ │ │ ├── tusb6010.c │ │ │ └── xen-usb.c │ │ ├── vfio/ │ │ │ ├── Makefile.objs │ │ │ ├── amd-xgbe.c │ │ │ ├── ap.c │ │ │ ├── calxeda-xgmac.c │ │ │ ├── ccw.c │ │ │ ├── common.c │ │ │ ├── display.c │ │ │ ├── pci-quirks.c │ │ │ ├── pci.c │ │ │ ├── pci.h │ │ │ ├── platform.c │ │ │ ├── spapr.c │ │ │ └── trace-events │ │ ├── virtio/ │ │ │ ├── Makefile.objs │ │ │ ├── trace-events │ │ │ ├── vhost-backend.c │ │ │ ├── vhost-stub.c │ │ │ ├── vhost-user.c │ │ │ ├── vhost-vsock.c │ │ │ ├── vhost.c │ │ │ ├── virtio-balloon.c │ │ │ ├── virtio-bus.c │ │ │ ├── virtio-crypto-pci.c │ │ │ ├── virtio-crypto.c │ │ │ ├── virtio-mmio.c │ │ │ ├── virtio-pci.c │ │ │ ├── virtio-pci.h │ │ │ ├── virtio-rng.c │ │ │ └── virtio.c │ │ ├── watchdog/ │ │ │ ├── Makefile.objs │ │ │ ├── cmsdk-apb-watchdog.c │ │ │ ├── trace-events │ │ │ ├── watchdog.c │ │ │ ├── wdt_aspeed.c │ │ │ ├── wdt_diag288.c │ │ │ ├── wdt_i6300esb.c │ │ │ └── wdt_ib700.c │ │ ├── xen/ │ │ │ ├── Makefile.objs │ │ │ ├── trace-events │ │ │ ├── xen-common.c │ │ │ ├── xen-host-pci-device.c │ │ │ ├── xen-host-pci-device.h │ │ │ ├── xen_backend.c │ │ │ ├── xen_devconfig.c │ │ │ ├── xen_pt.c │ │ │ ├── xen_pt.h │ │ │ ├── xen_pt_config_init.c │ │ │ ├── xen_pt_graphics.c │ │ │ ├── xen_pt_load_rom.c │ │ │ ├── xen_pt_msi.c │ │ │ └── xen_pvdev.c │ │ ├── xenpv/ │ │ │ ├── Makefile.objs │ │ │ ├── xen_domainbuild.c │ │ │ ├── xen_domainbuild.h │ │ │ └── xen_machine_pv.c │ │ └── xtensa/ │ │ ├── Makefile.objs │ │ ├── bootparam.h │ │ ├── pic_cpu.c │ │ ├── sim.c │ │ ├── xtensa_memory.c │ │ ├── xtensa_memory.h │ │ └── xtfpga.c │ ├── include/ │ │ ├── block/ │ │ │ ├── accounting.h │ │ │ ├── aio-wait.h │ │ │ ├── aio.h │ │ │ ├── block.h │ │ │ ├── block_backup.h │ │ │ ├── block_int.h │ │ │ ├── blockjob.h │ │ │ ├── blockjob_int.h │ │ │ ├── dirty-bitmap.h │ │ │ ├── nbd.h │ │ │ ├── nvme.h │ │ │ ├── qapi.h │ │ │ ├── qdict.h │ │ │ ├── raw-aio.h │ │ │ ├── snapshot.h │ │ │ ├── thread-pool.h │ │ │ ├── throttle-groups.h │ │ │ └── write-threshold.h │ │ ├── chardev/ │ │ │ ├── char-fd.h │ │ │ ├── char-fe.h │ │ │ ├── char-io.h │ │ │ ├── char-mux.h │ │ │ ├── char-parallel.h │ │ │ ├── char-serial.h │ │ │ ├── char-win-stdio.h │ │ │ ├── char-win.h │ │ │ └── char.h │ │ ├── crypto/ │ │ │ ├── aes.h │ │ │ ├── afsplit.h │ │ │ ├── block.h │ │ │ ├── cipher.h │ │ │ ├── desrfb.h │ │ │ ├── hash.h │ │ │ ├── hmac.h │ │ │ ├── init.h │ │ │ ├── ivgen.h │ │ │ ├── pbkdf.h │ │ │ ├── random.h │ │ │ ├── secret.h │ │ │ ├── tlscreds.h │ │ │ ├── tlscredsanon.h │ │ │ ├── tlscredspsk.h │ │ │ ├── tlscredsx509.h │ │ │ ├── tlssession.h │ │ │ └── xts.h │ │ ├── disas/ │ │ │ ├── bfd.h │ │ │ ├── capstone.h │ │ │ └── disas.h │ │ ├── elf.h │ │ ├── exec/ │ │ │ ├── address-spaces.h │ │ │ ├── cpu-all.h │ │ │ ├── cpu-common.h │ │ │ ├── cpu-defs.h │ │ │ ├── cpu_ldst.h │ │ │ ├── cpu_ldst_template.h │ │ │ ├── cpu_ldst_useronly_template.h │ │ │ ├── cputlb.h │ │ │ ├── exec-all.h │ │ │ ├── gdbstub.h │ │ │ ├── gen-icount.h │ │ │ ├── helper-gen.h │ │ │ ├── helper-head.h │ │ │ ├── helper-proto.h │ │ │ ├── helper-tcg.h │ │ │ ├── hwaddr.h │ │ │ ├── ioport.h │ │ │ ├── log.h │ │ │ ├── memattrs.h │ │ │ ├── memory-internal.h │ │ │ ├── memory.h │ │ │ ├── memory_ldst.inc.h │ │ │ ├── memory_ldst_cached.inc.h │ │ │ ├── memory_ldst_phys.inc.h │ │ │ ├── poison.h │ │ │ ├── ram_addr.h │ │ │ ├── ramlist.h │ │ │ ├── semihost.h │ │ │ ├── softmmu-semi.h │ │ │ ├── target_page.h │ │ │ ├── tb-context.h │ │ │ ├── tb-hash-xx.h │ │ │ ├── tb-hash.h │ │ │ ├── tb-lookup.h │ │ │ ├── translator.h │ │ │ └── user/ │ │ │ ├── abitypes.h │ │ │ └── thunk.h │ │ ├── fpu/ │ │ │ ├── softfloat-macros.h │ │ │ ├── softfloat-types.h │ │ │ └── softfloat.h │ │ ├── glib-compat.h │ │ ├── hw/ │ │ │ ├── acpi/ │ │ │ │ ├── acpi-defs.h │ │ │ │ ├── acpi.h │ │ │ │ ├── acpi_dev_interface.h │ │ │ │ ├── aml-build.h │ │ │ │ ├── bios-linker-loader.h │ │ │ │ ├── cpu.h │ │ │ │ ├── cpu_hotplug.h │ │ │ │ ├── ich9.h │ │ │ │ ├── ipmi.h │ │ │ │ ├── memory_hotplug.h │ │ │ │ ├── pc-hotplug.h │ │ │ │ ├── pcihp.h │ │ │ │ ├── piix4.h │ │ │ │ ├── tco.h │ │ │ │ ├── tpm.h │ │ │ │ └── vmgenid.h │ │ │ ├── adc/ │ │ │ │ └── stm32f2xx_adc.h │ │ │ ├── arm/ │ │ │ │ ├── allwinner-a10.h │ │ │ │ ├── arm.h │ │ │ │ ├── armv7m.h │ │ │ │ ├── aspeed.h │ │ │ │ ├── aspeed_soc.h │ │ │ │ ├── bcm2835_peripherals.h │ │ │ │ ├── bcm2836.h │ │ │ │ ├── digic.h │ │ │ │ ├── exynos4210.h │ │ │ │ ├── fdt.h │ │ │ │ ├── fsl-imx25.h │ │ │ │ ├── fsl-imx31.h │ │ │ │ ├── fsl-imx6.h │ │ │ │ ├── fsl-imx6ul.h │ │ │ │ ├── fsl-imx7.h │ │ │ │ ├── iotkit.h │ │ │ │ ├── linux-boot-if.h │ │ │ │ ├── msf2-soc.h │ │ │ │ ├── nrf51_soc.h │ │ │ │ ├── omap.h │ │ │ │ ├── primecell.h │ │ │ │ ├── pxa.h │ │ │ │ ├── raspi_platform.h │ │ │ │ ├── sharpsl.h │ │ │ │ ├── smmu-common.h │ │ │ │ ├── smmuv3.h │ │ │ │ ├── soc_dma.h │ │ │ │ ├── stm32f205_soc.h │ │ │ │ ├── sysbus-fdt.h │ │ │ │ ├── virt.h │ │ │ │ ├── xlnx-versal.h │ │ │ │ └── xlnx-zynqmp.h │ │ │ ├── audio/ │ │ │ │ ├── pcspk.h │ │ │ │ ├── soundhw.h │ │ │ │ └── wm8750.h │ │ │ ├── block/ │ │ │ │ ├── block.h │ │ │ │ ├── fdc.h │ │ │ │ └── flash.h │ │ │ ├── boards.h │ │ │ ├── bt.h │ │ │ ├── char/ │ │ │ │ ├── bcm2835_aux.h │ │ │ │ ├── cadence_uart.h │ │ │ │ ├── cmsdk-apb-uart.h │ │ │ │ ├── digic-uart.h │ │ │ │ ├── escc.h │ │ │ │ ├── imx_serial.h │ │ │ │ ├── lm32_juart.h │ │ │ │ ├── nrf51_uart.h │ │ │ │ ├── parallel.h │ │ │ │ ├── pl011.h │ │ │ │ ├── serial.h │ │ │ │ ├── stm32f2xx_usart.h │ │ │ │ └── xilinx_uartlite.h │ │ │ ├── compat.h │ │ │ ├── core/ │ │ │ │ ├── generic-loader.h │ │ │ │ └── split-irq.h │ │ │ ├── cpu/ │ │ │ │ ├── a15mpcore.h │ │ │ │ ├── a9mpcore.h │ │ │ │ ├── arm11mpcore.h │ │ │ │ └── core.h │ │ │ ├── cris/ │ │ │ │ ├── etraxfs.h │ │ │ │ └── etraxfs_dma.h │ │ │ ├── devices.h │ │ │ ├── display/ │ │ │ │ ├── bcm2835_fb.h │ │ │ │ ├── bochs-vbe.h │ │ │ │ ├── dpcd.h │ │ │ │ ├── edid.h │ │ │ │ ├── ramfb.h │ │ │ │ ├── vga.h │ │ │ │ └── xlnx_dp.h │ │ │ ├── dma/ │ │ │ │ ├── bcm2835_dma.h │ │ │ │ ├── i8257.h │ │ │ │ ├── pl080.h │ │ │ │ ├── xlnx-zdma.h │ │ │ │ ├── xlnx-zynq-devcfg.h │ │ │ │ └── xlnx_dpdma.h │ │ │ ├── elf_ops.h │ │ │ ├── empty_slot.h │ │ │ ├── fw-path-provider.h │ │ │ ├── gpio/ │ │ │ │ ├── bcm2835_gpio.h │ │ │ │ └── imx_gpio.h │ │ │ ├── hotplug.h │ │ │ ├── hw.h │ │ │ ├── hyperv/ │ │ │ │ ├── hyperv-proto.h │ │ │ │ └── hyperv.h │ │ │ ├── i2c/ │ │ │ │ ├── aspeed_i2c.h │ │ │ │ ├── i2c-ddc.h │ │ │ │ ├── i2c.h │ │ │ │ ├── imx_i2c.h │ │ │ │ ├── pm_smbus.h │ │ │ │ ├── ppc4xx_i2c.h │ │ │ │ └── smbus.h │ │ │ ├── i386/ │ │ │ │ ├── apic-msidef.h │ │ │ │ ├── apic.h │ │ │ │ ├── apic_internal.h │ │ │ │ ├── ich9.h │ │ │ │ ├── intel_iommu.h │ │ │ │ ├── ioapic.h │ │ │ │ ├── ioapic_internal.h │ │ │ │ ├── pc.h │ │ │ │ ├── topology.h │ │ │ │ └── x86-iommu.h │ │ │ ├── ide/ │ │ │ │ ├── ahci.h │ │ │ │ ├── internal.h │ │ │ │ └── pci.h │ │ │ ├── ide.h │ │ │ ├── input/ │ │ │ │ ├── adb-keys.h │ │ │ │ ├── adb.h │ │ │ │ ├── hid.h │ │ │ │ ├── i8042.h │ │ │ │ └── ps2.h │ │ │ ├── intc/ │ │ │ │ ├── allwinner-a10-pic.h │ │ │ │ ├── arm_gic.h │ │ │ │ ├── arm_gic_common.h │ │ │ │ ├── arm_gicv3.h │ │ │ │ ├── arm_gicv3_common.h │ │ │ │ ├── arm_gicv3_its_common.h │ │ │ │ ├── armv7m_nvic.h │ │ │ │ ├── aspeed_vic.h │ │ │ │ ├── bcm2835_ic.h │ │ │ │ ├── bcm2836_control.h │ │ │ │ ├── heathrow_pic.h │ │ │ │ ├── imx_avic.h │ │ │ │ ├── imx_gpcv2.h │ │ │ │ ├── intc.h │ │ │ │ ├── mips_gic.h │ │ │ │ ├── realview_gic.h │ │ │ │ ├── xlnx-pmu-iomod-intc.h │ │ │ │ └── xlnx-zynqmp-ipi.h │ │ │ ├── ipack/ │ │ │ │ └── ipack.h │ │ │ ├── ipmi/ │ │ │ │ └── ipmi.h │ │ │ ├── irq.h │ │ │ ├── isa/ │ │ │ │ ├── apm.h │ │ │ │ ├── i8259_internal.h │ │ │ │ ├── isa.h │ │ │ │ ├── pc87312.h │ │ │ │ ├── superio.h │ │ │ │ └── vt82c686.h │ │ │ ├── kvm/ │ │ │ │ └── clock.h │ │ │ ├── lm32/ │ │ │ │ └── lm32_pic.h │ │ │ ├── loader-fit.h │ │ │ ├── loader.h │ │ │ ├── m68k/ │ │ │ │ ├── mcf.h │ │ │ │ └── mcf_fec.h │ │ │ ├── mem/ │ │ │ │ ├── memory-device.h │ │ │ │ ├── nvdimm.h │ │ │ │ └── pc-dimm.h │ │ │ ├── mips/ │ │ │ │ ├── bios.h │ │ │ │ ├── cps.h │ │ │ │ ├── cpudevs.h │ │ │ │ └── mips.h │ │ │ ├── misc/ │ │ │ │ ├── a9scu.h │ │ │ │ ├── arm11scu.h │ │ │ │ ├── arm_integrator_debug.h │ │ │ │ ├── aspeed_scu.h │ │ │ │ ├── aspeed_sdmc.h │ │ │ │ ├── auxbus.h │ │ │ │ ├── bcm2835_mbox.h │ │ │ │ ├── bcm2835_mbox_defs.h │ │ │ │ ├── bcm2835_property.h │ │ │ │ ├── bcm2835_rng.h │ │ │ │ ├── imx25_ccm.h │ │ │ │ ├── imx2_wdt.h │ │ │ │ ├── imx31_ccm.h │ │ │ │ ├── imx6_ccm.h │ │ │ │ ├── imx6_src.h │ │ │ │ ├── imx6ul_ccm.h │ │ │ │ ├── imx7_ccm.h │ │ │ │ ├── imx7_gpr.h │ │ │ │ ├── imx7_snvs.h │ │ │ │ ├── imx_ccm.h │ │ │ │ ├── iotkit-secctl.h │ │ │ │ ├── iotkit-sysctl.h │ │ │ │ ├── iotkit-sysinfo.h │ │ │ │ ├── ivshmem.h │ │ │ │ ├── macio/ │ │ │ │ │ ├── cuda.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── macio.h │ │ │ │ │ └── pmu.h │ │ │ │ ├── mips_cmgcr.h │ │ │ │ ├── mips_cpc.h │ │ │ │ ├── mips_itu.h │ │ │ │ ├── mos6522.h │ │ │ │ ├── mps2-fpgaio.h │ │ │ │ ├── mps2-scc.h │ │ │ │ ├── msf2-sysreg.h │ │ │ │ ├── pca9552.h │ │ │ │ ├── pca9552_regs.h │ │ │ │ ├── pvpanic.h │ │ │ │ ├── stm32f2xx_syscfg.h │ │ │ │ ├── tmp105_regs.h │ │ │ │ ├── tz-mpc.h │ │ │ │ ├── tz-msc.h │ │ │ │ ├── tz-ppc.h │ │ │ │ ├── unimp.h │ │ │ │ ├── vmcoreinfo.h │ │ │ │ └── zynq-xadc.h │ │ │ ├── net/ │ │ │ │ ├── allwinner_emac.h │ │ │ │ ├── cadence_gem.h │ │ │ │ ├── ftgmac100.h │ │ │ │ ├── imx_fec.h │ │ │ │ ├── lance.h │ │ │ │ ├── mii.h │ │ │ │ └── ne2000-isa.h │ │ │ ├── nmi.h │ │ │ ├── nvram/ │ │ │ │ ├── chrp_nvram.h │ │ │ │ ├── eeprom93xx.h │ │ │ │ ├── fw_cfg.h │ │ │ │ └── sun_nvram.h │ │ │ ├── or-irq.h │ │ │ ├── pci/ │ │ │ │ ├── msi.h │ │ │ │ ├── msix.h │ │ │ │ ├── pci.h │ │ │ │ ├── pci_bridge.h │ │ │ │ ├── pci_bus.h │ │ │ │ ├── pci_host.h │ │ │ │ ├── pci_ids.h │ │ │ │ ├── pci_regs.h │ │ │ │ ├── pcie.h │ │ │ │ ├── pcie_aer.h │ │ │ │ ├── pcie_host.h │ │ │ │ ├── pcie_port.h │ │ │ │ ├── pcie_regs.h │ │ │ │ ├── shpc.h │ │ │ │ └── slotid_cap.h │ │ │ ├── pci-bridge/ │ │ │ │ └── simba.h │ │ │ ├── pci-host/ │ │ │ │ ├── designware.h │ │ │ │ ├── gpex.h │ │ │ │ ├── pam.h │ │ │ │ ├── ppce500.h │ │ │ │ ├── q35.h │ │ │ │ ├── sabre.h │ │ │ │ ├── spapr.h │ │ │ │ ├── uninorth.h │ │ │ │ └── xilinx-pcie.h │ │ │ ├── pcmcia.h │ │ │ ├── platform-bus.h │ │ │ ├── ppc/ │ │ │ │ ├── fdt.h │ │ │ │ ├── mac_dbdma.h │ │ │ │ ├── openpic.h │ │ │ │ ├── openpic_kvm.h │ │ │ │ ├── pnv.h │ │ │ │ ├── pnv_core.h │ │ │ │ ├── pnv_lpc.h │ │ │ │ ├── pnv_occ.h │ │ │ │ ├── pnv_psi.h │ │ │ │ ├── pnv_xscom.h │ │ │ │ ├── ppc.h │ │ │ │ ├── ppc4xx.h │ │ │ │ ├── ppc_e500.h │ │ │ │ ├── spapr.h │ │ │ │ ├── spapr_cpu_core.h │ │ │ │ ├── spapr_drc.h │ │ │ │ ├── spapr_irq.h │ │ │ │ ├── spapr_ovec.h │ │ │ │ ├── spapr_rtas.h │ │ │ │ ├── spapr_vio.h │ │ │ │ └── xics.h │ │ │ ├── ptimer.h │ │ │ ├── qdev-core.h │ │ │ ├── qdev-dma.h │ │ │ ├── qdev-properties.h │ │ │ ├── qdev.h │ │ │ ├── register.h │ │ │ ├── registerfields.h │ │ │ ├── riscv/ │ │ │ │ ├── riscv_hart.h │ │ │ │ ├── riscv_htif.h │ │ │ │ ├── sifive_clint.h │ │ │ │ ├── sifive_e.h │ │ │ │ ├── sifive_plic.h │ │ │ │ ├── sifive_prci.h │ │ │ │ ├── sifive_test.h │ │ │ │ ├── sifive_u.h │ │ │ │ ├── sifive_uart.h │ │ │ │ ├── spike.h │ │ │ │ └── virt.h │ │ │ ├── s390x/ │ │ │ │ ├── 3270-ccw.h │ │ │ │ ├── adapter.h │ │ │ │ ├── ap-bridge.h │ │ │ │ ├── ap-device.h │ │ │ │ ├── css-bridge.h │ │ │ │ ├── css.h │ │ │ │ ├── ebcdic.h │ │ │ │ ├── event-facility.h │ │ │ │ ├── ioinst.h │ │ │ │ ├── s390-ccw.h │ │ │ │ ├── s390-virtio-ccw.h │ │ │ │ ├── s390_flic.h │ │ │ │ ├── sclp.h │ │ │ │ ├── storage-attributes.h │ │ │ │ ├── storage-keys.h │ │ │ │ └── tod.h │ │ │ ├── scsi/ │ │ │ │ ├── emulation.h │ │ │ │ ├── esp.h │ │ │ │ └── scsi.h │ │ │ ├── sd/ │ │ │ │ ├── bcm2835_sdhost.h │ │ │ │ ├── sd.h │ │ │ │ └── sdhci.h │ │ │ ├── sh4/ │ │ │ │ ├── sh.h │ │ │ │ └── sh_intc.h │ │ │ ├── smbios/ │ │ │ │ ├── ipmi.h │ │ │ │ └── smbios.h │ │ │ ├── sparc/ │ │ │ │ ├── grlib.h │ │ │ │ ├── sparc32_dma.h │ │ │ │ ├── sparc64.h │ │ │ │ ├── sun4m_iommu.h │ │ │ │ └── sun4u_iommu.h │ │ │ ├── ssi/ │ │ │ │ ├── aspeed_smc.h │ │ │ │ ├── imx_spi.h │ │ │ │ ├── mss-spi.h │ │ │ │ ├── pl022.h │ │ │ │ ├── ssi.h │ │ │ │ ├── stm32f2xx_spi.h │ │ │ │ └── xilinx_spips.h │ │ │ ├── stream.h │ │ │ ├── sysbus.h │ │ │ ├── timer/ │ │ │ │ ├── a9gtimer.h │ │ │ │ ├── allwinner-a10-pit.h │ │ │ │ ├── arm_mptimer.h │ │ │ │ ├── armv7m_systick.h │ │ │ │ ├── aspeed_timer.h │ │ │ │ ├── cmsdk-apb-dualtimer.h │ │ │ │ ├── cmsdk-apb-timer.h │ │ │ │ ├── digic-timer.h │ │ │ │ ├── hpet.h │ │ │ │ ├── i8254.h │ │ │ │ ├── i8254_internal.h │ │ │ │ ├── imx_epit.h │ │ │ │ ├── imx_gpt.h │ │ │ │ ├── m48t59.h │ │ │ │ ├── mc146818rtc.h │ │ │ │ ├── mc146818rtc_regs.h │ │ │ │ ├── mips_gictimer.h │ │ │ │ ├── mss-timer.h │ │ │ │ ├── stm32f2xx_timer.h │ │ │ │ ├── sun4v-rtc.h │ │ │ │ └── xlnx-zynqmp-rtc.h │ │ │ ├── tricore/ │ │ │ │ └── tricore.h │ │ │ ├── unicore32/ │ │ │ │ └── puv3.h │ │ │ ├── usb/ │ │ │ │ ├── chipidea.h │ │ │ │ ├── ehci-regs.h │ │ │ │ └── uhci-regs.h │ │ │ ├── usb.h │ │ │ ├── vfio/ │ │ │ │ ├── vfio-amd-xgbe.h │ │ │ │ ├── vfio-calxeda-xgmac.h │ │ │ │ ├── vfio-common.h │ │ │ │ ├── vfio-platform.h │ │ │ │ └── vfio.h │ │ │ ├── virtio/ │ │ │ │ ├── vhost-backend.h │ │ │ │ ├── vhost-scsi-common.h │ │ │ │ ├── vhost-scsi.h │ │ │ │ ├── vhost-user-blk.h │ │ │ │ ├── vhost-user-scsi.h │ │ │ │ ├── vhost-user.h │ │ │ │ ├── vhost-vsock.h │ │ │ │ ├── vhost.h │ │ │ │ ├── virtio-access.h │ │ │ │ ├── virtio-balloon.h │ │ │ │ ├── virtio-blk.h │ │ │ │ ├── virtio-bus.h │ │ │ │ ├── virtio-crypto.h │ │ │ │ ├── virtio-gpu.h │ │ │ │ ├── virtio-input.h │ │ │ │ ├── virtio-net.h │ │ │ │ ├── virtio-rng.h │ │ │ │ ├── virtio-scsi.h │ │ │ │ ├── virtio-serial.h │ │ │ │ └── virtio.h │ │ │ ├── watchdog/ │ │ │ │ ├── cmsdk-apb-watchdog.h │ │ │ │ ├── wdt_aspeed.h │ │ │ │ └── wdt_diag288.h │ │ │ ├── xen/ │ │ │ │ ├── io/ │ │ │ │ │ └── ring.h │ │ │ │ ├── xen.h │ │ │ │ ├── xen_backend.h │ │ │ │ ├── xen_common.h │ │ │ │ └── xen_pvdev.h │ │ │ └── xtensa/ │ │ │ └── xtensa-isa.h │ │ ├── io/ │ │ │ ├── channel-buffer.h │ │ │ ├── channel-command.h │ │ │ ├── channel-file.h │ │ │ ├── channel-socket.h │ │ │ ├── channel-tls.h │ │ │ ├── channel-util.h │ │ │ ├── channel-watch.h │ │ │ ├── channel-websock.h │ │ │ ├── channel.h │ │ │ ├── dns-resolver.h │ │ │ ├── net-listener.h │ │ │ └── task.h │ │ ├── libdecnumber/ │ │ │ ├── dconfig.h │ │ │ ├── decContext.h │ │ │ ├── decDPD.h │ │ │ ├── decNumber.h │ │ │ ├── decNumberLocal.h │ │ │ └── dpd/ │ │ │ ├── decimal128.h │ │ │ ├── decimal128Local.h │ │ │ ├── decimal32.h │ │ │ └── decimal64.h │ │ ├── migration/ │ │ │ ├── blocker.h │ │ │ ├── colo.h │ │ │ ├── cpu.h │ │ │ ├── failover.h │ │ │ ├── global_state.h │ │ │ ├── misc.h │ │ │ ├── qemu-file-types.h │ │ │ ├── register.h │ │ │ ├── snapshot.h │ │ │ └── vmstate.h │ │ ├── monitor/ │ │ │ ├── hmp-target.h │ │ │ ├── monitor.h │ │ │ └── qdev.h │ │ ├── net/ │ │ │ ├── can_emu.h │ │ │ ├── can_host.h │ │ │ ├── checksum.h │ │ │ ├── eth.h │ │ │ ├── filter.h │ │ │ ├── net.h │ │ │ ├── queue.h │ │ │ ├── slirp.h │ │ │ ├── tap.h │ │ │ ├── vhost-user.h │ │ │ └── vhost_net.h │ │ ├── qapi/ │ │ │ ├── clone-visitor.h │ │ │ ├── dealloc-visitor.h │ │ │ ├── error.h │ │ │ ├── opts-visitor.h │ │ │ ├── qmp/ │ │ │ │ ├── dispatch.h │ │ │ │ ├── json-parser.h │ │ │ │ ├── qbool.h │ │ │ │ ├── qdict.h │ │ │ │ ├── qerror.h │ │ │ │ ├── qjson.h │ │ │ │ ├── qlist.h │ │ │ │ ├── qlit.h │ │ │ │ ├── qnull.h │ │ │ │ ├── qnum.h │ │ │ │ ├── qobject.h │ │ │ │ └── qstring.h │ │ │ ├── qmp-event.h │ │ │ ├── qobject-input-visitor.h │ │ │ ├── qobject-output-visitor.h │ │ │ ├── string-input-visitor.h │ │ │ ├── string-output-visitor.h │ │ │ ├── util.h │ │ │ ├── visitor-impl.h │ │ │ └── visitor.h │ │ ├── qasan-qemu.h │ │ ├── qemu/ │ │ │ ├── acl.h │ │ │ ├── atomic.h │ │ │ ├── atomic128.h │ │ │ ├── base64.h │ │ │ ├── bcd.h │ │ │ ├── bitmap.h │ │ │ ├── bitops.h │ │ │ ├── bswap.h │ │ │ ├── buffer.h │ │ │ ├── compiler.h │ │ │ ├── config-file.h │ │ │ ├── coroutine.h │ │ │ ├── coroutine_int.h │ │ │ ├── cpuid.h │ │ │ ├── crc32c.h │ │ │ ├── cutils.h │ │ │ ├── drm.h │ │ │ ├── envlist.h │ │ │ ├── error-report.h │ │ │ ├── event_notifier.h │ │ │ ├── fifo32.h │ │ │ ├── fifo8.h │ │ │ ├── fprintf-fn.h │ │ │ ├── futex.h │ │ │ ├── hbitmap.h │ │ │ ├── help_option.h │ │ │ ├── host-utils.h │ │ │ ├── id.h │ │ │ ├── int128.h │ │ │ ├── iov.h │ │ │ ├── iova-tree.h │ │ │ ├── jhash.h │ │ │ ├── job.h │ │ │ ├── lockable.h │ │ │ ├── log-for-trace.h │ │ │ ├── log.h │ │ │ ├── main-loop.h │ │ │ ├── memfd.h │ │ │ ├── mmap-alloc.h │ │ │ ├── module.h │ │ │ ├── notify.h │ │ │ ├── option.h │ │ │ ├── option_int.h │ │ │ ├── osdep.h │ │ │ ├── path.h │ │ │ ├── pmem.h │ │ │ ├── processor.h │ │ │ ├── qdist.h │ │ │ ├── qht.h │ │ │ ├── qsp.h │ │ │ ├── queue.h │ │ │ ├── range.h │ │ │ ├── ratelimit.h │ │ │ ├── rcu.h │ │ │ ├── rcu_queue.h │ │ │ ├── readline.h │ │ │ ├── seqlock.h │ │ │ ├── sockets.h │ │ │ ├── stats64.h │ │ │ ├── sys_membarrier.h │ │ │ ├── systemd.h │ │ │ ├── thread-posix.h │ │ │ ├── thread-win32.h │ │ │ ├── thread.h │ │ │ ├── throttle-options.h │ │ │ ├── throttle.h │ │ │ ├── timed-average.h │ │ │ ├── timer.h │ │ │ ├── typedefs.h │ │ │ ├── unicode.h │ │ │ ├── units.h │ │ │ ├── uri.h │ │ │ ├── uuid.h │ │ │ ├── vfio-helpers.h │ │ │ ├── win_dump_defs.h │ │ │ └── xattr.h │ │ ├── qemu-common.h │ │ ├── qemu-io.h │ │ ├── qom/ │ │ │ ├── cpu.h │ │ │ ├── object.h │ │ │ ├── object_interfaces.h │ │ │ └── qom-qobject.h │ │ ├── scsi/ │ │ │ ├── constants.h │ │ │ ├── pr-manager.h │ │ │ └── utils.h │ │ ├── standard-headers/ │ │ │ ├── asm-s390/ │ │ │ │ └── virtio-ccw.h │ │ │ ├── asm-x86/ │ │ │ │ └── kvm_para.h │ │ │ ├── drivers/ │ │ │ │ └── infiniband/ │ │ │ │ └── hw/ │ │ │ │ └── vmw_pvrdma/ │ │ │ │ ├── pvrdma_dev_api.h │ │ │ │ ├── pvrdma_ring.h │ │ │ │ └── pvrdma_verbs.h │ │ │ ├── drm/ │ │ │ │ └── drm_fourcc.h │ │ │ ├── linux/ │ │ │ │ ├── ethtool.h │ │ │ │ ├── if_ether.h │ │ │ │ ├── input-event-codes.h │ │ │ │ ├── input.h │ │ │ │ ├── kernel.h │ │ │ │ ├── pci_regs.h │ │ │ │ ├── qemu_fw_cfg.h │ │ │ │ ├── sysinfo.h │ │ │ │ ├── types.h │ │ │ │ ├── virtio_9p.h │ │ │ │ ├── virtio_balloon.h │ │ │ │ ├── virtio_blk.h │ │ │ │ ├── virtio_config.h │ │ │ │ ├── virtio_console.h │ │ │ │ ├── virtio_crypto.h │ │ │ │ ├── virtio_gpu.h │ │ │ │ ├── virtio_ids.h │ │ │ │ ├── virtio_input.h │ │ │ │ ├── virtio_mmio.h │ │ │ │ ├── virtio_net.h │ │ │ │ ├── virtio_pci.h │ │ │ │ ├── virtio_ring.h │ │ │ │ ├── virtio_rng.h │ │ │ │ ├── virtio_scsi.h │ │ │ │ ├── virtio_types.h │ │ │ │ └── virtio_vsock.h │ │ │ └── rdma/ │ │ │ └── vmw_pvrdma-abi.h │ │ ├── sysemu/ │ │ │ ├── accel.h │ │ │ ├── arch_init.h │ │ │ ├── balloon.h │ │ │ ├── block-backend.h │ │ │ ├── blockdev.h │ │ │ ├── bt.h │ │ │ ├── cpus.h │ │ │ ├── cryptodev-vhost-user.h │ │ │ ├── cryptodev-vhost.h │ │ │ ├── cryptodev.h │ │ │ ├── device_tree.h │ │ │ ├── dma.h │ │ │ ├── dump-arch.h │ │ │ ├── dump.h │ │ │ ├── hax.h │ │ │ ├── hostmem.h │ │ │ ├── hvf.h │ │ │ ├── hw_accel.h │ │ │ ├── iothread.h │ │ │ ├── kvm.h │ │ │ ├── kvm_int.h │ │ │ ├── memory_mapping.h │ │ │ ├── numa.h │ │ │ ├── os-posix.h │ │ │ ├── os-win32.h │ │ │ ├── qtest.h │ │ │ ├── replay.h │ │ │ ├── reset.h │ │ │ ├── rng-random.h │ │ │ ├── rng.h │ │ │ ├── seccomp.h │ │ │ ├── sev.h │ │ │ ├── sysemu.h │ │ │ ├── tpm.h │ │ │ ├── tpm_backend.h │ │ │ ├── watchdog.h │ │ │ ├── whpx.h │ │ │ └── xen-mapcache.h │ │ ├── trace-tcg.h │ │ └── ui/ │ │ ├── console.h │ │ ├── egl-context.h │ │ ├── egl-helpers.h │ │ ├── gtk.h │ │ ├── input.h │ │ ├── pixel_ops.h │ │ ├── qemu-pixman.h │ │ ├── qemu-spice.h │ │ ├── sdl2.h │ │ ├── shader.h │ │ └── spice-display.h │ ├── io/ │ │ ├── Makefile.objs │ │ ├── channel-buffer.c │ │ ├── channel-command.c │ │ ├── channel-file.c │ │ ├── channel-socket.c │ │ ├── channel-tls.c │ │ ├── channel-util.c │ │ ├── channel-watch.c │ │ ├── channel-websock.c │ │ ├── channel.c │ │ ├── dns-resolver.c │ │ ├── net-listener.c │ │ ├── task.c │ │ └── trace-events │ ├── ioport.c │ ├── iothread.c │ ├── job-qmp.c │ ├── job.c │ ├── libdecnumber/ │ │ ├── Makefile.objs │ │ ├── decContext.c │ │ ├── decNumber.c │ │ └── dpd/ │ │ ├── decimal128.c │ │ ├── decimal32.c │ │ └── decimal64.c │ ├── linux-headers/ │ │ ├── COPYING │ │ ├── LICENSES/ │ │ │ ├── exceptions/ │ │ │ │ └── Linux-syscall-note │ │ │ └── preferred/ │ │ │ ├── BSD-2-Clause │ │ │ ├── BSD-3-Clause │ │ │ └── GPL-2.0 │ │ ├── README │ │ ├── asm-arm/ │ │ │ ├── bitsperlong.h │ │ │ ├── kvm.h │ │ │ ├── unistd-common.h │ │ │ ├── unistd-eabi.h │ │ │ ├── unistd-oabi.h │ │ │ └── unistd.h │ │ ├── asm-arm64/ │ │ │ ├── bitsperlong.h │ │ │ ├── kvm.h │ │ │ └── unistd.h │ │ ├── asm-generic/ │ │ │ ├── bitsperlong.h │ │ │ └── unistd.h │ │ ├── asm-mips/ │ │ │ ├── bitsperlong.h │ │ │ ├── kvm.h │ │ │ ├── sgidefs.h │ │ │ └── unistd.h │ │ ├── asm-powerpc/ │ │ │ ├── bitsperlong.h │ │ │ ├── kvm.h │ │ │ └── unistd.h │ │ ├── asm-s390/ │ │ │ ├── bitsperlong.h │ │ │ ├── kvm.h │ │ │ ├── unistd.h │ │ │ ├── unistd_32.h │ │ │ └── unistd_64.h │ │ ├── asm-x86/ │ │ │ ├── bitsperlong.h │ │ │ ├── kvm.h │ │ │ ├── unistd.h │ │ │ ├── unistd_32.h │ │ │ ├── unistd_64.h │ │ │ └── unistd_x32.h │ │ └── linux/ │ │ ├── kvm.h │ │ ├── psci.h │ │ ├── psp-sev.h │ │ ├── userfaultfd.h │ │ ├── vfio.h │ │ ├── vfio_ccw.h │ │ ├── vhost.h │ │ ├── virtio_config.h │ │ └── virtio_ring.h │ ├── linux-user/ │ │ ├── Makefile.objs │ │ ├── aarch64/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── alpha/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── arm/ │ │ │ ├── cpu_loop.c │ │ │ ├── nwfpe/ │ │ │ │ ├── Makefile.objs │ │ │ │ ├── double_cpdo.c │ │ │ │ ├── extended_cpdo.c │ │ │ │ ├── fpa11.c │ │ │ │ ├── fpa11.h │ │ │ │ ├── fpa11.inl │ │ │ │ ├── fpa11_cpdo.c │ │ │ │ ├── fpa11_cpdt.c │ │ │ │ ├── fpa11_cprt.c │ │ │ │ ├── fpopcode.c │ │ │ │ ├── fpopcode.h │ │ │ │ ├── fpsr.h │ │ │ │ └── single_cpdo.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── cpu_loop-common.h │ │ ├── cris/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── elfload.c │ │ ├── errno_defs.h │ │ ├── exit.c │ │ ├── fd-trans.c │ │ ├── fd-trans.h │ │ ├── flat.h │ │ ├── flatload.c │ │ ├── generic/ │ │ │ ├── fcntl.h │ │ │ ├── signal.h │ │ │ └── sockbits.h │ │ ├── host/ │ │ │ ├── aarch64/ │ │ │ │ ├── hostdep.h │ │ │ │ └── safe-syscall.inc.S │ │ │ ├── arm/ │ │ │ │ ├── hostdep.h │ │ │ │ └── safe-syscall.inc.S │ │ │ ├── i386/ │ │ │ │ ├── hostdep.h │ │ │ │ └── safe-syscall.inc.S │ │ │ ├── ia64/ │ │ │ │ └── hostdep.h │ │ │ ├── mips/ │ │ │ │ └── hostdep.h │ │ │ ├── ppc/ │ │ │ │ └── hostdep.h │ │ │ ├── ppc64/ │ │ │ │ ├── hostdep.h │ │ │ │ └── safe-syscall.inc.S │ │ │ ├── s390/ │ │ │ │ └── hostdep.h │ │ │ ├── s390x/ │ │ │ │ ├── hostdep.h │ │ │ │ └── safe-syscall.inc.S │ │ │ ├── sparc/ │ │ │ │ └── hostdep.h │ │ │ ├── sparc64/ │ │ │ │ └── hostdep.h │ │ │ ├── x32/ │ │ │ │ └── hostdep.h │ │ │ └── x86_64/ │ │ │ ├── hostdep.h │ │ │ └── safe-syscall.inc.S │ │ ├── hppa/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── i386/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── ioctls.h │ │ ├── linux_loop.h │ │ ├── linuxload.c │ │ ├── m68k/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── m68k-sim.c │ │ ├── main.c │ │ ├── microblaze/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── mips/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── mips64/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── mmap.c │ │ ├── nios2/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── openrisc/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── ppc/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── qemu.h │ │ ├── riscv/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── s390x/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── safe-syscall.S │ │ ├── sh4/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── signal-common.h │ │ ├── signal.c │ │ ├── socket.h │ │ ├── sparc/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_errno.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── sparc64/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── strace.c │ │ ├── strace.list │ │ ├── syscall.c │ │ ├── syscall_defs.h │ │ ├── syscall_types.h │ │ ├── target_flat.h │ │ ├── tilegx/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ ├── trace-events │ │ ├── uaccess.c │ │ ├── uname.c │ │ ├── uname.h │ │ ├── vm86.c │ │ ├── x86_64/ │ │ │ ├── cpu_loop.c │ │ │ ├── signal.c │ │ │ ├── sockbits.h │ │ │ ├── syscall_nr.h │ │ │ ├── target_cpu.h │ │ │ ├── target_elf.h │ │ │ ├── target_fcntl.h │ │ │ ├── target_signal.h │ │ │ ├── target_structs.h │ │ │ ├── target_syscall.h │ │ │ └── termbits.h │ │ └── xtensa/ │ │ ├── cpu_loop.c │ │ ├── signal.c │ │ ├── sockbits.h │ │ ├── syscall_nr.h │ │ ├── target_cpu.h │ │ ├── target_elf.h │ │ ├── target_fcntl.h │ │ ├── target_flat.h │ │ ├── target_signal.h │ │ ├── target_structs.h │ │ ├── target_syscall.h │ │ └── termbits.h │ ├── memory.c │ ├── memory_ldst.inc.c │ ├── memory_mapping.c │ ├── migration/ │ │ ├── Makefile.objs │ │ ├── block-dirty-bitmap.c │ │ ├── block.c │ │ ├── block.h │ │ ├── channel.c │ │ ├── channel.h │ │ ├── colo-failover.c │ │ ├── colo.c │ │ ├── exec.c │ │ ├── exec.h │ │ ├── fd.c │ │ ├── fd.h │ │ ├── global_state.c │ │ ├── migration.c │ │ ├── migration.h │ │ ├── page_cache.c │ │ ├── page_cache.h │ │ ├── postcopy-ram.c │ │ ├── postcopy-ram.h │ │ ├── qemu-file-channel.c │ │ ├── qemu-file-channel.h │ │ ├── qemu-file.c │ │ ├── qemu-file.h │ │ ├── qjson.c │ │ ├── qjson.h │ │ ├── ram.c │ │ ├── ram.h │ │ ├── rdma.c │ │ ├── rdma.h │ │ ├── savevm.c │ │ ├── savevm.h │ │ ├── socket.c │ │ ├── socket.h │ │ ├── tls.c │ │ ├── tls.h │ │ ├── trace-events │ │ ├── vmstate-types.c │ │ ├── vmstate.c │ │ ├── xbzrle.c │ │ └── xbzrle.h │ ├── module-common.c │ ├── monitor.c │ ├── nbd/ │ │ ├── Makefile.objs │ │ ├── client.c │ │ ├── common.c │ │ ├── nbd-internal.h │ │ ├── server.c │ │ └── trace-events │ ├── net/ │ │ ├── Makefile.objs │ │ ├── can/ │ │ │ ├── Makefile.objs │ │ │ ├── can_core.c │ │ │ ├── can_host.c │ │ │ └── can_socketcan.c │ │ ├── checksum.c │ │ ├── clients.h │ │ ├── colo-compare.c │ │ ├── colo-compare.h │ │ ├── colo.c │ │ ├── colo.h │ │ ├── dump.c │ │ ├── eth.c │ │ ├── filter-buffer.c │ │ ├── filter-mirror.c │ │ ├── filter-replay.c │ │ ├── filter-rewriter.c │ │ ├── filter.c │ │ ├── hub.c │ │ ├── hub.h │ │ ├── l2tpv3.c │ │ ├── net.c │ │ ├── netmap.c │ │ ├── queue.c │ │ ├── slirp.c │ │ ├── socket.c │ │ ├── tap-bsd.c │ │ ├── tap-linux.c │ │ ├── tap-linux.h │ │ ├── tap-solaris.c │ │ ├── tap-stub.c │ │ ├── tap-win32.c │ │ ├── tap.c │ │ ├── tap_int.h │ │ ├── trace-events │ │ ├── util.c │ │ ├── util.h │ │ ├── vde.c │ │ └── vhost-user.c │ ├── numa.c │ ├── os-posix.c │ ├── os-win32.c │ ├── pc-bios/ │ │ ├── Makefile │ │ ├── README │ │ ├── bamboo.dtb │ │ ├── bamboo.dts │ │ ├── canyonlands.dtb │ │ ├── canyonlands.dts │ │ ├── efi-e1000.rom │ │ ├── efi-e1000e.rom │ │ ├── efi-eepro100.rom │ │ ├── efi-ne2k_pci.rom │ │ ├── efi-pcnet.rom │ │ ├── efi-rtl8139.rom │ │ ├── efi-virtio.rom │ │ ├── efi-vmxnet3.rom │ │ ├── hppa-firmware.img │ │ ├── keymaps/ │ │ │ ├── Makefile │ │ │ ├── ar │ │ │ ├── bepo │ │ │ ├── common │ │ │ ├── cz │ │ │ ├── da │ │ │ ├── de │ │ │ ├── de-ch │ │ │ ├── en-gb │ │ │ ├── en-us │ │ │ ├── es │ │ │ ├── et │ │ │ ├── fi │ │ │ ├── fo │ │ │ ├── fr │ │ │ ├── fr-be │ │ │ ├── fr-ca │ │ │ ├── fr-ch │ │ │ ├── hr │ │ │ ├── hu │ │ │ ├── is │ │ │ ├── it │ │ │ ├── ja │ │ │ ├── lt │ │ │ ├── lv │ │ │ ├── mk │ │ │ ├── modifiers │ │ │ ├── nl │ │ │ ├── nl-be │ │ │ ├── no │ │ │ ├── pl │ │ │ ├── pt │ │ │ ├── pt-br │ │ │ ├── ru │ │ │ ├── sl │ │ │ ├── sv │ │ │ ├── th │ │ │ └── tr │ │ ├── openbios-ppc │ │ ├── openbios-sparc32 │ │ ├── openbios-sparc64 │ │ ├── optionrom/ │ │ │ ├── Makefile │ │ │ ├── code16gcc.h │ │ │ ├── flat.lds │ │ │ ├── kvmvapic.S │ │ │ ├── linuxboot.S │ │ │ ├── linuxboot_dma.c │ │ │ ├── multiboot.S │ │ │ └── optionrom.h │ │ ├── palcode-clipper │ │ ├── petalogix-ml605.dtb │ │ ├── petalogix-s3adsp1800.dtb │ │ ├── pxe-e1000.rom │ │ ├── pxe-eepro100.rom │ │ ├── pxe-ne2k_pci.rom │ │ ├── pxe-pcnet.rom │ │ ├── pxe-rtl8139.rom │ │ ├── pxe-virtio.rom │ │ ├── qemu.rsrc │ │ ├── qemu_vga.ndrv │ │ ├── s390-ccw/ │ │ │ ├── Makefile │ │ │ ├── bootmap.c │ │ │ ├── bootmap.h │ │ │ ├── bswap.h │ │ │ ├── cio.h │ │ │ ├── iplb.h │ │ │ ├── jump2ipl.c │ │ │ ├── libc.c │ │ │ ├── libc.h │ │ │ ├── main.c │ │ │ ├── menu.c │ │ │ ├── netboot.mak │ │ │ ├── netmain.c │ │ │ ├── s390-ccw.h │ │ │ ├── sclp.c │ │ │ ├── sclp.h │ │ │ ├── scsi.h │ │ │ ├── start.S │ │ │ ├── virtio-blkdev.c │ │ │ ├── virtio-net.c │ │ │ ├── virtio-scsi.c │ │ │ ├── virtio-scsi.h │ │ │ ├── virtio.c │ │ │ └── virtio.h │ │ ├── s390-ccw.img │ │ ├── s390-netboot.img │ │ ├── skiboot.lid │ │ ├── spapr-rtas/ │ │ │ ├── Makefile │ │ │ └── spapr-rtas.S │ │ └── u-boot.e500 │ ├── po/ │ │ ├── Makefile │ │ ├── bg.po │ │ ├── de_DE.po │ │ ├── fr_FR.po │ │ ├── hu.po │ │ ├── it.po │ │ ├── messages.po │ │ ├── tr.po │ │ └── zh_CN.po │ ├── qapi/ │ │ ├── Makefile.objs │ │ ├── block-core.json │ │ ├── block.json │ │ ├── char.json │ │ ├── common.json │ │ ├── crypto.json │ │ ├── introspect.json │ │ ├── job.json │ │ ├── migration.json │ │ ├── misc.json │ │ ├── net.json │ │ ├── opts-visitor.c │ │ ├── qapi-clone-visitor.c │ │ ├── qapi-dealloc-visitor.c │ │ ├── qapi-schema.json │ │ ├── qapi-util.c │ │ ├── qapi-visit-core.c │ │ ├── qmp-dispatch.c │ │ ├── qmp-event.c │ │ ├── qmp-registry.c │ │ ├── qobject-input-visitor.c │ │ ├── qobject-output-visitor.c │ │ ├── rocker.json │ │ ├── run-state.json │ │ ├── sockets.json │ │ ├── string-input-visitor.c │ │ ├── string-output-visitor.c │ │ ├── tpm.json │ │ ├── trace-events │ │ ├── trace.json │ │ ├── transaction.json │ │ └── ui.json │ ├── qdev-monitor.c │ ├── qdict-test-data.txt │ ├── qemu-bridge-helper.c │ ├── qemu-deprecated.texi │ ├── qemu-doc.texi │ ├── qemu-edid.c │ ├── qemu-ga.texi │ ├── qemu-img-cmds.hx │ ├── qemu-img.c │ ├── qemu-img.texi │ ├── qemu-io-cmds.c │ ├── qemu-io.c │ ├── qemu-keymap.c │ ├── qemu-nbd.c │ ├── qemu-nbd.texi │ ├── qemu-option-trace.texi │ ├── qemu-options-wrapper.h │ ├── qemu-options.h │ ├── qemu-options.hx │ ├── qemu-seccomp.c │ ├── qemu-tech.texi │ ├── qemu.nsi │ ├── qemu.sasl │ ├── qga/ │ │ ├── Makefile.objs │ │ ├── channel-posix.c │ │ ├── channel-win32.c │ │ ├── channel.h │ │ ├── commands-posix.c │ │ ├── commands-win32.c │ │ ├── commands.c │ │ ├── guest-agent-command-state.c │ │ ├── guest-agent-core.h │ │ ├── installer/ │ │ │ └── qemu-ga.wxs │ │ ├── main.c │ │ ├── qapi-schema.json │ │ ├── service-win32.c │ │ ├── service-win32.h │ │ ├── vss-win32/ │ │ │ ├── Makefile.objs │ │ │ ├── install.cpp │ │ │ ├── install.h │ │ │ ├── provider.cpp │ │ │ ├── qga-vss.def │ │ │ ├── qga-vss.idl │ │ │ ├── qga-vss.tlb │ │ │ ├── requester.cpp │ │ │ ├── requester.h │ │ │ ├── vss-common.h │ │ │ └── vss-handles.h │ │ ├── vss-win32.c │ │ └── vss-win32.h │ ├── qmp.c │ ├── qobject/ │ │ ├── Makefile.objs │ │ ├── block-qdict.c │ │ ├── json-lexer.c │ │ ├── json-parser-int.h │ │ ├── json-parser.c │ │ ├── json-streamer.c │ │ ├── qbool.c │ │ ├── qdict.c │ │ ├── qjson.c │ │ ├── qlist.c │ │ ├── qlit.c │ │ ├── qnull.c │ │ ├── qnum.c │ │ ├── qobject.c │ │ └── qstring.c │ ├── qom/ │ │ ├── Makefile.objs │ │ ├── container.c │ │ ├── cpu.c │ │ ├── object.c │ │ ├── object_interfaces.c │ │ ├── qom-qobject.c │ │ └── trace-events │ ├── qtest.c │ ├── replay/ │ │ ├── Makefile.objs │ │ ├── replay-audio.c │ │ ├── replay-char.c │ │ ├── replay-events.c │ │ ├── replay-input.c │ │ ├── replay-internal.c │ │ ├── replay-internal.h │ │ ├── replay-net.c │ │ ├── replay-snapshot.c │ │ ├── replay-time.c │ │ └── replay.c │ ├── replication.c │ ├── replication.h │ ├── roms/ │ │ ├── Makefile │ │ ├── QemuMacDrivers/ │ │ │ ├── COPYING │ │ │ ├── QemuVGADriver/ │ │ │ │ ├── QemuVGADriver.mcp.xml │ │ │ │ └── src/ │ │ │ │ ├── DriverDoDriverIO.c │ │ │ │ ├── DriverGestaltHandler.c │ │ │ │ ├── DriverQDCalls.c │ │ │ │ ├── DriverQDCalls.h │ │ │ │ ├── QemuVga.c │ │ │ │ ├── QemuVga.h │ │ │ │ ├── VideoDriver.exp │ │ │ │ ├── VideoDriverPrivate.h │ │ │ │ └── VideoDriverPrototypes.h │ │ │ ├── builds/ │ │ │ │ ├── qemu_vga.ndrv │ │ │ │ └── qemu_vga_debugosi.ndrv │ │ │ ├── cleanup.sh │ │ │ └── shared/ │ │ │ ├── LinuxOSI.h │ │ │ ├── LinuxOSI.s │ │ │ ├── LinuxOSIDefs.s │ │ │ ├── MacDriverUtils.c │ │ │ ├── MacDriverUtils.h │ │ │ ├── MakeFunction.s │ │ │ ├── logger.h │ │ │ └── vsprintf.c │ │ ├── SLOF/ │ │ │ ├── .gitignore │ │ │ ├── INSTALL │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── Makefile.gen │ │ │ ├── README │ │ │ ├── VERSION │ │ │ ├── board-js2x/ │ │ │ │ ├── Makefile │ │ │ │ ├── Makefile.dirs │ │ │ │ ├── config │ │ │ │ ├── include/ │ │ │ │ │ ├── bmc.h │ │ │ │ │ ├── hw.h │ │ │ │ │ ├── nvramlog.h │ │ │ │ │ ├── product.h │ │ │ │ │ └── southbridge.h │ │ │ │ ├── llfw/ │ │ │ │ │ ├── Cboot.S │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── board_io.S │ │ │ │ │ ├── hw.c │ │ │ │ │ ├── stage2.c │ │ │ │ │ ├── stage2.h │ │ │ │ │ ├── stage2.lds │ │ │ │ │ ├── stage2_head.S │ │ │ │ │ ├── stage_s.S │ │ │ │ │ ├── stage_s.lds │ │ │ │ │ ├── startup.S │ │ │ │ │ └── u4mem.c │ │ │ │ ├── romfs/ │ │ │ │ │ └── boot_rom.ffs │ │ │ │ ├── rtas/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── i2c_bmc.oco │ │ │ │ │ ├── ipmi_oem.oco │ │ │ │ │ ├── rtas_board.c │ │ │ │ │ ├── rtas_board.h │ │ │ │ │ ├── rtas_flash.c │ │ │ │ │ ├── rtas_flash.h │ │ │ │ │ ├── rtas_i2c_bmc.h │ │ │ │ │ ├── rtas_ipmi_bmc.h │ │ │ │ │ ├── rtas_out.c │ │ │ │ │ ├── rtas_pci.c │ │ │ │ │ └── rtas_table.c │ │ │ │ └── slof/ │ │ │ │ ├── Makefile │ │ │ │ ├── OF.fs │ │ │ │ ├── attu.fs │ │ │ │ ├── bcm57xx.fs │ │ │ │ ├── citrine-disk.fs │ │ │ │ ├── citrine-flash.fs │ │ │ │ ├── citrine.fs │ │ │ │ ├── copyright-oss.fs │ │ │ │ ├── cpu.fs │ │ │ │ ├── dart.fs │ │ │ │ ├── dma-function.fs │ │ │ │ ├── flash.fs │ │ │ │ ├── freq.fs │ │ │ │ ├── header.fs │ │ │ │ ├── helper.fs │ │ │ │ ├── ht.fs │ │ │ │ ├── i2c.fs │ │ │ │ ├── io.fs │ │ │ │ ├── ioapic.fs │ │ │ │ ├── ipmi-kcs.fs │ │ │ │ ├── ipmi-vpd.fs │ │ │ │ ├── memory.fs │ │ │ │ ├── mpic.fs │ │ │ │ ├── pci-aliases.fs │ │ │ │ ├── pci-bridge_1022_7460.fs │ │ │ │ ├── pci-capabilities.fs │ │ │ │ ├── pci-class_03.fs │ │ │ │ ├── pci-device_1002_515e.fs │ │ │ │ ├── pci-device_1014_028c.fs │ │ │ │ ├── pci-device_1014_02bd.fs │ │ │ │ ├── pci-device_1022_7451.fs │ │ │ │ ├── pci-device_1022_7468.fs │ │ │ │ ├── pci-device_1022_7469.fs │ │ │ │ ├── pci-device_14e4_16a8.fs │ │ │ │ ├── pci-interrupts.fs │ │ │ │ ├── rtas.fs │ │ │ │ ├── rtc.fs │ │ │ │ ├── serial.fs │ │ │ │ ├── sio.fs │ │ │ │ ├── tpm.fs │ │ │ │ ├── tree.fs │ │ │ │ ├── u4-mem.fs │ │ │ │ ├── version.c │ │ │ │ └── vga-display.fs │ │ │ ├── board-qemu/ │ │ │ │ ├── Makefile │ │ │ │ ├── Makefile.dirs │ │ │ │ ├── config │ │ │ │ ├── include/ │ │ │ │ │ ├── hw.h │ │ │ │ │ ├── nvramlog.h │ │ │ │ │ ├── product.h │ │ │ │ │ └── southbridge.h │ │ │ │ ├── llfw/ │ │ │ │ │ ├── Cboot.S │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── board_io.S │ │ │ │ │ ├── stage2.c │ │ │ │ │ ├── stage2.h │ │ │ │ │ ├── stage2.lds │ │ │ │ │ ├── stage2_head.S │ │ │ │ │ ├── startup.S │ │ │ │ │ └── version.S │ │ │ │ ├── romfs/ │ │ │ │ │ └── boot_rom.ffs │ │ │ │ └── slof/ │ │ │ │ ├── .gitignore │ │ │ │ ├── Makefile │ │ │ │ ├── OF.fs │ │ │ │ ├── archsupport.fs │ │ │ │ ├── copyright-oss.fs │ │ │ │ ├── dev-null.fs │ │ │ │ ├── e1k.fs │ │ │ │ ├── fdt-fl.fs │ │ │ │ ├── fdt.fs │ │ │ │ ├── header.fs │ │ │ │ ├── helper.fs │ │ │ │ ├── hvterm.fs │ │ │ │ ├── pci-aliases.fs │ │ │ │ ├── pci-capabilities.fs │ │ │ │ ├── pci-device_1013_00b8.fs │ │ │ │ ├── pci-device_1234_1111.fs │ │ │ │ ├── pci-device_1af4_1000.fs │ │ │ │ ├── pci-device_1af4_1001.fs │ │ │ │ ├── pci-device_1af4_1003.fs │ │ │ │ ├── pci-device_1af4_1004.fs │ │ │ │ ├── pci-device_1af4_1009.fs │ │ │ │ ├── pci-device_1af4_1041.fs │ │ │ │ ├── pci-device_1af4_1042.fs │ │ │ │ ├── pci-device_1af4_1043.fs │ │ │ │ ├── pci-device_1af4_1048.fs │ │ │ │ ├── pci-device_1af4_1049.fs │ │ │ │ ├── pci-device_1af4_1050.fs │ │ │ │ ├── pci-device_8086_100e.fs │ │ │ │ ├── pci-interrupts.fs │ │ │ │ ├── pci-phb.fs │ │ │ │ ├── qemu-bootlist.fs │ │ │ │ ├── qemu-vga.fs │ │ │ │ ├── rtas-nvram.fs │ │ │ │ ├── rtas.fs │ │ │ │ ├── tree.fs │ │ │ │ ├── version.S │ │ │ │ ├── vio-hvterm.fs │ │ │ │ ├── vio-veth.fs │ │ │ │ ├── vio-vscsi.fs │ │ │ │ ├── virtio-block.fs │ │ │ │ ├── virtio-fs.fs │ │ │ │ ├── virtio-net.fs │ │ │ │ ├── virtio-scsi.fs │ │ │ │ └── virtio-serial.fs │ │ │ ├── clients/ │ │ │ │ ├── .gitignore │ │ │ │ ├── Makefile │ │ │ │ ├── clients.mk │ │ │ │ ├── net-snk/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── app/ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── biosemu/ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── biosemu.c │ │ │ │ │ │ │ ├── biosemu.h │ │ │ │ │ │ │ ├── debug.c │ │ │ │ │ │ │ ├── debug.h │ │ │ │ │ │ │ ├── device.c │ │ │ │ │ │ │ ├── device.h │ │ │ │ │ │ │ ├── interrupt.c │ │ │ │ │ │ │ ├── interrupt.h │ │ │ │ │ │ │ ├── io.c │ │ │ │ │ │ │ ├── io.h │ │ │ │ │ │ │ ├── mem.c │ │ │ │ │ │ │ ├── mem.h │ │ │ │ │ │ │ ├── vbe.c │ │ │ │ │ │ │ └── vbe.h │ │ │ │ │ │ └── main.c │ │ │ │ │ ├── client.lds │ │ │ │ │ ├── include/ │ │ │ │ │ │ ├── crt0.h │ │ │ │ │ │ ├── fcntl.h │ │ │ │ │ │ ├── fileio.h │ │ │ │ │ │ ├── kernel.h │ │ │ │ │ │ ├── of.h │ │ │ │ │ │ ├── pci.h │ │ │ │ │ │ ├── rtas.h │ │ │ │ │ │ └── time.h │ │ │ │ │ ├── kernel/ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── crt0.c │ │ │ │ │ │ ├── entry.S │ │ │ │ │ │ ├── init.c │ │ │ │ │ │ ├── systemcall.c │ │ │ │ │ │ └── timer.c │ │ │ │ │ ├── libc/ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── sbrk.c │ │ │ │ │ │ └── time/ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── ftime.c │ │ │ │ │ │ └── timer.c │ │ │ │ │ ├── make.rules │ │ │ │ │ ├── oflib/ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── entry.S │ │ │ │ │ │ ├── of.c │ │ │ │ │ │ ├── pci.c │ │ │ │ │ │ └── rtas.c │ │ │ │ │ └── sec-client.lds │ │ │ │ └── takeover/ │ │ │ │ ├── Makefile │ │ │ │ ├── client.lds │ │ │ │ ├── entry.S │ │ │ │ ├── main.c │ │ │ │ ├── ppc32wrap.S │ │ │ │ ├── takeover.h │ │ │ │ └── takeover.oco │ │ │ ├── include/ │ │ │ │ ├── allocator.h │ │ │ │ ├── byteorder.h │ │ │ │ ├── calculatecrc.h │ │ │ │ ├── helpers.h │ │ │ │ ├── libelf.h │ │ │ │ ├── macros.h │ │ │ │ ├── memmap.h │ │ │ │ ├── netdriver.h │ │ │ │ ├── pcd.h │ │ │ │ ├── ppc970/ │ │ │ │ │ ├── cache.h │ │ │ │ │ └── cpu.h │ │ │ │ ├── ppcp7/ │ │ │ │ │ ├── cache.h │ │ │ │ │ └── cpu.h │ │ │ │ ├── romfs.h │ │ │ │ ├── rtas.h │ │ │ │ ├── rtas_table.h │ │ │ │ ├── termctrl.h │ │ │ │ └── xvect.h │ │ │ ├── lib/ │ │ │ │ ├── Makefile │ │ │ │ ├── libbases/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── libbases.code │ │ │ │ │ └── libbases.in │ │ │ │ ├── libbcm/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── bcm.code │ │ │ │ │ ├── bcm.in │ │ │ │ │ ├── bcm57xx.c │ │ │ │ │ └── bcm57xx.h │ │ │ │ ├── libbootmenu/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── bootmenu.c │ │ │ │ │ ├── bootmenu.code │ │ │ │ │ ├── bootmenu.h │ │ │ │ │ └── bootmenu.in │ │ │ │ ├── libbootmsg/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── bootmsg.code │ │ │ │ │ ├── bootmsg.in │ │ │ │ │ ├── bootmsg_lvl.S │ │ │ │ │ └── libbootmsg.h │ │ │ │ ├── libc/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.txt │ │ │ │ │ ├── ctype/ │ │ │ │ │ │ ├── Makefile.inc │ │ │ │ │ │ ├── isdigit.c │ │ │ │ │ │ ├── isprint.c │ │ │ │ │ │ ├── isspace.c │ │ │ │ │ │ ├── isxdigit.c │ │ │ │ │ │ ├── tolower.c │ │ │ │ │ │ └── toupper.c │ │ │ │ │ ├── getopt/ │ │ │ │ │ │ ├── Makefile.inc │ │ │ │ │ │ └── getopt.c │ │ │ │ │ ├── include/ │ │ │ │ │ │ ├── assert.h │ │ │ │ │ │ ├── ctype.h │ │ │ │ │ │ ├── errno.h │ │ │ │ │ │ ├── getopt.h │ │ │ │ │ │ ├── limits.h │ │ │ │ │ │ ├── stdarg.h │ │ │ │ │ │ ├── stdbool.h │ │ │ │ │ │ ├── stddef.h │ │ │ │ │ │ ├── stdint.h │ │ │ │ │ │ ├── stdio.h │ │ │ │ │ │ ├── stdlib.h │ │ │ │ │ │ ├── string.h │ │ │ │ │ │ ├── sys/ │ │ │ │ │ │ │ └── socket.h │ │ │ │ │ │ └── unistd.h │ │ │ │ │ ├── stdio/ │ │ │ │ │ │ ├── Makefile.inc │ │ │ │ │ │ ├── fileno.c │ │ │ │ │ │ ├── fprintf.c │ │ │ │ │ │ ├── fscanf.c │ │ │ │ │ │ ├── printf.c │ │ │ │ │ │ ├── putc.c │ │ │ │ │ │ ├── putchar.c │ │ │ │ │ │ ├── puts.c │ │ │ │ │ │ ├── scanf.c │ │ │ │ │ │ ├── setvbuf.c │ │ │ │ │ │ ├── snprintf.c │ │ │ │ │ │ ├── sprintf.c │ │ │ │ │ │ ├── stdchnls.c │ │ │ │ │ │ ├── vfprintf.c │ │ │ │ │ │ ├── vfscanf.c │ │ │ │ │ │ ├── vsnprintf.c │ │ │ │ │ │ ├── vsprintf.c │ │ │ │ │ │ └── vsscanf.c │ │ │ │ │ ├── stdlib/ │ │ │ │ │ │ ├── Makefile.inc │ │ │ │ │ │ ├── atoi.c │ │ │ │ │ │ ├── atol.c │ │ │ │ │ │ ├── error.c │ │ │ │ │ │ ├── free.c │ │ │ │ │ │ ├── malloc.c │ │ │ │ │ │ ├── malloc_defs.h │ │ │ │ │ │ ├── memalign.c │ │ │ │ │ │ ├── rand.c │ │ │ │ │ │ ├── realloc.c │ │ │ │ │ │ ├── strtol.c │ │ │ │ │ │ └── strtoul.c │ │ │ │ │ └── string/ │ │ │ │ │ ├── Makefile.inc │ │ │ │ │ ├── memchr.c │ │ │ │ │ ├── memcmp.c │ │ │ │ │ ├── memcpy.c │ │ │ │ │ ├── memmove.c │ │ │ │ │ ├── memset.c │ │ │ │ │ ├── strcasecmp.c │ │ │ │ │ ├── strcat.c │ │ │ │ │ ├── strchr.c │ │ │ │ │ ├── strcmp.c │ │ │ │ │ ├── strcpy.c │ │ │ │ │ ├── strlen.c │ │ │ │ │ ├── strncasecmp.c │ │ │ │ │ ├── strncmp.c │ │ │ │ │ ├── strncpy.c │ │ │ │ │ ├── strrchr.c │ │ │ │ │ ├── strstr.c │ │ │ │ │ └── strtok.c │ │ │ │ ├── libe1k/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── e1k.c │ │ │ │ │ ├── e1k.code │ │ │ │ │ ├── e1k.h │ │ │ │ │ └── e1k.in │ │ │ │ ├── libelf/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── elf.c │ │ │ │ │ ├── elf32.c │ │ │ │ │ ├── elf64.c │ │ │ │ │ ├── elf_claim.c │ │ │ │ │ ├── libelf.code │ │ │ │ │ └── libelf.in │ │ │ │ ├── libhvcall/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── brokensc1.c │ │ │ │ │ ├── hvcall.S │ │ │ │ │ ├── hvcall.code │ │ │ │ │ ├── hvcall.in │ │ │ │ │ ├── libhvcall.h │ │ │ │ │ └── rfill.c │ │ │ │ ├── libipmi/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── libipmi.code │ │ │ │ │ ├── libipmi.h │ │ │ │ │ ├── libipmi.in │ │ │ │ │ └── libipmi.oco │ │ │ │ ├── libnativeio/ │ │ │ │ │ ├── nativeio.code │ │ │ │ │ └── nativeio.in │ │ │ │ ├── libnet/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── args.c │ │ │ │ │ ├── args.h │ │ │ │ │ ├── bootp.c │ │ │ │ │ ├── dhcp.c │ │ │ │ │ ├── dhcp.h │ │ │ │ │ ├── dhcpv6.c │ │ │ │ │ ├── dhcpv6.h │ │ │ │ │ ├── dns.c │ │ │ │ │ ├── dns.h │ │ │ │ │ ├── ethernet.c │ │ │ │ │ ├── ethernet.h │ │ │ │ │ ├── icmpv6.c │ │ │ │ │ ├── icmpv6.h │ │ │ │ │ ├── ipv4.c │ │ │ │ │ ├── ipv4.h │ │ │ │ │ ├── ipv6.c │ │ │ │ │ ├── ipv6.h │ │ │ │ │ ├── libnet.code │ │ │ │ │ ├── libnet.in │ │ │ │ │ ├── ndp.c │ │ │ │ │ ├── ndp.h │ │ │ │ │ ├── netapps.h │ │ │ │ │ ├── netload.c │ │ │ │ │ ├── ping.c │ │ │ │ │ ├── pxelinux.c │ │ │ │ │ ├── pxelinux.h │ │ │ │ │ ├── tcp.c │ │ │ │ │ ├── tcp.h │ │ │ │ │ ├── tftp.c │ │ │ │ │ ├── tftp.h │ │ │ │ │ ├── time.h │ │ │ │ │ ├── udp.c │ │ │ │ │ └── udp.h │ │ │ │ ├── libnvram/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── envvar.c │ │ │ │ │ ├── libnvram.code │ │ │ │ │ ├── libnvram.in │ │ │ │ │ ├── nvram.c │ │ │ │ │ └── nvram.h │ │ │ │ ├── libusb/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── tools.h │ │ │ │ │ ├── usb-core.c │ │ │ │ │ ├── usb-core.h │ │ │ │ │ ├── usb-ehci.c │ │ │ │ │ ├── usb-ehci.h │ │ │ │ │ ├── usb-hid.c │ │ │ │ │ ├── usb-hub.c │ │ │ │ │ ├── usb-key.c │ │ │ │ │ ├── usb-key.h │ │ │ │ │ ├── usb-ohci.c │ │ │ │ │ ├── usb-ohci.h │ │ │ │ │ ├── usb-slof.c │ │ │ │ │ ├── usb-xhci.c │ │ │ │ │ ├── usb-xhci.h │ │ │ │ │ ├── usb.code │ │ │ │ │ ├── usb.h │ │ │ │ │ └── usb.in │ │ │ │ ├── libveth/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── veth.c │ │ │ │ │ ├── veth.code │ │ │ │ │ ├── veth.h │ │ │ │ │ └── veth.in │ │ │ │ └── libvirtio/ │ │ │ │ ├── Makefile │ │ │ │ ├── p9.c │ │ │ │ ├── p9.h │ │ │ │ ├── virtio-9p.c │ │ │ │ ├── virtio-9p.h │ │ │ │ ├── virtio-blk.c │ │ │ │ ├── virtio-blk.h │ │ │ │ ├── virtio-internal.h │ │ │ │ ├── virtio-net.c │ │ │ │ ├── virtio-net.h │ │ │ │ ├── virtio-scsi.c │ │ │ │ ├── virtio-scsi.h │ │ │ │ ├── virtio-serial.c │ │ │ │ ├── virtio-serial.h │ │ │ │ ├── virtio.c │ │ │ │ ├── virtio.code │ │ │ │ ├── virtio.h │ │ │ │ └── virtio.in │ │ │ ├── llfw/ │ │ │ │ ├── boot_abort.S │ │ │ │ ├── boot_abort.h │ │ │ │ ├── clib/ │ │ │ │ │ ├── Makefile.inc │ │ │ │ │ ├── iolib.c │ │ │ │ │ └── iolib.h │ │ │ │ ├── io_generic/ │ │ │ │ │ ├── Makefile.inc │ │ │ │ │ └── io_generic.S │ │ │ │ ├── nvramlog.S │ │ │ │ ├── romfs.S │ │ │ │ └── romfs_wrap.c │ │ │ ├── make.rules │ │ │ ├── other-licence/ │ │ │ │ ├── Makefile │ │ │ │ └── x86emu/ │ │ │ │ ├── Makefile │ │ │ │ ├── x86emu_changes.diff │ │ │ │ └── x86emu_download.sh │ │ │ ├── romfs/ │ │ │ │ ├── header.img │ │ │ │ └── tools/ │ │ │ │ ├── .gitignore │ │ │ │ ├── Makefile │ │ │ │ ├── build_ffs.c │ │ │ │ ├── cfg_parse.c │ │ │ │ ├── cfgparse.h │ │ │ │ ├── crclib.c │ │ │ │ ├── crclib.h │ │ │ │ ├── create_crc.c │ │ │ │ ├── create_flash.c │ │ │ │ └── createcrc.h │ │ │ ├── rtas/ │ │ │ │ ├── Makefile.inc │ │ │ │ ├── flash/ │ │ │ │ │ ├── block_lists.c │ │ │ │ │ ├── block_lists.h │ │ │ │ │ └── tmpXXX.update-comments │ │ │ │ ├── reloc.S │ │ │ │ ├── rtas.lds │ │ │ │ ├── rtas_call.c │ │ │ │ ├── rtas_common.S │ │ │ │ └── rtas_entry.S │ │ │ ├── slof/ │ │ │ │ ├── Makefile.inc │ │ │ │ ├── OF.lds │ │ │ │ ├── allocator.c │ │ │ │ ├── default-font.c │ │ │ │ ├── engine.in │ │ │ │ ├── entry.S │ │ │ │ ├── fs/ │ │ │ │ │ ├── accept.fs │ │ │ │ │ ├── alloc-mem-debug.fs │ │ │ │ │ ├── alloc-mem.fs │ │ │ │ │ ├── available.fs │ │ │ │ │ ├── banner.fs │ │ │ │ │ ├── base.fs │ │ │ │ │ ├── boot.fs │ │ │ │ │ ├── bootmsg.fs │ │ │ │ │ ├── claim.fs │ │ │ │ │ ├── client.fs │ │ │ │ │ ├── debug.fs │ │ │ │ │ ├── devices/ │ │ │ │ │ │ ├── pci-class_02.fs │ │ │ │ │ │ ├── pci-class_0c.fs │ │ │ │ │ │ └── pci-device_10de_0141.fs │ │ │ │ │ ├── dictionary.fs │ │ │ │ │ ├── display.fs │ │ │ │ │ ├── dma-function.fs │ │ │ │ │ ├── dump.fs │ │ │ │ │ ├── elf.fs │ │ │ │ │ ├── envvar.fs │ │ │ │ │ ├── envvar_defaults.fs │ │ │ │ │ ├── exception.fs │ │ │ │ │ ├── fbuffer.fs │ │ │ │ │ ├── fcode/ │ │ │ │ │ │ ├── 1275.fs │ │ │ │ │ │ ├── core.fs │ │ │ │ │ │ ├── evaluator.fs │ │ │ │ │ │ ├── little-big.fs │ │ │ │ │ │ ├── locals.fs │ │ │ │ │ │ └── tokens.fs │ │ │ │ │ ├── find-hash.fs │ │ │ │ │ ├── generic-disk.fs │ │ │ │ │ ├── graphics.fs │ │ │ │ │ ├── history.fs │ │ │ │ │ ├── ide.fs │ │ │ │ │ ├── instance.fs │ │ │ │ │ ├── little-endian.fs │ │ │ │ │ ├── loaders.fs │ │ │ │ │ ├── logging.fs │ │ │ │ │ ├── node.fs │ │ │ │ │ ├── nvram.fs │ │ │ │ │ ├── packages/ │ │ │ │ │ │ ├── deblocker.fs │ │ │ │ │ │ ├── disk-label.fs │ │ │ │ │ │ ├── ext2-files.fs │ │ │ │ │ │ ├── fat-files.fs │ │ │ │ │ │ ├── filler.fs │ │ │ │ │ │ ├── iso-9660.fs │ │ │ │ │ │ ├── obp-tftp.fs │ │ │ │ │ │ └── rom-files.fs │ │ │ │ │ ├── packages.fs │ │ │ │ │ ├── pci-bridge.fs │ │ │ │ │ ├── pci-class-code-names.fs │ │ │ │ │ ├── pci-config-bridge.fs │ │ │ │ │ ├── pci-device.fs │ │ │ │ │ ├── pci-helper.fs │ │ │ │ │ ├── pci-properties.fs │ │ │ │ │ ├── pci-scan.fs │ │ │ │ │ ├── preprocessor.fs │ │ │ │ │ ├── property.fs │ │ │ │ │ ├── quiesce.fs │ │ │ │ │ ├── romfs.fs │ │ │ │ │ ├── root.fs │ │ │ │ │ ├── rtas/ │ │ │ │ │ │ ├── rtas-cpu.fs │ │ │ │ │ │ ├── rtas-flash.fs │ │ │ │ │ │ ├── rtas-init.fs │ │ │ │ │ │ ├── rtas-reboot.fs │ │ │ │ │ │ └── rtas-vpd.fs │ │ │ │ │ ├── scsi-disk.fs │ │ │ │ │ ├── scsi-host-helpers.fs │ │ │ │ │ ├── scsi-loader.fs │ │ │ │ │ ├── scsi-probe-helpers.fs │ │ │ │ │ ├── scsi-support.fs │ │ │ │ │ ├── search.fs │ │ │ │ │ ├── stack.fs │ │ │ │ │ ├── start-up.fs │ │ │ │ │ ├── term-io.fs │ │ │ │ │ ├── terminal.fs │ │ │ │ │ ├── timebase.fs │ │ │ │ │ ├── translate.fs │ │ │ │ │ ├── update_flash.fs │ │ │ │ │ ├── usb/ │ │ │ │ │ │ ├── dev-hci.fs │ │ │ │ │ │ ├── dev-hub.fs │ │ │ │ │ │ ├── dev-keyb.fs │ │ │ │ │ │ ├── dev-mouse.fs │ │ │ │ │ │ ├── dev-parent-calls.fs │ │ │ │ │ │ ├── dev-storage.fs │ │ │ │ │ │ ├── slofdev.fs │ │ │ │ │ │ └── usb-static.fs │ │ │ │ │ ├── vpd-bootlist.fs │ │ │ │ │ └── xmodem.fs │ │ │ │ ├── helpers.c │ │ │ │ ├── lowmem.S │ │ │ │ ├── ofw.S │ │ │ │ ├── paflof.c │ │ │ │ ├── paflof.h │ │ │ │ ├── ppc64.c │ │ │ │ ├── ppc64.code │ │ │ │ ├── ppc64.h │ │ │ │ ├── ppc64.in │ │ │ │ ├── prep.h │ │ │ │ ├── prim.code │ │ │ │ ├── prim.in │ │ │ │ ├── ref.pl │ │ │ │ ├── sbrk.c │ │ │ │ └── types.h │ │ │ └── tools/ │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── create_reloc_table.sh │ │ │ ├── gen_reloc_table.c │ │ │ └── sloffs.c │ │ ├── config.seabios-128k │ │ ├── config.seabios-256k │ │ ├── config.vga-bochs-display │ │ ├── config.vga-cirrus │ │ ├── config.vga-isavga │ │ ├── config.vga-qxl │ │ ├── config.vga-ramfb │ │ ├── config.vga-stdvga │ │ ├── config.vga-virtio │ │ ├── config.vga-vmware │ │ ├── configure-seabios.sh │ │ ├── ipxe/ │ │ │ ├── .travis.yml │ │ │ ├── COPYING │ │ │ ├── COPYING.GPLv2 │ │ │ ├── COPYING.UBDL │ │ │ ├── README │ │ │ ├── contrib/ │ │ │ │ ├── README │ │ │ │ ├── coverity/ │ │ │ │ │ └── model.c │ │ │ │ ├── errdb/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── errdb.pl │ │ │ │ └── rom-o-matic/ │ │ │ │ ├── README │ │ │ │ ├── bottom.php │ │ │ │ ├── build.php │ │ │ │ ├── customize-flags.php │ │ │ │ ├── directions.php │ │ │ │ ├── doc/ │ │ │ │ │ ├── AUTOBOOT_CMD.html │ │ │ │ │ ├── BANNER_TIMEOUT.html │ │ │ │ │ ├── COMCONSOLE.html │ │ │ │ │ ├── COMDATA.html │ │ │ │ │ ├── COMPARITY.html │ │ │ │ │ ├── COMPRESERVE.html │ │ │ │ │ ├── COMSPEED.html │ │ │ │ │ ├── COMSTOP.html │ │ │ │ │ ├── CONFIG_CMD.html │ │ │ │ │ ├── CONSOLE_PC_BIOS.html │ │ │ │ │ ├── CONSOLE_SERIAL.html │ │ │ │ │ ├── CRYPTO_80211_WEP.html │ │ │ │ │ ├── CRYPTO_80211_WPA.html │ │ │ │ │ ├── CRYPTO_80211_WPA2.html │ │ │ │ │ ├── DHCP_CMD.html │ │ │ │ │ ├── DNS_RESOLVER.html │ │ │ │ │ ├── DOWNLOAD_PROTO_FTP.html │ │ │ │ │ ├── DOWNLOAD_PROTO_HTTP.html │ │ │ │ │ ├── DOWNLOAD_PROTO_TFTP.html │ │ │ │ │ ├── IFMGMT_CMD.html │ │ │ │ │ ├── IMAGE_BZIMAGE.html │ │ │ │ │ ├── IMAGE_CMD.html │ │ │ │ │ ├── IMAGE_ELF.html │ │ │ │ │ ├── IMAGE_MULTIBOOT.html │ │ │ │ │ ├── IMAGE_NBI.html │ │ │ │ │ ├── IMAGE_PXE.html │ │ │ │ │ ├── IMAGE_SCRIPT.html │ │ │ │ │ ├── IWMGMT_CMD.html │ │ │ │ │ ├── NMB_RESOLVER.html │ │ │ │ │ ├── NVO_CMD.html │ │ │ │ │ ├── ROUTE_CMD.html │ │ │ │ │ └── SANBOOT_CMD.html │ │ │ │ ├── flag-table.php │ │ │ │ ├── globals.php │ │ │ │ ├── index.php │ │ │ │ ├── top.php │ │ │ │ └── utils.php │ │ │ └── src/ │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── Makefile.efi │ │ │ ├── Makefile.housekeeping │ │ │ ├── arch/ │ │ │ │ ├── arm/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Makefile.efi │ │ │ │ │ ├── core/ │ │ │ │ │ │ └── arm_io.c │ │ │ │ │ ├── include/ │ │ │ │ │ │ ├── bits/ │ │ │ │ │ │ │ ├── acpi.h │ │ │ │ │ │ │ ├── endian.h │ │ │ │ │ │ │ ├── entropy.h │ │ │ │ │ │ │ ├── errfile.h │ │ │ │ │ │ │ ├── hyperv.h │ │ │ │ │ │ │ ├── io.h │ │ │ │ │ │ │ ├── iomap.h │ │ │ │ │ │ │ ├── nap.h │ │ │ │ │ │ │ ├── pci_io.h │ │ │ │ │ │ │ ├── reboot.h │ │ │ │ │ │ │ ├── sanboot.h │ │ │ │ │ │ │ ├── smbios.h │ │ │ │ │ │ │ ├── time.h │ │ │ │ │ │ │ ├── uaccess.h │ │ │ │ │ │ │ ├── uart.h │ │ │ │ │ │ │ ├── umalloc.h │ │ │ │ │ │ │ └── xen.h │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ ├── arm_io.h │ │ │ │ │ │ └── efi/ │ │ │ │ │ │ └── efiarm_nap.h │ │ │ │ │ └── interface/ │ │ │ │ │ └── efi/ │ │ │ │ │ └── efiarm_nap.c │ │ │ │ ├── arm32/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Makefile.efi │ │ │ │ │ ├── core/ │ │ │ │ │ │ ├── arm32_bigint.c │ │ │ │ │ │ └── setjmp.S │ │ │ │ │ ├── include/ │ │ │ │ │ │ ├── bits/ │ │ │ │ │ │ │ ├── bigint.h │ │ │ │ │ │ │ ├── bitops.h │ │ │ │ │ │ │ ├── byteswap.h │ │ │ │ │ │ │ ├── compiler.h │ │ │ │ │ │ │ ├── profile.h │ │ │ │ │ │ │ ├── stdint.h │ │ │ │ │ │ │ ├── string.h │ │ │ │ │ │ │ ├── strings.h │ │ │ │ │ │ │ └── tcpip.h │ │ │ │ │ │ ├── efi/ │ │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ │ └── dhcp_arch.h │ │ │ │ │ │ ├── gdbmach.h │ │ │ │ │ │ ├── limits.h │ │ │ │ │ │ └── setjmp.h │ │ │ │ │ └── libgcc/ │ │ │ │ │ ├── lldivmod.S │ │ │ │ │ └── llshift.S │ │ │ │ ├── arm64/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Makefile.efi │ │ │ │ │ ├── core/ │ │ │ │ │ │ ├── arm64_bigint.c │ │ │ │ │ │ ├── arm64_string.c │ │ │ │ │ │ ├── arm64_tcpip.c │ │ │ │ │ │ └── setjmp.S │ │ │ │ │ └── include/ │ │ │ │ │ ├── bits/ │ │ │ │ │ │ ├── bigint.h │ │ │ │ │ │ ├── bitops.h │ │ │ │ │ │ ├── byteswap.h │ │ │ │ │ │ ├── compiler.h │ │ │ │ │ │ ├── profile.h │ │ │ │ │ │ ├── stdint.h │ │ │ │ │ │ ├── string.h │ │ │ │ │ │ ├── strings.h │ │ │ │ │ │ └── tcpip.h │ │ │ │ │ ├── efi/ │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ └── dhcp_arch.h │ │ │ │ │ ├── gdbmach.h │ │ │ │ │ ├── limits.h │ │ │ │ │ └── setjmp.h │ │ │ │ ├── i386/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Makefile.efi │ │ │ │ │ ├── Makefile.linux │ │ │ │ │ ├── Makefile.pcbios │ │ │ │ │ ├── README.i386 │ │ │ │ │ ├── core/ │ │ │ │ │ │ ├── gdbidt.S │ │ │ │ │ │ ├── linux/ │ │ │ │ │ │ │ ├── linux_syscall.S │ │ │ │ │ │ │ └── linuxprefix.S │ │ │ │ │ │ ├── nulltrap.c │ │ │ │ │ │ └── setjmp.S │ │ │ │ │ ├── include/ │ │ │ │ │ │ ├── bits/ │ │ │ │ │ │ │ ├── byteswap.h │ │ │ │ │ │ │ ├── compiler.h │ │ │ │ │ │ │ ├── hyperv.h │ │ │ │ │ │ │ ├── linux_api.h │ │ │ │ │ │ │ ├── profile.h │ │ │ │ │ │ │ ├── stdint.h │ │ │ │ │ │ │ └── strings.h │ │ │ │ │ │ ├── efi/ │ │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ │ └── dhcp_arch.h │ │ │ │ │ │ ├── gdbmach.h │ │ │ │ │ │ ├── ipxe/ │ │ │ │ │ │ │ └── msr.h │ │ │ │ │ │ ├── limits.h │ │ │ │ │ │ ├── pcbios/ │ │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ │ └── dhcp_arch.h │ │ │ │ │ │ └── setjmp.h │ │ │ │ │ ├── kir-Makefile │ │ │ │ │ ├── scripts/ │ │ │ │ │ │ ├── i386-kir.lds │ │ │ │ │ │ └── linux.lds │ │ │ │ │ └── tests/ │ │ │ │ │ ├── gdbstub_test.S │ │ │ │ │ └── gdbstub_test.gdb │ │ │ │ ├── x86/ │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Makefile.efi │ │ │ │ │ ├── Makefile.linux │ │ │ │ │ ├── Makefile.pcbios │ │ │ │ │ ├── core/ │ │ │ │ │ │ ├── basemem_packet.c │ │ │ │ │ │ ├── cachedhcp.c │ │ │ │ │ │ ├── cpuid.c │ │ │ │ │ │ ├── cpuid_settings.c │ │ │ │ │ │ ├── debugcon.c │ │ │ │ │ │ ├── dumpregs.c │ │ │ │ │ │ ├── gdbmach.c │ │ │ │ │ │ ├── linux/ │ │ │ │ │ │ │ ├── linux_api.c │ │ │ │ │ │ │ └── linux_strerror.c │ │ │ │ │ │ ├── patch_cf.S │ │ │ │ │ │ ├── pci_autoboot.c │ │ │ │ │ │ ├── pcidirect.c │ │ │ │ │ │ ├── pic8259.c │ │ │ │ │ │ ├── pit8254.c │ │ │ │ │ │ ├── rdtsc_timer.c │ │ │ │ │ │ ├── relocate.c │ │ │ │ │ │ ├── runtime.c │ │ │ │ │ │ ├── stack.S │ │ │ │ │ │ ├── stack16.S │ │ │ │ │ │ ├── video_subr.c │ │ │ │ │ │ ├── vram_settings.c │ │ │ │ │ │ ├── x86_bigint.c │ │ │ │ │ │ ├── x86_io.c │ │ │ │ │ │ ├── x86_string.c │ │ │ │ │ │ ├── x86_tcpip.c │ │ │ │ │ │ └── x86_uart.c │ │ │ │ │ ├── drivers/ │ │ │ │ │ │ ├── hyperv/ │ │ │ │ │ │ │ ├── hyperv.c │ │ │ │ │ │ │ └── hyperv.h │ │ │ │ │ │ ├── net/ │ │ │ │ │ │ │ ├── undi.c │ │ │ │ │ │ │ ├── undiisr.S │ │ │ │ │ │ │ ├── undiload.c │ │ │ │ │ │ │ ├── undinet.c │ │ │ │ │ │ │ ├── undionly.c │ │ │ │ │ │ │ ├── undipreload.c │ │ │ │ │ │ │ └── undirom.c │ │ │ │ │ │ └── xen/ │ │ │ │ │ │ ├── hvm.c │ │ │ │ │ │ └── hvm.h │ │ │ │ │ ├── hci/ │ │ │ │ │ │ └── commands/ │ │ │ │ │ │ ├── cpuid_cmd.c │ │ │ │ │ │ └── pxe_cmd.c │ │ │ │ │ ├── image/ │ │ │ │ │ │ ├── bootsector.c │ │ │ │ │ │ ├── bzimage.c │ │ │ │ │ │ ├── com32.c │ │ │ │ │ │ ├── comboot.c │ │ │ │ │ │ ├── elfboot.c │ │ │ │ │ │ ├── initrd.c │ │ │ │ │ │ ├── multiboot.c │ │ │ │ │ │ ├── nbi.c │ │ │ │ │ │ ├── pxe_image.c │ │ │ │ │ │ └── sdi.c │ │ │ │ │ ├── include/ │ │ │ │ │ │ ├── basemem.h │ │ │ │ │ │ ├── basemem_packet.h │ │ │ │ │ │ ├── bios.h │ │ │ │ │ │ ├── bios_disks.h │ │ │ │ │ │ ├── biosint.h │ │ │ │ │ │ ├── bits/ │ │ │ │ │ │ │ ├── acpi.h │ │ │ │ │ │ │ ├── bigint.h │ │ │ │ │ │ │ ├── bitops.h │ │ │ │ │ │ │ ├── endian.h │ │ │ │ │ │ │ ├── entropy.h │ │ │ │ │ │ │ ├── errfile.h │ │ │ │ │ │ │ ├── io.h │ │ │ │ │ │ │ ├── iomap.h │ │ │ │ │ │ │ ├── linux_api_platform.h │ │ │ │ │ │ │ ├── nap.h │ │ │ │ │ │ │ ├── pci_io.h │ │ │ │ │ │ │ ├── reboot.h │ │ │ │ │ │ │ ├── sanboot.h │ │ │ │ │ │ │ ├── smbios.h │ │ │ │ │ │ │ ├── string.h │ │ │ │ │ │ │ ├── tcpip.h │ │ │ │ │ │ │ ├── time.h │ │ │ │ │ │ │ ├── uaccess.h │ │ │ │ │ │ │ ├── uart.h │ │ │ │ │ │ │ ├── umalloc.h │ │ │ │ │ │ │ └── xen.h │ │ │ │ │ │ ├── bochs.h │ │ │ │ │ │ ├── bootsector.h │ │ │ │ │ │ ├── bzimage.h │ │ │ │ │ │ ├── comboot.h │ │ │ │ │ │ ├── fakee820.h │ │ │ │ │ │ ├── initrd.h │ │ │ │ │ │ ├── int13.h │ │ │ │ │ │ ├── ipxe/ │ │ │ │ │ │ │ ├── acpipwr.h │ │ │ │ │ │ │ ├── apm.h │ │ │ │ │ │ │ ├── bios_nap.h │ │ │ │ │ │ │ ├── bios_reboot.h │ │ │ │ │ │ │ ├── bios_sanboot.h │ │ │ │ │ │ │ ├── bios_smbios.h │ │ │ │ │ │ │ ├── cpuid.h │ │ │ │ │ │ │ ├── efi/ │ │ │ │ │ │ │ │ └── efix86_nap.h │ │ │ │ │ │ │ ├── errno/ │ │ │ │ │ │ │ │ └── pcbios.h │ │ │ │ │ │ │ ├── guestrpc.h │ │ │ │ │ │ │ ├── iomap_pages.h │ │ │ │ │ │ │ ├── memtop_umalloc.h │ │ │ │ │ │ │ ├── pcibios.h │ │ │ │ │ │ │ ├── pcidirect.h │ │ │ │ │ │ │ ├── pit8254.h │ │ │ │ │ │ │ ├── rsdp.h │ │ │ │ │ │ │ ├── rtc_entropy.h │ │ │ │ │ │ │ ├── rtc_time.h │ │ │ │ │ │ │ ├── vesafb.h │ │ │ │ │ │ │ ├── vmware.h │ │ │ │ │ │ │ └── x86_io.h │ │ │ │ │ │ ├── kir.h │ │ │ │ │ │ ├── libkir.h │ │ │ │ │ │ ├── librm.h │ │ │ │ │ │ ├── linux/ │ │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ │ └── dhcp_arch.h │ │ │ │ │ │ ├── memsizes.h │ │ │ │ │ │ ├── multiboot.h │ │ │ │ │ │ ├── pic8259.h │ │ │ │ │ │ ├── pnpbios.h │ │ │ │ │ │ ├── pxe.h │ │ │ │ │ │ ├── pxe_api.h │ │ │ │ │ │ ├── pxe_call.h │ │ │ │ │ │ ├── pxe_error.h │ │ │ │ │ │ ├── pxe_types.h │ │ │ │ │ │ ├── realmode.h │ │ │ │ │ │ ├── registers.h │ │ │ │ │ │ ├── rmsetjmp.h │ │ │ │ │ │ ├── rtc.h │ │ │ │ │ │ ├── sdi.h │ │ │ │ │ │ ├── undi.h │ │ │ │ │ │ ├── undiload.h │ │ │ │ │ │ ├── undinet.h │ │ │ │ │ │ ├── undipreload.h │ │ │ │ │ │ ├── undirom.h │ │ │ │ │ │ └── vga.h │ │ │ │ │ ├── interface/ │ │ │ │ │ │ ├── efi/ │ │ │ │ │ │ │ └── efix86_nap.c │ │ │ │ │ │ ├── pcbios/ │ │ │ │ │ │ │ ├── acpipwr.c │ │ │ │ │ │ │ ├── apm.c │ │ │ │ │ │ │ ├── basemem.c │ │ │ │ │ │ │ ├── bios_console.c │ │ │ │ │ │ │ ├── bios_nap.c │ │ │ │ │ │ │ ├── bios_reboot.c │ │ │ │ │ │ │ ├── bios_smbios.c │ │ │ │ │ │ │ ├── bios_timer.c │ │ │ │ │ │ │ ├── biosint.c │ │ │ │ │ │ │ ├── e820mangler.S │ │ │ │ │ │ │ ├── fakee820.c │ │ │ │ │ │ │ ├── hidemem.c │ │ │ │ │ │ │ ├── int13.c │ │ │ │ │ │ │ ├── int13con.c │ │ │ │ │ │ │ ├── memmap.c │ │ │ │ │ │ │ ├── memtop_umalloc.c │ │ │ │ │ │ │ ├── pcibios.c │ │ │ │ │ │ │ ├── pnpbios.c │ │ │ │ │ │ │ ├── rsdp.c │ │ │ │ │ │ │ ├── rtc_entropy.c │ │ │ │ │ │ │ ├── rtc_time.c │ │ │ │ │ │ │ └── vesafb.c │ │ │ │ │ │ ├── pxe/ │ │ │ │ │ │ │ ├── pxe_call.c │ │ │ │ │ │ │ ├── pxe_entry.S │ │ │ │ │ │ │ ├── pxe_exit_hook.c │ │ │ │ │ │ │ ├── pxe_file.c │ │ │ │ │ │ │ ├── pxe_loader.c │ │ │ │ │ │ │ ├── pxe_preboot.c │ │ │ │ │ │ │ ├── pxe_tftp.c │ │ │ │ │ │ │ ├── pxe_udp.c │ │ │ │ │ │ │ └── pxe_undi.c │ │ │ │ │ │ ├── syslinux/ │ │ │ │ │ │ │ ├── com32_call.c │ │ │ │ │ │ │ ├── com32_wrapper.S │ │ │ │ │ │ │ ├── comboot_call.c │ │ │ │ │ │ │ └── comboot_resolv.c │ │ │ │ │ │ └── vmware/ │ │ │ │ │ │ ├── guestinfo.c │ │ │ │ │ │ ├── guestrpc.c │ │ │ │ │ │ ├── vmconsole.c │ │ │ │ │ │ └── vmware.c │ │ │ │ │ ├── prefix/ │ │ │ │ │ │ ├── bootpart.S │ │ │ │ │ │ ├── dskprefix.S │ │ │ │ │ │ ├── exeprefix.S │ │ │ │ │ │ ├── hdprefix.S │ │ │ │ │ │ ├── isaromprefix.S │ │ │ │ │ │ ├── kkkpxeprefix.S │ │ │ │ │ │ ├── kkpxeprefix.S │ │ │ │ │ │ ├── kpxeprefix.S │ │ │ │ │ │ ├── libprefix.S │ │ │ │ │ │ ├── lkrnprefix.S │ │ │ │ │ │ ├── mbr.S │ │ │ │ │ │ ├── mromprefix.S │ │ │ │ │ │ ├── nbiprefix.S │ │ │ │ │ │ ├── nullprefix.S │ │ │ │ │ │ ├── pciromprefix.S │ │ │ │ │ │ ├── pxeprefix.S │ │ │ │ │ │ ├── romprefix.S │ │ │ │ │ │ ├── undiloader.S │ │ │ │ │ │ ├── unlzma.S │ │ │ │ │ │ ├── unlzma16.S │ │ │ │ │ │ └── usbdisk.S │ │ │ │ │ ├── scripts/ │ │ │ │ │ │ └── pcbios.lds │ │ │ │ │ ├── tests/ │ │ │ │ │ │ └── comboot/ │ │ │ │ │ │ ├── shuffle-simple.asm │ │ │ │ │ │ └── version.asm │ │ │ │ │ └── transitions/ │ │ │ │ │ ├── liba20.S │ │ │ │ │ ├── libkir.S │ │ │ │ │ ├── libpm.S │ │ │ │ │ ├── librm.S │ │ │ │ │ ├── librm_mgmt.c │ │ │ │ │ └── librm_test.c │ │ │ │ └── x86_64/ │ │ │ │ ├── Makefile │ │ │ │ ├── Makefile.efi │ │ │ │ ├── Makefile.linux │ │ │ │ ├── Makefile.pcbios │ │ │ │ ├── core/ │ │ │ │ │ ├── gdbidt.S │ │ │ │ │ ├── linux/ │ │ │ │ │ │ ├── linux_syscall.S │ │ │ │ │ │ └── linuxprefix.S │ │ │ │ │ └── setjmp.S │ │ │ │ ├── include/ │ │ │ │ │ ├── bits/ │ │ │ │ │ │ ├── byteswap.h │ │ │ │ │ │ ├── compiler.h │ │ │ │ │ │ ├── hyperv.h │ │ │ │ │ │ ├── linux_api.h │ │ │ │ │ │ ├── profile.h │ │ │ │ │ │ ├── stdint.h │ │ │ │ │ │ └── strings.h │ │ │ │ │ ├── efi/ │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ └── dhcp_arch.h │ │ │ │ │ ├── gdbmach.h │ │ │ │ │ ├── ipxe/ │ │ │ │ │ │ └── msr.h │ │ │ │ │ ├── limits.h │ │ │ │ │ ├── pcbios/ │ │ │ │ │ │ └── ipxe/ │ │ │ │ │ │ └── dhcp_arch.h │ │ │ │ │ └── setjmp.h │ │ │ │ └── scripts/ │ │ │ │ └── linux.lds │ │ │ ├── config/ │ │ │ │ ├── branding.h │ │ │ │ ├── cloud/ │ │ │ │ │ ├── aws.ipxe │ │ │ │ │ ├── colour.h │ │ │ │ │ ├── console.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── gce.ipxe │ │ │ │ │ ├── general.h │ │ │ │ │ ├── serial.h │ │ │ │ │ ├── settings.h │ │ │ │ │ ├── sideband.h │ │ │ │ │ └── usb.h │ │ │ │ ├── colour.h │ │ │ │ ├── config.c │ │ │ │ ├── config_asn1.c │ │ │ │ ├── config_crypto.c │ │ │ │ ├── config_efi.c │ │ │ │ ├── config_ethernet.c │ │ │ │ ├── config_fc.c │ │ │ │ ├── config_http.c │ │ │ │ ├── config_infiniband.c │ │ │ │ ├── config_linux.c │ │ │ │ ├── config_net80211.c │ │ │ │ ├── config_pcbios.c │ │ │ │ ├── config_pixbuf.c │ │ │ │ ├── config_romprefix.c │ │ │ │ ├── config_route.c │ │ │ │ ├── config_timer.c │ │ │ │ ├── config_usb.c │ │ │ │ ├── console.h │ │ │ │ ├── crypto.h │ │ │ │ ├── defaults/ │ │ │ │ │ ├── efi.h │ │ │ │ │ ├── linux.h │ │ │ │ │ └── pcbios.h │ │ │ │ ├── defaults.h │ │ │ │ ├── dhcp.h │ │ │ │ ├── entropy.h │ │ │ │ ├── fault.h │ │ │ │ ├── general.h │ │ │ │ ├── ioapi.h │ │ │ │ ├── isa.h │ │ │ │ ├── named.h │ │ │ │ ├── nap.h │ │ │ │ ├── qemu/ │ │ │ │ │ ├── colour.h │ │ │ │ │ ├── console.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── general.h │ │ │ │ │ ├── serial.h │ │ │ │ │ ├── settings.h │ │ │ │ │ ├── sideband.h │ │ │ │ │ └── usb.h │ │ │ │ ├── reboot.h │ │ │ │ ├── sanboot.h │ │ │ │ ├── serial.h │ │ │ │ ├── settings.h │ │ │ │ ├── sideband.h │ │ │ │ ├── time.h │ │ │ │ ├── timer.h │ │ │ │ ├── umalloc.h │ │ │ │ ├── usb.h │ │ │ │ └── vbox/ │ │ │ │ ├── README │ │ │ │ ├── colour.h │ │ │ │ ├── console.h │ │ │ │ ├── crypto.h │ │ │ │ ├── general.h │ │ │ │ ├── serial.h │ │ │ │ ├── settings.h │ │ │ │ ├── sideband.h │ │ │ │ └── usb.h │ │ │ ├── core/ │ │ │ │ ├── acpi.c │ │ │ │ ├── acpi_settings.c │ │ │ │ ├── ansicol.c │ │ │ │ ├── ansicoldef.c │ │ │ │ ├── ansiesc.c │ │ │ │ ├── asprintf.c │ │ │ │ ├── assert.c │ │ │ │ ├── base16.c │ │ │ │ ├── base64.c │ │ │ │ ├── basename.c │ │ │ │ ├── bitmap.c │ │ │ │ ├── blockdev.c │ │ │ │ ├── blocktrans.c │ │ │ │ ├── console.c │ │ │ │ ├── cpio.c │ │ │ │ ├── ctype.c │ │ │ │ ├── cwuri.c │ │ │ │ ├── debug.c │ │ │ │ ├── debug_md5.c │ │ │ │ ├── device.c │ │ │ │ ├── downloader.c │ │ │ │ ├── dummy_sanboot.c │ │ │ │ ├── edd.c │ │ │ │ ├── errno.c │ │ │ │ ├── exec.c │ │ │ │ ├── fault.c │ │ │ │ ├── fbcon.c │ │ │ │ ├── fnrec.c │ │ │ │ ├── gdbserial.c │ │ │ │ ├── gdbstub.c │ │ │ │ ├── gdbudp.c │ │ │ │ ├── getkey.c │ │ │ │ ├── getopt.c │ │ │ │ ├── hw.c │ │ │ │ ├── i82365.c │ │ │ │ ├── image.c │ │ │ │ ├── init.c │ │ │ │ ├── interface.c │ │ │ │ ├── iobuf.c │ │ │ │ ├── iomap_virt.c │ │ │ │ ├── isqrt.c │ │ │ │ ├── job.c │ │ │ │ ├── linebuf.c │ │ │ │ ├── lineconsole.c │ │ │ │ ├── list.c │ │ │ │ ├── log.c │ │ │ │ ├── main.c │ │ │ │ ├── malloc.c │ │ │ │ ├── memmap_settings.c │ │ │ │ ├── menu.c │ │ │ │ ├── monojob.c │ │ │ │ ├── null_acpi.c │ │ │ │ ├── null_nap.c │ │ │ │ ├── null_reboot.c │ │ │ │ ├── null_sanboot.c │ │ │ │ ├── null_time.c │ │ │ │ ├── nvo.c │ │ │ │ ├── open.c │ │ │ │ ├── params.c │ │ │ │ ├── parseopt.c │ │ │ │ ├── pc_kbd.c │ │ │ │ ├── pcmcia.c │ │ │ │ ├── pending.c │ │ │ │ ├── pinger.c │ │ │ │ ├── pixbuf.c │ │ │ │ ├── pool.c │ │ │ │ ├── posix_io.c │ │ │ │ ├── process.c │ │ │ │ ├── profile.c │ │ │ │ ├── quiesce.c │ │ │ │ ├── random.c │ │ │ │ ├── refcnt.c │ │ │ │ ├── resolv.c │ │ │ │ ├── sanboot.c │ │ │ │ ├── serial.c │ │ │ │ ├── settings.c │ │ │ │ ├── string.c │ │ │ │ ├── stringextra.c │ │ │ │ ├── time.c │ │ │ │ ├── timer.c │ │ │ │ ├── uart.c │ │ │ │ ├── uri.c │ │ │ │ ├── uuid.c │ │ │ │ ├── version.c │ │ │ │ ├── vsprintf.c │ │ │ │ ├── wchar.c │ │ │ │ ├── xfer.c │ │ │ │ └── xferbuf.c │ │ │ ├── crypto/ │ │ │ │ ├── aes.c │ │ │ │ ├── aes_wrap.c │ │ │ │ ├── arc4.c │ │ │ │ ├── asn1.c │ │ │ │ ├── bigint.c │ │ │ │ ├── cbc.c │ │ │ │ ├── certstore.c │ │ │ │ ├── chap.c │ │ │ │ ├── cms.c │ │ │ │ ├── crc32.c │ │ │ │ ├── crypto_null.c │ │ │ │ ├── deflate.c │ │ │ │ ├── drbg.c │ │ │ │ ├── ecb.c │ │ │ │ ├── entropy.c │ │ │ │ ├── hash_df.c │ │ │ │ ├── hmac.c │ │ │ │ ├── hmac_drbg.c │ │ │ │ ├── md5.c │ │ │ │ ├── mishmash/ │ │ │ │ │ ├── rsa_aes_cbc_sha1.c │ │ │ │ │ ├── rsa_aes_cbc_sha256.c │ │ │ │ │ ├── rsa_md5.c │ │ │ │ │ ├── rsa_sha1.c │ │ │ │ │ ├── rsa_sha224.c │ │ │ │ │ ├── rsa_sha256.c │ │ │ │ │ ├── rsa_sha384.c │ │ │ │ │ └── rsa_sha512.c │ │ │ │ ├── null_entropy.c │ │ │ │ ├── ocsp.c │ │ │ │ ├── privkey.c │ │ │ │ ├── random_nz.c │ │ │ │ ├── rbg.c │ │ │ │ ├── rootcert.c │ │ │ │ ├── rsa.c │ │ │ │ ├── sha1.c │ │ │ │ ├── sha1extra.c │ │ │ │ ├── sha224.c │ │ │ │ ├── sha256.c │ │ │ │ ├── sha384.c │ │ │ │ ├── sha512.c │ │ │ │ ├── sha512_224.c │ │ │ │ ├── sha512_256.c │ │ │ │ └── x509.c │ │ │ ├── doc/ │ │ │ │ ├── build_sys.dox │ │ │ │ └── pxe_extensions │ │ │ ├── doxygen.cfg │ │ │ ├── drivers/ │ │ │ │ ├── bitbash/ │ │ │ │ │ ├── bitbash.c │ │ │ │ │ ├── i2c_bit.c │ │ │ │ │ └── spi_bit.c │ │ │ │ ├── block/ │ │ │ │ │ ├── ata.c │ │ │ │ │ ├── ibft.c │ │ │ │ │ ├── scsi.c │ │ │ │ │ └── srp.c │ │ │ │ ├── bus/ │ │ │ │ │ ├── cdc.c │ │ │ │ │ ├── eisa.c │ │ │ │ │ ├── isa.c │ │ │ │ │ ├── isa_ids.c │ │ │ │ │ ├── isapnp.c │ │ │ │ │ ├── mca.c │ │ │ │ │ ├── pci.c │ │ │ │ │ ├── pci_settings.c │ │ │ │ │ ├── pcibackup.c │ │ │ │ │ ├── pciea.c │ │ │ │ │ ├── pciextra.c │ │ │ │ │ ├── pcivpd.c │ │ │ │ │ ├── usb.c │ │ │ │ │ ├── virtio-pci.c │ │ │ │ │ └── virtio-ring.c │ │ │ │ ├── infiniband/ │ │ │ │ │ ├── CIB_PRM.h │ │ │ │ │ ├── MT25218_PRM.h │ │ │ │ │ ├── MT25408_PRM.h │ │ │ │ │ ├── arbel.c │ │ │ │ │ ├── arbel.h │ │ │ │ │ ├── flexboot_nodnic.c │ │ │ │ │ ├── flexboot_nodnic.h │ │ │ │ │ ├── golan.c │ │ │ │ │ ├── golan.h │ │ │ │ │ ├── hermon.c │ │ │ │ │ ├── hermon.h │ │ │ │ │ ├── linda.c │ │ │ │ │ ├── linda.h │ │ │ │ │ ├── linda_fw.c │ │ │ │ │ ├── mlx_bitops.h │ │ │ │ │ ├── mlx_nodnic/ │ │ │ │ │ │ ├── include/ │ │ │ │ │ │ │ ├── mlx_cmd.h │ │ │ │ │ │ │ ├── mlx_device.h │ │ │ │ │ │ │ ├── mlx_nodnic_data_structures.h │ │ │ │ │ │ │ └── mlx_port.h │ │ │ │ │ │ └── src/ │ │ │ │ │ │ ├── mlx_cmd.c │ │ │ │ │ │ ├── mlx_device.c │ │ │ │ │ │ └── mlx_port.c │ │ │ │ │ ├── mlx_utils/ │ │ │ │ │ │ ├── include/ │ │ │ │ │ │ │ ├── private/ │ │ │ │ │ │ │ │ ├── mlx_memory_priv.h │ │ │ │ │ │ │ │ ├── mlx_pci_priv.h │ │ │ │ │ │ │ │ └── mlx_utils_priv.h │ │ │ │ │ │ │ └── public/ │ │ │ │ │ │ │ ├── mlx_bail.h │ │ │ │ │ │ │ ├── mlx_icmd.h │ │ │ │ │ │ │ ├── mlx_logging.h │ │ │ │ │ │ │ ├── mlx_memory.h │ │ │ │ │ │ │ ├── mlx_pci.h │ │ │ │ │ │ │ ├── mlx_pci_gw.h │ │ │ │ │ │ │ ├── mlx_types.h │ │ │ │ │ │ │ └── mlx_utils.h │ │ │ │ │ │ ├── mlx_lib/ │ │ │ │ │ │ │ ├── mlx_blink_leds/ │ │ │ │ │ │ │ │ ├── mlx_blink_leds.c │ │ │ │ │ │ │ │ └── mlx_blink_leds.h │ │ │ │ │ │ │ ├── mlx_link_speed/ │ │ │ │ │ │ │ │ ├── mlx_link_speed.c │ │ │ │ │ │ │ │ └── mlx_link_speed.h │ │ │ │ │ │ │ ├── mlx_mtu/ │ │ │ │ │ │ │ │ ├── mlx_mtu.c │ │ │ │ │ │ │ │ └── mlx_mtu.h │ │ │ │ │ │ │ ├── mlx_nvconfig/ │ │ │ │ │ │ │ │ ├── mlx_nvconfig.c │ │ │ │ │ │ │ │ ├── mlx_nvconfig.h │ │ │ │ │ │ │ │ ├── mlx_nvconfig_defaults.c │ │ │ │ │ │ │ │ ├── mlx_nvconfig_defaults.h │ │ │ │ │ │ │ │ └── mlx_nvconfig_prm.h │ │ │ │ │ │ │ ├── mlx_reg_access/ │ │ │ │ │ │ │ │ ├── mlx_reg_access.c │ │ │ │ │ │ │ │ └── mlx_reg_access.h │ │ │ │ │ │ │ └── mlx_vmac/ │ │ │ │ │ │ │ ├── mlx_vmac.c │ │ │ │ │ │ │ └── mlx_vmac.h │ │ │ │ │ │ └── src/ │ │ │ │ │ │ └── public/ │ │ │ │ │ │ ├── mlx_icmd.c │ │ │ │ │ │ ├── mlx_memory.c │ │ │ │ │ │ ├── mlx_pci.c │ │ │ │ │ │ ├── mlx_pci_gw.c │ │ │ │ │ │ └── mlx_utils.c │ │ │ │ │ ├── mlx_utils_flexboot/ │ │ │ │ │ │ ├── include/ │ │ │ │ │ │ │ ├── mlx_logging_priv.h │ │ │ │ │ │ │ └── mlx_types_priv.h │ │ │ │ │ │ └── src/ │ │ │ │ │ │ ├── mlx_memory_priv.c │ │ │ │ │ │ ├── mlx_pci_priv.c │ │ │ │ │ │ └── mlx_utils_priv.c │ │ │ │ │ ├── nodnic_prm.h │ │ │ │ │ ├── nodnic_shomron_prm.h │ │ │ │ │ ├── qib7322.c │ │ │ │ │ ├── qib7322.h │ │ │ │ │ ├── qib_7220_regs.h │ │ │ │ │ ├── qib_7322_regs.h │ │ │ │ │ └── qib_genbits.pl │ │ │ │ ├── linux/ │ │ │ │ │ ├── af_packet.c │ │ │ │ │ ├── linux.c │ │ │ │ │ └── tap.c │ │ │ │ ├── net/ │ │ │ │ │ ├── 3c503.c │ │ │ │ │ ├── 3c509-eisa.c │ │ │ │ │ ├── 3c509.c │ │ │ │ │ ├── 3c509.h │ │ │ │ │ ├── 3c515.c │ │ │ │ │ ├── 3c515.txt │ │ │ │ │ ├── 3c529.c │ │ │ │ │ ├── 3c595.c │ │ │ │ │ ├── 3c595.h │ │ │ │ │ ├── 3c5x9.c │ │ │ │ │ ├── 3c90x.c │ │ │ │ │ ├── 3c90x.h │ │ │ │ │ ├── acm.c │ │ │ │ │ ├── acm.h │ │ │ │ │ ├── amd8111e.c │ │ │ │ │ ├── amd8111e.h │ │ │ │ │ ├── ath/ │ │ │ │ │ │ ├── ath.h │ │ │ │ │ │ ├── ath5k/ │ │ │ │ │ │ │ ├── ath5k.c │ │ │ │ │ │ │ ├── ath5k.h │ │ │ │ │ │ │ ├── ath5k_attach.c │ │ │ │ │ │ │ ├── ath5k_caps.c │ │ │ │ │ │ │ ├── ath5k_desc.c │ │ │ │ │ │ │ ├── ath5k_dma.c │ │ │ │ │ │ │ ├── ath5k_eeprom.c │ │ │ │ │ │ │ ├── ath5k_gpio.c │ │ │ │ │ │ │ ├── ath5k_initvals.c │ │ │ │ │ │ │ ├── ath5k_pcu.c │ │ │ │ │ │ │ ├── ath5k_phy.c │ │ │ │ │ │ │ ├── ath5k_qcu.c │ │ │ │ │ │ │ ├── ath5k_reset.c │ │ │ │ │ │ │ ├── ath5k_rfkill.c │ │ │ │ │ │ │ ├── base.h │ │ │ │ │ │ │ ├── desc.h │ │ │ │ │ │ │ ├── eeprom.h │ │ │ │ │ │ │ ├── reg.h │ │ │ │ │ │ │ ├── rfbuffer.h │ │ │ │ │ │ │ └── rfgain.h │ │ │ │ │ │ ├── ath9k/ │ │ │ │ │ │ │ ├── ani.h │ │ │ │ │ │ │ ├── ar5008_initvals.h │ │ │ │ │ │ │ ├── ar9001_initvals.h │ │ │ │ │ │ │ ├── ar9002_initvals.h │ │ │ │ │ │ │ ├── ar9002_phy.h │ │ │ │ │ │ │ ├── ar9003_2p2_initvals.h │ │ │ │ │ │ │ ├── ar9003_eeprom.h │ │ │ │ │ │ │ ├── ar9003_mac.h │ │ │ │ │ │ │ ├── ar9003_phy.h │ │ │ │ │ │ │ ├── ar9340_initvals.h │ │ │ │ │ │ │ ├── ar9485_initvals.h │ │ │ │ │ │ │ ├── ath9k.c │ │ │ │ │ │ │ ├── ath9k.h │ │ │ │ │ │ │ ├── ath9k_ani.c │ │ │ │ │ │ │ ├── ath9k_ar5008_phy.c │ │ │ │ │ │ │ ├── ath9k_ar9002_calib.c │ │ │ │ │ │ │ ├── ath9k_ar9002_hw.c │ │ │ │ │ │ │ ├── ath9k_ar9002_mac.c │ │ │ │ │ │ │ ├── ath9k_ar9002_phy.c │ │ │ │ │ │ │ ├── ath9k_ar9003_calib.c │ │ │ │ │ │ │ ├── ath9k_ar9003_eeprom.c │ │ │ │ │ │ │ ├── ath9k_ar9003_hw.c │ │ │ │ │ │ │ ├── ath9k_ar9003_mac.c │ │ │ │ │ │ │ ├── ath9k_ar9003_phy.c │ │ │ │ │ │ │ ├── ath9k_calib.c │ │ │ │ │ │ │ ├── ath9k_common.c │ │ │ │ │ │ │ ├── ath9k_eeprom.c │ │ │ │ │ │ │ ├── ath9k_eeprom_4k.c │ │ │ │ │ │ │ ├── ath9k_eeprom_9287.c │ │ │ │ │ │ │ ├── ath9k_eeprom_def.c │ │ │ │ │ │ │ ├── ath9k_hw.c │ │ │ │ │ │ │ ├── ath9k_init.c │ │ │ │ │ │ │ ├── ath9k_mac.c │ │ │ │ │ │ │ ├── ath9k_main.c │ │ │ │ │ │ │ ├── ath9k_recv.c │ │ │ │ │ │ │ ├── ath9k_xmit.c │ │ │ │ │ │ │ ├── calib.h │ │ │ │ │ │ │ ├── common.h │ │ │ │ │ │ │ ├── eeprom.h │ │ │ │ │ │ │ ├── hw-ops.h │ │ │ │ │ │ │ ├── hw.h │ │ │ │ │ │ │ ├── mac.h │ │ │ │ │ │ │ ├── phy.h │ │ │ │ │ │ │ └── reg.h │ │ │ │ │ │ ├── ath_hw.c │ │ │ │ │ │ ├── ath_key.c │ │ │ │ │ │ ├── ath_regd.c │ │ │ │ │ │ ├── reg.h │ │ │ │ │ │ ├── regd.h │ │ │ │ │ │ └── regd_common.h │ │ │ │ │ ├── atl1e.c │ │ │ │ │ ├── atl1e.h │ │ │ │ │ ├── axge.c │ │ │ │ │ ├── axge.h │ │ │ │ │ ├── b44.c │ │ │ │ │ ├── b44.h │ │ │ │ │ ├── bnx2.c │ │ │ │ │ ├── bnx2.h │ │ │ │ │ ├── bnx2_fw.h │ │ │ │ │ ├── cs89x0.c │ │ │ │ │ ├── cs89x0.h │ │ │ │ │ ├── cs89x0.txt │ │ │ │ │ ├── davicom.c │ │ │ │ │ ├── depca.c │ │ │ │ │ ├── dm96xx.c │ │ │ │ │ ├── dm96xx.h │ │ │ │ │ ├── dmfe.c │ │ │ │ │ ├── ecm.c │ │ │ │ │ ├── ecm.h │ │ │ │ │ ├── eepro.c │ │ │ │ │ ├── eepro100.c │ │ │ │ │ ├── eepro100.h │ │ │ │ │ ├── efi/ │ │ │ │ │ │ ├── nii.c │ │ │ │ │ │ ├── nii.h │ │ │ │ │ │ ├── snp.c │ │ │ │ │ │ ├── snpnet.c │ │ │ │ │ │ ├── snpnet.h │ │ │ │ │ │ └── snponly.c │ │ │ │ │ ├── eoib.c │ │ │ │ │ ├── epic100.c │ │ │ │ │ ├── epic100.h │ │ │ │ │ ├── etherfabric.c │ │ │ │ │ ├── etherfabric.h │ │ │ │ │ ├── etherfabric_nic.h │ │ │ │ │ ├── exanic.c │ │ │ │ │ ├── exanic.h │ │ │ │ │ ├── forcedeth.c │ │ │ │ │ ├── forcedeth.h │ │ │ │ │ ├── hfa384x.h │ │ │ │ │ ├── igbvf/ │ │ │ │ │ │ ├── igbvf.h │ │ │ │ │ │ ├── igbvf_defines.h │ │ │ │ │ │ ├── igbvf_main.c │ │ │ │ │ │ ├── igbvf_mbx.c │ │ │ │ │ │ ├── igbvf_mbx.h │ │ │ │ │ │ ├── igbvf_osdep.h │ │ │ │ │ │ ├── igbvf_regs.h │ │ │ │ │ │ ├── igbvf_vf.c │ │ │ │ │ │ └── igbvf_vf.h │ │ │ │ │ ├── intel.c │ │ │ │ │ ├── intel.h │ │ │ │ │ ├── intelvf.c │ │ │ │ │ ├── intelvf.h │ │ │ │ │ ├── intelx.c │ │ │ │ │ ├── intelx.h │ │ │ │ │ ├── intelxvf.c │ │ │ │ │ ├── intelxvf.h │ │ │ │ │ ├── ipoib.c │ │ │ │ │ ├── jme.c │ │ │ │ │ ├── jme.h │ │ │ │ │ ├── lan78xx.c │ │ │ │ │ ├── lan78xx.h │ │ │ │ │ ├── legacy.c │ │ │ │ │ ├── mii.c │ │ │ │ │ ├── myri10ge.c │ │ │ │ │ ├── myri10ge_mcp.h │ │ │ │ │ ├── myson.c │ │ │ │ │ ├── myson.h │ │ │ │ │ ├── natsemi.c │ │ │ │ │ ├── natsemi.h │ │ │ │ │ ├── ncm.c │ │ │ │ │ ├── ncm.h │ │ │ │ │ ├── ne.c │ │ │ │ │ ├── ne2k_isa.c │ │ │ │ │ ├── netfront.c │ │ │ │ │ ├── netfront.h │ │ │ │ │ ├── netvsc.c │ │ │ │ │ ├── netvsc.h │ │ │ │ │ ├── ns8390.c │ │ │ │ │ ├── ns8390.h │ │ │ │ │ ├── p80211hdr.h │ │ │ │ │ ├── pcnet32.c │ │ │ │ │ ├── pcnet32.h │ │ │ │ │ ├── phantom/ │ │ │ │ │ │ ├── nx_bitops.h │ │ │ │ │ │ ├── nxhal_nic_interface.h │ │ │ │ │ │ ├── phantom.c │ │ │ │ │ │ ├── phantom.h │ │ │ │ │ │ └── phantom_hw.h │ │ │ │ │ ├── pnic.c │ │ │ │ │ ├── pnic_api.h │ │ │ │ │ ├── prism2.c │ │ │ │ │ ├── prism2_pci.c │ │ │ │ │ ├── prism2_plx.c │ │ │ │ │ ├── realtek.c │ │ │ │ │ ├── realtek.h │ │ │ │ │ ├── rhine.c │ │ │ │ │ ├── rhine.h │ │ │ │ │ ├── rtl818x/ │ │ │ │ │ │ ├── rtl8180.c │ │ │ │ │ │ ├── rtl8180_grf5101.c │ │ │ │ │ │ ├── rtl8180_max2820.c │ │ │ │ │ │ ├── rtl8180_sa2400.c │ │ │ │ │ │ ├── rtl8185.c │ │ │ │ │ │ ├── rtl8185_rtl8225.c │ │ │ │ │ │ ├── rtl818x.c │ │ │ │ │ │ └── rtl818x.h │ │ │ │ │ ├── sfc/ │ │ │ │ │ │ ├── ef10_regs.h │ │ │ │ │ │ ├── efx_bitfield.h │ │ │ │ │ │ ├── efx_common.c │ │ │ │ │ │ ├── efx_common.h │ │ │ │ │ │ ├── efx_hunt.c │ │ │ │ │ │ ├── efx_hunt.h │ │ │ │ │ │ ├── mc_driver_pcol.h │ │ │ │ │ │ ├── mcdi.h │ │ │ │ │ │ └── sfc_hunt.c │ │ │ │ │ ├── sis190.c │ │ │ │ │ ├── sis190.h │ │ │ │ │ ├── sis900.c │ │ │ │ │ ├── sis900.h │ │ │ │ │ ├── skeleton.c │ │ │ │ │ ├── skeleton.h │ │ │ │ │ ├── skge.c │ │ │ │ │ ├── skge.h │ │ │ │ │ ├── sky2.c │ │ │ │ │ ├── sky2.h │ │ │ │ │ ├── smc9000.c │ │ │ │ │ ├── smc9000.h │ │ │ │ │ ├── smsc75xx.c │ │ │ │ │ ├── smsc75xx.h │ │ │ │ │ ├── smsc95xx.c │ │ │ │ │ ├── smsc95xx.h │ │ │ │ │ ├── smscusb.c │ │ │ │ │ ├── smscusb.h │ │ │ │ │ ├── sundance.c │ │ │ │ │ ├── tg3/ │ │ │ │ │ │ ├── tg3.c │ │ │ │ │ │ ├── tg3.h │ │ │ │ │ │ ├── tg3_hw.c │ │ │ │ │ │ └── tg3_phy.c │ │ │ │ │ ├── thunderx.c │ │ │ │ │ ├── thunderx.h │ │ │ │ │ ├── thunderxcfg.h │ │ │ │ │ ├── tlan.c │ │ │ │ │ ├── tlan.h │ │ │ │ │ ├── tulip.c │ │ │ │ │ ├── tulip.txt │ │ │ │ │ ├── velocity.c │ │ │ │ │ ├── velocity.h │ │ │ │ │ ├── virtio-net.c │ │ │ │ │ ├── virtio-net.h │ │ │ │ │ ├── vmxnet3.c │ │ │ │ │ ├── vmxnet3.h │ │ │ │ │ ├── vxge/ │ │ │ │ │ │ ├── vxge.c │ │ │ │ │ │ ├── vxge_config.c │ │ │ │ │ │ ├── vxge_config.h │ │ │ │ │ │ ├── vxge_main.c │ │ │ │ │ │ ├── vxge_main.h │ │ │ │ │ │ ├── vxge_reg.h │ │ │ │ │ │ ├── vxge_traffic.c │ │ │ │ │ │ ├── vxge_traffic.h │ │ │ │ │ │ └── vxge_version.h │ │ │ │ │ ├── w89c840.c │ │ │ │ │ ├── wd.c │ │ │ │ │ └── wlan_compat.h │ │ │ │ ├── nvs/ │ │ │ │ │ ├── nvs.c │ │ │ │ │ ├── nvsvpd.c │ │ │ │ │ ├── spi.c │ │ │ │ │ └── threewire.c │ │ │ │ └── usb/ │ │ │ │ ├── ehci.c │ │ │ │ ├── ehci.h │ │ │ │ ├── uhci.c │ │ │ │ ├── uhci.h │ │ │ │ ├── usbhid.c │ │ │ │ ├── usbhub.c │ │ │ │ ├── usbhub.h │ │ │ │ ├── usbio.c │ │ │ │ ├── usbio.h │ │ │ │ ├── usbkbd.c │ │ │ │ ├── usbkbd.h │ │ │ │ ├── usbnet.c │ │ │ │ ├── xhci.c │ │ │ │ └── xhci.h │ │ │ ├── hci/ │ │ │ │ ├── commands/ │ │ │ │ │ ├── autoboot_cmd.c │ │ │ │ │ ├── cert_cmd.c │ │ │ │ │ ├── config_cmd.c │ │ │ │ │ ├── console_cmd.c │ │ │ │ │ ├── dhcp_cmd.c │ │ │ │ │ ├── digest_cmd.c │ │ │ │ │ ├── fcmgmt_cmd.c │ │ │ │ │ ├── gdbstub_cmd.c │ │ │ │ │ ├── ibmgmt_cmd.c │ │ │ │ │ ├── ifmgmt_cmd.c │ │ │ │ │ ├── image_cmd.c │ │ │ │ │ ├── image_trust_cmd.c │ │ │ │ │ ├── ipstat_cmd.c │ │ │ │ │ ├── iwmgmt_cmd.c │ │ │ │ │ ├── login_cmd.c │ │ │ │ │ ├── lotest_cmd.c │ │ │ │ │ ├── menu_cmd.c │ │ │ │ │ ├── neighbour_cmd.c │ │ │ │ │ ├── nslookup_cmd.c │ │ │ │ │ ├── ntp_cmd.c │ │ │ │ │ ├── nvo_cmd.c │ │ │ │ │ ├── param_cmd.c │ │ │ │ │ ├── pci_cmd.c │ │ │ │ │ ├── ping_cmd.c │ │ │ │ │ ├── poweroff_cmd.c │ │ │ │ │ ├── profstat_cmd.c │ │ │ │ │ ├── reboot_cmd.c │ │ │ │ │ ├── route_cmd.c │ │ │ │ │ ├── sanboot_cmd.c │ │ │ │ │ ├── sync_cmd.c │ │ │ │ │ ├── time_cmd.c │ │ │ │ │ └── vlan_cmd.c │ │ │ │ ├── editstring.c │ │ │ │ ├── jumpscroll.c │ │ │ │ ├── keymap/ │ │ │ │ │ ├── keymap_al.c │ │ │ │ │ ├── keymap_az.c │ │ │ │ │ ├── keymap_bg.c │ │ │ │ │ ├── keymap_by.c │ │ │ │ │ ├── keymap_cf.c │ │ │ │ │ ├── keymap_cz.c │ │ │ │ │ ├── keymap_de.c │ │ │ │ │ ├── keymap_dk.c │ │ │ │ │ ├── keymap_es.c │ │ │ │ │ ├── keymap_et.c │ │ │ │ │ ├── keymap_fi.c │ │ │ │ │ ├── keymap_fr.c │ │ │ │ │ ├── keymap_gr.c │ │ │ │ │ ├── keymap_hu.c │ │ │ │ │ ├── keymap_il.c │ │ │ │ │ ├── keymap_it.c │ │ │ │ │ ├── keymap_lt.c │ │ │ │ │ ├── keymap_mk.c │ │ │ │ │ ├── keymap_mt.c │ │ │ │ │ ├── keymap_nl.c │ │ │ │ │ ├── keymap_no-latin1.c │ │ │ │ │ ├── keymap_no.c │ │ │ │ │ ├── keymap_pl.c │ │ │ │ │ ├── keymap_pt.c │ │ │ │ │ ├── keymap_ro.c │ │ │ │ │ ├── keymap_ru.c │ │ │ │ │ ├── keymap_sg.c │ │ │ │ │ ├── keymap_sr.c │ │ │ │ │ ├── keymap_th.c │ │ │ │ │ ├── keymap_ua.c │ │ │ │ │ ├── keymap_uk.c │ │ │ │ │ ├── keymap_us.c │ │ │ │ │ └── keymap_wo.c │ │ │ │ ├── linux_args.c │ │ │ │ ├── mucurses/ │ │ │ │ │ ├── alert.c │ │ │ │ │ ├── ansi_screen.c │ │ │ │ │ ├── clear.c │ │ │ │ │ ├── colour.c │ │ │ │ │ ├── cursor.h │ │ │ │ │ ├── edging.c │ │ │ │ │ ├── kb.c │ │ │ │ │ ├── mucurses.c │ │ │ │ │ ├── mucurses.h │ │ │ │ │ ├── print.c │ │ │ │ │ ├── print_nadv.c │ │ │ │ │ ├── slk.c │ │ │ │ │ ├── widgets/ │ │ │ │ │ │ └── editbox.c │ │ │ │ │ ├── winattrs.c │ │ │ │ │ ├── windows.c │ │ │ │ │ └── wininit.c │ │ │ │ ├── readline.c │ │ │ │ ├─
Copy disabled (too large)
Download .json
Condensed preview — 16288 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (110,958K chars).
[
{
"path": ".gitignore",
"chars": 128,
"preview": "tests/double_free\ntests/oob_neg_read\nlibclang_rt.asan-*.so\nqasan-qemu\nqasan-system\nqemu-x86_64\nlibqasan.so\nlibqasan/libq"
},
{
"path": ".gitmodules",
"chars": 106,
"preview": "[submodule \"asan-giovese\"]\n\tpath = asan-giovese\n\turl = https://github.com/andreafioraldi/asan-giovese.git\n"
},
{
"path": "CITATION.cff",
"chars": 433,
"preview": "cff-version: 1.2.0\ntitle: \"Fuzzing Binaries for Memory Safety Errors with QASan\"\nauthors: \n - family-names: \"Fioraldi\"\n"
},
{
"path": "LICENSE",
"chars": 605,
"preview": "QEMU-AddressSanitizer is composed by various parts under different OSS licenses:\n\nThe pathes to QEMU related to QEMU-Add"
},
{
"path": "README.md",
"chars": 5514,
"preview": "# QASan (QEMU-AddressSanitizer)\n\n> Written and maintaned by Andrea Fioraldi <andreafioraldi@gmail.com>\n\n**For just userm"
},
{
"path": "TODO.md",
"chars": 305,
"preview": "# TODOs\n\n+ thread-safe interval tree for allocation tracking\n+ update to the current AFL++ QEMU mode, this is a bit old\n"
},
{
"path": "afl/afl-qemu-common.h",
"chars": 3720,
"preview": "/*\n american fuzzy lop++ - high-performance binary-only instrumentation\n -------------------------------------------"
},
{
"path": "afl/afl-qemu-cpu-inl.h",
"chars": 13350,
"preview": "/*\n american fuzzy lop++ - high-performance binary-only instrumentation\n -------------------------------------------"
},
{
"path": "afl/afl-qemu-cpu-translate-inl.h",
"chars": 10174,
"preview": "/*\n american fuzzy lop++ - high-performance binary-only instrumentation\n -------------------------------------------"
},
{
"path": "afl/afl-qemu-floats.h",
"chars": 5639,
"preview": "/*\n american fuzzy lop++ - high-performance binary-only instrumentation\n -------------------------------------------"
},
{
"path": "afl/afl-qemu-tcg-inl.h",
"chars": 15337,
"preview": "/*\n american fuzzy lop++ - high-performance binary-only instrumentation\n -------------------------------------------"
},
{
"path": "afl/afl-qemu-translate-inl.h",
"chars": 2513,
"preview": "/*\n american fuzzy lop++ - high-performance binary-only instrumentation\n -------------------------------------------"
},
{
"path": "afl/config.h",
"chars": 12072,
"preview": "/*\n american fuzzy lop++ - vaguely configurable bits\n ------------------------------------------------\n\n Originall"
},
{
"path": "afl/types.h",
"chars": 3517,
"preview": "/*\n american fuzzy lop++ - type definitions and minor macros\n ------------------------------------------------------"
},
{
"path": "build.py",
"chars": 9559,
"preview": "#!/usr/bin/env python3\n'''\nCopyright (c) 2019-2020, Andrea Fioraldi\n\n\nRedistribution and use in source and binary forms,"
},
{
"path": "include/qasan.h",
"chars": 7295,
"preview": "/*******************************************************************************\nCopyright (c) 2019-2020, Andrea Fiorald"
},
{
"path": "libqasan/Makefile",
"chars": 389,
"preview": "CC := clang\nCFLAGS += -Wno-int-to-void-pointer-cast -ggdb\nLDFLAGS += -ldl -pthread\n\nSRC := libqasan.c hooks.c malloc.c s"
},
{
"path": "libqasan/dlmalloc.c",
"chars": 222369,
"preview": "#include <features.h>\n\n#ifndef __GLIBC__\n\n/*\n This is a version (aka dlmalloc) of malloc/free/realloc written by\n Doug"
},
{
"path": "libqasan/hooks.c",
"chars": 15087,
"preview": "/*******************************************************************************\nCopyright (c) 2019-2020, Andrea Fiorald"
},
{
"path": "libqasan/libqasan.c",
"chars": 2874,
"preview": "/*******************************************************************************\nCopyright (c) 2019-2020, Andrea Fiorald"
},
{
"path": "libqasan/libqasan.h",
"chars": 5782,
"preview": "/*******************************************************************************\nCopyright (c) 2019-2020, Andrea Fiorald"
},
{
"path": "libqasan/malloc.c",
"chars": 8377,
"preview": "/*******************************************************************************\nCopyright (c) 2019-2020, Andrea Fiorald"
},
{
"path": "libqasan/map_macro.h",
"chars": 2903,
"preview": "/*\n * Copyright (C) 2012 William Swanson\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining "
},
{
"path": "libqasan/patch.c",
"chars": 5642,
"preview": "/*******************************************************************************\nCopyright (c) 2019-2020, Andrea Fiorald"
},
{
"path": "libqasan/string.c",
"chars": 6487,
"preview": "/*******************************************************************************\nCopyright (c) 2019-2020, Andrea Fiorald"
},
{
"path": "libqasan/uninstrument.c",
"chars": 4185,
"preview": "/*\n\nThis code is DEPRECATED!\nI'm keeping it here cause maybe the unistrumentation of a function is needed\nfor some stran"
},
{
"path": "qasan",
"chars": 2186,
"preview": "#!/usr/bin/env python3\n'''\nCopyright (c) 2019-2020, Andrea Fioraldi\n\n\nRedistribution and use in source and binary forms,"
},
{
"path": "qemu/.dir-locals.el",
"chars": 75,
"preview": "((c-mode . ((c-file-style . \"stroustrup\")\n\t (indent-tabs-mode . nil))))\n"
},
{
"path": "qemu/.editorconfig",
"chars": 635,
"preview": "# EditorConfig is a file format and collection of text editor plugins\n# for maintaining consistent coding styles between"
},
{
"path": "qemu/.exrc",
"chars": 220,
"preview": "\"VIM settings to match QEMU coding style. They are activated by adding the\n\"following settings (without the \" symbol) a"
},
{
"path": "qemu/.gdbinit",
"chars": 326,
"preview": "# GDB may have ./.gdbinit loading disabled by default. In that case you can\n# follow the instructions it prints. They "
},
{
"path": "qemu/.gitignore",
"chars": 4723,
"preview": "/config-devices.*\n/config-all-devices.*\n/config-all-disas.*\n/config-host.*\n/config-target.*\n/config.status\n/config-temp\n"
},
{
"path": "qemu/.gitmodules",
"chars": 1705,
"preview": "[submodule \"roms/seabios\"]\n\tpath = roms/seabios\n\turl = https://git.qemu.org/git/seabios.git/\n[submodule \"roms/SLOF\"]\n\tpa"
},
{
"path": "qemu/.gitpublish",
"chars": 1650,
"preview": "#\n# Common git-publish profiles that can be used to send patches to QEMU upstream.\n#\n# See https://github.com/stefanha/g"
},
{
"path": "qemu/.mailmap",
"chars": 2490,
"preview": "# This mailmap fixes up author names/addresses.\n\n# The first section translates weird addresses from the original git im"
},
{
"path": "qemu/.shippable.yml",
"chars": 1260,
"preview": "language: c\ngit:\n submodules: false\nenv:\n global:\n - LC_ALL=C\n matrix:\n - IMAGE=debian-amd64\n TARGET_LIST"
},
{
"path": "qemu/.travis.yml",
"chars": 6146,
"preview": "# The current Travis default is a container based 14.04 Trust on EC2\n# Additional builds with specific requirements for "
},
{
"path": "qemu/CODING_STYLE",
"chars": 6502,
"preview": "QEMU Coding Style\n=================\n\nPlease use the script checkpatch.pl in the scripts directory to check\npatches befor"
},
{
"path": "qemu/COPYING",
"chars": 17992,
"preview": "\t\t GNU GENERAL PUBLIC LICENSE\n\t\t Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc."
},
{
"path": "qemu/COPYING.LIB",
"chars": 26426,
"preview": "\t\t GNU LESSER GENERAL PUBLIC LICENSE\n\t\t Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Found"
},
{
"path": "qemu/Changelog",
"chars": 23141,
"preview": "This file documents changes for QEMU releases 0.12 and earlier.\nFor changelog information for later releases, see\nhttps:"
},
{
"path": "qemu/HACKING",
"chars": 10457,
"preview": "1. Preprocessor\n\n1.1. Variadic macros\n\nFor variadic macros, stick with this C99-like syntax:\n\n#define DPRINTF(fmt, ...) "
},
{
"path": "qemu/LICENSE",
"chars": 840,
"preview": "The following points clarify the QEMU license:\n\n1) QEMU as a whole is released under the GNU General Public License,\nver"
},
{
"path": "qemu/MAINTAINERS",
"chars": 52095,
"preview": "QEMU Maintainers\n================\n\nThe intention of this file is not to establish who owns what portions of the\ncode bas"
},
{
"path": "qemu/Makefile",
"chars": 43850,
"preview": "# Makefile for QEMU.\n\n# Always point to the root of the build tree (needs GNU make).\nBUILD_DIR=$(CURDIR)\n\n# Before inclu"
},
{
"path": "qemu/Makefile.objs",
"chars": 9232,
"preview": "#######################################################################\n# Common libraries for tools and emulators\nstub-"
},
{
"path": "qemu/Makefile.target",
"chars": 6798,
"preview": "# -*- Mode: makefile -*-\n\nBUILD_DIR?=$(CURDIR)/..\n\ninclude ../config-host.mak\ninclude config-target.mak\ninclude config-d"
},
{
"path": "qemu/README",
"chars": 4777,
"preview": " QEMU README\n ===========\n\nQEMU is a generic and open source machine & userspace emulator and\nvirtualize"
},
{
"path": "qemu/VERSION",
"chars": 6,
"preview": "3.1.1\n"
},
{
"path": "qemu/accel/Makefile.objs",
"chars": 101,
"preview": "obj-$(CONFIG_SOFTMMU) += accel.o\nobj-$(CONFIG_KVM) += kvm/\nobj-$(CONFIG_TCG) += tcg/\nobj-y += stubs/\n"
},
{
"path": "qemu/accel/accel.c",
"chars": 4214,
"preview": "/*\n * QEMU System Emulator, accelerator interfaces\n *\n * Copyright (c) 2003-2008 Fabrice Bellard\n * Copyright (c) 2014 R"
},
{
"path": "qemu/accel/kvm/Makefile.objs",
"chars": 64,
"preview": "obj-y += kvm-all.o\nobj-$(call lnot,$(CONFIG_SEV)) += sev-stub.o\n"
},
{
"path": "qemu/accel/kvm/kvm-all.c",
"chars": 68766,
"preview": "/*\n * QEMU KVM support\n *\n * Copyright IBM, Corp. 2008\n * Red Hat, Inc. 2008\n *\n * Authors:\n * Anthony Liguor"
},
{
"path": "qemu/accel/kvm/sev-stub.c",
"chars": 478,
"preview": "/*\n * QEMU SEV stub\n *\n * Copyright Advanced Micro Devices 2018\n *\n * Authors:\n * Brijesh Singh <brijesh.singh@amd."
},
{
"path": "qemu/accel/kvm/trace-events",
"chars": 1075,
"preview": "# Trace events for debugging and performance instrumentation\n\n# kvm-all.c\nkvm_ioctl(int type, void *arg) \"type 0x%x, arg"
},
{
"path": "qemu/accel/stubs/Makefile.objs",
"chars": 231,
"preview": "obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o\nobj-$(call lnot,$(CONFIG_HVF)) += hvf-stub.o\nobj-$(call lnot,$(CONFIG_WHP"
},
{
"path": "qemu/accel/stubs/hax-stub.c",
"chars": 627,
"preview": "/*\n * QEMU HAXM support\n *\n * Copyright (c) 2015, Intel Corporation\n *\n * Copyright 2016 Google, Inc.\n *\n * This softwar"
},
{
"path": "qemu/accel/stubs/hvf-stub.c",
"chars": 587,
"preview": "/*\n * QEMU HVF support\n *\n * Copyright 2017 Red Hat, Inc.\n *\n * This software is licensed under the terms of the GNU Gen"
},
{
"path": "qemu/accel/stubs/kvm-stub.c",
"chars": 2955,
"preview": "/*\n * QEMU KVM stub\n *\n * Copyright Red Hat, Inc. 2010\n *\n * Author: Paolo Bonzini <pbonzini@redhat.com>\n *\n * This "
},
{
"path": "qemu/accel/stubs/tcg-stub.c",
"chars": 497,
"preview": "/*\n * QEMU TCG accelerator stub\n *\n * Copyright Red Hat, Inc. 2013\n *\n * Author: Paolo Bonzini <pbonzini@redhat.com>"
},
{
"path": "qemu/accel/stubs/whpx-stub.c",
"chars": 744,
"preview": "/*\n * QEMU Windows Hypervisor Platform accelerator (WHPX) stub\n *\n * Copyright Microsoft Corp. 2017\n *\n * This work is l"
},
{
"path": "qemu/accel/tcg/Makefile.objs",
"chars": 282,
"preview": "obj-$(CONFIG_SOFTMMU) += tcg-all.o\nobj-$(CONFIG_SOFTMMU) += cputlb.o\nobj-y += tcg-runtime.o tcg-runtime-gvec.o\nobj-y += "
},
{
"path": "qemu/accel/tcg/atomic_template.h",
"chars": 12620,
"preview": "/*\n * Atomic helper templates\n * Included from tcg-runtime.c and cputlb.c.\n *\n * Copyright (c) 2016 Red Hat, Inc\n *\n * T"
},
{
"path": "qemu/accel/tcg/cpu-exec-common.c",
"chars": 2858,
"preview": "/*\n * emulator main execution loop\n *\n * Copyright (c) 2003-2005 Fabrice Bellard\n *\n * This library is free software; "
},
{
"path": "qemu/accel/tcg/cpu-exec.c",
"chars": 23629,
"preview": "/*\n * emulator main execution loop\n *\n * Copyright (c) 2003-2005 Fabrice Bellard\n *\n * This library is free software; "
},
{
"path": "qemu/accel/tcg/cputlb.c",
"chars": 35292,
"preview": "/*\n * Common CPU TLB handling\n *\n * Copyright (c) 2003 Fabrice Bellard\n *\n * This library is free software; you can re"
},
{
"path": "qemu/accel/tcg/softmmu_template.h",
"chars": 15803,
"preview": "/*\n * Software MMU support\n *\n * Generate helpers used by TCG for qemu_ld/st ops and code load\n * functions.\n *\n * Incl"
},
{
"path": "qemu/accel/tcg/tcg-all.c",
"chars": 2800,
"preview": "/*\n * QEMU System Emulator, accelerator interfaces\n *\n * Copyright (c) 2003-2008 Fabrice Bellard\n * Copyright (c) 2014 R"
},
{
"path": "qemu/accel/tcg/tcg-runtime-gvec.c",
"chars": 25970,
"preview": "/*\n * Generic vectorized operation runtime\n *\n * Copyright (c) 2018 Linaro\n *\n * This library is free software; you can "
},
{
"path": "qemu/accel/tcg/tcg-runtime.c",
"chars": 30727,
"preview": "/*\n * Tiny Code Generator for QEMU\n *\n * Copyright (c) 2008 Fabrice Bellard\n *\n * Permission is hereby granted, free of "
},
{
"path": "qemu/accel/tcg/tcg-runtime.h",
"chars": 15093,
"preview": "DEF_HELPER_FLAGS_2(div_i32, TCG_CALL_NO_RWG_SE, s32, s32, s32)\nDEF_HELPER_FLAGS_2(rem_i32, TCG_CALL_NO_RWG_SE, s32, s32,"
},
{
"path": "qemu/accel/tcg/trace-events",
"chars": 447,
"preview": "# Trace events for debugging and performance instrumentation\n\n# TCG related tracing (mostly disabled by default)\n# cpu-e"
},
{
"path": "qemu/accel/tcg/translate-all.c",
"chars": 78653,
"preview": "/*\n * Host code generation\n *\n * Copyright (c) 2003 Fabrice Bellard\n *\n * This library is free software; you can redis"
},
{
"path": "qemu/accel/tcg/translate-all.h",
"chars": 1467,
"preview": "/*\n * Translated block handling\n *\n * Copyright (c) 2003 Fabrice Bellard\n *\n * This library is free software; you can "
},
{
"path": "qemu/accel/tcg/translator.c",
"chars": 4619,
"preview": "/*\n * Generic intermediate code generation.\n *\n * Copyright (C) 2016-2017 Lluís Vilanova <vilanova@ac.upc.edu>\n *\n * Thi"
},
{
"path": "qemu/accel/tcg/user-exec-stub.c",
"chars": 503,
"preview": "#include \"qemu/osdep.h\"\n#include \"qemu-common.h\"\n#include \"qom/cpu.h\"\n#include \"sysemu/replay.h\"\n#include \"sysemu/sysemu"
},
{
"path": "qemu/accel/tcg/user-exec.c",
"chars": 20666,
"preview": "/*\n * User emulator execution\n *\n * Copyright (c) 2003-2005 Fabrice Bellard\n *\n * This library is free software; you c"
},
{
"path": "qemu/arch_init.c",
"chars": 3396,
"preview": "/*\n * QEMU System Emulator\n *\n * Copyright (c) 2003-2008 Fabrice Bellard\n *\n * Permission is hereby granted, free of cha"
},
{
"path": "qemu/audio/Makefile.objs",
"chars": 880,
"preview": "common-obj-y = audio.o noaudio.o wavaudio.o mixeng.o\ncommon-obj-$(CONFIG_SPICE) += spiceaudio.o\ncommon-obj-$(CONFIG_AUDI"
},
{
"path": "qemu/audio/alsaaudio.c",
"chars": 32344,
"preview": "/*\n * QEMU ALSA audio driver\n *\n * Copyright (c) 2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, free of "
},
{
"path": "qemu/audio/audio.c",
"chars": 53457,
"preview": "/*\n * QEMU Audio subsystem\n *\n * Copyright (c) 2003-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, free "
},
{
"path": "qemu/audio/audio.h",
"chars": 5257,
"preview": "/*\n * QEMU Audio subsystem header\n *\n * Copyright (c) 2003-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted"
},
{
"path": "qemu/audio/audio_int.h",
"chars": 6496,
"preview": "/*\n * QEMU Audio subsystem header\n *\n * Copyright (c) 2003-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted"
},
{
"path": "qemu/audio/audio_pt_int.c",
"chars": 3957,
"preview": "#include \"qemu/osdep.h\"\n#include \"qemu-common.h\"\n#include \"audio.h\"\n\n#define AUDIO_CAP \"audio-pt\"\n\n#include \"audio_int.h"
},
{
"path": "qemu/audio/audio_pt_int.h",
"chars": 686,
"preview": "#ifndef QEMU_AUDIO_PT_INT_H\n#define QEMU_AUDIO_PT_INT_H\n\n#include <pthread.h>\n\nstruct audio_pt {\n const char *drv;\n "
},
{
"path": "qemu/audio/audio_template.h",
"chars": 12179,
"preview": "/*\n * QEMU Audio subsystem header\n *\n * Copyright (c) 2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, fre"
},
{
"path": "qemu/audio/audio_win_int.c",
"chars": 2338,
"preview": "/* public domain */\n\n#include \"qemu/osdep.h\"\n#include \"qemu-common.h\"\n\n#define AUDIO_CAP \"win-int\"\n#include <windows.h>\n"
},
{
"path": "qemu/audio/audio_win_int.h",
"chars": 308,
"preview": "#ifndef AUDIO_WIN_INT_H\n#define AUDIO_WIN_INT_H\n\nint waveformat_from_audio_settings (WAVEFORMATEX *wfx,\n "
},
{
"path": "qemu/audio/coreaudio.c",
"chars": 21502,
"preview": "/*\n * QEMU OS X CoreAudio audio driver\n *\n * Copyright (c) 2005 Mike Kronenberg\n *\n * Permission is hereby granted, free"
},
{
"path": "qemu/audio/dsound_template.h",
"chars": 7015,
"preview": "/*\n * QEMU DirectSound audio driver header\n *\n * Copyright (c) 2005 Vassili Karpov (malc)\n *\n * Permission is hereby gra"
},
{
"path": "qemu/audio/dsoundaudio.c",
"chars": 22707,
"preview": "/*\n * QEMU DirectSound audio driver\n *\n * Copyright (c) 2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, f"
},
{
"path": "qemu/audio/mixeng.c",
"chars": 10090,
"preview": "/*\n * QEMU Mixing engine\n *\n * Copyright (c) 2004-2005 Vassili Karpov (malc)\n * Copyright (c) 1998 Fabrice Bellard\n *\n *"
},
{
"path": "qemu/audio/mixeng.h",
"chars": 2233,
"preview": "/*\n * QEMU Mixing engine header\n *\n * Copyright (c) 2004-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, "
},
{
"path": "qemu/audio/mixeng_template.h",
"chars": 3953,
"preview": "/*\n * QEMU Mixing engine\n *\n * Copyright (c) 2004-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, free of"
},
{
"path": "qemu/audio/noaudio.c",
"chars": 4897,
"preview": "/*\n * QEMU Timer based audio emulation\n *\n * Copyright (c) 2004-2005 Vassili Karpov (malc)\n *\n * Permission is hereby gr"
},
{
"path": "qemu/audio/ossaudio.c",
"chars": 24550,
"preview": "/*\n * QEMU OSS audio driver\n *\n * Copyright (c) 2003-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, free"
},
{
"path": "qemu/audio/paaudio.c",
"chars": 24252,
"preview": "/* public domain */\n#include \"qemu/osdep.h\"\n#include \"qemu-common.h\"\n#include \"audio.h\"\n\n#include <pulse/pulseaudio.h>\n\n"
},
{
"path": "qemu/audio/rate_template.h",
"chars": 3494,
"preview": "/*\n * QEMU Mixing engine\n *\n * Copyright (c) 2004-2005 Vassili Karpov (malc)\n * Copyright (c) 1998 Fabrice Bellard\n *\n *"
},
{
"path": "qemu/audio/sdlaudio.c",
"chars": 11827,
"preview": "/*\n * QEMU SDL audio driver\n *\n * Copyright (c) 2004-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, free"
},
{
"path": "qemu/audio/spiceaudio.c",
"chars": 11627,
"preview": "/*\n * Copyright (C) 2010 Red Hat, Inc.\n *\n * maintained by Gerd Hoffmann <kraxel@redhat.com>\n *\n * This program is free "
},
{
"path": "qemu/audio/trace-events",
"chars": 973,
"preview": "# See docs/devel/tracing.txt for syntax documentation.\n\n# audio/alsaaudio.c\nalsa_revents(int revents) \"revents = %d\"\nals"
},
{
"path": "qemu/audio/wavaudio.c",
"chars": 8353,
"preview": "/*\n * QEMU WAV audio driver\n *\n * Copyright (c) 2004-2005 Vassili Karpov (malc)\n *\n * Permission is hereby granted, free"
},
{
"path": "qemu/audio/wavcapture.c",
"chars": 5230,
"preview": "#include \"qemu/osdep.h\"\n#include \"hw/hw.h\"\n#include \"monitor/monitor.h\"\n#include \"qapi/error.h\"\n#include \"qemu/error-rep"
},
{
"path": "qemu/backends/Makefile.objs",
"chars": 468,
"preview": "common-obj-y += rng.o rng-egd.o\ncommon-obj-$(CONFIG_POSIX) += rng-random.o\n\ncommon-obj-$(CONFIG_TPM) += tpm.o\n\ncommon-ob"
},
{
"path": "qemu/backends/cryptodev-builtin.c",
"chars": 12238,
"preview": "/*\n * QEMU Cryptodev backend for QEMU cipher APIs\n *\n * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.\n *\n * Authors:\n"
},
{
"path": "qemu/backends/cryptodev-vhost-user.c",
"chars": 11095,
"preview": "/*\n * QEMU Cryptodev backend for QEMU cipher APIs\n *\n * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.\n *\n * Authors:\n"
},
{
"path": "qemu/backends/cryptodev-vhost.c",
"chars": 8900,
"preview": "/*\n * QEMU Cryptodev backend for QEMU cipher APIs\n *\n * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.\n *\n * Authors:\n"
},
{
"path": "qemu/backends/cryptodev.c",
"chars": 7091,
"preview": "/*\n * QEMU Crypto Device Implementation\n *\n * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.\n *\n * Authors:\n * Gong"
},
{
"path": "qemu/backends/hostmem-file.c",
"chars": 6592,
"preview": "/*\n * QEMU Host Memory Backend for hugetlbfs\n *\n * Copyright (C) 2013-2014 Red Hat Inc\n *\n * Authors:\n * Paolo Bonzini"
},
{
"path": "qemu/backends/hostmem-memfd.c",
"chars": 5469,
"preview": "/*\n * QEMU host memfd memory backend\n *\n * Copyright (C) 2018 Red Hat Inc\n *\n * Authors:\n * Marc-André Lureau <marcand"
},
{
"path": "qemu/backends/hostmem-ram.c",
"chars": 1315,
"preview": "/*\n * QEMU Host Memory Backend\n *\n * Copyright (C) 2013-2014 Red Hat Inc\n *\n * Authors:\n * Igor Mammedov <imammedo@red"
},
{
"path": "qemu/backends/hostmem.c",
"chars": 13887,
"preview": "/*\n * QEMU Host Memory Backend\n *\n * Copyright (C) 2013-2014 Red Hat Inc\n *\n * Authors:\n * Igor Mammedov <imammedo@red"
},
{
"path": "qemu/backends/rng-egd.c",
"chars": 4214,
"preview": "/*\n * QEMU Random Number Generator Backend\n *\n * Copyright IBM, Corp. 2012\n *\n * Authors:\n * Anthony Liguori <aliguor"
},
{
"path": "qemu/backends/rng-random.c",
"chars": 3723,
"preview": "/*\n * QEMU Random Number Generator Backend\n *\n * Copyright IBM, Corp. 2012\n *\n * Authors:\n * Anthony Liguori <aliguor"
},
{
"path": "qemu/backends/rng.c",
"chars": 3448,
"preview": "/*\n * QEMU Random Number Generator Backend\n *\n * Copyright IBM, Corp. 2012\n *\n * Authors:\n * Anthony Liguori <aliguor"
},
{
"path": "qemu/backends/tpm.c",
"chars": 4568,
"preview": "/*\n * QEMU TPM Backend\n *\n * Copyright IBM, Corp. 2013\n *\n * Authors:\n * Stefan Berger <stefanb@us.ibm.com>\n *\n * Thi"
},
{
"path": "qemu/balloon.c",
"chars": 3636,
"preview": "/*\n * Generic Balloon handlers and management\n *\n * Copyright (c) 2003-2008 Fabrice Bellard\n * Copyright (C) 2011 Red Ha"
},
{
"path": "qemu/block/Makefile.objs",
"chars": 2342,
"preview": "block-obj-y += raw-format.o vmdk.o vpc.o\nblock-obj-$(CONFIG_QCOW1) += qcow.o\nblock-obj-$(CONFIG_VDI) += vdi.o\nblock-obj-"
},
{
"path": "qemu/block/accounting.c",
"chars": 8030,
"preview": "/*\n * QEMU System Emulator block accounting\n *\n * Copyright (c) 2011 Christoph Hellwig\n * Copyright (c) 2015 Igalia, S.L"
},
{
"path": "qemu/block/backup.c",
"chars": 24662,
"preview": "/*\n * QEMU backup\n *\n * Copyright (C) 2013 Proxmox Server Solutions\n *\n * Authors:\n * Dietmar Maurer (dietmar@proxmox.c"
},
{
"path": "qemu/block/blkdebug.c",
"chars": 26603,
"preview": "/*\n * Block protocol for I/O error injection\n *\n * Copyright (C) 2016-2017 Red Hat, Inc.\n * Copyright (c) 2010 Kevin Wol"
},
{
"path": "qemu/block/blklogwrites.c",
"chars": 17492,
"preview": "/*\n * Write logging blk driver based on blkverify and blkdebug.\n *\n * Copyright (c) 2017 Tuomas Tynkkynen <tuomas@tuxera"
},
{
"path": "qemu/block/blkreplay.c",
"chars": 4249,
"preview": "/*\n * Block protocol for record/replay\n *\n * Copyright (c) 2010-2016 Institute for System Programming\n * "
},
{
"path": "qemu/block/blkverify.c",
"chars": 10075,
"preview": "/*\n * Block protocol for block driver correctness testing\n *\n * Copyright (C) 2010 IBM, Corp.\n *\n * This work is license"
},
{
"path": "qemu/block/block-backend.c",
"chars": 59537,
"preview": "/*\n * QEMU Block backends\n *\n * Copyright (C) 2014-2016 Red Hat, Inc.\n *\n * Authors:\n * Markus Armbruster <armbru@redha"
},
{
"path": "qemu/block/bochs.c",
"chars": 9400,
"preview": "/*\n * Block driver for the various disk image formats used by Bochs\n * Currently only for \"growing\" type in read-only mo"
},
{
"path": "qemu/block/cloop.c",
"chars": 9461,
"preview": "/*\n * QEMU Block driver for CLOOP images\n *\n * Copyright (c) 2004 Johannes E. Schindelin\n *\n * Permission is hereby gran"
},
{
"path": "qemu/block/commit.c",
"chars": 15891,
"preview": "/*\n * Live block commit\n *\n * Copyright Red Hat, Inc. 2012\n *\n * Authors:\n * Jeff Cody <jcody@redhat.com>\n * Based o"
},
{
"path": "qemu/block/copy-on-read.c",
"chars": 5234,
"preview": "/*\n * Copy-on-read filter block driver\n *\n * Copyright (c) 2018 Red Hat, Inc.\n *\n * Author:\n * Max Reitz <mreitz@redha"
},
{
"path": "qemu/block/create.c",
"chars": 3277,
"preview": "/*\n * Block layer code related to image creation\n *\n * Copyright (c) 2018 Kevin Wolf <kwolf@redhat.com>\n *\n * Permission"
},
{
"path": "qemu/block/crypto.c",
"chars": 18660,
"preview": "/*\n * QEMU block full disk encryption\n *\n * Copyright (c) 2015-2016 Red Hat, Inc.\n *\n * This library is free software; y"
},
{
"path": "qemu/block/crypto.h",
"chars": 4138,
"preview": "/*\n * QEMU block full disk encryption\n *\n * Copyright (c) 2015-2017 Red Hat, Inc.\n *\n * This library is free software; y"
},
{
"path": "qemu/block/curl.c",
"chars": 30613,
"preview": "/*\n * QEMU Block driver for CURL images\n *\n * Copyright (c) 2009 Alexander Graf <agraf@suse.de>\n *\n * Permission is here"
},
{
"path": "qemu/block/dirty-bitmap.c",
"chars": 25796,
"preview": "/*\n * Block Dirty Bitmap\n *\n * Copyright (c) 2016-2017 Red Hat. Inc\n *\n * Permission is hereby granted, free of charge, "
},
{
"path": "qemu/block/dmg-bz2.c",
"chars": 2155,
"preview": "/*\n * DMG bzip2 uncompression\n *\n * Copyright (c) 2004 Johannes E. Schindelin\n * Copyright (c) 2016 Red Hat, Inc.\n *\n * "
},
{
"path": "qemu/block/dmg.c",
"chars": 21995,
"preview": "/*\n * QEMU Block driver for DMG images\n *\n * Copyright (c) 2004 Johannes E. Schindelin\n *\n * Permission is hereby grante"
},
{
"path": "qemu/block/dmg.h",
"chars": 2121,
"preview": "/*\n * Header for DMG driver\n *\n * Copyright (c) 2004-2006 Fabrice Bellard\n * Copyright (c) 2016 Red hat, Inc.\n *\n * Perm"
},
{
"path": "qemu/block/file-posix.c",
"chars": 102215,
"preview": "/*\n * Block driver for RAW files (posix)\n *\n * Copyright (c) 2006 Fabrice Bellard\n *\n * Permission is hereby granted, fr"
},
{
"path": "qemu/block/file-win32.c",
"chars": 23908,
"preview": "/*\n * Block driver for RAW files (win32)\n *\n * Copyright (c) 2006 Fabrice Bellard\n *\n * Permission is hereby granted, fr"
},
{
"path": "qemu/block/gluster.c",
"chars": 51120,
"preview": "/*\n * GlusterFS backend for QEMU\n *\n * Copyright (C) 2012 Bharata B Rao <bharata@linux.vnet.ibm.com>\n *\n * This work is "
},
{
"path": "qemu/block/io.c",
"chars": 99629,
"preview": "/*\n * Block layer I/O functions\n *\n * Copyright (c) 2003 Fabrice Bellard\n *\n * Permission is hereby granted, free of cha"
},
{
"path": "qemu/block/iscsi-opts.c",
"chars": 2588,
"preview": "/*\n * QEMU Block driver for iSCSI images (static options)\n *\n * Copyright (c) 2017 Peter Lieven <pl@kamp.de>\n *\n * Permi"
},
{
"path": "qemu/block/iscsi.c",
"chars": 80573,
"preview": "/*\n * QEMU Block driver for iSCSI images\n *\n * Copyright (c) 2010-2011 Ronnie Sahlberg <ronniesahlberg@gmail.com>\n * Cop"
},
{
"path": "qemu/block/linux-aio.c",
"chars": 14348,
"preview": "/*\n * Linux native AIO support.\n *\n * Copyright (C) 2009 IBM, Corp.\n * Copyright (C) 2009 Red Hat, Inc.\n *\n * This work "
},
{
"path": "qemu/block/mirror.c",
"chars": 57617,
"preview": "/*\n * Image mirroring\n *\n * Copyright Red Hat, Inc. 2012\n *\n * Authors:\n * Paolo Bonzini <pbonzini@redhat.com>\n *\n * T"
},
{
"path": "qemu/block/nbd-client.c",
"chars": 31707,
"preview": "/*\n * QEMU Block driver for NBD\n *\n * Copyright (C) 2016 Red Hat, Inc.\n * Copyright (C) 2008 Bull S.A.S.\n * Author:"
},
{
"path": "qemu/block/nbd-client.h",
"chars": 2458,
"preview": "#ifndef NBD_CLIENT_H\n#define NBD_CLIENT_H\n\n#include \"qemu-common.h\"\n#include \"block/nbd.h\"\n#include \"block/block_int.h\"\n"
},
{
"path": "qemu/block/nbd.c",
"chars": 19006,
"preview": "/*\n * QEMU Block driver for NBD\n *\n * Copyright (C) 2008 Bull S.A.S.\n * Author: Laurent Vivier <Laurent.Vivier@bull"
},
{
"path": "qemu/block/nfs.c",
"chars": 26047,
"preview": "/*\n * QEMU Block driver for native access to files on NFS shares\n *\n * Copyright (c) 2014-2017 Peter Lieven <pl@kamp.de>"
},
{
"path": "qemu/block/null.c",
"chars": 8558,
"preview": "/*\n * Null block driver\n *\n * Authors:\n * Fam Zheng <famz@redhat.com>\n *\n * Copyright (C) 2014 Red Hat, Inc.\n *\n * This"
},
{
"path": "qemu/block/nvme.c",
"chars": 34424,
"preview": "/*\n * NVMe block driver based on vfio\n *\n * Copyright 2016 - 2018 Red Hat, Inc.\n *\n * Authors:\n * Fam Zheng <famz@redh"
},
{
"path": "qemu/block/parallels.c",
"chars": 28418,
"preview": "/*\n * Block driver for Parallels disk image format\n *\n * Copyright (c) 2007 Alex Beregszaszi\n * Copyright (c) 2015 Denis"
},
{
"path": "qemu/block/parallels.h",
"chars": 2795,
"preview": "/*\n* Block driver for Parallels disk image format\n*\n* Copyright (c) 2015-2017 Virtuozzo, Inc.\n* Authors:\n* 2016-"
},
{
"path": "qemu/block/qapi.c",
"chars": 29476,
"preview": "/*\n * Block layer qmp and info dump related functions\n *\n * Copyright (c) 2003-2008 Fabrice Bellard\n *\n * Permission is "
},
{
"path": "qemu/block/qcow.c",
"chars": 38999,
"preview": "/*\n * Block driver for the QCOW format\n *\n * Copyright (c) 2004-2006 Fabrice Bellard\n *\n * Permission is hereby granted,"
},
{
"path": "qemu/block/qcow2-bitmap.c",
"chars": 43664,
"preview": "/*\n * Bitmaps for the QCOW version 2 format\n *\n * Copyright (c) 2014-2017 Vladimir Sementsov-Ogievskiy\n *\n * This file i"
},
{
"path": "qemu/block/qcow2-cache.c",
"chars": 12277,
"preview": "/*\n * L2/refcount table cache for the QCOW2 format\n *\n * Copyright (c) 2010 Kevin Wolf <kwolf@redhat.com>\n *\n * Permissi"
},
{
"path": "qemu/block/qcow2-cluster.c",
"chars": 71895,
"preview": "/*\n * Block driver for the QCOW version 2 format\n *\n * Copyright (c) 2004-2006 Fabrice Bellard\n *\n * Permission is hereb"
},
{
"path": "qemu/block/qcow2-refcount.c",
"chars": 120148,
"preview": "/*\n * Block driver for the QCOW version 2 format\n *\n * Copyright (c) 2004-2006 Fabrice Bellard\n *\n * Permission is hereb"
},
{
"path": "qemu/block/qcow2-snapshot.c",
"chars": 22576,
"preview": "/*\n * Block driver for the QCOW version 2 format\n *\n * Copyright (c) 2004-2006 Fabrice Bellard\n *\n * Permission is hereb"
},
{
"path": "qemu/block/qcow2.c",
"chars": 164180,
"preview": "/*\n * Block driver for the QCOW version 2 format\n *\n * Copyright (c) 2004-2006 Fabrice Bellard\n *\n * Permission is hereb"
},
{
"path": "qemu/block/qcow2.h",
"chars": 24839,
"preview": "/*\n * Block driver for the QCOW version 2 format\n *\n * Copyright (c) 2004-2006 Fabrice Bellard\n *\n * Permission is hereb"
},
{
"path": "qemu/block/qed-check.c",
"chars": 6741,
"preview": "/*\n * QEMU Enhanced Disk Format Consistency Check\n *\n * Copyright IBM, Corp. 2010\n *\n * Authors:\n * Stefan Hajnoczi <"
},
{
"path": "qemu/block/qed-cluster.c",
"chars": 4664,
"preview": "/*\n * QEMU Enhanced Disk Format Cluster functions\n *\n * Copyright IBM, Corp. 2010\n *\n * Authors:\n * Stefan Hajnoczi <"
},
{
"path": "qemu/block/qed-l2-cache.c",
"chars": 6122,
"preview": "/*\n * QEMU Enhanced Disk Format L2 Cache\n *\n * Copyright IBM, Corp. 2010\n *\n * Authors:\n * Anthony Liguori <aliguori@"
},
{
"path": "qemu/block/qed-table.c",
"chars": 5497,
"preview": "/*\n * QEMU Enhanced Disk Format Table I/O\n *\n * Copyright IBM, Corp. 2010\n *\n * Authors:\n * Stefan Hajnoczi <stefanha"
},
{
"path": "qemu/block/qed.c",
"chars": 50308,
"preview": "/*\n * QEMU Enhanced Disk Format\n *\n * Copyright IBM, Corp. 2010\n *\n * Authors:\n * Stefan Hajnoczi <stefanha@linux.vne"
},
{
"path": "qemu/block/qed.h",
"chars": 9922,
"preview": "/*\n * QEMU Enhanced Disk Format\n *\n * Copyright IBM, Corp. 2010\n *\n * Authors:\n * Stefan Hajnoczi <stefanha@linux.vne"
},
{
"path": "qemu/block/quorum.c",
"chars": 32718,
"preview": "/*\n * Quorum Block filter\n *\n * Copyright (C) 2012-2014 Nodalink, EURL.\n *\n * Author:\n * Benoît Canet <benoit.canet@ir"
},
{
"path": "qemu/block/raw-format.c",
"chars": 17353,
"preview": "/* BlockDriver implementation for \"raw\" format driver\n *\n * Copyright (C) 2010-2016 Red Hat, Inc.\n * Copyright (C) 2010,"
},
{
"path": "qemu/block/rbd.c",
"chars": 35491,
"preview": "/*\n * QEMU Block driver for RADOS (Ceph)\n *\n * Copyright (C) 2010-2011 Christian Brunner <chb@muc.de>,\n * "
},
{
"path": "qemu/block/replication.c",
"chars": 22548,
"preview": "/*\n * Replication Block filter\n *\n * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.\n * Copyright (c) 2016 Intel Corpor"
},
{
"path": "qemu/block/sheepdog.c",
"chars": 93551,
"preview": "/*\n * Copyright (C) 2009-2010 Nippon Telegraph and Telephone Corporation.\n *\n * This program is free software; you can r"
},
{
"path": "qemu/block/snapshot.c",
"chars": 16628,
"preview": "/*\n * Block layer snapshot related functions\n *\n * Copyright (c) 2003-2008 Fabrice Bellard\n *\n * Permission is hereby gr"
},
{
"path": "qemu/block/ssh.c",
"chars": 37015,
"preview": "/*\n * Secure Shell (ssh) backend for QEMU.\n *\n * Copyright (C) 2013 Red Hat Inc., Richard W.M. Jones <rjones@redhat.com>"
},
{
"path": "qemu/block/stream.c",
"chars": 8272,
"preview": "/*\n * Image streaming\n *\n * Copyright IBM, Corp. 2011\n *\n * Authors:\n * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>"
},
{
"path": "qemu/block/throttle-groups.c",
"chars": 30062,
"preview": "/*\n * QEMU block throttling group infrastructure\n *\n * Copyright (C) Nodalink, EURL. 2014\n * Copyright (C) Igalia, S.L. "
},
{
"path": "qemu/block/throttle.c",
"chars": 8536,
"preview": "/*\n * QEMU block throttling filter driver infrastructure\n *\n * Copyright (c) 2017 Manos Pitsidianakis\n *\n * This program"
},
{
"path": "qemu/block/trace-events",
"chars": 11797,
"preview": "# See docs/devel/tracing.txt for syntax documentation.\n\n# block.c\nbdrv_open_common(void *bs, const char *filename, int f"
},
{
"path": "qemu/block/vdi.c",
"chars": 34435,
"preview": "/*\n * Block driver for the Virtual Disk Image (VDI) format\n *\n * Copyright (c) 2009, 2012 Stefan Weil\n *\n * This program"
},
{
"path": "qemu/block/vhdx-endian.c",
"chars": 6371,
"preview": "/*\n * Block driver for Hyper-V VHDX Images\n *\n * Copyright (c) 2013 Red Hat, Inc.,\n *\n * Authors:\n * Jeff Cody <jcody@r"
},
{
"path": "qemu/block/vhdx-log.c",
"chars": 30981,
"preview": "/*\n * Block driver for Hyper-V VHDX Images\n *\n * Copyright (c) 2013 Red Hat, Inc.,\n *\n * Authors:\n * Jeff Cody <jcody@r"
},
{
"path": "qemu/block/vhdx.c",
"chars": 71760,
"preview": "/*\n * Block driver for Hyper-V VHDX Images\n *\n * Copyright (c) 2013 Red Hat, Inc.,\n *\n * Authors:\n * Jeff Cody <jcody@r"
},
{
"path": "qemu/block/vhdx.h",
"chars": 19814,
"preview": "/*\n * Block driver for Hyper-V VHDX Images\n *\n * Copyright (c) 2013 Red Hat, Inc.,\n *\n * Authors:\n * Jeff Cody <jcody@r"
},
{
"path": "qemu/block/vmdk.c",
"chars": 76671,
"preview": "/*\n * Block driver for the VMDK format\n *\n * Copyright (c) 2004 Fabrice Bellard\n * Copyright (c) 2005 Filip Navara\n *\n *"
},
{
"path": "qemu/block/vpc.c",
"chars": 37602,
"preview": "/*\n * Block driver for Connectix / Microsoft Virtual PC images\n *\n * Copyright (c) 2005 Alex Beregszaszi\n * Copyright (c"
},
{
"path": "qemu/block/vvfat.c",
"chars": 104137,
"preview": "/* vim:set shiftwidth=4 ts=4: */\n/*\n * QEMU Block driver for virtual VFAT (shadows a local directory)\n *\n * Copyright (c"
},
{
"path": "qemu/block/vxhs.c",
"chars": 15579,
"preview": "/*\n * QEMU Block driver for Veritas HyperScale (VxHS)\n *\n * Copyright (c) 2017 Veritas Technologies LLC.\n *\n * This work"
},
{
"path": "qemu/block/win32-aio.c",
"chars": 6066,
"preview": "/*\n * Block driver for RAW files (win32)\n *\n * Copyright (c) 2006 Fabrice Bellard\n *\n * Permission is hereby granted, fr"
},
{
"path": "qemu/block/write-threshold.c",
"chars": 3555,
"preview": "/*\n * QEMU System Emulator block write threshold notification\n *\n * Copyright Red Hat, Inc. 2014\n *\n * Authors:\n * Fran"
},
{
"path": "qemu/block.c",
"chars": 167950,
"preview": "/*\n * QEMU System Emulator block driver\n *\n * Copyright (c) 2003 Fabrice Bellard\n *\n * Permission is hereby granted, fre"
},
{
"path": "qemu/blockdev-nbd.c",
"chars": 6180,
"preview": "/*\n * Serving QEMU block devices via NBD\n *\n * Copyright (c) 2012 Red Hat, Inc.\n *\n * Author: Paolo Bonzini <pbonzini@re"
},
{
"path": "qemu/blockdev.c",
"chars": 136119,
"preview": "/*\n * QEMU host block devices\n *\n * Copyright (c) 2003-2008 Fabrice Bellard\n *\n * This work is licensed under the terms "
},
{
"path": "qemu/blockjob.c",
"chars": 15269,
"preview": "/*\n * QEMU System Emulator block driver\n *\n * Copyright (c) 2011 IBM Corp.\n * Copyright (c) 2012 Red Hat, Inc.\n *\n * Per"
},
{
"path": "qemu/bootdevice.c",
"chars": 9559,
"preview": "/*\n * QEMU Boot Device Implement\n *\n * Copyright (c) 2014 HUAWEI TECHNOLOGIES CO., LTD.\n *\n * Permission is hereby grant"
},
{
"path": "qemu/bsd-user/Makefile.objs",
"chars": 91,
"preview": "obj-y = main.o bsdload.o elfload.o mmap.o signal.o strace.o syscall.o \\\n\t uaccess.o\n"
},
{
"path": "qemu/bsd-user/bsd-mman.h",
"chars": 6438,
"preview": "/*-\n * Copyright (c) 1982, 1986, 1993\n * The Regents of the University of California. All rights reserved.\n *\n * R"
},
{
"path": "qemu/bsd-user/bsdload.c",
"chars": 4195,
"preview": "/* Code for loading BSD executables. Mostly linux kernel code. */\n\n#include \"qemu/osdep.h\"\n\n#include \"qemu.h\"\n\n#define"
},
{
"path": "qemu/bsd-user/elfload.c",
"chars": 48073,
"preview": "/* This is the Linux kernel elf-loading code, ported into user space */\n\n#include \"qemu/osdep.h\"\n\n#include \"qemu.h\"\n#inc"
},
{
"path": "qemu/bsd-user/errno_defs.h",
"chars": 9421,
"preview": "/* $OpenBSD: errno.h,v 1.20 2007/09/03 14:37:52 millert Exp $ */\n/* $NetBSD: errno.h,v 1.10 1996/01/20 01"
}
]
// ... and 16088 more files (download for full content)
About this extraction
This page contains the full source code of the andreafioraldi/qasan GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 16288 files (175.8 MB), approximately 27.2M tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.