google/syzkaller
syzkaller is an unsupervised coverage-guided kernel fuzzer
https://skillcdn.ai/gh/google/syzkallerConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
master - Commit
877371f - License
Apache-2.0 - Searchwords
Showing commit 877371f
The newest commit, 976206f, is being indexed. Until it is ready, this page and every agent are served the last indexed commit.
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Folders
- Akaros support
akarosAkaros support was removed. You can find it in git history, if needed. Found bugs are here, here and here.1 documentRead the introduction - Darwin/XNU
darwinIt turned out to be unreasonably hard to bootstrap a VM image usable for fuzzing from the XNU source drops without using any of the proprietary kernel extensions shipped with macOS. This guide is the…2 documentsRead the introduction - FreeBSD
freebsdThis page contains instructions to set up syzkaller to run on a FreeBSD or Linux host and fuzz an amd64 FreeBSD kernel running in a virtual machine.2 documentsRead the introduction - Fuchsia support
fuchsiaFor information about checking out and building Fuchsia see Get started with Fuchsia and Download the Fuchsia source code.1 documentRead the introduction - gVisor
gvisorgVisor is a user-space kernel, written in Go, that implements a substantial portion of the Linux system surface.1 documentRead the introduction - Hafnium
hafniumHafnium is a hypervisor.1 documentRead the introduction - linux30 documents
- NetBSD
netbsdInstructions to set up syzkaller for a Linux host and a NetBSD guest.2 documentsRead the introduction - openbsd3 documents
- starnix support
starnixTo run syzkaller for fuzzing starnix, you will need a checkout of the Fuchsia source repository.1 documentRead the introduction - Translations
translationsThe documentation translations are community maintained and may be outdated. The official documentation is in English.20 documentsRead the introduction - Trusty support
trustyTrusty is a set of software components supporting a Trusted Execution Environment (TEE) on mobile devices.1 documentRead the introduction - Windows
windowsWindows support is very raw and preliminary (read, non-working).1 documentRead the introduction
Documents
- Adding new OS supportHere are the common parts of syzkaller to edit in order to make syzkaller support a new OS kernel. However, there may be some specific changes that will be required for a given kernel (for example, g…docs/adding_new_os_support.md
- Syz-bisectsyz-bisect program can be used to bisect culprit and fix commits for crashes found by syzkaller. It can also identify configuration options that are triggers for the crash.docs/bisect.md
- Continuous integration fuzzingsyz-ci command provides support for continuous fuzzing with syzkaller. It runs several syz-manager's, polls and rebuilds images for managers and polls and rebuilds syzkaller binaries.docs/ci.md
- ConfigurationThe operation of the syzkaller syz-manager process is governed by a configuration file, passed at invocation time with the -config option. This configuration can be based on the example; the file is…docs/configuration.md
- How to contribute to syzkallerIf you want to contribute to the project, feel free to send a pull request following the guidelines below.docs/contributing.md
- Coveragesyzkaller uses sanitizer coverage (tracing mode) and KCOV for coverage collection. Sanitizer coverage is also supported by gcc and KCOV is supported by some other OSes. Note: gVisor coverage is compl…docs/coverage.md
- coverage_both.pngdocs/coverage_both.png
- coverage_covered.pngdocs/coverage_covered.png
- coverage_not_instrumented.pngdocs/coverage_not_instrumented.png
- coverage_uncovered.pngdocs/coverage_uncovered.png
- syz-dbsyz-db program can be used to manipulate corpus.db databases that are used by syz-managers.docs/db.md
- docs.godocs/docs.go
- headerparser_usage.mdheaderparser is a tool that assists in writing device system call descriptions for syzkaller.docs/headerparser_usage.md
- Connecting several managers via Hubsyz-hub program can be used to connect several syz-manager's together and allow them to exchange programs.docs/hub.md
- How syzkaller worksGeneric description of how syzkaller works are below.docs/internals.md
- issue_template.txtdocs/issue_template.txt
- KFuzzTest Integration With syzkallerKFuzzTest, introduced initially in this RFC is a framework for exposing internal kernel functions to a userspace fuzzing engine like syzkaller. As the kernel docs put it:docs/kfuzztest.md
- Maintainer's GuideWe preserve linear history and have merge commits disabled in repository settings. Pull requests (PR) have only 2 options:docs/maintaining.md
- syz-agent in MCP modeExample use with Gemini CLI:docs/mcp.md
- process_structure.drawiodocs/process_structure.drawio
- process_structure.pngdocs/process_structure.png
- Program syntaxSyzkaller uses a compact domain-specific language (DSL) for programs to log executed programs, test its code, and persist programs in the corpus. This page provides a brief description of the corresp…docs/program_syntax.md
- Prometheus metricssyz-manager metrics are exposed at the URI /metrics on the http endpoint. Currently exported prometheus metrics from the manager are syz_exec_total, syz_corpus_cover and syz_crash_total.docs/prometheus.md
- Pseudo-syscallsBesides regular system calls, a syscall description file can also contain pseudo-syscalls. These are C functions defined in the executor. When a test program uses a pseudo-syscall, the executor will…docs/pseudo_syscalls.md
- pull_request_template.txtdocs/pull_request_template.txt
- How to reproduce syzkaller crashesIf the bug was reported by syzbot, you first need to build the kernel used by the tool. Syzbot provides the necessary information in its report:docs/reproducing_crashes.md
- Research work based on syzkallerDear researchers, feel free to contact us at syzkaller@googlegroups.com if you need any assistance.docs/research.md
- Automated Code Review Guidelines (DVYUKOV.md)This file contains curated recommendations extracted from automated pull request reviews. Ingest this file into your LLM pipeline to ensure compliance with repository style and best practices!docs/review_guidelines.md
- How to set up syzkallerGeneric setup instructions for fuzzing Linux kernel are outlined here.docs/setup.md
- How to set up syzbotThis doc will be useful to you:docs/setup_syzbot.md
- StraceSyzkaller can be instructed to execute programs under strace and capture the output.docs/strace.md
- Syscall descriptionssyzkaller uses declarative description of syscall interfaces to manipulate programs (sequences of syscalls). Below you can see (hopefully self-explanatory) excerpt from the descriptions:docs/syscall_descriptions.md
- Syscall description languageaka syzlang ([siːzˈlæŋg])docs/syscall_descriptions_syntax.md
- Syzkaller DungeonThe Syzkaller Dungeon (/{ns}/syz-dungeon, e.g. /upstream/syz-dungeon) ranks contributors (kernel developers) based on their achievements in fixing bugs found by Syzkaller. It uses a retro "terminal h…docs/syz-dungeon.md
- `syz-kfuzztest`syz-kfuzztest is a standalone tool for fuzzing KFuzzTest targets from within the kernel being fuzzed (e.g., a VM).docs/syz-kfuzztest.md
- syz-testbedsyz-testbed is the tool that simplifies the process of evaluating the performance of different syzkaller versions (or configurations) against each other. The tool automates checking out syzkaller rep…docs/syz_testbed.md
- syz-verifierMany bugs are easy to detect: they might cause assertions failures, crash our system, or cause other forms of undefined behaviour detectable by various dynamic analysis tools. However, certain classe…docs/syz_verifier.md
Skipped (9)
These manifests were not served. Fix them and push: the next commit is indexed again.
docs/coverage.mdlink_missinga link names no file of the repository (/tools/syz-cover)docs/linux/reporting_kernel_bugs.mdlink_missinga link names no file of the repository (/dashboard/config/linux/bits)docs/program_syntax.mdlink_missinga link names no file of the repository (/sys/linux/test)docs/pseudo_syscalls.mdlink_missinga link names no file of the repository (/sys/linux/test)docs/syscall_descriptions.mdlink_missing3 links name no file of the repository (/sys/syz-extract, /sys/syz-sysgen, /sys/linux/test)docs/syzbot.mdlink_missing2 links name no file of the repository (/dashboard/config, /dashboard/app)docs/translations/zh_CN/program_syntax.mdlink_missinga link names no file of the repository (/sys/linux/test)docs/translations/zh_CN/pseudo_syscalls.mdlink_missinga link names no file of the repository (/sys/linux/test)docs/translations/zh_CN/contributing.mdfragment_not_founda link names a section its file does not have (contributing.md#guidelines): a fragment is the words a heading begins with, in lower case and joined by hyphens