Skip to content

Commit 408aa44

Browse files
authored
Merge pull request #524 from ewasm/fuzzing
Check for status code match in fuzzer
2 parents 7b275a2 + 7d22777 commit 408aa44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/fuzzing/fuzzer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* input, size_t size)
6161

6262
expect(resBinaryen.gas_left == resWabt.gas_left);
6363
expect(resBinaryen.output_size == resWabt.output_size);
64+
expect(resBinaryen.status_code == resWabt.status_code);
6465

6566
if (resBinaryen.release)
6667
resBinaryen.release(&resBinaryen);

0 commit comments

Comments
 (0)