Skip to content

Commit 16aaf14

Browse files
authored
[NFC] Add more reduction docs for Two (#8132)
1 parent 16f7f8d commit 16aaf14

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

scripts/fuzz_opt.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,18 @@ def ensure(self):
18191819
# run) with "second.wasm" as needed.
18201820
#
18211821
# In both cases, make sure to copy the files to a saved location first (do not
1822-
# use a path to the scratch files that get constantly overwritten).
1822+
# use a path to the scratch files that get constantly overwritten). The full
1823+
# process might look like this:
1824+
#
1825+
# * cp out/test/original.wasm first.wasm
1826+
# * cp out/test/second.wasm second.wasm
1827+
# * BINARYEN_FIRST_WASM=`pwd`/first.wasm [copied reducer command, replacing
1828+
# original.wasm with `pwd`/second.wasm]
1829+
# * cp out/test/w.wasm second.reduced.wasm
1830+
# * BINARYEN_SECOND_WASM=`pwd`/second.reduced.wasm [copied reducer command,
1831+
# replacing original.wasm
1832+
# with `pwd`/first.wasm]
1833+
#
18231834
class Two(TestCaseHandler):
18241835
# Run at relatively high priority, as this is the main place we check cross-
18251836
# module interactions.

0 commit comments

Comments
 (0)