summaryrefslogtreecommitdiff
path: root/scripts/gen-s-parser.py
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-06-18 11:13:05 -0700
committerGitHub <noreply@github.com>2024-06-18 18:13:05 +0000
commitc3b9cde9d99efe46fc34af1d5b27351f34962e94 (patch)
tree4b82a3198e329cdffcab3b8c6d16df3922b82632 /scripts/gen-s-parser.py
parent0f9f2dc21a913164c5a8681b93b7db4d383a8c47 (diff)
downloadbinaryen-c3b9cde9d99efe46fc34af1d5b27351f34962e94.tar.gz
binaryen-c3b9cde9d99efe46fc34af1d5b27351f34962e94.tar.bz2
binaryen-c3b9cde9d99efe46fc34af1d5b27351f34962e94.zip
Reject invalid section IDs (#6675)
Rather than treating them as custom sections. Also fix UB where invalid `Section` enum values could be used as keys in a map. Use the raw `uint8_t` section IDs as keys instead. Re-enable a disabled spec test that was failing because of this bug and UB.
Diffstat (limited to 'scripts/gen-s-parser.py')
0 files changed, 0 insertions, 0 deletions