mirror of
https://github.com/reactos/syzkaller.git
synced 2024-10-07 09:03:28 +00:00
executor: increase input buffer size
I bumped input buffer size on Go side in:
a2af37f0
prog: increase encodingexec buffer size
But I forgot to increase the size on the executor side.
Do this and add comments re keeping them in sync.
This commit is contained in:
parent
b97dee873b
commit
6805e90523
@ -132,8 +132,8 @@ static int flag_fault_nth;
|
||||
#define SYZ_EXECUTOR 1
|
||||
#include "common.h"
|
||||
|
||||
const int kMaxInput = 4 << 20; // keep in sync with prog.ExecBufferSize
|
||||
const int kMaxCommands = 1000;
|
||||
const int kMaxInput = 2 << 20;
|
||||
|
||||
const uint64 instr_eof = -1;
|
||||
const uint64 instr_copyin = -2;
|
||||
|
@ -49,7 +49,7 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
ExecBufferSize = 4 << 20
|
||||
ExecBufferSize = 4 << 20 // keep in sync with kMaxInput in executor.cc
|
||||
ExecNoCopyout = ^uint64(0)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user