Skip to content

Commit 9fe824d

Browse files
committed
Fix cmplog arg
1 parent c4e48f8 commit 9fe824d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/executor.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,10 @@ fn hook_opcode_cmplog<'a, D: 'a>(
199199
let cur_loc = afl_hash_ip(address) & (state.map_size - 1);
200200
let k = cur_loc as usize & (CMPLOG_MAP_W - 1);
201201
let shape = match size {
202-
16 => 1,
203-
32 => 3,
204-
64 => 7,
202+
8 => 1,
203+
16 => 2,
204+
32 => 4,
205+
64 => 8,
205206
_ => 0,
206207
};
207208

0 commit comments

Comments
 (0)