summaryrefslogtreecommitdiff
path: root/scripts/fuzz_opt.py
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-21 14:18:05 -0500
committerGitHub <noreply@github.com>2022-10-21 19:18:05 +0000
commit8967e4703f815a4c11f671348accd43ec696af7b (patch)
treeb59974fb1e3c933afcff3a16f755796ae9256a2d /scripts/fuzz_opt.py
parentc25f32dec81d9401efb64cf134aa87991ef21e9d (diff)
downloadbinaryen-8967e4703f815a4c11f671348accd43ec696af7b.tar.gz
binaryen-8967e4703f815a4c11f671348accd43ec696af7b.tar.bz2
binaryen-8967e4703f815a4c11f671348accd43ec696af7b.zip
[Parser] Parse loads and stores (#5174)
Add parsing functions for `memarg`s, the offset and align fields of load and store instructions. These fields are interesting because they are lexically reserved words that need to be further parsed to extract their actual values. On top of that, add support for parsing all of the load and store instructions. This required fixing a buffer overflow problem in the generated parser code and adding more information to the signatures of the SIMD load and store instructions. `SIMDLoadStoreLane` instructions are particularly interesting because they may require backtracking to parse correctly.
Diffstat (limited to 'scripts/fuzz_opt.py')
0 files changed, 0 insertions, 0 deletions