Commit d29802c
authored
Fix two issues to make fuzzing test quit earlier (#3471)
- Add a marco to limit the maxi allocable memory size of fuzz test to
2GB to avoid libFuzzer out-of-memory
- Check global type in load_global_import and load_global_section1 parent a2a8b32 commit d29802c
4 files changed
Lines changed: 27 additions & 3 deletions
File tree
- core
- iwasm/interpreter
- tests/fuzz/wasm-mutator-fuzz
- workspace
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
666 | 679 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
3052 | 3053 | | |
3053 | 3054 | | |
3054 | 3055 | | |
| 3056 | + | |
3055 | 3057 | | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
3056 | 3062 | | |
3057 | 3063 | | |
3058 | 3064 | | |
| |||
4034 | 4040 | | |
4035 | 4041 | | |
4036 | 4042 | | |
| 4043 | + | |
4037 | 4044 | | |
| 4045 | + | |
| 4046 | + | |
| 4047 | + | |
| 4048 | + | |
4038 | 4049 | | |
4039 | 4050 | | |
4040 | 4051 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments