From 05de774c0a6416c061b1be9af1918f4321d4909b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Wed, 7 Oct 2026 12:45:43 +0200 Subject: [PATCH] test(format): pin the macro-layout crashers as corpus seeds The two inputs the expansion round-trip target was built for, the object macro with a parenthesised body and the continuation-only macro body, enter the seed corpus so every plain go test run replays them. Assisted-by: GLM 5.3 --- .../testdata/fuzz/FuzzFormatExpansionRoundTrip/2e57951e124dc12b | 2 ++ .../testdata/fuzz/FuzzFormatExpansionRoundTrip/fab61ade833f43b6 | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 format/testdata/fuzz/FuzzFormatExpansionRoundTrip/2e57951e124dc12b create mode 100644 format/testdata/fuzz/FuzzFormatExpansionRoundTrip/fab61ade833f43b6 diff --git a/format/testdata/fuzz/FuzzFormatExpansionRoundTrip/2e57951e124dc12b b/format/testdata/fuzz/FuzzFormatExpansionRoundTrip/2e57951e124dc12b new file mode 100644 index 0000000..ca0d534 --- /dev/null +++ b/format/testdata/fuzz/FuzzFormatExpansionRoundTrip/2e57951e124dc12b @@ -0,0 +1,2 @@ +go test fuzz v1 +string("#define M() \\\n\tADD $1, R0 \\\n\tSUB $2, R1\nM()\n") diff --git a/format/testdata/fuzz/FuzzFormatExpansionRoundTrip/fab61ade833f43b6 b/format/testdata/fuzz/FuzzFormatExpansionRoundTrip/fab61ade833f43b6 new file mode 100644 index 0000000..914cedc --- /dev/null +++ b/format/testdata/fuzz/FuzzFormatExpansionRoundTrip/fab61ade833f43b6 @@ -0,0 +1,2 @@ +go test fuzz v1 +string("#define M (BX)\nMOVL M, AX\n")