Available on crate feature
wasmparser only.Functionsยง
- Converts the input
sectiongiven from thewasmparsercrate into an encoded custom section. - A hook method that is called inside
Reencode::parse_core_modulebefore and after every non-custom core wasm section. - Create a new
crate::Functionby parsing the locals declarations from the providedwasmparser::FunctionBody. - Parses the input
sectiongiven from thewasmparsercrate and adds all the code to thecodesection. - Parses the input
sectiongiven from thewasmparsercrate and adds the custom section to themodule. - Parses a single
wasmparser::Dataand adds it to thedatasection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the data to thedatasection. - Parses the single
wasmparser::Elementprovided and adds it to theelementsection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the elements to theelementsection. - Parses the single
wasmparser::Exportprovided and adds it to theexportssection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the exports to theexportssection. - Parses a single
wasmparser::FunctionBodyand adds it to thecodesection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the functions to thefunctionssection. - Parses the single
wasmparser::Globalprovided and adds it to theglobalssection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the globals to theglobalssection. - Parses the single
wasmparser::Importprovided and adds it to theimportsection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the imports to theimportsection. - Parses a single instruction from
readerand adds it tofunction. - Parses the input
sectiongiven from thewasmparsercrate and adds all the memories to thememoriessection. - Parses a single
wasmparser::RecGroupand adds it to thetypessection. - Parses a single
wasmparser::Tableand adds it to thetablessection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the tables to thetablessection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the tags to thetagssection. - Parses the input
sectiongiven from thewasmparsercrate and adds all the types to thetypessection.