mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 19:39:40 +00:00
prog: move ptrSize const to test
It is used only by a single test. Remove it from non-test code.
This commit is contained in:
parent
2cf0659df1
commit
a5c115a64b
@ -38,7 +38,6 @@ const (
|
||||
const (
|
||||
ExecBufferSize = 2 << 20
|
||||
|
||||
ptrSize = 8
|
||||
pageSize = 4 << 10
|
||||
dataOffset = 512 << 20
|
||||
)
|
||||
|
@ -12,6 +12,8 @@ import (
|
||||
"github.com/google/syzkaller/sys"
|
||||
)
|
||||
|
||||
const ptrSize = 8
|
||||
|
||||
func TestSerializeForExecRandom(t *testing.T) {
|
||||
rs, iters := initTest(t)
|
||||
buf := make([]byte, ExecBufferSize)
|
||||
|
Loading…
Reference in New Issue
Block a user