Home
last modified time | relevance | path

Searched +full:- +full:fsanitize (Results 1 – 8 of 8) sorted by relevance

/qemu/tests/tsan/
H A Dignore.tsan3 # "--extra-cflags=-fsanitize-blacklist=<src path>/tests/tsan/ignore.tsan"
/qemu/
H A Dmeson.build15 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 …]
/qemu/tests/docker/
H A Dtest-clang1 #!/bin/bash -e
12 # the top-level directory.
20 OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
21 OPTS="$OPTS --extra-cflags=-fsanitize=undefined \
22 --extra-cflags=-fno-sanitize=float-divide-by-zero"
H A Dtest-fuzz1 #!/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/tests/qemu-iotests/
H A Dmeson.build6 if cflag.startswith('-fsanitize') and \
7 not cflag.contains('safe-stack') and not cflag.contains('cfi-icall')
8 message('Sanitizers are enabled ==> Disabled the qemu-iotests.')
15 message('bash >= v4.0 not available ==> Disabled the qemu-iotests.')
30 if k.startswith('qemu-system-')
41 suites = ['block-' + speed, speed]
44 args = ['-tap', '-' + format]
46 args += ['-g', 'auto']
50 [python, qemu_iotests_check_cmd] + args + ['-n'],
56 '-tap', '-' + format, item,
[all …]
/qemu/scripts/oss-fuzz/
H A Dbuild.sh1 #!/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 …]
/qemu/docs/devel/testing/
H A Dmain.rst7 everything from unit testing and exercising specific sub-systems all
9 tests you can run ``make check-help`` from either the source or build
16 [./pyvenv/bin/]meson test --suite qemu:softfloat
38 -------------------------
49 Different sub-types of "make check" tests will be explained below.
55 .. _unit-tests:
68 In QEMU, unit tests can be invoked with ``make check-unit``. They are
76 1. Create a new source file. For example, ``tests/unit/foo-test.c``.
86 is in ``tests/unit/foo-test.c``, it is enough to add an entry like::
90 'foo-test': [],
[all …]
/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - 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 …]