aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-prog2c
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-05-17 12:48:07 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-05-17 11:26:58 +0000
commita12e99e74dfc7cbe54720d8383cec46aaf024a28 (patch)
tree1f53d3842efba0b71cea49b4948c0c24450e47f9 /tools/syz-prog2c
parente09a60f8522234ba7968e421dd9d2e6d86af69db (diff)
pkg/csource: remove the Repro option
Enable it unconditionally.
Diffstat (limited to 'tools/syz-prog2c')
-rw-r--r--tools/syz-prog2c/prog2c.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/syz-prog2c/prog2c.go b/tools/syz-prog2c/prog2c.go
index adb83d73e..6b7394508 100644
--- a/tools/syz-prog2c/prog2c.go
+++ b/tools/syz-prog2c/prog2c.go
@@ -29,7 +29,6 @@ var (
flagHandleSegv = flag.Bool("segv", false, "catch and ignore SIGSEGV")
flagUseTmpDir = flag.Bool("tmpdir", false, "create a temporary dir and execute inside it")
flagTrace = flag.Bool("trace", false, "trace syscall results")
- flagRepro = flag.Bool("repro", false, "add heartbeats used by pkg/repro")
flagStrict = flag.Bool("strict", false, "parse input program in strict mode")
flagLeak = flag.Bool("leak", false, "do leak checking")
flagEnable = flag.String("enable", "none", "enable only listed additional features")
@@ -95,7 +94,6 @@ func main() {
Swap: features["swap"].Enabled,
UseTmpDir: *flagUseTmpDir,
HandleSegv: *flagHandleSegv,
- Repro: *flagRepro,
Trace: *flagTrace,
}
src, err := csource.Write(p, opts)