aboutsummaryrefslogtreecommitdiff
path: root/tools/fuzzsettings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fuzzsettings.sh')
-rwxr-xr-xtools/fuzzsettings.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/fuzzsettings.sh b/tools/fuzzsettings.sh
new file mode 100755
index 0000000000..7cf613dc3d
--- /dev/null
+++ b/tools/fuzzsettings.sh
@@ -0,0 +1,12 @@
+#!/bin/sh -ex
+
+# SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+ROOTDIR=$(CDPATH='' cd -- "$(dirname -- "$0")/" && pwd)
+
+touch "$2"
+
+c++ "$ROOTDIR/fuzzsettings.cpp" -o fuzzsettings
+./fuzzsettings "$1" >"$2"
+rm fuzzsettings