Home
last modified time | relevance | path

Searched +full:qemu +full:- +full:utils (Results 1 – 25 of 50) sorted by relevance

12

/external/arm-trusted-firmware/docs/plat/
Dqemu.rst1 QEMU virt Armv8-A
4 Trusted Firmware-A (TF-A) implements the EL3 firmware layer for QEMU virt
5 Armv8-A. BL1 is used as the BootROM, supplied with the -bios argument.
6 When QEMU starts all CPUs are released simultaneously, BL1 selects a
10 BL2 edits the Flattened Device Tree, FDT, generated by QEMU at run-time to
18 provided as it's generated by QEMU.
22 - Only cold boot is supported
24 Getting non-TF images
25 ---------------------
28 http://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/QEMU-KERNEL-A…
[all …]
/external/autotest/server/site_tests/tast/
Dcontrol.category-qemu2 # Use of this source code is governed by a BSD-style license that can be
5 from autotest_lib.client.common_lib import utils
8 NAME = 'tast.category-qemu'
12 ATTRIBUTES = 'suite:bvt-tast-cq-qemu'
20 Run the critical Tast tests in the "qemu" category.
22 Tast is an integration-testing framework analagous to the test-running portion
26 This test runs Tast tests in the "qemu" category that are required to pass
29 See http://go/tast-failures for information about investigating failures.
32 args_dict = utils.args_to_dict(args)
42 '"name:qemu.*"'
/external/trusty/arm-trusted-firmware/docs/plat/
Dqemu.rst1 QEMU virt Armv8-A
4 Trusted Firmware-A (TF-A) implements the EL3 firmware layer for QEMU virt
5 Armv8-A. BL1 is used as the BootROM, supplied with the -bios argument.
6 When QEMU starts all CPUs are released simultaneously, BL1 selects a
10 BL2 edits the Flattened Device Tree, FDT, generated by QEMU at run-time to
18 provided as it's generated by QEMU.
22 - Only cold boot is supported
24 Getting non-TF images
25 ---------------------
28 http://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/QEMU-KERNEL-A…
[all …]
/external/AFLplusplus/docs/
Dfuzzing_binary-only_targets.md1 # Fuzzing binary-only targets
7 standard `afl-fuzz -n` (non-instrumented mode) is not effective.
9 For fast, on-the-fly instrumentation of black-box binaries, AFL++ still offers
15 FRIDA mode and QEMU mode in persistent mode are the fastest - if persistent mode
19 standard FRIDA/QEMU mode with `AFL_ENTRYPOINT` to where you need it.
21 If your target is non-linux, then use unicorn_mode.
23 ## Fuzzing binary-only targets with AFL++
25 ### QEMU mode
27 QEMU mode is the "native" solution to the program. It is available in the
28 ./qemu_mode/ directory and, once compiled, it can be accessed by the afl-fuzz -Q
[all …]
Dimportant_changes.md15 * afl-cmin and afl-showmap `-Ci` now descend into subdirectories like afl-fuzz
16 `-i` does (but note that afl-cmin.bash does not)
19 * afl-fuzz: deterministic fuzzing is not a default for `-M main` anymore
20 * afl-cmin/afl-showmap -i now descends into subdirectories (afl-cmin.bash,
24 * The '+' feature of the `-t` option now means to auto-calculate the timeout
26 "skipping timeouts instead of abort" is now inherent to the `-t` option.
31 only one compiler: afl-cc. All previous compilers now symlink to this one.
35 * QEMU mode got upgraded to QEMU 5.1, but to be able to build this a current
36 ninja build tool version and python3 setuptools are required. QEMU mode also
38 etc. Additionally QEMU 5.1 supports more CPU targets so this is really worth
[all …]
DChangelog.md7 - afl-fuzz:
8 - default power schedule is now EXPLORE, due a fix in fast schedules
10 - fixed minor issues in the mutation engine, thanks to @futhewo for
12 - better deterministic fuzzing is now available, benchmarks have shown
13 to improve fuzzing. Enable with -D. Thanks to @kdsjZh for the PR!
14 - afl-cc:
15 - large rewrite by @SonicStark which fixes a few corner cases, thanks!
16 - LTO mode now requires llvm 12+
17 - workaround for ASAN with gcc_plugin mode
18 - instrumentation:
[all …]
Denv_variables.md14 Starting with AFL++ 3.0, there is only one compiler: afl-cc.
18 - Pass the --afl-MODE command-line option to the compiler. Only this option
19 accepts further AFL-specific command-line options.
20 - Use a symlink to afl-cc: afl-clang, afl-clang++, afl-clang-fast,
21 afl-clang-fast++, afl-clang-lto, afl-clang-lto++, afl-g++, afl-g++-fast,
22 afl-gcc, afl-gcc-fast. This option does not accept AFL-specific command-line
24 - Use the `AFL_CC_COMPILER` environment variable with `MODE`. To select
27 - `GCC` (afl-gcc/afl-g++)
28 - `GCC_PLUGIN` (afl-g*-fast)
29 - `LLVM` (afl-clang-fast*)
[all …]
/external/autotest/utils/
Demulator_manager.py2 # Use of this source code is governed by a BSD-style license that can be
19 from autotest_lib.client.common_lib import utils
23 """Bad port, missing artifact or non-existant imagedir."""
35 def __init__(self, imagedir, port, run=utils.run):
40 run('test -f %s' % os.path.join(imagedir, 'system.img'))
55 @return: Bool - True if emulator stops.
73 cmd_result = self.run('find "%s" -name "*.dtb"' % self.imagedir)
87 '-dmS', 'emulator-%s' % self.port, 'qemu-system-arm',
88 '-M', 'vexpress-a9',
89 '-m', '1024M',
[all …]
/external/AFLplusplus/
D.gitignore2 !coresight_mode/coresight-trace
13 afl-addseeds.8
14 afl-analyze
15 afl-analyze.8
16 afl-as
17 afl-as.8
18 afl-c++
19 afl-c++.8
20 afl-cc
21 afl-cc.8
[all …]
DGNUmakefile2 # american fuzzy lop++ - makefile
3 # -----------------------------
13 # https://www.apache.org/licenses/LICENSE-2.0
30 VERSION = $(shell grep '^$(HASH)define VERSION ' ../config.h | cut -d '"' -f2)
32 # PROGS intentionally omit afl-as, which gets installed elsewhere.
34 PROGS = afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze
35 SH_PROGS = afl-plot afl-cmin afl-cmin.bash afl-whatsup afl-addseeds afl-system-config afl-persis…
36 MANPAGES=$(foreach p, $(PROGS) $(SH_PROGS), $(p).8) afl-as.8
39 SYS = $(shell uname -s)
40 ARCH = $(shell uname -m)
[all …]
DChangelog.md7 - afl-fuzz:
8 - default power schedule is now EXPLORE, due a fix in fast schedules
10 - fixed minor issues in the mutation engine, thanks to @futhewo for
12 - better deterministic fuzzing is now available, benchmarks have shown
13 to improve fuzzing. Enable with -D. Thanks to @kdsjZh for the PR!
14 - afl-cc:
15 - large rewrite by @SonicStark which fixes a few corner cases, thanks!
16 - LTO mode now requires llvm 12+
17 - workaround for ASAN with gcc_plugin mode
18 - instrumentation:
[all …]
/external/AFLplusplus/utils/
DREADME.md5 - aflpp_driver - easily instrument LLVMFuzzerTestOneInput()
8 - afl_network_proxy - fuzz a target over the network: afl-fuzz on
11 - plot_ui - simple UI window utility to display the
12 plots generated by afl-plot
14 - afl_proxy - skeleton file example to show how to fuzz
18 - afl_untracer - fuzz binary-only libraries much faster but with
19 less coverage than QEMU mode
21 - analysis_scripts - random -o out analysis scripts
23 - argv_fuzzing - a simple wrapper to allow cmdline to be fuzzed
26 - asan_cgroups - a contributed script to simplify fuzzing ASAN
[all …]
/external/cronet/third_party/libc++abi/src/test/configs/
Darmv7m-picolibc-libc++abi.cfg.in1 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
5 config.substitutions.append(('%{flags}', '--sysroot=@CMAKE_INSTALL_PREFIX@'))
8 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -
11 '-nostdlib -nostdlib++ -L %{lib} -lc++ -lc++abi'
12 ' -lc -lm -lclang_rt.builtins -lsemihost -lcrt0-semihost' +
13 ' -T {}'.format(libc_linker_script) +
14 ' -Wl,--defsym=__flash=0x0'
15 ' -Wl,--defsym=__flash_size=0x400000'
16 ' -Wl,--defsym=__ram=0x21000000'
17 ' -Wl,--defsym=__ram_size=0x1000000'
[all …]
/external/cronet/third_party/libc++/src/test/configs/
Darmv7m-picolibc-libc++.cfg.in1 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
5 config.substitutions.append(('%{flags}', '--sysroot=@CMAKE_INSTALL_PREFIX@'))
8 '-nostdinc++ -I %{include} -I %{target-include} -I %{libcxx}/test/support'
12 # access size (4 bytes) exceeds the max lock-free size (0 bytes)"
13 ' -Wno-atomic-alignment'
17 ' -include picolibc.h'
20 '-nostdlib -nostdlib++ -L %{lib} -lc++ -lc++abi'
21 ' -lc -lm -lclang_rt.builtins -lsemihost -lcrt0-semihost' +
22 ' -T {}'.format(libc_linker_script) +
23 ' -Wl,--defsym=__flash=0x0'
[all …]
/external/mesa3d/.gitlab-ci/container/debian/
Dx86_64_build-base.sh5 # .gitlab-ci/image-tags.yml tags:
8 set -e
9 set -o xtrace
14 apt-get install -y ca-certificates
15 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list.d/*
16 …b.freedesktop.org/gfx-ci/ci-deb-repo/-/raw/${PKG_REPO_REV}/ ${FDO_DISTRIBUTION_VERSION%-*} main" |…
24 apt-utils
28 "clang-${LLVM_VERSION}"
29 "clang-format-${LLVM_VERSION}"
30 dpkg-cross
[all …]
/external/zstd/.github/workflows/
Ddev-short-tests.yml1 name: dev-short-tests
6 group: fast-${{ github.ref }}
7 cancel-in-progress: true
13 permissions: read-all
16 linux-kernel:
17 runs-on: ubuntu-latest
19 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
20 - name: linux kernel, library + build + test
21 …run: make -C contrib/linux-kernel test CFLAGS="-Werror -Wunused-const-variable -Wunused-but-set-va…
24 runs-on: ubuntu-latest
[all …]
/external/selinux/scripts/ci/
Dtravis-kvm-setup.sh2 # SPDX-License-Identifier: MIT
3 set -ev
5 TEST_RUNNER="scripts/ci/fedora-test-runner.sh"
10 if [ -z "$FEDORA_MAJOR" ] || [ -z "$FEDORA_MINOR" ]; then
16 IMAGE_BASE_NAME="Fedora-Cloud-Base-$FEDORA_MAJOR-$FEDORA_MINOR.x86_64"
18 …URL="$BASE_URL/$FEDORA_MAJOR/Cloud/x86_64/images/Fedora-Cloud-$FEDORA_MAJOR-$FEDORA_MINOR-x86_64-C…
23 # https://docs.travis-ci.com/user/reference/overview/
29 sudo apt-get update
30 sudo apt-get install qemu-kvm libvirt-bin virtinst bridge-utils cpu-checker libguestfs-tools
32 sudo usermod -a -G kvm,libvirt,libvirt-qemu "$USER"
[all …]
/external/vboot_reference/
DMakefile2 # Use of this source code is governed by a BSD-style license that can be
27 # rule, the rule will be constructed using only the top-down, immediate value.
56 # VB_DIR = vboot binary directory for dev-mode-only scripts
87 _machname := $(shell uname -m)
101 # for a firmware target (such as u-boot or depthcharge). It must map
111 # Provide default CC and CFLAGS for firmware builds; if you have any -D flags,
112 # please add them after this point (e.g., -DVBOOT_DEBUG).
114 # TODO(crosbug.com/16808) We hard-code u-boot's compiler flags here just
116 # maintaining a compatible ABI, etc. between u-boot and vboot_reference.
121 # Flag ordering: arch, then -f, then -m, then -W
[all …]
/external/lz4/.github/workflows/
Dci.yml6 # - gcc
7 # - clang
10 # - All test cases which described as 'fail' must be fixed and replaced with 'true'.
11 # - gcc-11 (x32, x86) : "../lib/lz4hc.c:148: LZ4HC_countBack: Assertion `(size_t)(match - mMin) <…
12 # - all clangs (x32, x86) : "../lib/lz4hc.c:282: int LZ4HC_InsertAndGetWiderMatch(...): Assertion…
20 lz4-c-compilers:
23 fail-fast: false # 'false' means Don't stop matrix workflows even if some matrix failed.
28 …# pkgs : apt-get package names. It can include multiple package names which are delimit…
33 # x86 : Set 'true' if compiler supports x86 (-m32). Otherwise, set 'false'.
38 …ons YAML workflow label. See https://github.com/actions/virtual-environments#available-environmen…
[all …]
/external/ot-br-posix/tests/scripts/
Dbootstrap.sh30 set -euxo pipefail
33 [[ -d $TOOLS_HOME ]] || mkdir -p "$TOOLS_HOME"
41 if [[ -f ${OTBR_APT_CONF_FILE} ]] && grep Install-Recommends "${OTBR_APT_CONF_FILE}"; then
45 sudo tee -a /etc/apt/apt.conf <<EOF
46 APT::Get::Install-Recommends "false";
47 APT::Get::Install-Suggests "false";
54 sudo apt-get install --no-install-recommends -y \
55 libdbus-1-dev \
56 ninja-build \
59 net-tools \
[all …]
/external/crosvm/tools/
Dinstall-deps3 # Use of this source code is governed by a BSD-style license that can be
5 set -ex
7 sudo apt-get install --yes --no-install-recommends \
9 ca-certificates \
11 cloud-image-utils \
13 dpkg-dev \
19 libavcodec-dev \
20 libavutil-dev \
21 libcap-dev \
22 libclang-dev \
[all …]
/external/zstd/contrib/pzstd/
DMakefile5 # This source code is licensed under both the BSD-style license (found in the
18 # External program to use to run tests, e.g. qemu or valgrind
24 DEPFLAGS = -MMD -MP -MF $*.Td
25 POSTCOMPILE = mv -f $*.Td $*.d
28 CFLAGS ?= -O3 -Wall -Wextra
29 CXXFLAGS ?= -O3 -Wall -Wextra -pedantic
34 CFLAGS += -Wno-deprecated-declarations
37 PZSTD_INC = -I$(ZSTDDIR) -I$(ZSTDDIR)/common -I$(PROGDIR) -I.
38 GTEST_INC = -isystem googletest/googletest/include
41 PZSTD_CXX_STD := -std=c++14
[all …]
/external/rust/crates/rustix/src/backend/libc/termios/
Dsyscalls.rs28 crate::utils::as_mut_ptr,
32 pub(crate) fn tcgetattr(fd: BorrowedFd<'_>) -> io::Result<Termios> { in tcgetattr()
38 use crate::utils::default_array; in tcgetattr()
43 // QEMU's `TCGETS2` doesn't currently set `input_speed` or in tcgetattr()
71 // QEMU's `TCGETS2` doesn't currently set `input_speed` or in tcgetattr()
85 // For input speeds, `B0` is special-cased to mean the input in tcgetattr()
115 pub(crate) fn tcgetpgrp(fd: BorrowedFd<'_>) -> io::Result<Pid> { in tcgetpgrp()
121 // pseudo-terminal device fd. For now, translate it into `OPNOTSUPP`. in tcgetpgrp()
132 pub(crate) fn tcsetpgrp(fd: BorrowedFd<'_>, pid: Pid) -> io::Result<()> { in tcsetpgrp()
141 ) -> io::Result<()> { in tcsetattr()
[all …]
/external/mesa3d/src/gfxstream/guest/android-emu/android/utils/
Ddebug.h1 /* Copyright (C) 2007-2008 The Android Open Source Project
20 #include "android/utils/compiler.h"
21 #include "android/utils/log_severity.h"
36 _VERBOSE_TAG(audio, "audio sub-system") \
50 _VERBOSE_TAG(mtport, "multi-touch emulator connected to android device") \
51 _VERBOSE_TAG(mtscreen, "multi-touch screen emulation") \
55 _VERBOSE_TAG(adbclient, "ADB QEMU client") \
155 ** 'android_tid_function_print' is for tracing in multi-threaded situations.
/external/linux-kselftest/tools/testing/selftests/wireguard/qemu/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
13 CBUILD := $(shell gcc -dumpmachine)
14 HOST_ARCH := $(firstword $(subst -, ,$(CBUILD)))
19 MIRROR := https://download.wireguard.com/qemu-test/distfiles/
21 KERNEL_BUILD_PATH := $(BUILD_PATH)/kernel$(if $(findstring yes,$(DEBUG_KERNEL)),-debug)
23 default: qemu
28 $(1)_NAME := $(2)-$$($(1)_VERSION)
36 mkdir -p $(DISTFILES_PATH)
37-x $$@.lock -c '[ -f $$@ ] && exit 0; wget -O $$@.tmp $(MIRROR)$(1) || wget -O $$@.tmp $(2)$(1) ||…
[all …]

12