aboutsummaryrefslogtreecommitdiffstats
path: root/csource
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2016-11-25 15:53:10 +0100
committerAndrey Konovalov <andreyknvl@google.com>2016-11-25 17:51:41 +0100
commit253a40f30dd55de31e4951a9bb02d02a7c6ba020 (patch)
tree8c4ec6a874c93e307cb5d0e4c5482f83428021ea /csource
parent16491e22d5dd32609c5bfc7cc4e15d463ff47e52 (diff)
sys: add proc type to denote per proccess integers
Diffstat (limited to 'csource')
-rw-r--r--csource/csource.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/csource/csource.go b/csource/csource.go
index 49c15fe72..4464deb5c 100644
--- a/csource/csource.go
+++ b/csource/csource.go
@@ -29,7 +29,7 @@ type Options struct {
}
func Write(p *prog.Prog, opts Options) ([]byte, error) {
- exec := p.SerializeForExec()
+ exec := p.SerializeForExec(0)
w := new(bytes.Buffer)
fmt.Fprint(w, "// autogenerated by syzkaller (http://github.com/google/syzkaller)\n\n")