Crate wasmparser [−] [src]
A simple event-driven library for parsing WebAssembly binary files (or streams).
The parser library reports events as they happend and only stores parsing information for a brief period of time, making it very fast and memory-efficient. The event-driven model, however, has some drawbacks. If you need random access to the entire WebAssembly data-structure, this is not the right library for you. You could however, build such a data-structure using this library.
Structs
BinaryReader |
A binary reader of the WebAssembly structures and types. |
BrTable |
A br_table entries representation. |
FuncType | |
GlobalType | |
Ieee32 |
An IEEE binary32 immediate floating point value, represented as a u32 containing the bitpattern. |
Ieee64 |
An IEEE binary64 immediate floating point value, represented as a u64 containing the bitpattern. |
LocalName | |
MemoryImmediate | |
MemoryType | |
Naming | |
Parser |
The |
Range |
Bytecode range in the WebAssembly module. |
RelocEntry | |
ResizableLimits | |
TableType |
Enums
CustomSectionKind | |
ExternalKind |
External types as defined at https://webassembly.github.io/spec/syntax/types.html#external-types |
ImportSectionEntryType | |
LinkingType | |
NameEntry | |
NameType | |
Operator |
Instructions as defined at https://webassembly.github.io/spec/binary/instructions.html |
ParserInput | |
ParserState | |
RelocType | |
SectionCode |
Section code as defined at https://webassembly.github.io/spec/binary/modules.html#sections |
Type |
Types as defined at https://webassembly.github.io/spec/syntax/types.html#types |