mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
Functionality: * Add configuration to anchor position of messages (#60, 71 in Bugs.md). * Add output priorisation (#38, 68 in Bugs.md). * Print whether output is active in dump. Bug Fixes: * Fix gamma control (72 in Bugs.md). * Add missing commands to example config. * Add message_config to dump output. Example Scripts: * Add screenshot script. * Make example scripts standalone. Documentation: * Escape html tags in config man page. (#68, 69 in Bugs.md) * Improve README.md (#62, 70 in Bugs.md). * Improve SECURITY.md. * Add CONTRIBUTING.md (#62, 70 in Bugs.md). * FAQ: Add Firefox screenshare instructions for wayland. * FAQ: Add wlroots downgrading instructions for workaround in case of temporary wlroots incompatibility. * Update copyright notices to 2024. Development Tooling: * Add new gpg keys (signed by the old ones). * Add PR template. * Add dev-FAQ. * Remove now-unnecessary fanalyzer pragmas.
17 lines
551 B
Bash
Executable file
17 lines
551 B
Bash
Executable file
#!/bin/bash
|
|
# Copyright 2023 - 2024, project-repo and the cagebreak contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
readonly fuzzing_corpus="${1}"
|
|
|
|
if [[ -n ${MESON_SOURCE_ROOT} ]]
|
|
then
|
|
# shellcheck disable=2164
|
|
cd "${MESON_SOURCE_ROOT}"
|
|
fi
|
|
|
|
rm -rf fuzzing-directory
|
|
CC=clang meson setup fuzzing-directory -Dfuzz=true -Db_sanitize=address,undefined -Db_lundef=false -Db_detect-leaks=0
|
|
ninja -C fuzzing-directory/
|
|
WLR_BACKENDS=headless ./fuzzing-directory/fuzz-parse -jobs=12 -max_len=50000 -close_fd_mask=3 "${fuzzing_corpus}"
|
|
rm -rf fuzzing-directory
|