diff options
author | Thomas Lively <tlively@google.com> | 2022-10-21 14:18:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 19:18:05 +0000 |
commit | 8967e4703f815a4c11f671348accd43ec696af7b (patch) | |
tree | b59974fb1e3c933afcff3a16f755796ae9256a2d /scripts/fuzz_opt.py | |
parent | c25f32dec81d9401efb64cf134aa87991ef21e9d (diff) | |
download | binaryen-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