Skip to content

Architecture

plummm edited this page Nov 8, 2023 · 5 revisions

Architecture

Workzone Structure

├── cases.json							File. Bugs information
├── syzbot.log						        File. syzbot log
├── incomplete							Folder. Saving ongoing cases
├── completed							Folder. Saving completed but not triggered cases
├── succeed							Folder. Saving triggered cases
    ├── xxx							Folder. Case hash
        ├── compiler						Folder. Containing the compiler that compiles the upstream kernel
            └── compiler					Symbolic link. To the compiler
        ├── linux						Symbolic link. To the Linux kernel
        ├── img							Folder. For PoC testing
            ├── stretch.img					File. Contain high-risk impact
	    ├── stretch.img.key					File. Use for launch qemu
            ├── ubuntu-18.04.4-snapshot.img			File. Image of Ubuntu-18.04.4
            ├── upstream-snapshot.img				File. Image of upstream Linux
            └── ubuntu-20.04-snapshot.img			File. Image of Ubuntu-20.04
        ├── BugReproduce					Folder. Regular plugin folder
            ├── launch_ubuntu-18.04.4.sh			File. Script for booting Ubuntu-18.04.4
            ├── launch_ubuntu-20.04.sh			        File. Script for booting Ubuntu-20.04
            ├── qemu-ubuntu-18.04.4-root0			File. QEMU log (root privilege)
            ├── qemu-ubuntu-20.04-root0			        File. QEMU log (root privilege)
            ├── qemu-ubuntu-20.04-normal0			File. QEMU log (normal privilege)
            ├── Report_BugReproduce			        File. Plugin report
            ├── results.json			                File. Plugin results
            ├── VendorMemRead			                File. Exist if triggers a memory read bug
            ├── sandbox.h			                File. For enabling the sandbox
            └── log						File. Plugin log
        ├── SyzFeatureMinimize					Folder. Regular plugin folder
            ├── ...
            └── log					        File. Plugin log
        ├── ...(Other plugin folders)				Folder. Regular plugin folder
        ├── testcase					        File. Syzkaller style testcase
        ├── poc.c						File. C style testcase
        ├── PoC_no_repeat.c					File. PoC without repeat execution (no data racce)
        ├── PoC_repeat.c					File. PoC with repeat execution (data racce)
        ├── config					        File. Kernel config that is used to compile upstream kernel
        ├── crash_log-ubuntu-20.04				File. Crash log
        ├── crash_log-upstream					File. Crash log
        └── log					                File. Case log
└── error							Folder. Error cases
    ├── xxx
	├── ...
	└── make.log-xxx					File. Make log if failed