From c41fef90a7d06d7a363d1085a53205ba147cd518 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20E=C3=9Fer?= Date: Fri, 5 Feb 2021 20:53:34 +0100 Subject: [PATCH] bc: Correct mis-merge of contrib/bc on upgrade to version 3.2.6 Revert "bc: Vendor import of Gavin Howard's bc version 3.2.6" This reverts commit 601ac82194693fcae9d7d2a7ec7d66ebaf3fd61e. Vendor import of Gavin Howard's bc version 3.2.6 (cherry picked from commit 47a52dc4d48f259ab7d9f9ba6b65f4f2331a22dc) The files README.md and .gitignore had been lost and are restored by this commit. A lot of files used for fuzzing had been moved to a new place and still existed in their previous location. Delete the now obsolete files from the old location. Approved by: re --- .gitignore | 27 ++ README.md | 82 ++++ contrib/bc/tests/diff.sh | 0 contrib/bc/tests/fuzzing/bc_inputs1/array.bc | 0 .../bc/tests/fuzzing/bc_inputs2/references.bc | 0 contrib/bc/tests/fuzzing/dc_inputs/stream.dc | 0 contrib/bc/tests/other.sh | 0 tests/dc/errors/30.txt | 1 - tests/dc/errors/31.txt | 1 - tests/dc/scripts/all.txt | 9 - tests/diff.sh | 51 --- tests/extra_required.txt | 7 - tests/fuzzing/bc.dict | 68 --- tests/fuzzing/bc_inputs1/abs.txt | 7 - tests/fuzzing/bc_inputs1/add.txt | 146 ------- tests/fuzzing/bc_inputs1/arctangent.txt | 26 -- tests/fuzzing/bc_inputs1/array.bc | 60 --- tests/fuzzing/bc_inputs1/arrays.txt | 10 - tests/fuzzing/bc_inputs1/assignments.txt | 122 ------ tests/fuzzing/bc_inputs1/basic.txt | 7 - tests/fuzzing/bc_inputs1/boolean.txt | 184 -------- tests/fuzzing/bc_inputs1/cosine.txt | 44 -- tests/fuzzing/bc_inputs1/decimal.txt | 35 -- tests/fuzzing/bc_inputs1/divide.txt | 31 -- tests/fuzzing/bc_inputs1/engineering.txt | 19 - tests/fuzzing/bc_inputs1/exponent.txt | 22 - tests/fuzzing/bc_inputs1/functions.bc | 7 - tests/fuzzing/bc_inputs1/functions.txt | 13 - tests/fuzzing/bc_inputs1/globals.txt | 21 - tests/fuzzing/bc_inputs1/len.bc | 48 --- tests/fuzzing/bc_inputs1/length.txt | 59 --- tests/fuzzing/bc_inputs1/lib10.txt | 4 - tests/fuzzing/bc_inputs1/lib11.txt | 4 - tests/fuzzing/bc_inputs1/lib12.txt | 1 - tests/fuzzing/bc_inputs1/lib2.txt | 15 - tests/fuzzing/bc_inputs1/lib3.txt | 6 - tests/fuzzing/bc_inputs1/lib4.txt | 10 - tests/fuzzing/bc_inputs1/lib5.txt | 2 - tests/fuzzing/bc_inputs1/lib6.txt | 5 - tests/fuzzing/bc_inputs1/lib7.txt | 12 - tests/fuzzing/bc_inputs1/lib8.txt | 3 - tests/fuzzing/bc_inputs2/lib13.txt | 1 - tests/fuzzing/bc_inputs2/lib14.txt | 1 - tests/fuzzing/bc_inputs2/lib15.txt | 1 - tests/fuzzing/bc_inputs2/lib16.txt | 1 - tests/fuzzing/bc_inputs2/lib19.txt | 1 - tests/fuzzing/bc_inputs2/lib20.txt | 1 - tests/fuzzing/bc_inputs2/lib21.txt | 1 - tests/fuzzing/bc_inputs2/lib22.txt | 1 - tests/fuzzing/bc_inputs2/lib23.txt | 1 - tests/fuzzing/bc_inputs2/lib24.txt | 1 - tests/fuzzing/bc_inputs2/log.txt | 22 - tests/fuzzing/bc_inputs2/misc.txt | 13 - tests/fuzzing/bc_inputs2/misc1.txt | 76 ---- tests/fuzzing/bc_inputs2/misc2.txt | 110 ----- tests/fuzzing/bc_inputs2/misc3.txt | 12 - tests/fuzzing/bc_inputs2/modulus.txt | 69 --- tests/fuzzing/bc_inputs2/multiply.txt | 40 -- tests/fuzzing/bc_inputs2/pi.txt | 4 - tests/fuzzing/bc_inputs2/places.txt | 19 - tests/fuzzing/bc_inputs2/power.txt | 44 -- tests/fuzzing/bc_inputs2/print2.txt | 194 --------- tests/fuzzing/bc_inputs2/references.bc | 408 ------------------ tests/fuzzing/bc_inputs2/scale.txt | 57 --- tests/fuzzing/bc_inputs2/scientific.txt | 51 --- tests/fuzzing/bc_inputs2/shift.txt | 281 ------------ tests/fuzzing/bc_inputs2/sine.txt | 207 --------- tests/fuzzing/bc_inputs3/01.txt | 339 --------------- tests/fuzzing/bc_inputs3/02.txt | 1 - tests/fuzzing/bc_inputs3/03.txt | 2 - tests/fuzzing/bc_inputs3/04.txt | 1 - tests/fuzzing/bc_inputs3/05.txt | 1 - tests/fuzzing/bc_inputs3/06.txt | 1 - tests/fuzzing/bc_inputs3/07.txt | 8 - tests/fuzzing/bc_inputs3/08.txt | 3 - tests/fuzzing/bc_inputs3/09.txt | 11 - tests/fuzzing/bc_inputs3/10.txt | 1 - tests/fuzzing/bc_inputs3/11.txt | 99 ----- tests/fuzzing/bc_inputs3/12.txt | 2 - tests/fuzzing/bc_inputs3/13.txt | 56 --- tests/fuzzing/bc_inputs3/14.txt | 1 - tests/fuzzing/bc_inputs3/15.txt | 3 - tests/fuzzing/bc_inputs3/16.txt | 1 - tests/fuzzing/bc_inputs3/17.txt | 11 - tests/fuzzing/bc_inputs3/18.txt | 3 - tests/fuzzing/bc_inputs3/19.txt | 5 - tests/fuzzing/bc_inputs3/20.txt | 51 --- tests/fuzzing/bc_inputs3/21.txt | 10 - tests/fuzzing/bc_inputs3/22.txt | 2 - tests/fuzzing/bc_inputs3/23.txt | Bin 1024 -> 0 bytes tests/fuzzing/bc_inputs3/24.txt | 4 - tests/fuzzing/bc_inputs3/sqrt.txt | 14 - tests/fuzzing/bc_inputs3/strings.txt | 12 - tests/fuzzing/bc_inputs3/subtract.txt | 153 ------- tests/fuzzing/bc_inputs3/trunc.txt | 15 - tests/fuzzing/bc_inputs3/void.txt | 20 - tests/fuzzing/dc_inputs/01.txt | 2 - tests/fuzzing/dc_inputs/02.txt | 5 - tests/fuzzing/dc_inputs/03.txt | 2 - tests/fuzzing/dc_inputs/04.txt | 9 - tests/fuzzing/dc_inputs/05.txt | 3 - tests/fuzzing/dc_inputs/06.txt | 1 - tests/fuzzing/dc_inputs/07.txt | 3 - tests/fuzzing/dc_inputs/08.txt | 1 - tests/fuzzing/dc_inputs/09.txt | 9 - tests/fuzzing/dc_inputs/10.txt | 11 - tests/fuzzing/dc_inputs/11.txt | 4 - tests/fuzzing/dc_inputs/12.txt | 2 - tests/fuzzing/dc_inputs/13.txt | 7 - tests/fuzzing/dc_inputs/14.txt | 7 - tests/fuzzing/dc_inputs/15.txt | 11 - tests/fuzzing/dc_inputs/16.txt | 1 - tests/fuzzing/dc_inputs/17.txt | 20 - tests/fuzzing/dc_inputs/18.txt | 3 - tests/fuzzing/dc_inputs/19.txt | 1 - tests/fuzzing/dc_inputs/20.txt | 3 - tests/fuzzing/dc_inputs/21.txt | 5 - tests/fuzzing/dc_inputs/22.txt | 36 -- tests/fuzzing/dc_inputs/23.txt | 2 - tests/fuzzing/dc_inputs/24.txt | 1 - tests/fuzzing/dc_inputs/25.txt | 6 - tests/fuzzing/dc_inputs/26.txt | 155 ------- tests/fuzzing/dc_inputs/27.txt | 2 - tests/fuzzing/dc_inputs/28.txt | 1 - tests/fuzzing/dc_inputs/29.txt | 13 - tests/fuzzing/dc_inputs/30.txt | 1 - tests/fuzzing/dc_inputs/31.txt | 1 - tests/fuzzing/dc_inputs/abs.txt | 7 - tests/fuzzing/dc_inputs/add.txt | 33 -- tests/fuzzing/dc_inputs/array.dc | 2 - tests/fuzzing/dc_inputs/boolean.txt | 80 ---- tests/fuzzing/dc_inputs/decimal.txt | 36 -- tests/fuzzing/dc_inputs/divide.txt | 33 -- tests/fuzzing/dc_inputs/divmod.txt | 64 --- tests/fuzzing/dc_inputs/else.dc | 4 - tests/fuzzing/dc_inputs/engineering.txt | 19 - tests/fuzzing/dc_inputs/loop.dc | 3 - tests/fuzzing/dc_inputs/misc.txt | 1 - tests/fuzzing/dc_inputs/modexp.txt | 103 ----- tests/fuzzing/dc_inputs/modulus.txt | 70 --- tests/fuzzing/dc_inputs/multiply.txt | 42 -- tests/fuzzing/dc_inputs/places.txt | 14 - tests/fuzzing/dc_inputs/power.txt | 36 -- tests/fuzzing/dc_inputs/quit.dc | 2 - tests/fuzzing/dc_inputs/scientific.txt | 51 --- tests/fuzzing/dc_inputs/shift.txt | 42 -- tests/fuzzing/dc_inputs/sqrt.txt | 14 - tests/fuzzing/dc_inputs/stdin.txt | 205 --------- tests/fuzzing/dc_inputs/stream.dc | 2 - tests/fuzzing/dc_inputs/strings.txt | 50 --- tests/fuzzing/dc_inputs/subtract.txt | 33 -- tests/fuzzing/dc_inputs/trunc.txt | 11 - tests/fuzzing/dc_inputs/vars.txt | 2 - tests/fuzzing/dc_inputs/weird.dc | 2 - tests/other.sh | 271 ------------ 155 files changed, 109 insertions(+), 5067 deletions(-) create mode 100644 .gitignore create mode 100644 README.md mode change 100644 => 100755 contrib/bc/tests/diff.sh mode change 100644 => 100755 contrib/bc/tests/fuzzing/bc_inputs1/array.bc mode change 100644 => 100755 contrib/bc/tests/fuzzing/bc_inputs2/references.bc mode change 100644 => 100755 contrib/bc/tests/fuzzing/dc_inputs/stream.dc mode change 100644 => 100755 contrib/bc/tests/other.sh delete mode 100644 tests/dc/errors/30.txt delete mode 100644 tests/dc/errors/31.txt delete mode 100644 tests/dc/scripts/all.txt delete mode 100755 tests/diff.sh delete mode 100644 tests/extra_required.txt delete mode 100644 tests/fuzzing/bc.dict delete mode 100644 tests/fuzzing/bc_inputs1/abs.txt delete mode 100644 tests/fuzzing/bc_inputs1/add.txt delete mode 100644 tests/fuzzing/bc_inputs1/arctangent.txt delete mode 100755 tests/fuzzing/bc_inputs1/array.bc delete mode 100644 tests/fuzzing/bc_inputs1/arrays.txt delete mode 100644 tests/fuzzing/bc_inputs1/assignments.txt delete mode 100644 tests/fuzzing/bc_inputs1/basic.txt delete mode 100644 tests/fuzzing/bc_inputs1/boolean.txt delete mode 100644 tests/fuzzing/bc_inputs1/cosine.txt delete mode 100644 tests/fuzzing/bc_inputs1/decimal.txt delete mode 100644 tests/fuzzing/bc_inputs1/divide.txt delete mode 100644 tests/fuzzing/bc_inputs1/engineering.txt delete mode 100644 tests/fuzzing/bc_inputs1/exponent.txt delete mode 100644 tests/fuzzing/bc_inputs1/functions.bc delete mode 100644 tests/fuzzing/bc_inputs1/functions.txt delete mode 100644 tests/fuzzing/bc_inputs1/globals.txt delete mode 100644 tests/fuzzing/bc_inputs1/len.bc delete mode 100644 tests/fuzzing/bc_inputs1/length.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib10.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib11.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib12.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib2.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib3.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib4.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib5.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib6.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib7.txt delete mode 100644 tests/fuzzing/bc_inputs1/lib8.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib13.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib14.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib15.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib16.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib19.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib20.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib21.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib22.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib23.txt delete mode 100644 tests/fuzzing/bc_inputs2/lib24.txt delete mode 100644 tests/fuzzing/bc_inputs2/log.txt delete mode 100644 tests/fuzzing/bc_inputs2/misc.txt delete mode 100644 tests/fuzzing/bc_inputs2/misc1.txt delete mode 100644 tests/fuzzing/bc_inputs2/misc2.txt delete mode 100644 tests/fuzzing/bc_inputs2/misc3.txt delete mode 100644 tests/fuzzing/bc_inputs2/modulus.txt delete mode 100644 tests/fuzzing/bc_inputs2/multiply.txt delete mode 100644 tests/fuzzing/bc_inputs2/pi.txt delete mode 100644 tests/fuzzing/bc_inputs2/places.txt delete mode 100644 tests/fuzzing/bc_inputs2/power.txt delete mode 100644 tests/fuzzing/bc_inputs2/print2.txt delete mode 100755 tests/fuzzing/bc_inputs2/references.bc delete mode 100644 tests/fuzzing/bc_inputs2/scale.txt delete mode 100644 tests/fuzzing/bc_inputs2/scientific.txt delete mode 100644 tests/fuzzing/bc_inputs2/shift.txt delete mode 100644 tests/fuzzing/bc_inputs2/sine.txt delete mode 100644 tests/fuzzing/bc_inputs3/01.txt delete mode 100644 tests/fuzzing/bc_inputs3/02.txt delete mode 100644 tests/fuzzing/bc_inputs3/03.txt delete mode 100644 tests/fuzzing/bc_inputs3/04.txt delete mode 100644 tests/fuzzing/bc_inputs3/05.txt delete mode 100644 tests/fuzzing/bc_inputs3/06.txt delete mode 100644 tests/fuzzing/bc_inputs3/07.txt delete mode 100644 tests/fuzzing/bc_inputs3/08.txt delete mode 100644 tests/fuzzing/bc_inputs3/09.txt delete mode 100644 tests/fuzzing/bc_inputs3/10.txt delete mode 100644 tests/fuzzing/bc_inputs3/11.txt delete mode 100644 tests/fuzzing/bc_inputs3/12.txt delete mode 100644 tests/fuzzing/bc_inputs3/13.txt delete mode 100644 tests/fuzzing/bc_inputs3/14.txt delete mode 100644 tests/fuzzing/bc_inputs3/15.txt delete mode 100644 tests/fuzzing/bc_inputs3/16.txt delete mode 100644 tests/fuzzing/bc_inputs3/17.txt delete mode 100644 tests/fuzzing/bc_inputs3/18.txt delete mode 100644 tests/fuzzing/bc_inputs3/19.txt delete mode 100644 tests/fuzzing/bc_inputs3/20.txt delete mode 100644 tests/fuzzing/bc_inputs3/21.txt delete mode 100644 tests/fuzzing/bc_inputs3/22.txt delete mode 100644 tests/fuzzing/bc_inputs3/23.txt delete mode 100644 tests/fuzzing/bc_inputs3/24.txt delete mode 100644 tests/fuzzing/bc_inputs3/sqrt.txt delete mode 100644 tests/fuzzing/bc_inputs3/strings.txt delete mode 100644 tests/fuzzing/bc_inputs3/subtract.txt delete mode 100644 tests/fuzzing/bc_inputs3/trunc.txt delete mode 100644 tests/fuzzing/bc_inputs3/void.txt delete mode 100644 tests/fuzzing/dc_inputs/01.txt delete mode 100644 tests/fuzzing/dc_inputs/02.txt delete mode 100644 tests/fuzzing/dc_inputs/03.txt delete mode 100644 tests/fuzzing/dc_inputs/04.txt delete mode 100644 tests/fuzzing/dc_inputs/05.txt delete mode 100644 tests/fuzzing/dc_inputs/06.txt delete mode 100644 tests/fuzzing/dc_inputs/07.txt delete mode 100644 tests/fuzzing/dc_inputs/08.txt delete mode 100644 tests/fuzzing/dc_inputs/09.txt delete mode 100644 tests/fuzzing/dc_inputs/10.txt delete mode 100644 tests/fuzzing/dc_inputs/11.txt delete mode 100644 tests/fuzzing/dc_inputs/12.txt delete mode 100644 tests/fuzzing/dc_inputs/13.txt delete mode 100644 tests/fuzzing/dc_inputs/14.txt delete mode 100644 tests/fuzzing/dc_inputs/15.txt delete mode 100644 tests/fuzzing/dc_inputs/16.txt delete mode 100644 tests/fuzzing/dc_inputs/17.txt delete mode 100644 tests/fuzzing/dc_inputs/18.txt delete mode 100644 tests/fuzzing/dc_inputs/19.txt delete mode 100644 tests/fuzzing/dc_inputs/20.txt delete mode 100644 tests/fuzzing/dc_inputs/21.txt delete mode 100644 tests/fuzzing/dc_inputs/22.txt delete mode 100644 tests/fuzzing/dc_inputs/23.txt delete mode 100644 tests/fuzzing/dc_inputs/24.txt delete mode 100644 tests/fuzzing/dc_inputs/25.txt delete mode 100644 tests/fuzzing/dc_inputs/26.txt delete mode 100644 tests/fuzzing/dc_inputs/27.txt delete mode 100644 tests/fuzzing/dc_inputs/28.txt delete mode 100644 tests/fuzzing/dc_inputs/29.txt delete mode 100644 tests/fuzzing/dc_inputs/30.txt delete mode 100644 tests/fuzzing/dc_inputs/31.txt delete mode 100644 tests/fuzzing/dc_inputs/abs.txt delete mode 100644 tests/fuzzing/dc_inputs/add.txt delete mode 100644 tests/fuzzing/dc_inputs/array.dc delete mode 100644 tests/fuzzing/dc_inputs/boolean.txt delete mode 100644 tests/fuzzing/dc_inputs/decimal.txt delete mode 100644 tests/fuzzing/dc_inputs/divide.txt delete mode 100644 tests/fuzzing/dc_inputs/divmod.txt delete mode 100644 tests/fuzzing/dc_inputs/else.dc delete mode 100644 tests/fuzzing/dc_inputs/engineering.txt delete mode 100644 tests/fuzzing/dc_inputs/loop.dc delete mode 100644 tests/fuzzing/dc_inputs/misc.txt delete mode 100644 tests/fuzzing/dc_inputs/modexp.txt delete mode 100644 tests/fuzzing/dc_inputs/modulus.txt delete mode 100644 tests/fuzzing/dc_inputs/multiply.txt delete mode 100644 tests/fuzzing/dc_inputs/places.txt delete mode 100644 tests/fuzzing/dc_inputs/power.txt delete mode 100644 tests/fuzzing/dc_inputs/quit.dc delete mode 100644 tests/fuzzing/dc_inputs/scientific.txt delete mode 100644 tests/fuzzing/dc_inputs/shift.txt delete mode 100644 tests/fuzzing/dc_inputs/sqrt.txt delete mode 100644 tests/fuzzing/dc_inputs/stdin.txt delete mode 100755 tests/fuzzing/dc_inputs/stream.dc delete mode 100644 tests/fuzzing/dc_inputs/strings.txt delete mode 100644 tests/fuzzing/dc_inputs/subtract.txt delete mode 100644 tests/fuzzing/dc_inputs/trunc.txt delete mode 100644 tests/fuzzing/dc_inputs/vars.txt delete mode 100644 tests/fuzzing/dc_inputs/weird.dc delete mode 100755 tests/other.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..c674e06fda5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +*.a +*.core +*.o +*.so +*.swp +*~ +_.tinderbox.* +_.universe-toolchain +_.amd64.* +_.arm.* +_.arm64.* +_.i386.* +_.ia64.* +_.mips.* +_.pc98.* +_.powerpc.* +_.riscv.* +_.sparc64.* +_.sun4v.* +GPATH +GRTAGS +GTAGS +ID +cscope.files +cscope.in.out +cscope.out +cscope.po.out diff --git a/README.md b/README.md new file mode 100644 index 00000000000..72bd634cd81 --- /dev/null +++ b/README.md @@ -0,0 +1,82 @@ +FreeBSD Source: +--------------- +This is the top level of the FreeBSD source directory. This file +was last revised on: +$FreeBSD$ + +FreeBSD is an operating system used to power modern servers, +desktops, and embedded platforms. A large community has +continually developed it for more than thirty years. Its +advanced networking, security, and storage features have +made FreeBSD the platform of choice for many of the +busiest web sites and most pervasive embedded networking +and storage devices. + +For copyright information, please see the file COPYRIGHT in this +directory. Additional copyright information also exists for some +sources in this tree - please see the specific source directories for +more information. + +The Makefile in this directory supports a number of targets for +building components (or all) of the FreeBSD source tree. See build(7), config(8), +https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and +https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html +for more information, including setting make(1) variables. + +Source Roadmap: +--------------- +``` +bin System/user commands. + +cddl Various commands and libraries under the Common Development + and Distribution License. + +contrib Packages contributed by 3rd parties. + +crypto Cryptography stuff (see crypto/README). + +etc Template files for /etc. + +gnu Various commands and libraries under the GNU Public License. + Please see gnu/COPYING* for more information. + +include System include files. + +kerberos5 Kerberos5 (Heimdal) package. + +lib System libraries. + +libexec System daemons. + +release Release building Makefile & associated tools. + +rescue Build system for statically linked /rescue utilities. + +sbin System commands. + +secure Cryptographic libraries and commands. + +share Shared resources. + +stand Boot loader sources. + +sys Kernel sources. + +sys//conf Kernel configuration files. GENERIC is the configuration + used in release builds. NOTES contains documentation of + all possible entries. + +tests Regression tests which can be run by Kyua. See tests/README + for additional information. + +tools Utilities for regression testing and miscellaneous tasks. + +usr.bin User commands. + +usr.sbin System administration commands. +``` + +For information on synchronizing your source tree with one or more of +the FreeBSD Project's development branches, please see: + + https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html diff --git a/contrib/bc/tests/diff.sh b/contrib/bc/tests/diff.sh old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/fuzzing/bc_inputs1/array.bc b/contrib/bc/tests/fuzzing/bc_inputs1/array.bc old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/fuzzing/bc_inputs2/references.bc b/contrib/bc/tests/fuzzing/bc_inputs2/references.bc old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/fuzzing/dc_inputs/stream.dc b/contrib/bc/tests/fuzzing/dc_inputs/stream.dc old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/other.sh b/contrib/bc/tests/other.sh old mode 100644 new mode 100755 diff --git a/tests/dc/errors/30.txt b/tests/dc/errors/30.txt deleted file mode 100644 index e072e71617d..00000000000 --- a/tests/dc/errors/30.txt +++ /dev/null @@ -1 +0,0 @@ -0;0[]0:b;bs0l0x;0 diff --git a/tests/dc/errors/31.txt b/tests/dc/errors/31.txt deleted file mode 100644 index 9bada9d07d0..00000000000 --- a/tests/dc/errors/31.txt +++ /dev/null @@ -1 +0,0 @@ -0;0[]0:b;bS0l0x;0 diff --git a/tests/dc/scripts/all.txt b/tests/dc/scripts/all.txt deleted file mode 100644 index e15dae5e15f..00000000000 --- a/tests/dc/scripts/all.txt +++ /dev/null @@ -1,9 +0,0 @@ -prime.dc -asciify.dc -stream.dc -array.dc -else.dc -factorial.dc -loop.dc -quit.dc -weird.dc diff --git a/tests/diff.sh b/tests/diff.sh deleted file mode 100755 index 6d664a8a81b..00000000000 --- a/tests/diff.sh +++ /dev/null @@ -1,51 +0,0 @@ -#! /bin/sh -# -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (c) 2018-2021 Gavin D. Howard and contributors. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -set -e - -script="$0" - -testdir=$(dirname "$script") - -if [ "$#" -lt 2 ]; then - printf 'usage: %s dir test\n' "$0" - printf 'valid dirs are:\n' - printf '\n' - cat "$testdir/all.txt" - printf '\n' - exit 1 -fi - -d="$1" -shift - -t="$1" -shift - -exec diff "$testdir/$d/${t}_results.txt" "$testdir/${d}_outputs/${t}_results.txt" diff --git a/tests/extra_required.txt b/tests/extra_required.txt deleted file mode 100644 index a87a9a0aacf..00000000000 --- a/tests/extra_required.txt +++ /dev/null @@ -1,7 +0,0 @@ -engineering -lib2 -places -rand -scientific -shift -trunc diff --git a/tests/fuzzing/bc.dict b/tests/fuzzing/bc.dict deleted file mode 100644 index f4dc965844e..00000000000 --- a/tests/fuzzing/bc.dict +++ /dev/null @@ -1,68 +0,0 @@ -# -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (c) 2018-2021 Gavin D. Howard and contributors. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -# AFL dictionary for bc -# - -keyword_abs="abs" -keyword_auto="auto" -keyword_break="break" -keyword_continue="continue" -keyword_define="define" -keyword_else="else" -keyword_for="for" -keyword_halt="halt" -keyword_ibase="ibase" -keyword_if="if" -keyword_irand="irand" -keyword_last="last" -keyword_length="length" -keyword_limits="limits" -keyword_maxibase="maxibase" -keyword_maxobase="maxobase" -keyword_maxrand="maxrand" -keyword_maxscale="maxscale" -keyword_obase="obase" -keyword_print="print" -keyword_quit="quit" -keyword_rand="rand" -keyword_read="read" -keyword_return="return" -keyword_scale="scale" -keyword_seed="seed" -keyword_sqrt="sqrt" -keyword_while="while" - -"{" -"}" -"," -"[" -"]" -"1" -"1.234" -"-3.2892" -"3e4" diff --git a/tests/fuzzing/bc_inputs1/abs.txt b/tests/fuzzing/bc_inputs1/abs.txt deleted file mode 100644 index ffb7aba65c3..00000000000 --- a/tests/fuzzing/bc_inputs1/abs.txt +++ /dev/null @@ -1,7 +0,0 @@ -abs(0) -abs(1) -abs(.289365) -abs(289.82937658) -abs(-19) -abs(-.2098180) -abs(-198289.1098376) diff --git a/tests/fuzzing/bc_inputs1/add.txt b/tests/fuzzing/bc_inputs1/add.txt deleted file mode 100644 index 647781732c6..00000000000 --- a/tests/fuzzing/bc_inputs1/add.txt +++ /dev/null @@ -1,146 +0,0 @@ -0 + 0 -0 + 1 -1 + 1 -1 + 0 -2 + 5 -237 + 483 -999 + 999 -2374623 + 324869356734856 -2378639084586723980562 + 23468729367839 -37298367203972395108367910823465293084561329084561390845613409516734503870691837451 + 785621394067928346918023476190834672198467134908618723249671349062187346898241093486139046139084613490817356023871869102746182749061872609129847 -1.1 + 0 -0 + 1.1 -457283.731284923576 + 37842934672834.3874629385672354 -1.0 + 0.1 -3746289134067138046 + 0.138375863945672398456712389456273486293 --1 + -1 --4 + -15 --1346782 + -1287904651762468913476 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999995 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999899999999999999999999999999999999999999999999999999999999999999 + 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -99999999999999999999999999999999999989999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 --1889985797 + 2012747315 -0 + -14338.391079082 --2422297 + 1.3134942556 -182039471029834 + 282039471029834 -282039471029834 + 182039471029834 -182039471029834.2801722893 + 282039471029834 -282039471029834.2801722893 + 182039471029834 -182039471029834.2801722893 + 282039471029834.2838 -282039471029834.2801722893 + 182039471029834.2838 -182039471029834 + 282039471029834.2801722893 -282039471029834 + 182039471029834.2801722893 -182039471029834.8297282893 + 282039471029834.2801722893 -282039471029834.8297282893 + 182039471029834.2801722893 -471029834 + 282039471029834 -471029834 + 182039471029834 -471029834.2801722893 + 282039471029834 -471029834.2801722893 + 182039471029834 -471029834.2801722893 + 282039471029834.2838 -471029834.2801722893 + 182039471029834.2838 -471029834 + 282039471029834.2801722893 -471029834 + 182039471029834.2801722893 -471029834.8297282893 + 282039471029834.2801722893 -471029834.8297282893 + 182039471029834.2801722893 -182039471029834 + 471029834 -282039471029834 + 471029834 -182039471029834.2801722893 + 471029834 -282039471029834.2801722893 + 471029834 -182039471029834.2801722893 + 471029834.2838 -282039471029834.2801722893 + 471029834.2838 -182039471029834 + 471029834.2801722893 -282039471029834 + 471029834.2801722893 -182039471029834.8297282893 + 471029834.2801722893 -282039471029834.8297282893 + 471029834.2801722893 --182039471029834 + 282039471029834 --282039471029834 + 182039471029834 --182039471029834.2801722893 + 282039471029834 --282039471029834.2801722893 + 182039471029834 --182039471029834.2801722893 + 282039471029834.2838 --282039471029834.2801722893 + 182039471029834.2838 --182039471029834 + 282039471029834.2801722893 --282039471029834 + 182039471029834.2801722893 --182039471029834.8297282893 + 282039471029834.2801722893 --282039471029834.8297282893 + 182039471029834.2801722893 --471029834 + 282039471029834 --471029834 + 182039471029834 --471029834.2801722893 + 282039471029834 --471029834.2801722893 + 182039471029834 --471029834.2801722893 + 282039471029834.2838 --471029834.2801722893 + 182039471029834.2838 --471029834 + 282039471029834.2801722893 --471029834 + 182039471029834.2801722893 --471029834.8297282893 + 282039471029834.2801722893 --471029834.8297282893 + 182039471029834.2801722893 --182039471029834 + 471029834 --282039471029834 + 471029834 --182039471029834.2801722893 + 471029834 --282039471029834.2801722893 + 471029834 --182039471029834.2801722893 + 471029834.2838 --282039471029834.2801722893 + 471029834.2838 --182039471029834 + 471029834.2801722893 --282039471029834 + 471029834.2801722893 --182039471029834.8297282893 + 471029834.2801722893 --282039471029834.8297282893 + 471029834.2801722893 -182039471029834 + -282039471029834 -282039471029834 + -182039471029834 -182039471029834.2801722893 + -282039471029834 -282039471029834.2801722893 + -182039471029834 -182039471029834.2801722893 + -282039471029834.2838 -282039471029834.2801722893 + -182039471029834.2838 -182039471029834 + -282039471029834.2801722893 -282039471029834 + -182039471029834.2801722893 -182039471029834.8297282893 + -282039471029834.2801722893 -282039471029834.8297282893 + -182039471029834.2801722893 -471029834 + -282039471029834 -471029834 + -182039471029834 -471029834.2801722893 + -282039471029834 -471029834.2801722893 + -182039471029834 -471029834.2801722893 + -282039471029834.2838 -471029834.2801722893 + -182039471029834.2838 -471029834 + -282039471029834.2801722893 -471029834 + -182039471029834.2801722893 -471029834.8297282893 + -282039471029834.2801722893 -471029834.8297282893 + -182039471029834.2801722893 -182039471029834 + -471029834 -282039471029834 + -471029834 -182039471029834.2801722893 + -471029834 -282039471029834.2801722893 + -471029834 -182039471029834.2801722893 + -471029834.2838 -282039471029834.2801722893 + -471029834.2838 -182039471029834 + -471029834.2801722893 -282039471029834 + -471029834.2801722893 -182039471029834.8297282893 + -471029834.2801722893 -282039471029834.8297282893 + -471029834.2801722893 --182039471029834 + -282039471029834 --282039471029834 + -182039471029834 --182039471029834.2801722893 + -282039471029834 --282039471029834.2801722893 + -182039471029834 --182039471029834.2801722893 + -282039471029834.2838 --282039471029834.2801722893 + -182039471029834.2838 --182039471029834 + -282039471029834.2801722893 --282039471029834 + -182039471029834.2801722893 --182039471029834.8297282893 + -282039471029834.2801722893 --282039471029834.8297282893 + -182039471029834.2801722893 --471029834 + -282039471029834 --471029834 + -182039471029834 --471029834.2801722893 + -282039471029834 --471029834.2801722893 + -182039471029834 --471029834.2801722893 + -282039471029834.2838 --471029834.2801722893 + -182039471029834.2838 --471029834 + -282039471029834.2801722893 --471029834 + -182039471029834.2801722893 --471029834.8297282893 + -282039471029834.2801722893 --471029834.8297282893 + -182039471029834.2801722893 --182039471029834 + -471029834 --282039471029834 + -471029834 --182039471029834.2801722893 + -471029834 --282039471029834.2801722893 + -471029834 --182039471029834.2801722893 + -471029834.2838 --282039471029834.2801722893 + -471029834.2838 --182039471029834 + -471029834.2801722893 --282039471029834 + -471029834.2801722893 --182039471029834.8297282893 + -471029834.2801722893 --282039471029834.8297282893 + -471029834.2801722893 diff --git a/tests/fuzzing/bc_inputs1/arctangent.txt b/tests/fuzzing/bc_inputs1/arctangent.txt deleted file mode 100644 index f665ea90b72..00000000000 --- a/tests/fuzzing/bc_inputs1/arctangent.txt +++ /dev/null @@ -1,26 +0,0 @@ -a(.267) -a(1) -scale = 64 -a(.267) -a(1) -scale = 100 -a(.267) -a(1) -scale = 20 -a(0) -a(.5) -a(0.577350269189625764509148780501) -a(1.5) -a(1.7320508075688772935274463415) -a(2) -a(3) -a(1000) -a(-.5) -a(-0.577350269189625764509148780501) -a(-1.5) -a(-1.7320508075688772935274463415) -a(-2) -a(-3) -a(-1000) -a(-3249917614.2821897119) -a(-694706362.1974670468) diff --git a/tests/fuzzing/bc_inputs1/array.bc b/tests/fuzzing/bc_inputs1/array.bc deleted file mode 100755 index dac23280491..00000000000 --- a/tests/fuzzing/bc_inputs1/array.bc +++ /dev/null @@ -1,60 +0,0 @@ -#! /usr/bin/bc -q - -define z(a[]) { - for (i = 0; i < l; ++i) { - a[i] - } -} - -define x(a[]) { - - # Test for separate vars and arrays. - auto a - - for (a = 0; a < l; ++a) { - a[a] = -a - } - - z(a[]) -} - -define g(x[], y[]) { - return x[0] - y[0] -} - -define h(y[], x[]) { - return g(x[], y[]) -} - -define m(*x[], *y[]) { - return x[0] / y[0] -} - -define n(*y[], *x[]) { - return m(x[], y[]) -} - -for (i = 0; i < 101; ++i) { - a[i] = i -} - -a[104] = 204 - -l = length(a[]) - -for (i = 0; i <= l; ++i) { - a[i] -} - -z(a[]) -x(a[]) -z(a[]) -l - -x[0] = 5 -y[0] = 4 - -h(x[], y[]) -n(x[], y[]) - -halt diff --git a/tests/fuzzing/bc_inputs1/arrays.txt b/tests/fuzzing/bc_inputs1/arrays.txt deleted file mode 100644 index 26a284b8d81..00000000000 --- a/tests/fuzzing/bc_inputs1/arrays.txt +++ /dev/null @@ -1,10 +0,0 @@ -a[0] = 1 -a[2-1] = 2 - -a[0]+a[0] - -a[2-1]+a[2-1] - -a[5] = 2 -a[5.789] - diff --git a/tests/fuzzing/bc_inputs1/assignments.txt b/tests/fuzzing/bc_inputs1/assignments.txt deleted file mode 100644 index 6a776e7840e..00000000000 --- a/tests/fuzzing/bc_inputs1/assignments.txt +++ /dev/null @@ -1,122 +0,0 @@ -define x(x) { - return (i++ + x) -} -define y(x) { - return (++i + x) -} -define z(x) { - return (i *= 2) + x -} - -i++ -i-- -++i ---i - -(i++) -(i--) -(++i) -(--i) - -i += 1 -i -i -= -4 -i -i *= 5 -i -i /= 12.5 -i - -i = 0 - -(i += 1) -(i -= -4) -(i *= 5) -(i /= 12.5) - -i = 0 - -a[i++] += ++i -i-- -i-- -i -a[i] - -a[i]++ -a[i]-- -++a[i] ---a[i] - -i += 4 -i - -sqrt(i *= 4) -i -length(i /= 2) -i - -i = 4 -scale(i /= 2) -i - -i = -1 - -abs(i--) -abs(--i) -abs(++i) -abs(i++) - -i = -i - -a = 4 - -x(a) -i - -x(a *= 5) -a -i - -a = 4 - -y(a) -i - -y(a -= 2) -a -i - -a = 4 - -z(a) -i - -z(a /= 0.5) -a -i - -i = 1 - -if (i -= 1) print "true\n" -else print "false\n" - -if (i += 1) print "true\n" -else print "false\n" - -i = 3 - -while (i -= 2) print "i: ", i += 1, "\n" - -a = 5 - -for (i = 5; i-= 1; --a) print "i: ", i, "; a: ", a, "\n" - -define void t(x, y) { - print "x: ", x, "; y: ", y, "\n" -} - -t(i++, i++) -i - -t(++i, ++i) -i diff --git a/tests/fuzzing/bc_inputs1/basic.txt b/tests/fuzzing/bc_inputs1/basic.txt deleted file mode 100644 index f3d957a2663..00000000000 --- a/tests/fuzzing/bc_inputs1/basic.txt +++ /dev/null @@ -1,7 +0,0 @@ -scale=10;123981239.981273987 * 12983791827398.29836472638 -scale=100;759634576394.3946587934658364895 / 9834759834895386.36459364958346 -34895734986539489834759837489573498573.398475984759837485734987598345 + 9823749832749872384234872934.28347982374987239847982374 -a=123123123.987239874; b=123123123.239479823748; a+b -20347023.23498723984 - 28934723874.234720384 -scale=100;a=739534985.895347284957;b=238746782364.2374623784; c = a / b; c+0 - diff --git a/tests/fuzzing/bc_inputs1/boolean.txt b/tests/fuzzing/bc_inputs1/boolean.txt deleted file mode 100644 index e26ded34bd1..00000000000 --- a/tests/fuzzing/bc_inputs1/boolean.txt +++ /dev/null @@ -1,184 +0,0 @@ -!0 -!1 -!(-129) -4 && 5 -4 && 0 -0 && 5 -4 && 5 && 7 -4 && 0 && 7 -0 && 5 && 7 -4 && 5 && 0 -0 && 0 && 7 -4 && 0 && 0 -0 && 5 && 0 -!4 && 5 -!4 && 0 -!0 && 5 -4 && !5 -4 && !0 -0 && !5 -!4 && 5 && 7 -!4 && 0 && 7 -!0 && 5 && 7 -!4 && 5 && 0 -!0 && 0 && 7 -!4 && 0 && 0 -!0 && 5 && 0 -4 && !5 && 7 -4 && !0 && 7 -0 && !5 && 7 -4 && !5 && 0 -0 && !0 && 7 -4 && !0 && 0 -0 && !5 && 0 -4 && 5 && !7 -4 && 0 && !7 -0 && 5 && !7 -4 && 5 && !0 -0 && 0 && !7 -4 && 0 && !0 -0 && 5 && !0 -!4 && !5 && 7 -!4 && !0 && 7 -!0 && !5 && 7 -!4 && !5 && 0 -!0 && !0 && 7 -!4 && !0 && 0 -!0 && !5 && 0 -!4 && 5 && !7 -!4 && 0 && !7 -!0 && 5 && !7 -!4 && 5 && !0 -!0 && 0 && !7 -!4 && 0 && !0 -!0 && 5 && !0 -4 && !5 && !7 -4 && !0 && !7 -0 && !5 && !7 -4 && !5 && !0 -0 && !0 && !7 -4 && !0 && !0 -0 && !5 && !0 -!4 && !5 && !7 -!4 && !0 && !7 -!0 && !5 && !7 -!4 && !5 && !0 -!0 && !0 && !7 -!4 && !0 && !0 -!0 && !5 && !0 -3 < 4 && 7 -3 && 4 >= 4 -3 > 4 && 7 -3 && 4 >= 5 -3 < 4 && 0 -0 && 4 >= 4 -3 > 4 && 0 -0 && 4 >= 5 -3 > 4 && 0 -0 && 4 < 4 -3 >= 4 && 0 -0 && 4 >= 5 -3 < 4 && 7 -3 && 4 >= 4 -3 > 4 && 7 > 4 -3 >= 2 && 4 >= 5 -3 < 4 && 0 > -1 -4 < 3 && 4 >= 4 -3 > 4 && 3 == 3 -3 != 3 && 4 >= 5 -3 > 4 && 0 > 1 -0 >= 0 && 4 < 4 -3 >= 4 && 0 >= 1 -0 <= -1 && 4 >= 5 -4 || 5 -4 || 0 -0 || 5 -4 || 5 || 7 -4 || 0 || 7 -0 || 5 || 7 -4 || 5 || 0 -0 || 0 || 7 -4 || 0 || 0 -0 || 5 || 0 -!4 || 5 -!4 || 0 -!0 || 5 -4 || !5 -4 || !0 -0 || !5 -!4 || 5 || 7 -!4 || 0 || 7 -!0 || 5 || 7 -!4 || 5 || 0 -!0 || 0 || 7 -!4 || 0 || 0 -!0 || 5 || 0 -4 || !5 || 7 -4 || !0 || 7 -0 || !5 || 7 -4 || !5 || 0 -0 || !0 || 7 -4 || !0 || 0 -0 || !5 || 0 -4 || 5 || !7 -4 || 0 || !7 -0 || 5 || !7 -4 || 5 || !0 -0 || 0 || !7 -4 || 0 || !0 -0 || 5 || !0 -!4 || !5 || 7 -!4 || !0 || 7 -!0 || !5 || 7 -!4 || !5 || 0 -!0 || !0 || 7 -!4 || !0 || 0 -!0 || !5 || 0 -!4 || 5 || !7 -!4 || 0 || !7 -!0 || 5 || !7 -!4 || 5 || !0 -!0 || 0 || !7 -!4 || 0 || !0 -!0 || 5 || !0 -4 || !5 || !7 -4 || !0 || !7 -0 || !5 || !7 -4 || !5 || !0 -0 || !0 || !7 -4 || !0 || !0 -0 || !5 || !0 -!4 || !5 || !7 -!4 || !0 || !7 -!0 || !5 || !7 -!4 || !5 || !0 -!0 || !0 || !7 -!4 || !0 || !0 -!0 || !5 || !0 -3 < 4 || 7 -3 || 4 >= 4 -3 > 4 || 7 -3 || 4 >= 5 -3 < 4 || 0 -0 || 4 >= 4 -3 > 4 || 0 -0 || 4 >= 5 -3 > 4 || 0 -0 || 4 < 4 -3 >= 4 || 0 -0 || 4 >= 5 -3 < 4 || 7 -3 || 4 >= 4 -3 > 4 || 7 > 4 -3 >= 2 || 4 >= 5 -3 < 4 || 0 > -1 -4 < 3 || 4 >= 4 -3 > 4 || 3 == 3 -3 != 3 || 4 >= 5 -3 > 4 || 0 > 1 -0 >= 0 || 4 < 4 -3 >= 4 || 0 >= 1 -0 <= -1 || 4 >= 5 -1 <= 0 && 1 <= 2 || 1 >= 0 && 1 == 2 -1 <= 0 && 1 <= 2 || 1 >= 0 && 1 != 2 -1 >= 0 && 1 <= 2 || 1 >= 0 && 1 == 2 diff --git a/tests/fuzzing/bc_inputs1/cosine.txt b/tests/fuzzing/bc_inputs1/cosine.txt deleted file mode 100644 index 9e67df4c6f6..00000000000 --- a/tests/fuzzing/bc_inputs1/cosine.txt +++ /dev/null @@ -1,44 +0,0 @@ -scale = 25 -p = 4 * a(1) -scale = 20 -c(0) -c(0.5) -c(1) -c(2) -c(3) -c(-0.5) -c(-1) -c(-2) -c(-3) -c(p / 7) -c(-p / 7) -c(p / 4) -c(-p / 4) -c(p / 3) -c(-p / 3) -c(p / 2) -c(-p / 2) -c(3 * p / 4) -c(3 * -p / 4) -c(p) -c(-p) -c(3 * p / 2) -c(3 * -p / 2) -c(7 * p / 4) -c(7 * -p / 4) -c(13 * p / 4) -c(13 * -p / 4) -c(2 * p) -c(2 * -p) -c(131231) -c(-131231) -c(859799894.3562378245) -c(859799894.3562378245) -c(4307371) -c(3522556.3323810191) -c(44961070) -c(6918619.1574479809) -c(190836996.2180244164) -c(34934) -c(2483599) -c(13720376) diff --git a/tests/fuzzing/bc_inputs1/decimal.txt b/tests/fuzzing/bc_inputs1/decimal.txt deleted file mode 100644 index 5c6bd327c1a..00000000000 --- a/tests/fuzzing/bc_inputs1/decimal.txt +++ /dev/null @@ -1,35 +0,0 @@ -0 -0.0 -000000000000000000000000.00000000000000000000000 -000000000000000000000000000135482346782356 -000000000000000000000000002 -1 -11 -123 -7505 -1023468723275435238491972521917846 -4343472432431705867392073517038270398027352709027389273920739037937960379637893607893607893670530278200795207952702873892786172916728961783907893607418973587857386079679267926737520730925372983782793652793 --1 --203 --57 --18586 --31378682943772818461924738352952347258 --823945628745673589495067238723986520375698237620834674509627345273096287563846592384526349872634895763257893467523987578690283762897568459072348758071071087813501875908127359018715023841710239872301387278 -.123521346523546 -0.1245923756273856 --.1024678456387 --0.8735863475634587 -4.0 --6.0 -234237468293576.000000000000000000000000000000 -23987623568943567.00000000000000000005677834650000000000000 -23856934568940675.000000000000000435676782300000000000000456784 -77567648698496.000000000000000000587674750000000000458563800000000000000 -2348672354968723.2374823546000000000003256987394502346892435623870000000034578 --2354768.000000000000000000000000000000000000 --96739874567.000000000347683456 --3764568345.000000000004573845000000347683460 --356784356.934568495770004586495678300000000 -74325437345273852773827101738273127312738521733017537073520735207307570358738257390761276072160719802671980267018728630178.7082681027680521760217867841276127681270867827821768173178207830710978017738178678012767377058785378278207385237085237803278203782037237582795870 --756752732785273851273728537852738257837283678965738527385272983678372867327835672967385278372637862738627836279863782673862783670.71738178361738718367186378610738617836781603760178367018603760178107735278372832783728367826738627836278378260736270367362073867097307925 -9812734012837410982345719208345712908357412903587192048571920458712.23957182459817249058172945781 diff --git a/tests/fuzzing/bc_inputs1/divide.txt b/tests/fuzzing/bc_inputs1/divide.txt deleted file mode 100644 index 4d0caddc9b5..00000000000 --- a/tests/fuzzing/bc_inputs1/divide.txt +++ /dev/null @@ -1,31 +0,0 @@ -0 / 1 -0 / 321566 -0 / 0.3984567238456 -1 / 1 -1 / 1287469297356 -1 / 0.2395672438567234 -1 / 237586239856.0293596728392360 -1249687284356 / 3027949207835207 -378617298617396719 / 35748521 -9348576237845624358 / 0.9857829375461 -35768293846193284 / 2374568947.045762839567823 --78987234567812345 / 876542837618936 --356789237555535468 / 0.3375273860984786903 --5203475364850390 / 435742903748307.70869378534043296404530458 --0.37861723347576903 / 7385770896 --0.399454682043962 / 0.34824389304 --0.6920414523873204 / 356489645223.76076045304879030 --35872917389671.7573280963748 / 73924708 --78375896314.4836709876983 / 0.78356798637817 --2374123896417.143789621437581 / 347821469423789.1473856783960 --896729350238549726 / -34976289345762 --2374568293458762348596 / -0.8792370647234987679 --237584692306721845726038 / -21783910782374529637.978102738746189024761 --0.23457980123576298375682 / -1375486293874612 --0.173897061862478951264 / -0.8179327486017634987516298745 --0.9186739823576829347586 / -0.235678293458756239846 --0.9375896183746982374568 / -13784962873546.0928729395476283745 --2930754618923467.12323745862937465 / -734869238465 --23745861923467.874675129834675 / -0.23542357869124756 --3878923750692883.7238596702834756902 / -7384192674957215364986723.9738461923487621983 -1 / 0.00000000000000000000000000000000000000000002346728372937352457354204563027 diff --git a/tests/fuzzing/bc_inputs1/engineering.txt b/tests/fuzzing/bc_inputs1/engineering.txt deleted file mode 100644 index cf9c0c1b011..00000000000 --- a/tests/fuzzing/bc_inputs1/engineering.txt +++ /dev/null @@ -1,19 +0,0 @@ -obase=1 -0 -1 --34 -298 --8933 -29488 --148232 -8927559 -.2 --.02 -.002 --.0003 -.0000209310 --.00000289362 -.000000859289 --.02983672 -.20201296 --.8907210897000000000000000000 diff --git a/tests/fuzzing/bc_inputs1/exponent.txt b/tests/fuzzing/bc_inputs1/exponent.txt deleted file mode 100644 index 40bcf3c5a58..00000000000 --- a/tests/fuzzing/bc_inputs1/exponent.txt +++ /dev/null @@ -1,22 +0,0 @@ -e(0) -e(0.5) -e(1) -e(1.5) -e(1.74) -e(2) -e(3.2345) -e(5.283957) -e(13.23857) -e(100) -e(283.238957) -e(-0.5) -e(-1) -e(-1.5) -e(-1.74) -e(-2) -e(-3.2345) -e(-5.283957) -e(-13.23857) -e(-100) -e(-283.238957) -e(142.749502399) diff --git a/tests/fuzzing/bc_inputs1/functions.bc b/tests/fuzzing/bc_inputs1/functions.bc deleted file mode 100644 index 80d6d1623d8..00000000000 --- a/tests/fuzzing/bc_inputs1/functions.bc +++ /dev/null @@ -1,7 +0,0 @@ -e(0.5) - -define e(x) { - return x -} - -e(0.5) diff --git a/tests/fuzzing/bc_inputs1/functions.txt b/tests/fuzzing/bc_inputs1/functions.txt deleted file mode 100644 index 5e540ed66a1..00000000000 --- a/tests/fuzzing/bc_inputs1/functions.txt +++ /dev/null @@ -1,13 +0,0 @@ -define x(x, y) { - return x - y + 5 -} - -define y(y, x) { - return x(y, x) + x(x, y) -} - -y(1, 4) -y(2, 4) -y(3, 4) -y(4, 3) -y(3, 2) diff --git a/tests/fuzzing/bc_inputs1/globals.txt b/tests/fuzzing/bc_inputs1/globals.txt deleted file mode 100644 index 4b20f572586..00000000000 --- a/tests/fuzzing/bc_inputs1/globals.txt +++ /dev/null @@ -1,21 +0,0 @@ -define i(x) { - ibase=x - return ibase -} - -define o(x) { - obase=x - return obase -} - -define r(x) { - scale=x - return scale -} - -i(11) -ibase -o(12) -obase -r(15) -scale diff --git a/tests/fuzzing/bc_inputs1/len.bc b/tests/fuzzing/bc_inputs1/len.bc deleted file mode 100644 index ec931f2386a..00000000000 --- a/tests/fuzzing/bc_inputs1/len.bc +++ /dev/null @@ -1,48 +0,0 @@ -define fast_gcd(a, b) { - - if (a == b) return a; - if (a > b) return fast_gcd(a - b, b) - - return fast_gcd(a, b - a); -} - -define void r_reduce(*r[]) { - - auto g,s; - - if (length(r[]) != 2) sqrt(-1); - if (scale(r[0])) 2^r[0]; - if (scale(r[1])) 2^r[1]; - - if (r[0] >= 0 && r[1] >= 0) g = fast_gcd(r[0], r[1]); - else g = gcd(r[0], r[1]); - - s = scale; - scale = 0; - - r[0] /= g; - r[1] /= g; - - scale = s; -} - -define void r_init(*r[], a, b) { - r[0] = a; - r[1] = b; - r_reduce(r[]); -} - -define void r_initi(*r[], i, a, b) { - - length(r[]); - - r[0] = i * b + a; - r[1] = b; - - length(r[]); - - r_reduce(r[]); -} - -length(a[]) -r_initi(a[], 5, 63, 94); diff --git a/tests/fuzzing/bc_inputs1/length.txt b/tests/fuzzing/bc_inputs1/length.txt deleted file mode 100644 index 48f83c95cf5..00000000000 --- a/tests/fuzzing/bc_inputs1/length.txt +++ /dev/null @@ -1,59 +0,0 @@ -length(0) -length(1) -length(12) -length(123) -length(1234) -length(12345) -length(123456) -length(1234567) -length(12345678) -length(123456789) -length(1234567890) -length(1.0) -length(12.0) -length(123.0) -length(1234.0) -length(12345.0) -length(123456.0) -length(1234567.0) -length(12345678.0) -length(123456789.0) -length(1234567890.0) -length(.1) -length(.12) -length(.123) -length(.1234) -length(.12345) -length(.123456) -length(.1234567) -length(.12345678) -length(.123456789) -length(.1234567890) -length(.01) -length(.012) -length(.0123) -length(.01234) -length(.012345) -length(.0123456) -length(.01234567) -length(.012345678) -length(.0123456789) -length(.01234567890) -length(.0000000001) -length(.00000000012) -length(.000000000123) -length(.0000000001234) -length(.00000000012345) -length(.000000000123456) -length(.0000000001234567) -length(.00000000012345678) -length(.000000000123456789) -length(.0000000001234567890) -length(289.29837) -length(2893.00000) -length(289.0) -length(1802973.0000000238) -length(.000000000000000093182394080000000000) -a[0] = 0 -a[5] = 0 -length(a[]) diff --git a/tests/fuzzing/bc_inputs1/lib10.txt b/tests/fuzzing/bc_inputs1/lib10.txt deleted file mode 100644 index 7aa3fda19cc..00000000000 --- a/tests/fuzzing/bc_inputs1/lib10.txt +++ /dev/null @@ -1,4 +0,0 @@ -l10(0) -l10(99) -l10(100) -l10(-100) diff --git a/tests/fuzzing/bc_inputs1/lib11.txt b/tests/fuzzing/bc_inputs1/lib11.txt deleted file mode 100644 index 5bb262bd266..00000000000 --- a/tests/fuzzing/bc_inputs1/lib11.txt +++ /dev/null @@ -1,4 +0,0 @@ -perm(10, 2) -comb(10, 2) -perm(6, 2) -comb(6, 2) diff --git a/tests/fuzzing/bc_inputs1/lib12.txt b/tests/fuzzing/bc_inputs1/lib12.txt deleted file mode 100644 index 7d70e1ccdd5..00000000000 --- a/tests/fuzzing/bc_inputs1/lib12.txt +++ /dev/null @@ -1 +0,0 @@ -uint(0) diff --git a/tests/fuzzing/bc_inputs1/lib2.txt b/tests/fuzzing/bc_inputs1/lib2.txt deleted file mode 100644 index f345bd1669c..00000000000 --- a/tests/fuzzing/bc_inputs1/lib2.txt +++ /dev/null @@ -1,15 +0,0 @@ -r(0, 0) -r(0, 1) -r(0, 100) -r(1, 0) -r(1, 3) -r(1.4, 0) -r(1.5, 0) -r(34.45, 2) -r(64.1223, 4) -r(-1, 0) -r(-1, 3) -r(-1.4, 0) -r(-1.5, 0) -r(-34.45, 2) -r(-64.1223, 4) diff --git a/tests/fuzzing/bc_inputs1/lib3.txt b/tests/fuzzing/bc_inputs1/lib3.txt deleted file mode 100644 index 1da42385ea4..00000000000 --- a/tests/fuzzing/bc_inputs1/lib3.txt +++ /dev/null @@ -1,6 +0,0 @@ -f(0) -f(1) -f(2) -f(3) -f(4) -f(5) diff --git a/tests/fuzzing/bc_inputs1/lib4.txt b/tests/fuzzing/bc_inputs1/lib4.txt deleted file mode 100644 index 9f5323375d3..00000000000 --- a/tests/fuzzing/bc_inputs1/lib4.txt +++ /dev/null @@ -1,10 +0,0 @@ -binary(0) -hex(0) -binary(1) -hex(1) -binary(2) -hex(2) -binary(15) -hex(15) -binary(16) -hex(16) diff --git a/tests/fuzzing/bc_inputs1/lib5.txt b/tests/fuzzing/bc_inputs1/lib5.txt deleted file mode 100644 index c69a4916729..00000000000 --- a/tests/fuzzing/bc_inputs1/lib5.txt +++ /dev/null @@ -1,2 +0,0 @@ -uint32(2147483647) -int32(2147483647) diff --git a/tests/fuzzing/bc_inputs1/lib6.txt b/tests/fuzzing/bc_inputs1/lib6.txt deleted file mode 100644 index 260e159f9fb..00000000000 --- a/tests/fuzzing/bc_inputs1/lib6.txt +++ /dev/null @@ -1,5 +0,0 @@ -pi(5) -p=pi(scale) -r2d(-p) -d2r(180) -d2r(-180) diff --git a/tests/fuzzing/bc_inputs1/lib7.txt b/tests/fuzzing/bc_inputs1/lib7.txt deleted file mode 100644 index edd66a40e83..00000000000 --- a/tests/fuzzing/bc_inputs1/lib7.txt +++ /dev/null @@ -1,12 +0,0 @@ -ubytes(0) -ubytes(1) -ubytes(2) -sbytes(0) -sbytes(1) -sbytes(-1) -sbytes(2) -sbytes(127) -sbytes(128) -sbytes(254) -sbytes(255) -sbytes(256) diff --git a/tests/fuzzing/bc_inputs1/lib8.txt b/tests/fuzzing/bc_inputs1/lib8.txt deleted file mode 100644 index a4cc720c475..00000000000 --- a/tests/fuzzing/bc_inputs1/lib8.txt +++ /dev/null @@ -1,3 +0,0 @@ -l2(0) -l2(8) -l2(-8) diff --git a/tests/fuzzing/bc_inputs2/lib13.txt b/tests/fuzzing/bc_inputs2/lib13.txt deleted file mode 100644 index f7957ddc81f..00000000000 --- a/tests/fuzzing/bc_inputs2/lib13.txt +++ /dev/null @@ -1 +0,0 @@ -uint(-3) diff --git a/tests/fuzzing/bc_inputs2/lib14.txt b/tests/fuzzing/bc_inputs2/lib14.txt deleted file mode 100644 index a07d4730c26..00000000000 --- a/tests/fuzzing/bc_inputs2/lib14.txt +++ /dev/null @@ -1 +0,0 @@ -uint64(2147483647) diff --git a/tests/fuzzing/bc_inputs2/lib15.txt b/tests/fuzzing/bc_inputs2/lib15.txt deleted file mode 100644 index 13be33145ba..00000000000 --- a/tests/fuzzing/bc_inputs2/lib15.txt +++ /dev/null @@ -1 +0,0 @@ -uint(1) diff --git a/tests/fuzzing/bc_inputs2/lib16.txt b/tests/fuzzing/bc_inputs2/lib16.txt deleted file mode 100644 index de8dff5e7fe..00000000000 --- a/tests/fuzzing/bc_inputs2/lib16.txt +++ /dev/null @@ -1 +0,0 @@ -uint(2147483647) diff --git a/tests/fuzzing/bc_inputs2/lib19.txt b/tests/fuzzing/bc_inputs2/lib19.txt deleted file mode 100644 index 95fdd40264f..00000000000 --- a/tests/fuzzing/bc_inputs2/lib19.txt +++ /dev/null @@ -1 +0,0 @@ -int(4294967296) diff --git a/tests/fuzzing/bc_inputs2/lib20.txt b/tests/fuzzing/bc_inputs2/lib20.txt deleted file mode 100644 index 8872f9b5f8e..00000000000 --- a/tests/fuzzing/bc_inputs2/lib20.txt +++ /dev/null @@ -1 +0,0 @@ -int(-4294967296) diff --git a/tests/fuzzing/bc_inputs2/lib21.txt b/tests/fuzzing/bc_inputs2/lib21.txt deleted file mode 100644 index 82693695945..00000000000 --- a/tests/fuzzing/bc_inputs2/lib21.txt +++ /dev/null @@ -1 +0,0 @@ -int(1) diff --git a/tests/fuzzing/bc_inputs2/lib22.txt b/tests/fuzzing/bc_inputs2/lib22.txt deleted file mode 100644 index 438575ef5b7..00000000000 --- a/tests/fuzzing/bc_inputs2/lib22.txt +++ /dev/null @@ -1 +0,0 @@ -int(-1) diff --git a/tests/fuzzing/bc_inputs2/lib23.txt b/tests/fuzzing/bc_inputs2/lib23.txt deleted file mode 100644 index df3d64009e7..00000000000 --- a/tests/fuzzing/bc_inputs2/lib23.txt +++ /dev/null @@ -1 +0,0 @@ -uint(3.928375) diff --git a/tests/fuzzing/bc_inputs2/lib24.txt b/tests/fuzzing/bc_inputs2/lib24.txt deleted file mode 100644 index 01c7181e513..00000000000 --- a/tests/fuzzing/bc_inputs2/lib24.txt +++ /dev/null @@ -1 +0,0 @@ -int(4.000000) diff --git a/tests/fuzzing/bc_inputs2/log.txt b/tests/fuzzing/bc_inputs2/log.txt deleted file mode 100644 index 54115e380ec..00000000000 --- a/tests/fuzzing/bc_inputs2/log.txt +++ /dev/null @@ -1,22 +0,0 @@ -l(0) -l(0.5) -l(1) -l(1.5) -l(1.74) -l(2) -l(3.2345) -l(5.283957) -l(13.23857) -l(100) -l(283.238957) -l(-0.5) -l(-1) -l(-1.5) -l(-1.74) -l(-2) -l(-3.2345) -l(-5.283957) -l(-13.23857) -l(-100) -l(-283.238957) -l(10430710.3325472917) diff --git a/tests/fuzzing/bc_inputs2/misc.txt b/tests/fuzzing/bc_inputs2/misc.txt deleted file mode 100644 index 571f4a87e26..00000000000 --- a/tests/fuzzing/bc_inputs2/misc.txt +++ /dev/null @@ -1,13 +0,0 @@ -4.1*1.-13^ - 74 - 1284597623841*1.-13^ - 757 -4.1*1.\ --1\ -3^ - 74 - 1284597623841*1.\ --1\ -3^ - 757 -obase = 9 -4.1*1.-13^ - 74 - 1284597623841*1.-13^ - 757 -4.1*1.\ --1\ -3^ - 74 - 1284597623841*1.\ --1\ -3^ - 757 diff --git a/tests/fuzzing/bc_inputs2/misc1.txt b/tests/fuzzing/bc_inputs2/misc1.txt deleted file mode 100644 index 7e9d9660457..00000000000 --- a/tests/fuzzing/bc_inputs2/misc1.txt +++ /dev/null @@ -1,76 +0,0 @@ -define x(x) { - return(x) -} -define y() { - return; -} -define z() { - return (); -} -scale = 0 -x=2 -x[0]=3 -x -x[0] -scale -ibase -obase -x ( 7 ) -x + x( 8 ) -x - x[0] -321 * x -2 ^ x[0] -x++ ---x -x += 9 -x -length(2381) -sqrt(9) -scale(238.1) -x=2 -x[0]=3 -(x) -(x[0]) -(scale) -(ibase) -(obase) -(x ( 7 )) -(x + x( 8 )) -(x - x[0]) -(321 * x) -(2 ^ x[0]) -(x++) -(--x) -(x += 9) -(length(2381)) -(sqrt(9)) -(scale(238.1)) -(scale = 0) -(x = 10) -(x += 100) -(x -= 10) -(x *= 10) -(x /= 100) -(x ^= 10) -(x = sqrt(x)) -(x[1 - 1]) -x[(1 - 1)] -2 + \ -3 -++ibase ---ibase -++obase ---obase -++last ---last -last -last = 100 -last -. = 150 -. -++scale ---scale -y() -z() -2 + /* -*/3 diff --git a/tests/fuzzing/bc_inputs2/misc2.txt b/tests/fuzzing/bc_inputs2/misc2.txt deleted file mode 100644 index 3b3aa683402..00000000000 --- a/tests/fuzzing/bc_inputs2/misc2.txt +++ /dev/null @@ -1,110 +0,0 @@ -define w() { auto z; return 1; } -define x() { - "x" - return (1) -} -define y() { - "y" - return (2) -} -define z() { - "z" - return (3) -} - -define v() { return } - -v() - -w() - -if (x() == y()) { 1 } -1 -if (x() <= y()) { 2 } -if (y() >= x()) { 3 } -if (x() != y()) { 4 } -if (x() < y()) { 5 } -if (y() > x()) { 6 } - -if (x() == z()) { 11 } -11 -if (x() <= z()) { 12 } -if (z() >= x()) { 13 } -if (x() != z()) { 14 } -if (x() < z()) { 15 } -if (z() > x()) { 16 } - -x = -10 -while (x <= 0) { - x - if (x == -5) break; - x += 1 -} - -define u() { - auto a[]; - return a[0] -} - -u() - -if (x == -4) x -else x - 4 - -x = 1 - -if (x == 1) 1 else 2 -if (x == 0) 1 else 2 - -if (x == 1) 1 else if (x == 0) 2 else 3 -if (x == 0) 1 else if (x == 1) 2 else 3 -if (x == -1) 1 else if (x == 0) 2 else 3 - -if (x == 1) if (x != 0) 1 else 2 else 3 -if (x == 1) if (x == 0) 1 else 2 else 3 -if (x != 1) if (x == 0) 1 else 2 else 3 - -if (x == 1) while (x > 0) { x ; x -= 1 } else 0 -x = 1 -if (x == 0) while (x > 0) { x ; x -= 1 } else 0 - -if(x == 1) { - 11 - while(x == 1) { - 21 - while(x == 1) { - 31 - break - 32 - } - 22 - break - 23 - } - 12 -} -99 - -for (;;) { 123 ; break; } -for (i = 0;; ++i) { i ; if (i == 2) break; else i; } -for (i = 0;;!++i) { i ; if (i == 2) break; else i; } -for (i = 0;; ++i) { i ; if (i != 2) i else break } - -while (i > 0) if (i == 1) break else i-- -while (i < 3) if (i != 2) i++ else break - -for(i=1; i<=3; i++) { i; if(i==2) continue; print i,i,"\n" } - -print 1,2,3 -print "\n" - -ifz = 1 -ifz -++ifz -ifz++ -ifz - -{ - 4 - 5 -} diff --git a/tests/fuzzing/bc_inputs2/misc3.txt b/tests/fuzzing/bc_inputs2/misc3.txt deleted file mode 100644 index 7aad374c4ef..00000000000 --- a/tests/fuzzing/bc_inputs2/misc3.txt +++ /dev/null @@ -1,12 +0,0 @@ -for (i = 0; i < A; ++i) -{print "n" -if(1)if(1){3 -} -if(0)if(1){3 -} -else 4 -if(0){if(1){3 -}} -else 5 -{i} -} diff --git a/tests/fuzzing/bc_inputs2/modulus.txt b/tests/fuzzing/bc_inputs2/modulus.txt deleted file mode 100644 index 965600c18a1..00000000000 --- a/tests/fuzzing/bc_inputs2/modulus.txt +++ /dev/null @@ -1,69 +0,0 @@ -1 % 1 -2 % 1 -16 % 4 -15 % 4 -17 % 4 -2389473 % 5 -39240687239 % 1 -346728934 % 23958 -3496723859067234 % 298375462837546928347623059375486 --1 % 1 --2 % 1 --47589634875689345 % 37869235 --1274852934765 % 2387628935486273546 --6324758963 % 237854962 -1 % -1 -2 % -1 -2 % -2 -2 % -3 -16 % 5 -15 % 5 -14 % 5 -89237423 % -237856923854 -123647238946 % -12467 --1 % -1 --2 % -1 --2 % -2 --2 % -3 --13 % -7 --14 % -7 --15 % -7 --12784956 % -32746 --127849612 % -23712347682193 -scale = 0 -1 % 1 -2 % 1 -16 % 4 -15 % 4 -17 % 4 -2389473 % 5 -39240687239 % 1 -346728934 % 23958 -3496723859067234 % 298375462837546928347623059375486 --1 % 1 --2 % 1 --47589634875689345 % 37869235 --1274852934765 % 2387628935486273546 --6324758963 % 237854962 -1 % -1 -2 % -1 -2 % -2 -2 % -3 -16 % 5 -15 % 5 -14 % 5 -89237423 % -237856923854 -123647238946 % -12467 --1 % -1 --2 % -1 --2 % -2 --2 % -3 --13 % -7 --14 % -7 --15 % -7 --12784956 % -32746 --127849612 % -23712347682193 --3191280681 % 641165986 -scale = 0; -899510228 % -2448300078.40314 -scale = 0; -7424863 % -207.2609738667 -scale = 0; 3769798918 % 0.6 diff --git a/tests/fuzzing/bc_inputs2/multiply.txt b/tests/fuzzing/bc_inputs2/multiply.txt deleted file mode 100644 index f5efed91b17..00000000000 --- a/tests/fuzzing/bc_inputs2/multiply.txt +++ /dev/null @@ -1,40 +0,0 @@ -0 * 0 -1 * 0 -0 * 1 -0 * 2498752389672835476 -873246913745129084576134 * 0 -1 * 472638590273489273456 -12374861230476103672835496 * 1 -1 * 1 -2 * 1 -1 * 2 -2 * 2 -3 * 14 -17 * 8 -1892467513846753 * 1872439821374591038746 -328962735862.2973546835638947635 * 1728465791348762356 -38745962374538.387427384672934867234 * 0.1932476528394672837568923754 -9878894576289457634856.2738627161689017387608947567654 * 37842939768237596237854203.29874372139852739126739621793162 --1 * 1 --1 * 2 -78893457 * -34876238956 -235678324957634 * -0.2349578349672389576 --12849567821934 * 12738462937681 -1274861293467.927843682937462 * -28935678239 -2936077239872.12937462836 * -0.012842357682435762 -2387692387566.2378569237546 * -272189345628.123875629835876 -0.012348629356782835962 * -23487692356 -0.4768349567348675934 * -0.23756834576934857638495 -0.98748395367485962735486 * -4675839462354867.376834956738456 --321784627934586 * -235762378596 --32578623567892356 * -0.32567384579638456 --35768232346876 * -2348672935602387620.28375682349576237856 --0.2356728394765234 * -238759624356978 --0.2345768212346780 * -0.235768124697074385948943532045 --0.370873860736785306278630 * -7835678398607.7086378076867096270 --78365713707.7089637863786730 * -738580798679306780 --73867038956790490258249 * -0.7379862716391723672803679 --378621971598721837710387 * -98465373878350798.09743896037963078560 -37164201 * 2931559660 -679468076118972457796560530571.46287161642138401685 * 93762.2836 -.000000000000000000000000001 * .0000000000000000000000001 diff --git a/tests/fuzzing/bc_inputs2/pi.txt b/tests/fuzzing/bc_inputs2/pi.txt deleted file mode 100644 index 775545c873a..00000000000 --- a/tests/fuzzing/bc_inputs2/pi.txt +++ /dev/null @@ -1,4 +0,0 @@ -for (i = 0; i <= 20; ++i) { - scale = i - 4 * a(1) -} diff --git a/tests/fuzzing/bc_inputs2/places.txt b/tests/fuzzing/bc_inputs2/places.txt deleted file mode 100644 index d6f20a46462..00000000000 --- a/tests/fuzzing/bc_inputs2/places.txt +++ /dev/null @@ -1,19 +0,0 @@ -0 @ 0 -1 @ 0 -2 @ 0 -0.0023896 @ 0 -1.298346 @ 0 -2.00000000 @ 0 -0.0023896 @ 3 -1.298346 @ 4 -2.00000000 @ 5 -289 @ 3 -18.34 @ 6 --183.1 @ 0 --23.238 @ 8 --343.23 @ 2 -x = 89136.892348976 -x @= 7 -x --.1897263 @ 0 -.1982365 @ 0 diff --git a/tests/fuzzing/bc_inputs2/power.txt b/tests/fuzzing/bc_inputs2/power.txt deleted file mode 100644 index 5657cdd7b7d..00000000000 --- a/tests/fuzzing/bc_inputs2/power.txt +++ /dev/null @@ -1,44 +0,0 @@ -0 ^ 0 -0 ^ 1 -0 ^ 1894 -1 ^ 0 -39746823 ^ 0 -0.238672983047682 ^ 0 -18394762374689237468.97354862973846 ^ 0 -1 ^ 1 -2 ^ 1 -18927361346 ^ 1 -0.23523785962738592635777 ^ 1 -328956734869213746.89782398457234 ^ 1 -8937 ^ 98 -0.124876812394 ^ 2396 -93762.2836 ^ 13 -1 ^ -1 -2 ^ -1 -10 ^ -1 -683734768 ^ -1 -38579623756.897937568235 ^ -1 -1 ^ -32467 -2 ^ -53 -23897 ^ -213 --1 ^ 1 --1 ^ 2 --2 ^ 1 --2 ^ 2 --237 ^ 294 --3746 ^ 28 --0.3548 ^ 35 --4267.234 ^ 37 --326.3246 ^ 78 --1 ^ -1 --1 ^ -2 --2 ^ -1 --2 ^ -2 --237 ^ -293 --784 ^ -23 --86 ^ -7 --0.23424398 ^ -781 --178.234786 ^ -879 --1274.346 ^ -768 -0 ^ -251 --0.2959371298 ^ 227 diff --git a/tests/fuzzing/bc_inputs2/print2.txt b/tests/fuzzing/bc_inputs2/print2.txt deleted file mode 100644 index 7f65fbe4c10..00000000000 --- a/tests/fuzzing/bc_inputs2/print2.txt +++ /dev/null @@ -1,194 +0,0 @@ -define prnt(i) { - - obase = i - 1 - a - b - c - - obase = i - a - b - c - - return i -} - -define prnt2(i) { - - obase = i + 1 - a - b - c - - print "\n" - - return i * 10 -} - -a = 999999999999999999999999999999999999 -b = a + 1 -c = b + 1 - -i = 100 -i = prnt(i) - -if (i + 1 <= maxobase()) { - i = prnt2(i) -} -else { - print " 084 044 021 047 096 073 015 052 088 014 072 097 047 021 094 051 083\e\n 000\n" - print " 084 044 021 047 096 073 015 052 088 014 072 097 047 021 094 051 083\e\n 001\n" - print " 084 044 021 047 096 073 015 052 088 014 072 097 047 021 094 051 083\e\n 002\n" - print "\n" - i *= 10 -} - -if (i <= maxobase()) { - i = prnt(i) -} -else { - print " 001 012 066 220 495 792 924 792 495 220 066 012 000\n" - print " 001 012 066 220 495 792 924 792 495 220 066 012 001\n" - print " 001 012 066 220 495 792 924 792 495 220 066 012 002\n" - print " 999 999 999 999 999 999 999 999 999 999 999 999\n" - print " 001 000 000 000 000 000 000 000 000 000 000 000 000\n" - print " 001 000 000 000 000 000 000 000 000 000 000 000 001\n" -} - -if (i + 1 <= maxobase()) { - i = prnt2(i) -} -else { - print " 0989 0065 0781 0494 0209 0923 0209 0494 0781 0065 0989 0000\n" - print " 0989 0065 0781 0494 0209 0923 0209 0494 0781 0065 0989 0001\n" - print " 0989 0065 0781 0494 0209 0923 0209 0494 0781 0065 0989 0002\n" - print "\n" - i *= 10 -} - -if (i <= maxobase()) { - i = prnt(i) -} -else { - print " 0001 0009 0036 0084 0126 0126 0084 0036 0009 0000\n" - print " 0001 0009 0036 0084 0126 0126 0084 0036 0009 0001\n" - print " 0001 0009 0036 0084 0126 0126 0084 0036 0009 0002\n" - print " 9999 9999 9999 9999 9999 9999 9999 9999 9999\n" - print " 0001 0000 0000 0000 0000 0000 0000 0000 0000 0000\n" - print " 0001 0000 0000 0000 0000 0000 0000 0000 0000 0001\n" -} - -if (i + 1 <= maxobase()) { - i = prnt2(i) -} -else { - print " 09992 00035 09917 00125 09875 00083 09965 00008 09999\n" - print " 09992 00035 09917 00125 09875 00083 09965 00008 10000\n" - print " 09992 00035 09917 00125 09875 00083 09965 00009 00000\n" - print "\n" - i *= 10 -} - -if (i <= maxobase()) { - i = prnt(i) -} -else { - print " 00010 00070 00210 00350 00350 00210 00070 00009\n" - print " 00010 00070 00210 00350 00350 00210 00070 00010\n" - print " 00010 00070 00210 00350 00350 00210 00070 00011\n" - print " 00009 99999 99999 99999 99999 99999 99999 99999\n" - print " 00010 00000 00000 00000 00000 00000 00000 00000\n" - print " 00010 00000 00000 00000 00000 00000 00000 00001\n" -} - -if (i + 1 <= maxobase()) { - i = prnt2(i) -} -else { - print " 000009 099931 000209 099651 000349 099791 000069 099990\n" - print " 000009 099931 000209 099651 000349 099791 000069 099991\n" - print " 000009 099931 000209 099651 000349 099791 000069 099992\n" - print "\n" - i *= 10 -} - -if (i <= maxobase()) { - i = prnt(i) -} -else { - print " 000001 000006 000015 000020 000015 000006 000000\n" - print " 000001 000006 000015 000020 000015 000006 000001\n" - print " 000001 000006 000015 000020 000015 000006 000002\n" - print " 999999 999999 999999 999999 999999 999999\n" - print " 000001 000000 000000 000000 000000 000000 000000\n" - print " 000001 000000 000000 000000 000000 000000 000001\n" -} - -if (i + 1 <= maxobase()) { - i = prnt2(i) -} -else { - print " 0999995 0000014 0999981 0000014 0999995 0000000\n" - print " 0999995 0000014 0999981 0000014 0999995 0000001\n" - print " 0999995 0000014 0999981 0000014 0999995 0000002\n" - print "\n" - i *= 10 -} - -if (i <= maxobase()) { - i = prnt(i) -} -else { - print " 0000010 0000050 0000100 0000100 0000050 0000009\n" - print " 0000010 0000050 0000100 0000100 0000050 0000010\n" - print " 0000010 0000050 0000100 0000100 0000050 0000011\n" - print " 0000009 9999999 9999999 9999999 9999999 9999999\n" - print " 0000010 0000000 0000000 0000000 0000000 0000000\n" - print " 0000010 0000000 0000000 0000000 0000000 0000001\n" -} - -if (i + 1 <= maxobase()) { - i = prnt2(i) -} -else { - print " 00000009 09999951 00000099 09999901 00000049 09999990\n" - print " 00000009 09999951 00000099 09999901 00000049 09999991\n" - print " 00000009 09999951 00000099 09999901 00000049 09999992\n" - print "\n" - i *= 10 -} - -if (i <= maxobase()) { - i = prnt(i) -} -else { - print " 00010000 00040000 00060000 00040000 00009999\n" - print " 00010000 00040000 00060000 00040000 00010000\n" - print " 00010000 00040000 00060000 00040000 00010001\n" - print " 00009999 99999999 99999999 99999999 99999999\n" - print " 00010000 00000000 00000000 00000000 00000000\n" - print " 00010000 00000000 00000000 00000000 00000001\n" -} - -if (i + 1 <= maxobase()) { - i = prnt2(i) -} -else { - print " 000009999 099960001 000059999 099960001 000009999\n" - print " 000009999 099960001 000059999 099960001 000010000\n" - print " 000009999 099960001 000059999 099960001 000010001\n" - print "\n" - i *= 10 -} - -if (i <= maxobase()) { - i = prnt(i) -} -else { - print " 000000001 000000004 000000006 000000004 000000000\n" - print " 000000001 000000004 000000006 000000004 000000001\n" - print " 000000001 000000004 000000006 000000004 000000002\n" - print " 999999999 999999999 999999999 999999999\n" - print " 000000001 000000000 000000000 000000000 000000000\n" - print " 000000001 000000000 000000000 000000000 000000001\n" -} diff --git a/tests/fuzzing/bc_inputs2/references.bc b/tests/fuzzing/bc_inputs2/references.bc deleted file mode 100755 index 8188f17aa01..00000000000 --- a/tests/fuzzing/bc_inputs2/references.bc +++ /dev/null @@ -1,408 +0,0 @@ -#! /usr/bin/bc -q - -define printarray(a[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a[i] - } -} - -define a2(a[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a[i] = a[i] * a[i] - } - - printarray(a[], len) -} - -define a4(a__[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a__[i] = a__[i] * a__[i] - } - - printarray(a__[], len) -} - -define a6(*a__[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a__[i] = a__[i] * a__[i] - } - - printarray(a__[], len) -} - -define a1(*a[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a[i] = i - } - - a2(a[], len) - - printarray(a[], len) -} - -define a3(*a__[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a__[i] = i - } - - a4(a__[], len) - - printarray(a__[], len) -} - -define a5(*a__[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a__[i] = i - } - - a2(a__[], len) - - printarray(a__[], len) -} - -define a7(*a__[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a__[i] = i - } - - a6(a__[], len) - - printarray(a__[], len) -} - -len = 16 - -a1(a[], len) -printarray(a[], len) -a3(a[], len) -printarray(a[], len) -a5(a[], len) -printarray(a[], len) -a7(a[], len) -printarray(a[], len) - -a1(b[], len) -printarray(b[], len) -a3(b[], len) -printarray(b[], len) -a5(b[], len) -printarray(b[], len) -a7(b[], len) -printarray(b[], len) - -a1[0] = 0 -a2[0] = 0 -a3[0] = 0 -a4[0] = 0 -a5[0] = 0 -a6[0] = 0 -a7[0] = 0 -a8[0] = 0 -a9[0] = 0 -a10[0] = 0 -a11[0] = 0 -a12[0] = 0 -a13[0] = 0 -a14[0] = 0 -a15[0] = 0 -a16[0] = 0 -a17[0] = 0 -a18[0] = 0 -a19[0] = 0 -a20[0] = 0 -a21[0] = 0 -a22[0] = 0 -a23[0] = 0 -a24[0] = 0 -a25[0] = 0 -a26[0] = 0 -a27[0] = 0 -a28[0] = 0 -a29[0] = 0 -a30[0] = 0 -a31[0] = 0 -a32[0] = 0 -a33[0] = 0 -a34[0] = 0 -a35[0] = 0 -a36[0] = 0 -a37[0] = 0 -a38[0] = 0 -a39[0] = 0 -a40[0] = 0 -a41[0] = 0 -a42[0] = 0 -a43[0] = 0 -a44[0] = 0 -a45[0] = 0 -a46[0] = 0 -a47[0] = 0 -a48[0] = 0 -a49[0] = 0 -a50[0] = 0 -a51[0] = 0 -a52[0] = 0 -a53[0] = 0 -a54[0] = 0 -a55[0] = 0 -a56[0] = 0 -a57[0] = 0 -a58[0] = 0 -a59[0] = 0 -a60[0] = 0 -a61[0] = 0 -a62[0] = 0 -a63[0] = 0 -a64[0] = 0 -a65[0] = 0 -a66[0] = 0 -a67[0] = 0 -a68[0] = 0 -a69[0] = 0 -a70[0] = 0 -a71[0] = 0 -a72[0] = 0 -a73[0] = 0 -a74[0] = 0 -a75[0] = 0 -a76[0] = 0 -a77[0] = 0 -a78[0] = 0 -a79[0] = 0 -a80[0] = 0 -a81[0] = 0 -a82[0] = 0 -a83[0] = 0 -a84[0] = 0 -a85[0] = 0 -a86[0] = 0 -a87[0] = 0 -a88[0] = 0 -a89[0] = 0 -a90[0] = 0 -a91[0] = 0 -a92[0] = 0 -a93[0] = 0 -a94[0] = 0 -a95[0] = 0 -a96[0] = 0 -a97[0] = 0 -a98[0] = 0 -a99[0] = 0 -a100[0] = 0 -a101[0] = 0 -a102[0] = 0 -a103[0] = 0 -a104[0] = 0 -a105[0] = 0 -a106[0] = 0 -a107[0] = 0 -a108[0] = 0 -a109[0] = 0 -a110[0] = 0 -a111[0] = 0 -a112[0] = 0 -a113[0] = 0 -a114[0] = 0 -a115[0] = 0 -a116[0] = 0 -a117[0] = 0 -a118[0] = 0 -a119[0] = 0 -a120[0] = 0 -a121[0] = 0 -a122[0] = 0 -a123[0] = 0 -a124[0] = 0 -a125[0] = 0 -a126[0] = 0 -a127[0] = 0 -a128[0] = 0 -a129[0] = 0 -a130[0] = 0 -a131[0] = 0 -a132[0] = 0 -a133[0] = 0 -a134[0] = 0 -a135[0] = 0 -a136[0] = 0 -a137[0] = 0 -a138[0] = 0 -a139[0] = 0 -a140[0] = 0 -a141[0] = 0 -a142[0] = 0 -a143[0] = 0 -a144[0] = 0 -a145[0] = 0 -a146[0] = 0 -a147[0] = 0 -a148[0] = 0 -a149[0] = 0 -a150[0] = 0 -a151[0] = 0 -a152[0] = 0 -a153[0] = 0 -a154[0] = 0 -a155[0] = 0 -a156[0] = 0 -a157[0] = 0 -a158[0] = 0 -a159[0] = 0 -a160[0] = 0 -a161[0] = 0 -a162[0] = 0 -a163[0] = 0 -a164[0] = 0 -a165[0] = 0 -a166[0] = 0 -a167[0] = 0 -a168[0] = 0 -a169[0] = 0 -a170[0] = 0 -a171[0] = 0 -a172[0] = 0 -a173[0] = 0 -a174[0] = 0 -a175[0] = 0 -a176[0] = 0 -a177[0] = 0 -a178[0] = 0 -a179[0] = 0 -a180[0] = 0 -a181[0] = 0 -a182[0] = 0 -a183[0] = 0 -a184[0] = 0 -a185[0] = 0 -a186[0] = 0 -a187[0] = 0 -a188[0] = 0 -a189[0] = 0 -a190[0] = 0 -a191[0] = 0 -a192[0] = 0 -a193[0] = 0 -a194[0] = 0 -a195[0] = 0 -a196[0] = 0 -a197[0] = 0 -a198[0] = 0 -a199[0] = 0 -a200[0] = 0 -a201[0] = 0 -a202[0] = 0 -a203[0] = 0 -a204[0] = 0 -a205[0] = 0 -a206[0] = 0 -a207[0] = 0 -a208[0] = 0 -a209[0] = 0 -a210[0] = 0 -a211[0] = 0 -a212[0] = 0 -a213[0] = 0 -a214[0] = 0 -a215[0] = 0 -a216[0] = 0 -a217[0] = 0 -a218[0] = 0 -a219[0] = 0 -a220[0] = 0 -a221[0] = 0 -a222[0] = 0 -a223[0] = 0 -a224[0] = 0 -a225[0] = 0 -a226[0] = 0 -a227[0] = 0 -a228[0] = 0 -a229[0] = 0 -a230[0] = 0 -a231[0] = 0 -a232[0] = 0 -a233[0] = 0 -a234[0] = 0 -a235[0] = 0 -a236[0] = 0 -a237[0] = 0 -a238[0] = 0 -a239[0] = 0 -a240[0] = 0 -a241[0] = 0 -a242[0] = 0 -a243[0] = 0 -a244[0] = 0 -a245[0] = 0 -a246[0] = 0 -a247[0] = 0 -a248[0] = 0 -a249[0] = 0 -a250[0] = 0 -a251[0] = 0 -a252[0] = 0 -a253[0] = 0 -a254[0] = 0 -a255[0] = 0 -a256[0] = 0 - -a1(a253[], len) -printarray(a253[], len) -a3(a253[], len) -printarray(a253[], len) -a5(a253[], len) -printarray(a253[], len) -a7(a253[], len) -printarray(a253[], len) - -a1(a254[], len) -printarray(a254[], len) -a3(a254[], len) -printarray(a254[], len) -a5(a254[], len) -printarray(a254[], len) -a7(a254[], len) -printarray(a254[], len) - -a1(a255[], len) -printarray(a255[], len) -a3(a255[], len) -printarray(a255[], len) -a5(a255[], len) -printarray(a255[], len) -a7(a255[], len) -printarray(a255[], len) - -a1(a256[], len) -printarray(a256[], len) -a3(a256[], len) -printarray(a256[], len) -a5(a256[], len) -printarray(a256[], len) -a7(a256[], len) -printarray(a256[], len) diff --git a/tests/fuzzing/bc_inputs2/scale.txt b/tests/fuzzing/bc_inputs2/scale.txt deleted file mode 100644 index e8bee791bce..00000000000 --- a/tests/fuzzing/bc_inputs2/scale.txt +++ /dev/null @@ -1,57 +0,0 @@ -scale(0) -scale(1) -scale(12) -scale(123) -scale(1234) -scale(12345) -scale(123456) -scale(1234567) -scale(12345678) -scale(123456789) -scale(1234567890) -scale(1.0) -scale(12.0) -scale(123.0) -scale(1234.0) -scale(12345.0) -scale(123456.0) -scale(1234567.0) -scale(12345678.0) -scale(123456789.0) -scale(1234567890.0) -scale(.1) -scale(.12) -scale(.123) -scale(.1234) -scale(.12345) -scale(.123456) -scale(.1234567) -scale(.12345678) -scale(.123456789) -scale(.1234567890) -scale(.01) -scale(.012) -scale(.0123) -scale(.01234) -scale(.012345) -scale(.0123456) -scale(.01234567) -scale(.012345678) -scale(.0123456789) -scale(.01234567890) -scale(.0000000001) -scale(.00000000012) -scale(.000000000123) -scale(.0000000001234) -scale(.00000000012345) -scale(.000000000123456) -scale(.0000000001234567) -scale(.00000000012345678) -scale(.000000000123456789) -scale(.0000000001234567890) -scale(289.29837) -scale(2893.00000) -scale(289.0) -scale(1802973.0000000238) -scale(.000000000000000093182394080000000000) -scale(0.00000000000000000000) diff --git a/tests/fuzzing/bc_inputs2/scientific.txt b/tests/fuzzing/bc_inputs2/scientific.txt deleted file mode 100644 index bd04562a8df..00000000000 --- a/tests/fuzzing/bc_inputs2/scientific.txt +++ /dev/null @@ -1,51 +0,0 @@ -0e0 -0e1 -0e5 -0e-2 -0e-100 -1e0 --1e1 -1e9 --1e21 -1e-1 --1e-2 -1e-5 -4.92837e5 --3.28971028e20 -6.2e3 --8.289371e2 -5.9817280937e8 --3.28977e-1 -8.8927891e-20 --7.98239e-4 -4.4892e-4 --18937e0 -198273e10 --18927e-4 -28937e-5 --891072e-7 -.28972e0 --.891273e-1 -.8928397e1 --.0002983172e5 -.00022e3 --.00022e4 -.0000328937e8 -obase=0 -0 -1 -10 --289 -2894 --89434 -894370 --1239839 -28931708 --8052098.8029731809 -.1 --.01 -.001 --.00038 -.0000483 --.0002894378190 -.2893712083 diff --git a/tests/fuzzing/bc_inputs2/shift.txt b/tests/fuzzing/bc_inputs2/shift.txt deleted file mode 100644 index 0b4d07b5bfd..00000000000 --- a/tests/fuzzing/bc_inputs2/shift.txt +++ /dev/null @@ -1,281 +0,0 @@ -0 << 0 -1 << 0 -2 << 0 -0.0023896 << 0 -1.298346 << 0 -2.00000000 << 0 -0.0023896 << 3 -1.298346 << 4 -2.00000000 << 5 -x = 89136.892348976 -x <<= 7 -x -x = 1892634051829351283289298 -x <<= 24 -x -0 >> 0 -1 >> 0 -2 >> 0 -0.0023896 >> 0 -1.298346 >> 0 -2.00000000 >> 0 -0.0023896 >> 3 -1.298346 >> 4 -2.00000000 >> 5 -x = 89136.892348976 -x >>= 7 -x -x = 1892634051829351283289298 -x >>= 24 -x --1 << 0 --2 << 0 --0.0023896 << 0 --1.298346 << 0 --2.00000000 << 0 --0.0023896 << 3 --1.298346 << 4 --2.00000000 << 5 -x = -89136.892348976 -x <<= 7 -x -x = -1892634051829351283289298 -x <<= 24 -x --1 >> 0 --2 >> 0 --0.0023896 >> 0 --1.298346 >> 0 --2.00000000 >> 0 --0.0023896 >> 3 --1.298346 >> 4 --2.00000000 >> 5 -x = -89136.892348976 -x >>= 7 -x --x -x = -1892634051829351283289298 -x >>= 24 -x --x -(0 >> 12) / 2 -10000000000 >> 0 -10000000000 >> 1 -10000000000 >> 2 -10000000000 >> 3 -10000000000 >> 4 -10000000000 >> 5 -10000000000 >> 6 -10000000000 >> 7 -10000000000 >> 8 -10000000000 >> 9 -10000000000 >> 10 -10000000000 >> 11 -10000000000 >> 12 -10000000000 >> 13 -10000000000 >> 14 -10000000000 >> 15 -10000000000 >> 16 -10000000000 >> 17 -10000000000 >> 18 -10000000000 >> 19 -10000000000.1 >> 0 -10000000000.1 >> 1 -10000000000.1 >> 2 -10000000000.1 >> 3 -10000000000.1 >> 4 -10000000000.1 >> 5 -10000000000.1 >> 6 -10000000000.1 >> 7 -10000000000.1 >> 8 -10000000000.1 >> 9 -10000000000.1 >> 10 -10000000000.1 >> 11 -10000000000.1 >> 12 -10000000000.1 >> 13 -10000000000.1 >> 14 -10000000000.1 >> 15 -10000000000.1 >> 16 -10000000000.1 >> 17 -10000000000.1 >> 18 -10000000000.1 >> 19 -10000000000.01 >> 0 -10000000000.01 >> 1 -10000000000.01 >> 2 -10000000000.01 >> 3 -10000000000.01 >> 4 -10000000000.01 >> 5 -10000000000.01 >> 6 -10000000000.01 >> 7 -10000000000.01 >> 8 -10000000000.01 >> 9 -10000000000.01 >> 10 -10000000000.01 >> 11 -10000000000.01 >> 12 -10000000000.01 >> 13 -10000000000.01 >> 14 -10000000000.01 >> 15 -10000000000.01 >> 16 -10000000000.01 >> 17 -10000000000.01 >> 18 -10000000000.01 >> 19 -10000000000.001 >> 0 -10000000000.001 >> 1 -10000000000.001 >> 2 -10000000000.001 >> 3 -10000000000.001 >> 4 -10000000000.001 >> 5 -10000000000.001 >> 6 -10000000000.001 >> 7 -10000000000.001 >> 8 -10000000000.001 >> 9 -10000000000.001 >> 10 -10000000000.001 >> 11 -10000000000.001 >> 12 -10000000000.001 >> 13 -10000000000.001 >> 14 -10000000000.001 >> 15 -10000000000.001 >> 16 -10000000000.001 >> 17 -10000000000.001 >> 18 -10000000000.001 >> 19 -10000000000.0001 >> 0 -10000000000.0001 >> 1 -10000000000.0001 >> 2 -10000000000.0001 >> 3 -10000000000.0001 >> 4 -10000000000.0001 >> 5 -10000000000.0001 >> 6 -10000000000.0001 >> 7 -10000000000.0001 >> 8 -10000000000.0001 >> 9 -10000000000.0001 >> 10 -10000000000.0001 >> 11 -10000000000.0001 >> 12 -10000000000.0001 >> 13 -10000000000.0001 >> 14 -10000000000.0001 >> 15 -10000000000.0001 >> 16 -10000000000.0001 >> 17 -10000000000.0001 >> 18 -10000000000.0001 >> 19 -10000000000.00001 >> 0 -10000000000.00001 >> 1 -10000000000.00001 >> 2 -10000000000.00001 >> 3 -10000000000.00001 >> 4 -10000000000.00001 >> 5 -10000000000.00001 >> 6 -10000000000.00001 >> 7 -10000000000.00001 >> 8 -10000000000.00001 >> 9 -10000000000.00001 >> 10 -10000000000.00001 >> 11 -10000000000.00001 >> 12 -10000000000.00001 >> 13 -10000000000.00001 >> 14 -10000000000.00001 >> 15 -10000000000.00001 >> 16 -10000000000.00001 >> 17 -10000000000.00001 >> 18 -10000000000.00001 >> 19 -10000000000.000001 >> 0 -10000000000.000001 >> 1 -10000000000.000001 >> 2 -10000000000.000001 >> 3 -10000000000.000001 >> 4 -10000000000.000001 >> 5 -10000000000.000001 >> 6 -10000000000.000001 >> 7 -10000000000.000001 >> 8 -10000000000.000001 >> 9 -10000000000.000001 >> 10 -10000000000.000001 >> 11 -10000000000.000001 >> 12 -10000000000.000001 >> 13 -10000000000.000001 >> 14 -10000000000.000001 >> 15 -10000000000.000001 >> 16 -10000000000.000001 >> 17 -10000000000.000001 >> 18 -10000000000.000001 >> 19 -10000000000.0000001 >> 0 -10000000000.0000001 >> 1 -10000000000.0000001 >> 2 -10000000000.0000001 >> 3 -10000000000.0000001 >> 4 -10000000000.0000001 >> 5 -10000000000.0000001 >> 6 -10000000000.0000001 >> 7 -10000000000.0000001 >> 8 -10000000000.0000001 >> 9 -10000000000.0000001 >> 10 -10000000000.0000001 >> 11 -10000000000.0000001 >> 12 -10000000000.0000001 >> 13 -10000000000.0000001 >> 14 -10000000000.0000001 >> 15 -10000000000.0000001 >> 16 -10000000000.0000001 >> 17 -10000000000.0000001 >> 18 -10000000000.0000001 >> 19 -10000000000.00000001 >> 0 -10000000000.00000001 >> 1 -10000000000.00000001 >> 2 -10000000000.00000001 >> 3 -10000000000.00000001 >> 4 -10000000000.00000001 >> 5 -10000000000.00000001 >> 6 -10000000000.00000001 >> 7 -10000000000.00000001 >> 8 -10000000000.00000001 >> 9 -10000000000.00000001 >> 10 -10000000000.00000001 >> 11 -10000000000.00000001 >> 12 -10000000000.00000001 >> 13 -10000000000.00000001 >> 14 -10000000000.00000001 >> 15 -10000000000.00000001 >> 16 -10000000000.00000001 >> 17 -10000000000.00000001 >> 18 -10000000000.00000001 >> 19 -10000000000.000000001 >> 0 -10000000000.000000001 >> 1 -10000000000.000000001 >> 2 -10000000000.000000001 >> 3 -10000000000.000000001 >> 4 -10000000000.000000001 >> 5 -10000000000.000000001 >> 6 -10000000000.000000001 >> 7 -10000000000.000000001 >> 8 -10000000000.000000001 >> 9 -10000000000.000000001 >> 10 -10000000000.000000001 >> 11 -10000000000.000000001 >> 12 -10000000000.000000001 >> 13 -10000000000.000000001 >> 14 -10000000000.000000001 >> 15 -10000000000.000000001 >> 16 -10000000000.000000001 >> 17 -10000000000.000000001 >> 18 -10000000000.000000001 >> 19 -10000000000.0000000001 >> 0 -10000000000.0000000001 >> 1 -10000000000.0000000001 >> 2 -10000000000.0000000001 >> 3 -10000000000.0000000001 >> 4 -10000000000.0000000001 >> 5 -10000000000.0000000001 >> 6 -10000000000.0000000001 >> 7 -10000000000.0000000001 >> 8 -10000000000.0000000001 >> 9 -10000000000.0000000001 >> 10 -10000000000.0000000001 >> 11 -10000000000.0000000001 >> 12 -10000000000.0000000001 >> 13 -10000000000.0000000001 >> 14 -10000000000.0000000001 >> 15 -10000000000.0000000001 >> 16 -10000000000.0000000001 >> 17 -10000000000.0000000001 >> 18 -10000000000.0000000001 >> 19 diff --git a/tests/fuzzing/bc_inputs2/sine.txt b/tests/fuzzing/bc_inputs2/sine.txt deleted file mode 100644 index d3a547bcd79..00000000000 --- a/tests/fuzzing/bc_inputs2/sine.txt +++ /dev/null @@ -1,207 +0,0 @@ -scale = 25 -p = 4 * a(1) -scale = 20 -s(0) -s(0.5) -s(1) -s(2) -s(3) -s(-0.5) -s(-1) -s(-2) -s(-3) -s(p / 7) -s(-p / 7) -s(p / 4) -s(-p / 4) -s(p / 3) -s(-p / 3) -s(p / 2) -s(-p / 2) -s(3 * p / 4) -s(3 * -p / 4) -s(p) -s(-p) -s(3 * p / 2) -s(3 * -p / 2) -s(7 * p / 4) -s(7 * -p / 4) -s(13 * p / 4) -s(13 * -p / 4) -s(2 * p) -s(2 * -p) -s(131231) -s(-131231) -s(69.1967507777) -s(10828) -s(-16248506.847013148) -s(2050281000) -s(8224939) -s(11334231.1154662464) -s(-4109411249.2986954846) -s(-2395915402.13984) -s(-2795874313) -s(-2262647256) -s(3323158182.1239222084) -s(99901384) -s(-4202726050.2780080957) -s(2870000621.3228830588) -s(-4230239450.981045150) -s(-1517506941.2678857223) -s(4004582176) -s(-4193724543.1108508063) -s(-3432511261) -s(1804484812) -s(3229084127) -s(-3565317246.583937244) -s(3503281621) -s(-3469146313.1766891244) -s(-2257308049.307721068) -s(-3978441809) -s(3431564304.3752537) -s(1249644440.2464914559) -s(2395558891.1188487974) -s(-2607820706.4079280116) -s(1208310007) -s(-3758597557.863203175) -s(1186920672) -s(-3988103872) -s(-4280635328.4194857577) -s(1051748072) -s(-1884006279) -s(-1046568719.2698663389) -s(2482991410) -s(-2106101268.1154045959) -s(3530359346.77217900) -s(-3373362543) -s(2601598062) -s(2987020862) -s(-12033356.2057140648) -s(-3721760707) -s(2842387705.4145759704) -s(3515832681.1808393297) -s(-3658522034.16149) -s(3963658030.2860423992) -s(2977802215.597946655) -s(-4271392570.4091498761) -s(2378692585) -s(-3545193743.629374782) -s(-1762458738) -s(-1174277828.4264040126) -s(-1724994857) -s(2802750230.1783499408) -s(-3068133550) -s(3324811474.621822235) -s(2873024984) -s(-3509056632.3888206298) -s(1772903162.647192879) -s(2836543102) -s(4117858580.186) -s(2988632386.4063754522) -s(-4256784971.1770067447) -s(2280820447) -s(-2865200306) -s(-3329592486) -s(519126268) -s(-2452430452) -s(-2693220186.62104082) -s(-3796811992.14485798) -s(3619792326) -s(2697791049.3038381550) -s(3751267834.2808166557) -s(-3761719074) -s(-3824087631) -s(2119301150) -s(1398148974) -s(-3386564819.1351816969) -s(-3171483098) -s(3688944941.3273318162) -s(3060521119) -s(-3527110404) -s(3699631193) -s(3872838898) -s(3880350192) -s(-4109411249.2986954846) -s(-2395915402.13984) -s(-2795874313) -s(-2262647256) -s(3323158182.1239222084) -s(99901384) -s(-4202726050.2780080957) -s(2870000621.3228830588) -s(-4230239450.981045150) -s(-1517506941.2678857223) -s(4004582176) -s(-4193724543.1108508063) -s(-3432511261) -s(1804484812) -s(3229084127) -s(-3565317246.583937244) -s(3503281621) -s(-3469146313.1766891244) -s(-2257308049.307721068) -s(-3978441809) -s(3431564304.3752537) -s(1249644440.2464914559) -s(2395558891.1188487974) -s(-2607820706.4079280116) -s(1208310007) -s(-3758597557.863203175) -s(1186920672) -s(-3988103872) -s(-4280635328.4194857577) -s(1051748072) -s(-1884006279) -s(-1046568719.2698663389) -s(2482991410) -s(-2106101268.1154045959) -s(3530359346.77217900) -s(-3373362543) -s(2601598062) -s(2576349783.2446436039) -s(2987020862) -s(-12033356.2057140648) -s(-3721760707) -s(2842387705.4145759704) -s(3515832681.1808393297) -s(-3658522034.16149) -s(3963658030.2860423992) -s(2977802215.597946655) -s(-4271392570.4091498761) -s(2378692585) -s(-3545193743.629374782) -s(-1762458738) -s(-1174277828.4264040126) -s(-1724994857) -s(2802750230.1783499408) -s(-3068133550) -s(3324811474.621822235) -s(2873024984) -s(-3509056632.3888206298) -s(1772903162.647192879) -s(2836543102) -s(4117858580.186) -s(2988632386.4063754522) -s(-4256784971.1770067447) -s(2280820447) -s(-2865200306) -s(-3329592486) -s(519126268) -s(-2452430452) -s(-2693220186.62104082) -s(-3796811992.14485798) -s(3619792326) -s(2697791049.3038381550) -s(3751267834.2808166557) -s(-3761719074) -s(-3824087631) -s(2119301150) -s(1398148974) -s(-3386564819.1351816969) -s(-3171483098) -s(3688944941.3273318162) -s(3060521119) -s(-3527110404) -s(3699631193) -s(3872838898) -s(3880350192) diff --git a/tests/fuzzing/bc_inputs3/01.txt b/tests/fuzzing/bc_inputs3/01.txt deleted file mode 100644 index c016263a938..00000000000 --- a/tests/fuzzing/bc_inputs3/01.txt +++ /dev/null @@ -1,339 +0,0 @@ -a(s001020001l[ba]) -scal[ ca] -a -a -e -cs -c - -a -s(scal[ ba]) -scal[ ca] -u -a -e -cs -c - -a -s(scal[ ba]) -scal[ ca] -u -a -s -c = l[ ca] -a -a -sa -e -cs -c - -a(s001020001l[ ba]) -scal[ ca] -a -a -e -cs -c - -a -s(scal[ ba]) -scal[ ca] -a -a -s -c = l[ ca] -a -s -c = l[ ca] -a(s001020001l[ ba]) -a -e -cs -c - -a -s(scal[ ba]) -scal[ ca] -u -a -s -c = l[ ca] -a -a -sa -e -cs -c - -a(s001020001l[ ba]) -scal[ ca] -a -a*e -cs -c - -a -s(scal[ ba]) -scal[ ca] -a -a -s -c = l[ ca] -a -a -sa -e -css -c = c[ ca] -a -a -sa -e -cs -a -a -sa -e -cs -c - -a(s001020001l[ ba]) - cs -c = l[ ca] -a -a -sa -e -cs -c - -a(s001020001l[ ba]) -scal[ ca] -a -a -e -cs -c - -a -s(scal[ ba]) -scal[ ca] -a -a -s -c = l[ ca] -a -a -sa -e -css -c = l[ ca] -a -a -sa -e -cs -a -b -sa -e -cs -c - -a(s001020001l[ ba]) -scal[ ca] -a -a -e -cs - -scal[ ca] -a -a -e -cs -c - -a -s(scal[ ba]) -scal[ ca] -u -a -s -c = l[ ca] -a -a -sa -e -cs -c - -a(s001020001l[ ba]) -scal[ ca] -a -a -e -cs -c - -a -s(scal[ ba]) -scal[ ca] -a -a -s -c = l[ ca] -a -a -sa -e -css -c = l[ ca] -a -a -sa -e -cs -a -a -sa -e -cs -c - -a(s001020001l[ ba]) -sc0 -c = l[ ca] -a -a -sa -e -cs -c - -a(s001020001l[ ba]) -scal[ ca] -a -a -e -cs -c - -a -s(scal[ ba]) -s(1) -sd= 20 -a(0) -a=i-=se-=as0-=se-=as0-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -s0000^aaaaaaaaaaaaaaa20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=a00-=se-=as-=se-=axse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=as=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscales=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -sd= 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scale ==se-=a(1) -scale = 20 -a(0) -a==se-=as+=ase-=se8=as-=se-=a(1) -s ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=se-=xse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=a0=as-=ase-=se-=se0=ase-=se-=as-=e-=as=ae-=a(1) -sc= 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=se-=xse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -sd= 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=ase = 20 -a(0) -a=i-=se-=ase-=se-=ase-=s-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=a0=as-=ase-=se-=se0=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=a0=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=se-=xse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=as*=e-=as=aaaaaaaaaaaaaaaaaaaaaaa^aaaaaaaaaaaaaaa20 -a(0) -a=i-=se-=ase-=se-=as0-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=as0-=se-=as-=se-=axse!=e-=ase-=i-=se-=as0-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=a0-=a0=i-=se-=as0-=se-=se-=ase-=se-=as-=e-=as=as0-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==ss0-=ase-=s-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=as-=ase-=se-=se0=ase-=se-=as-=e-=as=a000=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=as0-=se-=as0-=i-=s-=se-=xse!=e-=a0=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=se-=xse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=a0-=e-=as=aaaaaaaaaaaaaaaaaaaaaaa^aaaaaaaaaaaaaaa20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=ase-=se-=as-=se-=axse!=e-=ase-=i-=se-=as0-=se-=se-=ase-=se-=as-=e-=as=as0-=se-=as-=as=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=as0-=se-=ase-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=as0-=as-=as0-=se-=as-=as0 -a(0) -a=i-=se-=as0-=se-=as0-=i-=s-=se-=xse!=e-=as=as0-=se-=as-=ase-=se-=as-=se-=a(1) -scale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=as0-=se-=ase-=i-=se-=xse!=e-=ase-=i-=se-=as0-=se-=se-=as0-=a0a^aaaaaaaaaaaaaaa20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=ase-=se-=as-=se-=axse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=a0-=e-=as=ase-=se-=as-=as=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscales=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -sd= 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -de ==se-=a(1) -scale = 20 -a(0) -a==se-=as-=ase-=se0=as-=se-=a(1) -s ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=se-=xse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=as-=ase-=se-=se0=ase-=se-=as-=e-=as=ae-=a(1) -sc= 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=se-=xse!=e-=ase-=i-=se-=ase-=se-=se-=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -sd= 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=e-=as=ase = 20 -a(0) -a0i-=se-=ase-=se-=ase-=s-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) -scscale ==se-=a(1) -scale = 20 -a(0) -a=i-=se-=ase-=se-=ase-=i-=s-=se-=xse!=c-=a0=as-se-=se-=se0=ase-=se-=as-=e-=as=ase-=se-=as-=ase-=se-=as-=se-=a(1) diff --git a/tests/fuzzing/bc_inputs3/02.txt b/tests/fuzzing/bc_inputs3/02.txt deleted file mode 100644 index 8cf0f3e6fec..00000000000 --- a/tests/fuzzing/bc_inputs3/02.txt +++ /dev/null @@ -1 +0,0 @@ -obase^= 20-f-b-4^-f-4-4^-f-4^-d diff --git a/tests/fuzzing/bc_inputs3/03.txt b/tests/fuzzing/bc_inputs3/03.txt deleted file mode 100644 index d0fc50564b6..00000000000 --- a/tests/fuzzing/bc_inputs3/03.txt +++ /dev/null @@ -1,2 +0,0 @@ -for (i = 0; ; ) -for (i = 0; ;(ssqrt()-p(srt(0-s(t(0-p(sstss(ssqrt()-p(ssssq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s()-p(sq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s(ssqrt()-p(t()-p(sstp(ssqrt()-sst()-p(qrt()-p(s()-p(srt()-s(ssqrt()-v(qrt(ssqrt()-p(ssqrt()-s(ssqrt()-p(ssssq(ssqrt()-p(ssq(ssqrt()-p(t()-sst(prt()-s(ssqrt()-p(q(ssqrt()-p(ssqrt()-sst()-ssqrt()-t(ss(s()-p(srt()-s(ssqrt()-p(s(ssqrtt()-p(ssqrt()-sst()-p(qrt()-p(s()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(qr (itt()-p(q(s(ssqrt()-t(ss(ssqrt()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(sstsq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(sstsq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s(ssqrt()-p(t()-p(sstp(ssqrt()-sst()-p(qrt()-p(s()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(qr (itt()-p(q(s(ssqrt()-t(ss(ssqrt()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(sstsq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s()-p(srt()-s(ssqrt()-p(sstss(osqrt()-p(sstsq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s(ssqrt()-p(ssqrt()-sstfor (itt()-p(q(s(ssqrt()-t(ss(ssqrt()-p(srt()-s(ssqrt()-p(sstss(sssq(ssqrt()-p(ssqrt()-sst()-prt()-s(ssqrt()-p(q(ssqrt()-ssqrt(qrt()-p(s()-p(srt(s(ssqrt()-p(q(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s(ssqrt()-p(ssqrt()-sst()-p(ssqrt()-ssq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s-t()-s(ssurt()-p(sstss(ssqrt()-p(qr (itt()-p(q(s(ssqrt()-t(ss(ssqrt()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(sstsq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s()-p(srt()-s(ssqrt()-p(sstss(osqrt()-p(sstsq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s(ssqrt()-p(ssqrt()-sstfor (itt()-p(q(s(ssqrt()-t(ss(ssqrt()-p(srt()-s(ssqrt()-p(sstss(sssq(ssqrt()-p(ssqrt()-sst()-prt()-s(ssqrt()-p(q(ssqrt()-ssqrt(qrt()-p(s()-p(srt(s(ssqrt()-p(q(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s(ssqrt()-p(ssqrt()-sst()-p(ssqrt()-ssq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s-p(ssqrt()-sst()-p(qrt()-p(s(st()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(ssssq(ssqrt()-p(ssqrt()-sst()-p(qrt()-p(s()-p(srt()-s(ssqrt()-p(sstss(ssqrt()-p(ssssq(ssqrt()-p(ssqrt()-sst()-p(qrtrrrrr()-p(s(ssqrt()-p(ssqrt()-sst()-p(ssqrt(qrt(ssqrt()-p(ssqrt()-s(ssqrt()-p(ssssq(ssqrt()-p(ssq(ssqrt()-p(ssqrt()-sst()-prt()-s(ssqrt()-p(q(ssqrt()-p(ssqrt()-sst()-ssqrt()-t(ss(s()-p(srt()-s(ssqrt()-p(s(ssqrtt()-p()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000#000 diff --git a/tests/fuzzing/bc_inputs3/04.txt b/tests/fuzzing/bc_inputs3/04.txt deleted file mode 100644 index c0965de53fa..00000000000 --- a/tests/fuzzing/bc_inputs3/04.txt +++ /dev/null @@ -1 +0,0 @@ -"000000 diff --git a/tests/fuzzing/bc_inputs3/05.txt b/tests/fuzzing/bc_inputs3/05.txt deleted file mode 100644 index 99148974ea0..00000000000 --- a/tests/fuzzing/bc_inputs3/05.txt +++ /dev/null @@ -1 +0,0 @@ -/*00000000 diff --git a/tests/fuzzing/bc_inputs3/06.txt b/tests/fuzzing/bc_inputs3/06.txt deleted file mode 100644 index 29fe6be3702..00000000000 --- a/tests/fuzzing/bc_inputs3/06.txt +++ /dev/null @@ -1 +0,0 @@ -while (i == 0) { diff --git a/tests/fuzzing/bc_inputs3/07.txt b/tests/fuzzing/bc_inputs3/07.txt deleted file mode 100644 index e899d854786..00000000000 --- a/tests/fuzzing/bc_inputs3/07.txt +++ /dev/null @@ -1,8 +0,0 @@ -for(q=F;i<=020; ++i) #00 -{print "0" -if(6)if(6){3 - } -{pr0n} -"" } -{pr0n} -{print "" "" diff --git a/tests/fuzzing/bc_inputs3/08.txt b/tests/fuzzing/bc_inputs3/08.txt deleted file mode 100644 index 8c5afd789bf..00000000000 --- a/tests/fuzzing/bc_inputs3/08.txt +++ /dev/null @@ -1,3 +0,0 @@ -define i(x){ -c0 -if(6)} diff --git a/tests/fuzzing/bc_inputs3/09.txt b/tests/fuzzing/bc_inputs3/09.txt deleted file mode 100644 index f7a347557d8..00000000000 --- a/tests/fuzzing/bc_inputs3/09.txt +++ /dev/null @@ -1,11 +0,0 @@ -e --1\ -#00000 -{print"0" -if(1)if(1)#0 -} -if(0)if(0){3 -} -else 4\ -#00000000000000000000000000 -} diff --git a/tests/fuzzing/bc_inputs3/10.txt b/tests/fuzzing/bc_inputs3/10.txt deleted file mode 100644 index 23fb8689f59..00000000000 --- a/tests/fuzzing/bc_inputs3/10.txt +++ /dev/null @@ -1 +0,0 @@ -d000$++ diff --git a/tests/fuzzing/bc_inputs3/11.txt b/tests/fuzzing/bc_inputs3/11.txt deleted file mode 100644 index 19e7e87b2d6..00000000000 --- a/tests/fuzzing/bc_inputs3/11.txt +++ /dev/null @@ -1,99 +0,0 @@ -#0000000000000000 - -define printarray(a[],len){ - -auto i - -for(i=0; i < n; ++i) { - a[i] - } -} - -define a2(a[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a[i] = a[i] * a[i] - } - - printarray(len, n) -} - -define a4(a00[], l) { - - auto i - - for (i = 0; i < l; ++i) { - a[i] = a00[i] * a[i] - } - - printarray(a00[], l) -} - -define a6(*a00[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a00[i] = a00[i] * a00[i] - } - - printarray(a00[], len) -} - -define a1(*a[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a[i] = i - } - - a2(a[], len) - - printarray(a[], len) -} - -define a0(*a00[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a00[i] = i - } - - a0(a00[], len) - - printarray(a00[], len) -} - -define a5(*a00[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a00[i] = i - } - - a0(a00[], len) - - printarray(a, len) -} - -define a7(*a00[], len) { - - auto i - - for (i = 0; i < len; ++i) { - a00[i] = i - } - - a0(a00[], len) - - printarray(a00[], len) -} - -len = 16 - -a1(a[], len) diff --git a/tests/fuzzing/bc_inputs3/12.txt b/tests/fuzzing/bc_inputs3/12.txt deleted file mode 100644 index 143bb71deed..00000000000 --- a/tests/fuzzing/bc_inputs3/12.txt +++ /dev/null @@ -1,2 +0,0 @@ -for (v ;!j -90-90; ++i) -a= ibase ++;0 diff --git a/tests/fuzzing/bc_inputs3/13.txt b/tests/fuzzing/bc_inputs3/13.txt deleted file mode 100644 index 5628ba703cd..00000000000 --- a/tests/fuzzing/bc_inputs3/13.txt +++ /dev/null @@ -1,56 +0,0 @@ -#0 - -define z(a[]) {for (i = 0; i < l; ++i) { - a[i] - } -} - -define x(a[]) { - - #00000000000000000000000000000000000 - auto a - - for (a = 0; a < l; ++a) { - a[a] = -a - } - - z(a[]) -} - -define g(x[], y[]) { - return x[0] - y[0] -} - -define h(u000 x[]) { - return g(x[], y[]) -} - -define m(*x[], *y[]) { - return x[0] / y[0] -} - -define n(*y[], *x[]) { - return m(x[], y[]) -} - -for (i = 0; i < 101; ++i) { - a[i] = i -} - -a[104] = 200 - -l = length(a[]) - -for (i = 0; i <= l; ++i) { - a[i] -} - -z(a[]) -x(a[]) -z(a[]) -l - -x[0] = 5 -y[0] = 4 - -h(x[], y[]) diff --git a/tests/fuzzing/bc_inputs3/14.txt b/tests/fuzzing/bc_inputs3/14.txt deleted file mode 100644 index 2487d82acd4..00000000000 --- a/tests/fuzzing/bc_inputs3/14.txt +++ /dev/null @@ -1 +0,0 @@ -a(int32(O100000000)) diff --git a/tests/fuzzing/bc_inputs3/15.txt b/tests/fuzzing/bc_inputs3/15.txt deleted file mode 100644 index cf1f81dfb00..00000000000 --- a/tests/fuzzing/bc_inputs3/15.txt +++ /dev/null @@ -1,3 +0,0 @@ -for (i = 0; int32(29834); ++i) { - i -} diff --git a/tests/fuzzing/bc_inputs3/16.txt b/tests/fuzzing/bc_inputs3/16.txt deleted file mode 100644 index 977569bda33..00000000000 --- a/tests/fuzzing/bc_inputs3/16.txt +++ /dev/null @@ -1 +0,0 @@ -"0 \ No newline at end of file diff --git a/tests/fuzzing/bc_inputs3/17.txt b/tests/fuzzing/bc_inputs3/17.txt deleted file mode 100644 index f158be7e5f4..00000000000 --- a/tests/fuzzing/bc_inputs3/17.txt +++ /dev/null @@ -1,11 +0,0 @@ -print "000000000000000000\n" - -s = s0 - -m = 0 - -for (i = 0; i < 100; ++i) { - a[i] =d() - s= a[i] - b[i] = irand(u0) -} diff --git a/tests/fuzzing/bc_inputs3/18.txt b/tests/fuzzing/bc_inputs3/18.txt deleted file mode 100644 index 9f338c1f5a6..00000000000 --- a/tests/fuzzing/bc_inputs3/18.txt +++ /dev/null @@ -1,3 +0,0 @@ -while(0){ - -define diff --git a/tests/fuzzing/bc_inputs3/19.txt b/tests/fuzzing/bc_inputs3/19.txt deleted file mode 100644 index 1edb8c62d49..00000000000 --- a/tests/fuzzing/bc_inputs3/19.txt +++ /dev/null @@ -1,5 +0,0 @@ -define i(x){ - -i(10) -ibase -o(10)`0000 diff --git a/tests/fuzzing/bc_inputs3/20.txt b/tests/fuzzing/bc_inputs3/20.txt deleted file mode 100644 index 465146d458f..00000000000 --- a/tests/fuzzing/bc_inputs3/20.txt +++ /dev/null @@ -1,51 +0,0 @@ -define w() { auto z; return 1; } -define x() { -"0" -return (1) -} -define y() { -"0" - return (2) -} -define z() { - "0" - return (3) -} -define v() { return } - -v() - -w() - -if (x() == y()) { 0 } -1 -if (x() <= y()) { 2 } -if (y() >= x()) { 3 } -if (x() != y()) { 4 } -if (x() < y()) { 5 } -if (y() > x()) { 6 } - -if (x() == z()) { 100} -10 -if (x() <= z()) { 10 } -if (z() >= x()) { 10 } -if (x() != z()) { 10 } -if (x() < z()) { 10 } -if (z() > x()) { 10 } - -x = -10 -while (x <= 0) { - x - if (x == -5) break; - x += 1 -} - -define u() { - auto a[]; - return a[H] -} - -u() - -if (x == -4) x -000000000000000000000000ÿ diff --git a/tests/fuzzing/bc_inputs3/21.txt b/tests/fuzzing/bc_inputs3/21.txt deleted file mode 100644 index 531705b2923..00000000000 --- a/tests/fuzzing/bc_inputs3/21.txt +++ /dev/null @@ -1,10 +0,0 @@ -define i(x) { - ibase=x - s0=x - return 74; b=100.000000000000;e -} - -i(11) -ibase -o0 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/tests/fuzzing/bc_inputs3/22.txt b/tests/fuzzing/bc_inputs3/22.txt deleted file mode 100644 index f7a91f0b777..00000000000 --- a/tests/fuzzing/bc_inputs3/22.txt +++ /dev/null @@ -1,2 +0,0 @@ -#00000000000000 0 - for(i = 0; i < M; ++i) l000000000000= length(a00000000iii= l[]0 diff --git a/tests/fuzzing/bc_inputs3/23.txt b/tests/fuzzing/bc_inputs3/23.txt deleted file mode 100644 index 15045f277e00aab431591ed94685c6a48af2720a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmeH@&uYUk490iO_Y^wxkgOz=9fu7X_eDYufwjy~I_SyW=(|^rowj)F2{v7%Px|Q( zGL3pxP0I|t@AmGvqpxxr#)`gC>_1ObIAmh9nLW@zz1grPknDmGdyZV+buC_ojf-}%kiAF3i>W}lDB%`^#Zgq?}0Zm zc5YtkovgN0zXiSY$)CLJvh*6x@sUt760lnkCnZ*!2$%DjiYs~{4HX)q#p|<#%84H> UZBCdx(P3GU{8Og?<=_4QuC(C7)&Kwi diff --git a/tests/fuzzing/bc_inputs3/24.txt b/tests/fuzzing/bc_inputs3/24.txt deleted file mode 100644 index 25f98c159d4..00000000000 --- a/tests/fuzzing/bc_inputs3/24.txt +++ /dev/null @@ -1,4 +0,0 @@ -perm(10,2) -comb(10,2) -perm(6,2) -b(6,++i[] diff --git a/tests/fuzzing/bc_inputs3/sqrt.txt b/tests/fuzzing/bc_inputs3/sqrt.txt deleted file mode 100644 index 07cdee66492..00000000000 --- a/tests/fuzzing/bc_inputs3/sqrt.txt +++ /dev/null @@ -1,14 +0,0 @@ -scale = 20 -sqrt(0) -sqrt(2) -sqrt(4) -sqrt(9) -sqrt(16) -sqrt(25) -sqrt(121) -sqrt(48765) -sqrt(9287356207356) -sqrt(0.189274385967238956872354) -sqrt(12389467137496823.134567829387456283946) -sqrt(.0000000000000000000000000000123) -sqrt(1) diff --git a/tests/fuzzing/bc_inputs3/strings.txt b/tests/fuzzing/bc_inputs3/strings.txt deleted file mode 100644 index 1cb7d6a61c5..00000000000 --- a/tests/fuzzing/bc_inputs3/strings.txt +++ /dev/null @@ -1,12 +0,0 @@ -"string" -"another string" -"yet -another -string" -"noescapes\n" -"newline -" -print "string" -print "newline\n" - -print "\\\e\n" diff --git a/tests/fuzzing/bc_inputs3/subtract.txt b/tests/fuzzing/bc_inputs3/subtract.txt deleted file mode 100644 index e3ea1ced9ec..00000000000 --- a/tests/fuzzing/bc_inputs3/subtract.txt +++ /dev/null @@ -1,153 +0,0 @@ -0 - 0 -0 - 1 -1 - 0 -1 - 1 -5 - 2 -2 - 9 -321974 - 12845976238457 -2874519803456710938465 - 384723854 -10000000000000000000000000000000000000000 - 999999999999999999999999999999999999999 -10000000000000000000000000000000000000000 - 9999999999999999999999999999999999999999 -10000000000000000000000000000000000000000 - 999999999999999999999999999999999999999.99999999999999999999999999999999999 -10000000000000000000000000000000000000000 - 9999999999999999999999999999999999999999.9999999999999999999999999999999999 -10000000000000000000000000000000000000000 - 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -10000000000000000000000000000000000000001 - 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -10000000000000000000000000000000000000000.0000000001 - 0.0000000000000000000000000000000000000000000000000000000000000000000000000001 --2 - 6 --23784692345 - 182934721309467230894628735496027345 --224352354962873059862 - -1245723576829456278354960278345 --3468273598 - -12354243 --0.92345768293 - -2354768923 --712384634.123476823 - -24768293376 --1879234638 - -0.917234869234 --0.9172438692134 - -0.971284967124 --0.1283475123465 - -0.937462346 --124765829346.2837468293562 - -0.923467829346 --12476829385769 - -1928476259034.8378629356 --0.38476284395876345 - -94875394587623.2357869324857 --4674596708467.34754789403674343567 - -48672394852354698.237548629345 -979519669 - 3018100865 -929002449 - 3280677283 -0 - -525898 -3- - -3 -18297034019823741908237410928374.81920734712098347109281029873 - 182907.12809 -182039471029834 - 282039471029834 -282039471029834 - 182039471029834 -182039471029834.2801722893 - 282039471029834 -282039471029834.2801722893 - 182039471029834 -182039471029834.2801722893 - 282039471029834.2838 -282039471029834.2801722893 - 182039471029834.2838 -182039471029834 - 282039471029834.2801722893 -282039471029834 - 182039471029834.2801722893 -182039471029834.8297282893 - 282039471029834.2801722893 -282039471029834.8297282893 - 182039471029834.2801722893 -471029834 - 282039471029834 -471029834 - 182039471029834 -471029834.2801722893 - 282039471029834 -471029834.2801722893 - 182039471029834 -471029834.2801722893 - 282039471029834.2838 -471029834.2801722893 - 182039471029834.2838 -471029834 - 282039471029834.2801722893 -471029834 - 182039471029834.2801722893 -471029834.8297282893 - 282039471029834.2801722893 -471029834.8297282893 - 182039471029834.2801722893 -182039471029834 - 471029834 -282039471029834 - 471029834 -182039471029834.2801722893 - 471029834 -282039471029834.2801722893 - 471029834 -182039471029834.2801722893 - 471029834.2838 -282039471029834.2801722893 - 471029834.2838 -182039471029834 - 471029834.2801722893 -282039471029834 - 471029834.2801722893 -182039471029834.8297282893 - 471029834.2801722893 -282039471029834.8297282893 - 471029834.2801722893 --182039471029834 - 282039471029834 --282039471029834 - 182039471029834 --182039471029834.2801722893 - 282039471029834 --282039471029834.2801722893 - 182039471029834 --182039471029834.2801722893 - 282039471029834.2838 --282039471029834.2801722893 - 182039471029834.2838 --182039471029834 - 282039471029834.2801722893 --282039471029834 - 182039471029834.2801722893 --182039471029834.8297282893 - 282039471029834.2801722893 --282039471029834.8297282893 - 182039471029834.2801722893 --471029834 - 282039471029834 --471029834 - 182039471029834 --471029834.2801722893 - 282039471029834 --471029834.2801722893 - 182039471029834 --471029834.2801722893 - 282039471029834.2838 --471029834.2801722893 - 182039471029834.2838 --471029834 - 282039471029834.2801722893 --471029834 - 182039471029834.2801722893 --471029834.8297282893 - 282039471029834.2801722893 --471029834.8297282893 - 182039471029834.2801722893 --182039471029834 - 471029834 --282039471029834 - 471029834 --182039471029834.2801722893 - 471029834 --282039471029834.2801722893 - 471029834 --182039471029834.2801722893 - 471029834.2838 --282039471029834.2801722893 - 471029834.2838 --182039471029834 - 471029834.2801722893 --282039471029834 - 471029834.2801722893 --182039471029834.8297282893 - 471029834.2801722893 --282039471029834.8297282893 - 471029834.2801722893 -182039471029834 - -282039471029834 -282039471029834 - -182039471029834 -182039471029834.2801722893 - -282039471029834 -282039471029834.2801722893 - -182039471029834 -182039471029834.2801722893 - -282039471029834.2838 -282039471029834.2801722893 - -182039471029834.2838 -182039471029834 - -282039471029834.2801722893 -282039471029834 - -182039471029834.2801722893 -182039471029834.8297282893 - -282039471029834.2801722893 -282039471029834.8297282893 - -182039471029834.2801722893 -471029834 - -282039471029834 -471029834 - -182039471029834 -471029834.2801722893 - -282039471029834 -471029834.2801722893 - -182039471029834 -471029834.2801722893 - -282039471029834.2838 -471029834.2801722893 - -182039471029834.2838 -471029834 - -282039471029834.2801722893 -471029834 - -182039471029834.2801722893 -471029834.8297282893 - -282039471029834.2801722893 -471029834.8297282893 - -182039471029834.2801722893 -182039471029834 - -471029834 -282039471029834 - -471029834 -182039471029834.2801722893 - -471029834 -282039471029834.2801722893 - -471029834 -182039471029834.2801722893 - -471029834.2838 -282039471029834.2801722893 - -471029834.2838 -182039471029834 - -471029834.2801722893 -282039471029834 - -471029834.2801722893 -182039471029834.8297282893 - -471029834.2801722893 -282039471029834.8297282893 - -471029834.2801722893 --182039471029834 - -282039471029834 --282039471029834 - -182039471029834 --182039471029834.2801722893 - -282039471029834 --282039471029834.2801722893 - -182039471029834 --182039471029834.2801722893 - -282039471029834.2838 --282039471029834.2801722893 - -182039471029834.2838 --182039471029834 - -282039471029834.2801722893 --282039471029834 - -182039471029834.2801722893 --182039471029834.8297282893 - -282039471029834.2801722893 --282039471029834.8297282893 - -182039471029834.2801722893 --471029834 - -282039471029834 --471029834 - -182039471029834 --471029834.2801722893 - -282039471029834 --471029834.2801722893 - -182039471029834 --471029834.2801722893 - -282039471029834.2838 --471029834.2801722893 - -182039471029834.2838 --471029834 - -282039471029834.2801722893 --471029834 - -182039471029834.2801722893 --471029834.8297282893 - -282039471029834.2801722893 --471029834.8297282893 - -182039471029834.2801722893 --182039471029834 - -471029834 --282039471029834 - -471029834 --182039471029834.2801722893 - -471029834 --282039471029834.2801722893 - -471029834 --182039471029834.2801722893 - -471029834.2838 --282039471029834.2801722893 - -471029834.2838 --182039471029834 - -471029834.2801722893 --282039471029834 - -471029834.2801722893 --182039471029834.8297282893 - -471029834.2801722893 --282039471029834.8297282893 - -471029834.2801722893 diff --git a/tests/fuzzing/bc_inputs3/trunc.txt b/tests/fuzzing/bc_inputs3/trunc.txt deleted file mode 100644 index 364bb224a2e..00000000000 --- a/tests/fuzzing/bc_inputs3/trunc.txt +++ /dev/null @@ -1,15 +0,0 @@ -0$ -1$ -2$ -0.8249167203486$ -1.28937150237$ -2.0$ -28937.92837605126$ -2890.000000000$ --1$ --1.128973$ --9812387.28910273$ -x = 83.298 -x$ -x = -1893.19 -(x)$ diff --git a/tests/fuzzing/bc_inputs3/void.txt b/tests/fuzzing/bc_inputs3/void.txt deleted file mode 100644 index b85d70c8590..00000000000 --- a/tests/fuzzing/bc_inputs3/void.txt +++ /dev/null @@ -1,20 +0,0 @@ -define void stuff(x) { - print "x: ", x, "\n" -} - -define void(x) { - return x -} - -stuff(0) -stuff(1) -stuff(2.2839) -stuff(-9.9289389) - -void(0) -void(1) -void(2.9823) -void(-3.5982) - -void = .198389 -void + 10 diff --git a/tests/fuzzing/dc_inputs/01.txt b/tests/fuzzing/dc_inputs/01.txt deleted file mode 100644 index 9622de95a24..00000000000 --- a/tests/fuzzing/dc_inputs/01.txt +++ /dev/null @@ -1,2 +0,0 @@ -[[000000000 -00000] diff --git a/tests/fuzzing/dc_inputs/02.txt b/tests/fuzzing/dc_inputs/02.txt deleted file mode 100644 index 79565935cf2..00000000000 --- a/tests/fuzzing/dc_inputs/02.txt +++ /dev/null @@ -1,5 +0,0 @@ -0 R -2 1 -1 0+pRpp -30.x -[00000000]ip1+pR diff --git a/tests/fuzzing/dc_inputs/03.txt b/tests/fuzzing/dc_inputs/03.txt deleted file mode 100644 index ecede2e0562..00000000000 --- a/tests/fuzzing/dc_inputs/03.txt +++ /dev/null @@ -1,2 +0,0 @@ -0 lip1-si0l0+200sx_9lq+pR 30.x -[li100L0dp1+s+sX10lM<0]sL0sJlLx diff --git a/tests/fuzzing/dc_inputs/04.txt b/tests/fuzzing/dc_inputs/04.txt deleted file mode 100644 index 209f50c16d5..00000000000 --- a/tests/fuzzing/dc_inputs/04.txt +++ /dev/null @@ -1,9 +0,0 @@ -zp100000000.000004p1+pR -0 1 1+kpR -1 1+pR -1 0IpR -2 9+iR -037 483+pR -999 999+pR -237467456283846vpR -.0000000ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddsdddddddddddddddddddddddddddddddddddddddddddddddddddddsdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddfddddddddddddddddddddddddddddddddddddddddddddddddddddddcdddddddddddd9000000000000000000 diff --git a/tests/fuzzing/dc_inputs/05.txt b/tests/fuzzing/dc_inputs/05.txt deleted file mode 100644 index bf2ca982ed2..00000000000 --- a/tests/fuzzing/dc_inputs/05.txt +++ /dev/null @@ -1,3 +0,0 @@ -04000000000000300sx_9000.00000syzpRlxlq+pR -30.x -[li1000000sxL0LLLL900000.00000sLLL]sL0s0lLx diff --git a/tests/fuzzing/dc_inputs/06.txt b/tests/fuzzing/dc_inputs/06.txt deleted file mode 100644 index eff417eb55b..00000000000 --- a/tests/fuzzing/dc_inputs/06.txt +++ /dev/null @@ -1 +0,0 @@ -00Q;pd60 p d9S06+00I;pd60Q2 0^pR diff --git a/tests/fuzzing/dc_inputs/07.txt b/tests/fuzzing/dc_inputs/07.txt deleted file mode 100644 index 8a09152faf5..00000000000 --- a/tests/fuzzing/dc_inputs/07.txt +++ /dev/null @@ -1,3 +0,0 @@ -1 0 1|dR -1 [li0L]SL10sildR -1 [li0L]sL10|Lx diff --git a/tests/fuzzing/dc_inputs/08.txt b/tests/fuzzing/dc_inputs/08.txt deleted file mode 100644 index 156de2f536b..00000000000 --- a/tests/fuzzing/dc_inputs/08.txt +++ /dev/null @@ -1 +0,0 @@ -0 2+p[lip1-si0li!=0^di>0]S098sil0x diff --git a/tests/fuzzing/dc_inputs/09.txt b/tests/fuzzing/dc_inputs/09.txt deleted file mode 100644 index ffc3a08908d..00000000000 --- a/tests/fuzzing/dc_inputs/09.txt +++ /dev/null @@ -1,9 +0,0 @@ -#00000 -0sm[Nx]0s0[]0s0x[]zs0x[]0s0[]zs0c -0s0[Nx]0s0[]zs0x[]zs0x[Nx]0s0[]zs0#000000000 -0s0[Nx]0s_[]zs0x[li]zs^x[l0000000]0sm[]zs0x[liNx]zs0x[li;0lilix] -x[liN]zsWx[liN]zs0x[li;0lilix] -x[liNzs0x#000000000 -*sm[Nx]0sm[]zs0x[li]zs0x[Nx]0sm[]zsdc -0sm[Nx]0sm[]zs0x[li]zs0x[Nx]0sm[]x]zsxx#000000000 -*s0[Nx]0sm[]0s00[00]zs0x[Nx]0sm[]z0dc diff --git a/tests/fuzzing/dc_inputs/10.txt b/tests/fuzzing/dc_inputs/10.txt deleted file mode 100644 index 0fade4bb899..00000000000 --- a/tests/fuzzing/dc_inputs/10.txt +++ /dev/null @@ -1,11 +0,0 @@ -#0000 -0sm[Nx]0sm[]0s0x[li]0s0x[Nfvfff[]0sm[]zs0x[li]zs0x[Nx]0sm[]zs0c -0sm[Nx]0sm[]x[li]zs0x[Nx]0sm[]zs0c -0sm[Nx]0sm[]zs0x[li]zs0x[Nx]0sm[]zs0c -0sm[Nx]0sm[]zs0x[li]zs0x[Nx]0sm[]zs0#000000000 -0sm[Nx]0s0[]zs0x[li]zs0x[0000000000]0sm[]zs0x[liNx]zs0x[li;0l0l0x] -x[liNx]zs0x#000000000 -0sm[Nx]0sm[]zs0x[li]zs0x[000]0sm[]x[li]zs0x[Nx]0sm[]zs0c -0sm[Nx]0sm[]zs0x[li]zs0x[Nx]0sm[]zs0#0000 -0sm[Nx]0sm[]zs0x[li]zs0x[Nx]0sm[]zs0#000000000 -0sm[Nx]0s_@]zs0x[li]s^x[0000000000]0s0[]zsW[0000]zsxx[000000000] diff --git a/tests/fuzzing/dc_inputs/11.txt b/tests/fuzzing/dc_inputs/11.txt deleted file mode 100644 index 73bbc7d88f1..00000000000 --- a/tests/fuzzing/dc_inputs/11.txt +++ /dev/null @@ -1,4 +0,0 @@ -#00000000 -[[00000]aa]sM[lip1-si0li>0eM]s010sil0x -[[0000]00]sM[]s010sil0x -[R]sM[lip=000]s0;0 diff --git a/tests/fuzzing/dc_inputs/12.txt b/tests/fuzzing/dc_inputs/12.txt deleted file mode 100644 index aff25e7381c..00000000000 --- a/tests/fuzzing/dc_inputs/12.txt +++ /dev/null @@ -1,2 +0,0 @@ -1;09R0si[lii000000000000000000000000000000000000000000]li1000 2346dvdddd;ddddddddddddd?-sdddddddddd0+dd0 1+pR -0dvdddd;ddSddddddddddd 0si[lid1+sil0sili10li?-s0]dsxx[00000000]li1000 2000dvddddddddddddddddddddddddd0 0+ddd 1+pR diff --git a/tests/fuzzing/dc_inputs/13.txt b/tests/fuzzing/dc_inputs/13.txt deleted file mode 100644 index e6af9463e38..00000000000 --- a/tests/fuzzing/dc_inputs/13.txt +++ /dev/null @@ -1,7 +0,0 @@ -zp10[00000000\00]pppppppppppppppR -_1 _1(pR -_1 _2(pR -2 1{pR -_1 1{pR 990+pR -2000000 300000300000000+pR -2070000000aaaaaaaaaaaaaaxaaaaaaaaaaaaR diff --git a/tests/fuzzing/dc_inputs/14.txt b/tests/fuzzing/dc_inputs/14.txt deleted file mode 100644 index 741f3bfd770..00000000000 --- a/tests/fuzzing/dc_inputs/14.txt +++ /dev/null @@ -1,7 +0,0 @@ -0bpR -1bpR -.200000bpR -100000.0000600bpR -_10bpR -_.1000000bpR -_30000.00bpR: \ No newline at end of file diff --git a/tests/fuzzing/dc_inputs/15.txt b/tests/fuzzing/dc_inputs/15.txt deleted file mode 100644 index 828e8204a2a..00000000000 --- a/tests/fuzzing/dc_inputs/15.txt +++ /dev/null @@ -1,11 +0,0 @@ -0bpax1bpR -1bpR -.30b900pR -_10bp/90 -_30_.1/10bp30_.1/90 -_300.1/90/90 -_30_.1/90 -_30000.1/90 -90 -_30000.1/90 -70.000 70u diff --git a/tests/fuzzing/dc_inputs/16.txt b/tests/fuzzing/dc_inputs/16.txt deleted file mode 100644 index b021dd66d7f..00000000000 --- a/tests/fuzzing/dc_inputs/16.txt +++ /dev/null @@ -1 +0,0 @@ -0 0;^dddddRps0R@s016dddRRd^2ddRZ(b-P;;$p;;;;;;9;;;;;;$ppppppppppppp30 diff --git a/tests/fuzzing/dc_inputs/17.txt b/tests/fuzzing/dc_inputs/17.txt deleted file mode 100644 index fb46510fc3e..00000000000 --- a/tests/fuzzing/dc_inputs/17.txt +++ /dev/null @@ -1,20 +0,0 @@ -0 1(pR -1;;;;;pR -1 -0 18d[0000000 -000000000000000000000000000000]sM[liv1-si0li!<0pR -_1 0{pR -_1 _1{pR -_1 f0070000000000.0000000000000_10000000000006.00000000000005~pRpR -_23745860900000.070000000000000 _0.20542357869124050~pRpR -_3000000000000000.0000000700000006002 _7000000000000005000000000.000F000000000000003~pRpR20000000 300000000003.00000000000000030~pRpR -_30000000000000000000000000 -1 0.001.00000000030 -1 0.000000000000000000000000000000000000000000000000000000000000000000002x30000000000000000000000000000000000000$80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<0800000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000.000F000000000000003~pRpR20000000 300000000003.00000000000000030~pRpR -_30000000000000.00000000000 -1 0.070.70000000000 -1 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000$80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000S8800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Z800000000000 -_10pR -=390NpR -_2000 -40000 5000C 2i>0eM]s01@sil0x diff --git a/tests/fuzzing/dc_inputs/18.txt b/tests/fuzzing/dc_inputs/18.txt deleted file mode 100644 index ed2659d097c..00000000000 --- a/tests/fuzzing/dc_inputs/18.txt +++ /dev/null @@ -1,3 +0,0 @@ -1oVVf[li;WORli1S0Zli1;rORli1dH|2li@d-NliO+rK28729@9547628O745/pR -_29307546189299999999999999999999999999999999999995 0.00000000000000000000000000009999999999999999999+99$9999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999995 0.0000000000000000000000000000000000R0000000000000000000000000000000000000+0000000000000000-0000000000000000000005+pR -99999999999999999999999999999999999999999999999999999999999.999999999999999999999.99999999999999999999999999999999999999999900000000000000000000000R0000000000000000000000000000000000000+0000000000000000-0000000000000000000005+pR999999999999999999999999999999999999999999 0.00000000000000000000000000000000000000000000000000000000000C0020P00000000000000000000000000000000000007fli1+7fli1+si;d7dli1+si;0=Rls1d:0li +i100>x]dsxx[0000000]dsxx[p000]l010000000 00000000000pR diff --git a/tests/fuzzing/dc_inputs/19.txt b/tests/fuzzing/dc_inputs/19.txt deleted file mode 100644 index df417b4ab6d..00000000000 --- a/tests/fuzzing/dc_inputs/19.txt +++ /dev/null @@ -1 +0,0 @@ -þ0000000000000000000000000000000 diff --git a/tests/fuzzing/dc_inputs/20.txt b/tests/fuzzing/dc_inputs/20.txt deleted file mode 100644 index aa7752a85c6..00000000000 --- a/tests/fuzzing/dc_inputs/20.txt +++ /dev/null @@ -1,3 +0,0 @@ -#0000 -I20PPrP PPPP PPs0daP1:0pR - PPP1d:0pRR diff --git a/tests/fuzzing/dc_inputs/21.txt b/tests/fuzzing/dc_inputs/21.txt deleted file mode 100644 index 01707d8256b..00000000000 --- a/tests/fuzzing/dc_inputs/21.txt +++ /dev/null @@ -1,5 +0,0 @@ -0bpR -1bpR -.200000bpR -100000.0000600bpR -S09bpR diff --git a/tests/fuzzing/dc_inputs/22.txt b/tests/fuzzing/dc_inputs/22.txt deleted file mode 100644 index 89818464992..00000000000 --- a/tests/fuzzing/dc_inputs/22.txt +++ /dev/null @@ -1,36 +0,0 @@ -[0000000000000]ZpR -[He00 -[0000000\00000000]00 -[0000000\00000000]000 -[0000000\00000000]00 -[0000] -00000] -[28pR] -[27pR] -[26pR] -[25pR] -[24pR] -[23pR] -[22pR] -[21pR] -[20pR] -[19pR] -[18pR] -[17pR] -[16pR] -[15pR] -[14pR] -[13pR] -[12pR] -[11pR] -[10pR] -[9pR] -[8pR] -[7pR] -[6pR] -[5pR] -[4pR] -[3pR] -[2pR] -[1pR] -[xz0x]dsxx0sx0s0 -1 2 -s0[l0d:0l01;0d:0l01;0pRl01+s0l010>x]dsxx0sx0s0 -1 2 -€ diff --git a/tests/fuzzing/dc_inputs/26.txt b/tests/fuzzing/dc_inputs/26.txt deleted file mode 100644 index 731d3969ac3..00000000000 --- a/tests/fuzzing/dc_inputs/26.txt +++ /dev/null @@ -1,155 +0,0 @@ -0bpR -1bp0 -.20bpR -100000.0000005bpR -_10bpR -_.1000[l0;0;rpRl01+s0l010>x]dsxx0sx0s0 -1 2+p+p -3+p -4+p -5+p -6+p -7+p -8+p -9+p -10+p -11+p -12+p -13+p -14+p -15+p -16+p -17+p -18+p -19+p -20+p -21+0+p -71+o -70+p -70+p -70+p -70+p -22+p -20+p -20+p -20+p -20+p -20+p -20+p -20+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -40+1+p -40+p -40+p -40+p -40+p -40+p -40+p -40+p -40+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -60+p -60+p -60bpR -1bp0 -.20bpR -100000.0070000bpR -_10bpR -_.1000[l0;0;rpRl01+s0l010>x]dsxx0sx0s0 -1 2+p+p -3+p -4+p -5+p -6+p -7+p -8+p -9+p -10+p -11+p -12+p -13+p -14+p -15+p -16+p -17+p -18+p -19+p -20+p -21+0+p -71+o -70+p -70+p -70+p -70+p -22+p -20+p -20+p -20+p -20+p -20+p -20+p -20+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -30+p -40+1+p -40+p -40+p -40+p -40+p -40+p -40+p -40+p -40+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -50+p -60+p -60+p -60+p -60+p -60+p -60+p -60+p -60 -70+p -70+p -70+p -70+p -70+p -70+p -70+p -80+p -È diff --git a/tests/fuzzing/dc_inputs/27.txt b/tests/fuzzing/dc_inputs/27.txt deleted file mode 100644 index 69745b952af..00000000000 --- a/tests/fuzzing/dc_inputs/27.txt +++ /dev/null @@ -1,2 +0,0 @@ -"0000000\ - diff --git a/tests/fuzzing/dc_inputs/28.txt b/tests/fuzzing/dc_inputs/28.txt deleted file mode 100644 index fe81732b3e3..00000000000 --- a/tests/fuzzing/dc_inputs/28.txt +++ /dev/null @@ -1 +0,0 @@ -10 4%0:i[000] 1:b 0;0 p 1;b0:b [000] 1:b 0;b p 1;b~b 0;b p 0;b~~~0k diff --git a/tests/fuzzing/dc_inputs/29.txt b/tests/fuzzing/dc_inputs/29.txt deleted file mode 100644 index 886eb8ee0a8..00000000000 --- a/tests/fuzzing/dc_inputs/29.txt +++ /dev/null @@ -1,13 +0,0 @@ -10 4%0:b [200] 1:b 0;b 1;b X - 2000 1%p0 -3460:b [200] 1:b 0;b p bp0 -.2 1%pR -6 4%pR -10 4%0:b [200] 1:b 0;b p 1;b X - 20000 1%pR -b 0;b p 0;b2 -1bpb [200] 1:u 0;b p 1;b X - 2 -[000] 0:b [200] 0:b 0;b p S0b p -[s0]XpR - diff --git a/tests/fuzzing/dc_inputs/30.txt b/tests/fuzzing/dc_inputs/30.txt deleted file mode 100644 index e072e71617d..00000000000 --- a/tests/fuzzing/dc_inputs/30.txt +++ /dev/null @@ -1 +0,0 @@ -0;0[]0:b;bs0l0x;0 diff --git a/tests/fuzzing/dc_inputs/31.txt b/tests/fuzzing/dc_inputs/31.txt deleted file mode 100644 index 9bada9d07d0..00000000000 --- a/tests/fuzzing/dc_inputs/31.txt +++ /dev/null @@ -1 +0,0 @@ -0;0[]0:b;bS0l0x;0 diff --git a/tests/fuzzing/dc_inputs/abs.txt b/tests/fuzzing/dc_inputs/abs.txt deleted file mode 100644 index 9907dfc6679..00000000000 --- a/tests/fuzzing/dc_inputs/abs.txt +++ /dev/null @@ -1,7 +0,0 @@ -0bpR -1bpR -.218933bpR -138963.9873645bpR -_19bpR -_.1298376bpR -_3892173.289375bpR diff --git a/tests/fuzzing/dc_inputs/add.txt b/tests/fuzzing/dc_inputs/add.txt deleted file mode 100644 index 42da2f1f309..00000000000 --- a/tests/fuzzing/dc_inputs/add.txt +++ /dev/null @@ -1,33 +0,0 @@ -0 0+pR -0 0 0++pR -0 1+pR -0 1 1++pR -1 1+pR -1 0+pR -2 5+pR -237 483+pR -999 999+pR -2374623 324869356734856+pR -2378639084586723980562 23468729367839+pR -37298367203972395108367910823465293084561329084561390845613409516734503870691837451 785621394067928346918023476190834672198467134908618723249671349062187346898241093486139046139084613490817356023871869102746182749061872609129847+pR -1.1 0+pR -0 1.1+pR -457283.731284923576 37842934672834.3874629385672354+pR -1.0 0.1+pR -3746289134067138046 0.138375863945672398456712389456273486293+pR -_1 _1+pR -_4 _15+pR -_1346782 _1287904651762468913476+pR -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001+pR -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999995 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005+pR -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001+pR -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999899999999999999999999999999999999999999999999999999999999999999 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001+pR -99999999999999999999999999999999999989999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001+pR -_1889985797 2012747315+pR -0 _14338.391079082+pR -_2422297 1.3134942556+pR -_1289374 1289374.2893417 0.238971 28937.28971+++pR -1289374 1289374.2893417 _0.238971 28937.28971+++pR -1289374 1289374.2893417 0.238971 _28937.28971+++pR -1289374 1289374.2893417 _0.238971 _28937.28971+++pR -1289374 _1289374.2893417 _0.238971 _28937.28971+++pR diff --git a/tests/fuzzing/dc_inputs/array.dc b/tests/fuzzing/dc_inputs/array.dc deleted file mode 100644 index 970f29a6876..00000000000 --- a/tests/fuzzing/dc_inputs/array.dc +++ /dev/null @@ -1,2 +0,0 @@ -#! /usr/bin/dc -0si[lid:rli1+sili100>x]dsxx[li;rpRli1-sili100!>x]li1+[li;rpRli1+sili100>x] diff --git a/tests/fuzzing/dc_inputs/boolean.txt b/tests/fuzzing/dc_inputs/boolean.txt deleted file mode 100644 index 815100f0d08..00000000000 --- a/tests/fuzzing/dc_inputs/boolean.txt +++ /dev/null @@ -1,80 +0,0 @@ -0 1(pR -1 1(pR -2 1(pR -_1 1(pR -_1 0(pR -_1 _1(pR -_1 _2(pR -0 1{pR -1 1{pR -2 1{pR -_1 1{pR -_1 0{pR -_1 _1{pR -_1 _2{pR -0 1)pR -1 1)pR -2 1)pR -_1 1)pR -_1 0)pR -_1 _1)pR -_1 _2)pR -0 1}pR -1 1}pR -2 1}pR -_1 1}pR -_1 0}pR -_1 _1}pR -_1 _2}pR -0 0GpR -0 1GpR -1 0GpR -_1 _1GpR -0 _1GpR -_1 0GpR -1 1GpR -238 2GpR -0NpR -1NpR -_1NpR -2398NpR -_2983.2389NpR -0 0MpR -1 0MpR -0 1MpR -1 1MpR -128973240 0MpR -0 2893712MpR -1982 28937MpR -_2938 0MpR -0 _1023.298037MpR -0.283917 0MpR -2389 _1208.28937MpR -0 289.289372MpR -_298.29387 0MpR -_2983.28973 82937MpR -0 _2938.320837MpR -_2089.2308 0MpR -_0.2893 _2938.28973MpR -0.00000 1892MpR -1289.023 .0000MpR -0 0mpR -1 0mpR -0 1mpR -1 1mpR -128973240 0mpR -0 2893712mpR -1982 28937mpR -_2938 0mpR -0 _1023.298037mpR -0.283917 0mpR -2389 _1208.28937mpR -0 289.289372mpR -_298.29387 0mpR -_2983.28973 82937mpR -0 _2938.320837mpR -_2089.2308 0mpR -_0.2893 _2938.28973mpR -0.00000 1892mpR -1289.023 .0000mpR -0.0000 .00000mpR diff --git a/tests/fuzzing/dc_inputs/decimal.txt b/tests/fuzzing/dc_inputs/decimal.txt deleted file mode 100644 index ebbb2dc91b3..00000000000 --- a/tests/fuzzing/dc_inputs/decimal.txt +++ /dev/null @@ -1,36 +0,0 @@ -0pR -0.0pR -.0000pR -000000000000000000000000.00000000000000000000000pR -000000000000000000000000000135482346782356pR -000000000000000000000000002pR -1pR -11pR -123pR -7505pR -1023468723275435238491972521917846pR -4343472432431705867392073517038270398027352709027389273920739037937960379637893607893607893670530278200795207952702873892786172916728961783907893607418973587857386079679267926737520730925372983782793652793pR -_1pR -_203pR -_57pR -_18586pR -_31378682943772818461924738352952347258pR -_823945628745673589495067238723986520375698237620834674509627345273096287563846592384526349872634895763257893467523987578690283762897568459072348758071071087813501875908127359018715023841710239872301387278pR -.123521346523546pR -0.1245923756273856pR -_.1024678456387pR -_0.8735863475634587pR -4.0pR -_6.0pR -234237468293576.000000000000000000000000000000pR -23987623568943567.00000000000000000005677834650000000000000pR -23856934568940675.000000000000000435676782300000000000000456784pR -77567648698496.000000000000000000587674750000000000458563800000000000000pR -2348672354968723.2374823546000000000003256987394502346892435623870000000034578pR -_2354768.000000000000000000000000000000000000pR -_96739874567.000000000347683456pR -_3764568345.000000000004573845000000347683460pR -_356784356.934568495770004586495678300000000pR -74325437345273852773827101738273127312738521733017537073520735207307570358738257390761276072160719802671980267018728630178.7082681027680521760217867841276127681270867827821768173178207830710978017738178678012767377058785378278207385237085237803278203782037237582795870pR -_756752732785273851273728537852738257837283678965738527385272983678372867327835672967385278372637862738627836279863782673862783670.71738178361738718367186378610738617836781603760178367018603760178107735278372832783728367826738627836278378260736270367362073867097307925pR -9812734012837410982345719208345712908357412903587192048571920458712.23957182459817249058172945781pR diff --git a/tests/fuzzing/dc_inputs/divide.txt b/tests/fuzzing/dc_inputs/divide.txt deleted file mode 100644 index 38b874e9f17..00000000000 --- a/tests/fuzzing/dc_inputs/divide.txt +++ /dev/null @@ -1,33 +0,0 @@ -20k -0 1/pR -0 321566/pR -0 0.3984567238456/pR -1 1/pR -1 1287469297356/pR -1 0.2395672438567234/pR -1 237586239856.0293596728392360/pR -1249687284356 3027949207835207/pR -378617298617396719 35748521/pR -9348576237845624358 0.9857829375461/pR -35768293846193284 2374568947.045762839567823/pR -_78987234567812345 876542837618936/pR -_356789237555535468 0.3375273860984786903/pR -_5203475364850390 435742903748307.70869378534043296404530458/pR -_0.37861723347576903 7385770896/pR -_0.399454682043962 0.34824389304/pR -_0.6920414523873204 356489645223.76076045304879030/pR -_35872917389671.7573280963748 73924708/pR -_78375896314.4836709876983 0.78356798637817/pR -_2374123896417.143789621437581 347821469423789.1473856783960/pR -_896729350238549726 _34976289345762/pR -_2374568293458762348596 _0.8792370647234987679/pR -_237584692306721845726038 _21783910782374529637.978102738746189024761/pR -_0.23457980123576298375682 _1375486293874612/pR -_0.173897061862478951264 _0.8179327486017634987516298745/pR -_0.9186739823576829347586 _0.235678293458756239846/pR -_0.9375896183746982374568 _13784962873546.0928729395476283745/pR -_2930754618923467.12323745862937465 _734869238465/pR -_23745861923467.874675129834675 _0.23542357869124756/pR -_3878923750692883.7238596702834756902 _7384192674957215364986723.9738461923487621983/pR -1 0.00000000000000000000000000000000000000000002346728372937352457354204563027/pR -239854711289345712 2891374 182 .2893 ///pR diff --git a/tests/fuzzing/dc_inputs/divmod.txt b/tests/fuzzing/dc_inputs/divmod.txt deleted file mode 100644 index 1633203ff99..00000000000 --- a/tests/fuzzing/dc_inputs/divmod.txt +++ /dev/null @@ -1,64 +0,0 @@ -20k -0 1~pRpR -0 321566~pRpR -0 0.3984567238456~pRpR -1 1~pRpR -1 1287469297356~pRpR -1 0.2395672438567234~pRpR -1 237586239856.0293596728392360~pRpR -1249687284356 3027949207835207~pRpR -378617298617396719 35748521~pRpR -9348576237845624358 0.9857829375461~pRpR -35768293846193284 2374568947.045762839567823~pRpR -_78987234567812345 876542837618936~pRpR -_356789237555535468 0.3375273860984786903~pRpR -_5203475364850390 435742903748307.70869378534043296404530458~pRpR -_0.37861723347576903 7385770896~pRpR -_0.399454682043962 0.34824389304~pRpR -_0.6920414523873204 356489645223.76076045304879030~pRpR -_35872917389671.7573280963748 73924708~pRpR -_78375896314.4836709876983 0.78356798637817~pRpR -_2374123896417.143789621437581 347821469423789.1473856783960~pRpR -_896729350238549726 _34976289345762~pRpR -_2374568293458762348596 _0.8792370647234987679~pRpR -_237584692306721845726038 _21783910782374529637.978102738746189024761~pRpR -_0.23457980123576298375682 _1375486293874612~pRpR -_0.173897061862478951264 _0.8179327486017634987516298745~pRpR -_0.9186739823576829347586 _0.235678293458756239846~pRpR -_0.9375896183746982374568 _13784962873546.0928729395476283745~pRpR -_2930754618923467.12323745862937465 _734869238465~pRpR -_23745861923467.874675129834675 _0.23542357869124756~pRpR -_3878923750692883.7238596702834756902 _7384192674957215364986723.9738461923487621983~pRpR -1 0.00000000000000000000000000000000000000000002346728372937352457354204563027~pRpR -0k -0 1~pRpR -0 321566~pRpR -0 0.3984567238456~pRpR -1 1~pRpR -1 1287469297356~pRpR -1 0.2395672438567234~pRpR -1 237586239856.0293596728392360~pRpR -1249687284356 3027949207835207~pRpR -378617298617396719 35748521~pRpR -9348576237845624358 0.9857829375461~pRpR -35768293846193284 2374568947.045762839567823~pRpR -_78987234567812345 876542837618936~pRpR -_356789237555535468 0.3375273860984786903~pRpR -_5203475364850390 435742903748307.70869378534043296404530458~pRpR -_0.37861723347576903 7385770896~pRpR -_0.399454682043962 0.34824389304~pRpR -_0.6920414523873204 356489645223.76076045304879030~pRpR -_35872917389671.7573280963748 73924708~pRpR -_78375896314.4836709876983 0.78356798637817~pRpR -_2374123896417.143789621437581 347821469423789.1473856783960~pRpR -_896729350238549726 _34976289345762~pRpR -_2374568293458762348596 _0.8792370647234987679~pRpR -_237584692306721845726038 _21783910782374529637.978102738746189024761~pRpR -_0.23457980123576298375682 _1375486293874612~pRpR -_0.173897061862478951264 _0.8179327486017634987516298745~pRpR -_0.9186739823576829347586 _0.235678293458756239846~pRpR -_0.9375896183746982374568 _13784962873546.0928729395476283745~pRpR -_2930754618923467.12323745862937465 _734869238465~pRpR -_23745861923467.874675129834675 _0.23542357869124756~pRpR -_3878923750692883.7238596702834756902 _7384192674957215364986723.9738461923487621983~pRpR -1 0.00000000000000000000000000000000000000000002346728372937352457354204563027~pRpR diff --git a/tests/fuzzing/dc_inputs/else.dc b/tests/fuzzing/dc_inputs/else.dc deleted file mode 100644 index 84deb8754e9..00000000000 --- a/tests/fuzzing/dc_inputs/else.dc +++ /dev/null @@ -1,4 +0,0 @@ -#! /usr/bin/dc -[[Done!]pR]sM[lip1-si0li>LeM]sL10silLx -[[Done!]pR]sM[lip1-si0li!L]sL10silLx -[lip1+si10lix]dsxxli1-si[li;rpRli1-sili0!>x]dsxxli1+si[li;rpRli1+sili10>x]dsxx0sx0si -1 2+p -[foo] -0 -1+p -2+p -3+p -4+p -5+p -6+p -7+p -8+p -9+p -10+p -11+p -12+p -13+p -14+p -15+p -16+p -17+p -18+p -19+p -20+p -21+p -22+p -23+p -24+p -25+p -26+p -27+p -28+p -29+p -30+p -31+p -32+p -33+p -34+p -35+p -36+p -37+p -38+p -39+p -40+p -41+p -42+p -43+p -44+p -45+p -46+p -47+p -48+p -49+p -50+p -51+p -52+p -53+p -54+p -55+p -56+p -57+p -58+p -59+p -60+p -61+p -62+p -63+p -64+p -65+p -66+p -67+p -68+p -69+p -70+p -71+p -72+p -73+p -74+p -75+p -76+p -77+p -78+p -79+p -80+p -81+p -82+p -83+p -84+p -85+p -86+p -87+p -88+p -89+p -90+p -91+p -92+p -93+p -94+p -95+p -96+p -97+p -98+p -99+p -100+p -101+p -102+p -103+p -104+p -105+p -106+p -107+p -108+p -109+p -110+p -111+p -112+p -113+p -114+p -115+p -116+p -117+p -118+p -119+p -120+p -121+p -122+p -123+p -124+p -125+p -126+p -127+p -128+p -129+p -130+p -131+p -132+p -133+p -134+p -135+p -136+p -137+p -138+p -139+p -140+p -141+p -142+p -143+p -144+p -145+p -146+p -147+p -148+p -149+p -150+p -151+p -152+p -153+p -154+p -155+p -156+p -157+p -158+p -159+p -160+p -161+p -162+p -163+p -164+p -165+p -166+p -167+p -168+p -169+p -170+p -171+p -172+p -173+p -174+p -175+p -176+p -177+p -178+p -179+p -180+p -181+p -182+p -183+p -184+p -185+p -186+p -187+p -188+p -189+p -190+p -191+p -192+p -193+p -194+p -195+p -196+p -197+p -198+p -199+p -200+p -p diff --git a/tests/fuzzing/dc_inputs/stream.dc b/tests/fuzzing/dc_inputs/stream.dc deleted file mode 100755 index 5c61e7c931f..00000000000 --- a/tests/fuzzing/dc_inputs/stream.dc +++ /dev/null @@ -1,2 +0,0 @@ -#! /usr/bin/dc -0si[liPlid1+sili4096>x]ddsxPx diff --git a/tests/fuzzing/dc_inputs/strings.txt b/tests/fuzzing/dc_inputs/strings.txt deleted file mode 100644 index 369d8e1dd84..00000000000 --- a/tests/fuzzing/dc_inputs/strings.txt +++ /dev/null @@ -1,50 +0,0 @@ -[Hello, World!]ZpR -[Hello, World!]pR -[Hello, \[ World!]ZpR -[Hello, \[ World!]pR -[Hello, \] World!]ZpR -[Hello, \] World!]pR -[30pR] -[29pR] -[28pR] -[27pR] -[26pR] -[25pR] -[24pR] -[23pR] -[22pR] -[21pR] -[20pR] -[19pR] -[18pR] -[17pR] -[16pR] -[15pR] -[14pR] -[13pR] -[12pR] -[11pR] -[10pR] -[9pR] -[8pR] -[7pR] -[6pR] -[5pR] -[4pR] -[3pR] -[2pR] -[1pR] -[xz0 /dev/null 2>&1 - -checktest_retcode "$d" "$?" "quit" - -if [ "$d" = bc ]; then - - printf '%s\n' "quit" | "$exe" "$@" > /dev/null 2>&1 - - checktest_retcode "$d" "$?" quit - - two=$("$exe" "$@" -e 1+1 -e quit) - - checktest_retcode "$d" "$?" quit - - if [ "$two" != "2" ]; then - err_exit "$d failed test quit" 1 - fi -fi - -printf 'pass\n' - -base=$(basename "$exe") - -if [ "$base" != "bc" -a "$base" != "dc" ]; then - exit 0 -fi - -printf 'Running %s environment var tests...' "$d" - -if [ "$d" = "bc" ]; then - - export BC_ENV_ARGS=" '-l' '' -q" - export BC_EXPR_EXIT="1" - - printf 's(.02893)\n' | "$exe" "$@" > /dev/null - - checktest_retcode "$d" "$?" "environment var" - - "$exe" -e 4 "$@" > /dev/null - - err="$?" - checktest_retcode "$d" "$?" "environment var" -else - - export DC_ENV_ARGS="'-x'" - export DC_EXPR_EXIT="1" - - printf '4s stuff\n' | "$exe" "$@" > /dev/null - - checktest_retcode "$d" "$?" "environment var" - - "$exe" -e 4pR "$@" > /dev/null - - checktest_retcode "$d" "$?" "environment var" -fi - -printf 'pass\n' - -out1="$testdir/../.log_$d.txt" -out2="$testdir/../.log_${d}_test.txt" - -printf 'Running %s line length tests...' "$d" - -printf '%s\n' "$numres" > "$out1" - -export "$line_var"=80 -printf '%s\n' "$num" | "$exe" "$@" > "$out2" - -checktest "$d" "$?" "environment var" "$out1" "$out2" - -printf '%s\n' "$num70" > "$out1" - -export "$line_var"=2147483647 -printf '%s\n' "$num" | "$exe" "$@" > "$out2" - -checktest "$d" "$?" "environment var" "$out1" "$out2" - -printf 'pass\n' - -printf 'Running %s arg tests...' "$d" - -f="$testdir/$d/add.txt" -exprs=$(cat "$f") -results=$(cat "$testdir/$d/add_results.txt") - -printf '%s\n%s\n%s\n%s\n' "$results" "$results" "$results" "$results" > "$out1" - -"$exe" "$@" -e "$exprs" -f "$f" --expression "$exprs" --file "$f" -e "$halt" > "$out2" - -checktest "$d" "$?" "arg" "$out1" "$out2" - -printf '%s\n' "$halt" | "$exe" "$@" -- "$f" "$f" "$f" "$f" > "$out2" - -checktest "$d" "$?" "arg" "$out1" "$out2" - -if [ "$d" = "bc" ]; then - printf '%s\n' "$halt" | "$exe" "$@" -i > /dev/null 2>&1 -fi - -printf '%s\n' "$halt" | "$exe" "$@" -h > /dev/null -checktest_retcode "$d" "$?" "arg" -printf '%s\n' "$halt" | "$exe" "$@" -P > /dev/null -checktest_retcode "$d" "$?" "arg" -printf '%s\n' "$halt" | "$exe" "$@" -v > /dev/null -checktest_retcode "$d" "$?" "arg" -printf '%s\n' "$halt" | "$exe" "$@" -V > /dev/null -checktest_retcode "$d" "$?" "arg" - -"$exe" "$@" -f "saotehasotnehasthistohntnsahxstnhalcrgxgrlpyasxtsaosysxsatnhoy.txt" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "invalid file argument" "$out2" "$d" - -"$exe" "$@" "-$opt" -e "$exprs" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "invalid option argument" "$out2" "$d" - -"$exe" "$@" "--$lopt" -e "$exprs" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "invalid long option argument" "$out2" "$d" - -"$exe" "$@" "-u" -e "$exprs" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "unrecognized option argument" "$out2" "$d" - -"$exe" "$@" "--uniform" -e "$exprs" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "unrecognized long option argument" "$out2" "$d" - -"$exe" "$@" -f > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "missing required argument to short option" "$out2" "$d" - -"$exe" "$@" --file > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "missing required argument to long option" "$out2" "$d" - -"$exe" "$@" --version=5 > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "given argument to long option with no argument" "$out2" "$d" - -printf 'pass\n' - -printf 'Running %s directory test...' "$d" - -"$exe" "$@" "$testdir" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "directory" "$out2" "$d" - -printf 'pass\n' - -printf 'Running %s binary file test...' "$d" - -bin="/bin/sh" - -"$exe" "$@" "$bin" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "binary file" "$out2" "$d" - -printf 'pass\n' - -printf 'Running %s binary stdin test...' "$d" - -cat "$bin" | "$exe" "$@" > /dev/null 2> "$out2" -err="$?" - -checkerrtest "$d" "$err" "binary stdin" "$out2" "$d" - -printf 'pass\n' - -if [ "$d" = "bc" ]; then - - printf 'Running %s limits tests...' "$d" - printf 'limits\n' | "$exe" "$@" > "$out2" /dev/null 2>&1 - - checktest_retcode "$d" "$?" "limits" - - if [ ! -s "$out2" ]; then - err_exit "$d did not produce output on the limits test" 1 - fi - - exec printf 'pass\n' - -fi -- 2.45.0