aboutsummaryrefslogtreecommitdiffstats
path: root/prog/size_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-31 20:21:01 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-01 15:20:12 +0100
commitd973f28294d93cf54de9b2b87d4cc8524bb8a28a (patch)
treea88c26c1e1de0afa0340e7213b2738f81f40bb22 /prog/size_test.go
parenta84dec47f0bdc461828c2903429e669fc0fa5e10 (diff)
prog: don't serialize default arguments
This reduces size of a corpus in half. We store corpus on manager and on hub, so this will reduce their memory consumption. But also makes large programs more readable.
Diffstat (limited to 'prog/size_test.go')
-rw-r--r--prog/size_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/size_test.go b/prog/size_test.go
index 2ab28b90b..5ea646ca7 100644
--- a/prog/size_test.go
+++ b/prog/size_test.go
@@ -120,7 +120,7 @@ func TestAssignSize(t *testing.T) {
},
{
"syz_test$length21(&(0x7f0000000000)=0x0, 0x0)",
- "syz_test$length21(&(0x7f0000000000)=0x0, 0x40)",
+ "syz_test$length21(&(0x7f0000000000), 0x40)",
},
{
"syz_test$length22(&(0x7f0000000000)='12345', 0x0)",