Commit fe5276a
authored
fuzz: remove unnecessary internal headers from wasm_mutator_fuzz (#4865)
Remove `wasm_runtime_common.h` and `bh_read_file.h` includes from the
wasm_mutator_fuzz harness. All runtime APIs used by this fuzzer
(wasm_runtime_init, wasm_runtime_load, wasm_runtime_instantiate,
wasm_runtime_call_wasm_a, wasm_runtime_get_export_count, etc.) are
declared in the public `wasm_export.h` header.
- `wasm_runtime_common.h` (core/iwasm/common/) is an internal
implementation header not intended for external use.
- `bh_read_file.h` (core/shared/utils/uncommon/) is an internal
utility header whose functions are never called in this fuzzer.
Verified that the modified harness compiles and runs correctly for all
three build targets (classic-interp, fast-interp, llvm-jit) with
identical code coverage.1 parent 0ec91ce commit fe5276a
File tree
1 file changed
+0
-2
lines changed- tests/fuzz/wasm-mutator-fuzz/wasm-mutator
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
0 commit comments