dschuff wrote: Interestingly, it looks like the decoder in webassemblyjs [already](https://github.com/xtuc/webassemblyjs/blob/master/packages/wasm-parser/src/decoder.js#L894) decodes the table index as an LEB. https://github.com/llvm/llvm-project/pull/96584