Skip to content

Commit

Permalink
Adjust syscalls amount
Browse files Browse the repository at this point in the history
  • Loading branch information
techraed committed Oct 2, 2023
1 parent 84b5766 commit e5070a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions utils/node-loader/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ pub fn get_wasm_gen_config(
(SysCallName::Leave, 0..=0),
(SysCallName::Panic, 0..=0),
(SysCallName::OomPanic, 0..=0),
(SysCallName::Send, 2..=3),
(SysCallName::Send, 10..=15),
(SysCallName::Exit, 0..=1),
(SysCallName::Alloc, 1..=3),
(SysCallName::Free, 1..=3),
(SysCallName::Alloc, 3..=6),
(SysCallName::Free, 3..=6),
]
.map(|(sys_call, range)| (InvocableSysCall::Loose(sys_call), range))
.into_iter(),
Expand Down
6 changes: 3 additions & 3 deletions utils/runtime-fuzzer/src/gear_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,10 @@ fn config(
(SysCallName::Leave, 0..=0),
(SysCallName::Panic, 0..=0),
(SysCallName::OomPanic, 0..=0),
(SysCallName::Send, 3..=4),
(SysCallName::Send, 10..=15),
(SysCallName::Exit, 0..=1),
(SysCallName::Alloc, 1..=3),
(SysCallName::Free, 1..=3),
(SysCallName::Alloc, 3..=6),
(SysCallName::Free, 3..=6),
]
.map(|(sys_call, range)| (InvocableSysCall::Loose(sys_call), range))
.into_iter(),
Expand Down

0 comments on commit e5070a6

Please sign in to comment.