Searched +full:oss +full:- +full:fuzz (Results 1 – 9 of 9) sorted by relevance
/qemu/scripts/oss-fuzz/ |
H A D | build.sh | 1 #!/bin/bash -e 3 # OSS-Fuzz build script. See: 4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh 7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles 10 # the COPYING file in the top-level directory. 17 # make -j$(nproc) all 21 # $CXX $CXXFLAGS -std=c++11 -Iinclude \ 22 # /path/to/name_of_fuzzer.cc -o $OUT/name_of_fuzzer \ 23 # -fsanitize=fuzzer /path/to/library.a 30 OSS_FUZZ_BUILD_DIR="./build-oss-fuzz/" [all …]
|
H A D | reorder_fuzzer_qtest_trace.py | 2 # -*- coding: utf-8 -*- 6 trace that you can feed into a standard qemu-system process. Example usage: 8 QEMU_FUZZ_ARGS="-machine q35,accel=qtest" QEMU_FUZZ_OBJECTS="*" \ 9 ./i386-softmmu/qemu-fuzz-i386 --fuzz-target=generic-pci-fuzz 12 QEMU_FUZZ_ARGS="-machine q35,accel=qtest" QEMU_FUZZ_OBJECTS="*" \ 13 ./i386-softmmu/qemu-fuzz-i386 --fuzz-target=generic-pci-fuzz 15 scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py qtest_log_output > qtest_trace 16 ./i386-softmmu/qemu-fuzz-i386 -machine q35,accel=qtest \ 17 -qtest stdio < qtest_trace 52 reordered trace via -qtest stdio to reproduce the input [all …]
|
/qemu/docs/devel/testing/ |
H A D | fuzzing.rst | 5 This document describes the virtual-device fuzzing infrastructure in QEMU and 9 ------ 15 To fuzz QEMU, we rely on libfuzzer. Unlike other fuzzers such as AFL, libfuzzer 16 is an *in-process* fuzzer. For the developer, this means that it is their 17 responsibility to ensure that state is reset between fuzzing-runs. 20 -------------------- 24 Here, enable-asan and enable-ubsan are optional but they allow us to reliably 25 detect bugs such as out-of-bounds accesses, uses-after-free, double-frees 28 CC=clang-8 CXX=clang++-8 /path/to/configure \ 29 --enable-fuzzing --enable-asan --enable-ubsan [all …]
|
/qemu/tests/docker/ |
H A D | test-fuzz | 1 #!/bin/bash -e 3 # Compile and check with oss-fuzz. 10 # SPDX-License-Identifier: GPL-2.0-or-later 18 cp -a $QEMU_SRC . 20 mkdir build-oss-fuzz 21 export LSAN_OPTIONS=suppressions=scripts/oss-fuzz/lsan_suppressions.txt 22 env CC="clang" CXX="clang++" CFLAGS="-fsanitize=address" ./scripts/oss-fuzz/build.sh 24 for fuzzer in $(find ./build-oss-fuzz/DEST_DIR/ -executable -type f | grep -v slirp); do 27 "${fuzzer}" -runs=1 -seed=1 || exit 1 ;
|
/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 2 - local: '/.gitlab-ci.d/buildtest-template.yml' 4 build-system-alpine: 6 - .native_build_job_template 7 - .native_build_artifact_template 9 - job: amd64-alpine-container 12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu 13 MAKE_CHECK_ARGS: check-build 14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog 16 check-system-alpine: 19 - job: build-system-alpine [all …]
|
/qemu/ |
H A D | meson_options.txt | 1 # These options do not correspond to a --enable/--disable-* option 3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too. 9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'], 12 description: 'use specified string as sub-version of the package') 22 …choices: ['alsa', 'coreaudio', 'default', 'dsound', 'jack', 'oss', 'pa', 'pipewire', 'sdl', 'sndio… 25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like … 27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q… 28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M', 33 description: 'fuzzing engine library for OSS-Fuzz') 40 # Everything else can be set via --enable/--disable-* option [all …]
|
H A D | meson.build | 15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) 28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 35 tmpdir = meson.current_build_dir() / 'meson-private/temp' 66 have_linux_user = have_linux_user or target.endswith('linux-user') 67 have_bsd_user = have_bsd_user or target.endswith('bsd-user') 68 have_system = have_system or target.endswith('-softmmu') 113 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"') 120 message('To use Rust you can install a new version with "cargo install bindgen-cli"') 128 '--rustc-version', rustc.version(), 129 '--workspace', meson.project_source_root() / 'rust'] [all …]
|
H A D | MAINTAINERS | 10 consult qemu-devel and not any specific individual privately. 23 W: Web-page with status/info 59 ------------------------------ 63 L: qemu-devel@nongnu.org 72 R: Philippe Mathieu-Daudé <philmd@linaro.org> 75 F: docs/devel/build-environment.rst 76 F: docs/devel/code-of-conduct.rst 78 F: docs/devel/conflict-resolution.rst 80 F: docs/devel/submitting-a-patch.rst 81 F: docs/devel/submitting-a-pull-request.rst [all …]
|
/qemu/qga/ |
H A D | meson.build | 17 http://www.microsoft.com/en-us/download/details.aspx?id=23490 18 On POSIX-systems, MinGW should provide headers in >=10.0 releases. 20 $ scripts/extract-vsssdk-headers setup.exe 22 Then run configure with: --extra-cxxflags="-isystem /path/to/vss/inc/win2003"''') \ 32 'qga-qapi-commands.c', 33 'qga-qapi-commands.h', 34 'qga-qapi-emit-events.c', 35 'qga-qapi-emit-events.h', 36 'qga-qapi-events.c', 37 'qga-qapi-events.h', [all …]
|