Struct object::WasmFile[][src]

pub struct WasmFile { /* fields omitted */ }

A WebAssembly object file.

Methods

impl<'data> WasmFile
[src]

Parse the raw wasm data.

Trait Implementations

impl Debug for WasmFile
[src]

Formats the value using the given formatter. Read more

impl<'file> Object<'static, 'file> for WasmFile
[src]

A segment in the object file.

An iterator over the segments in the object file.

A section in the object file.

An iterator over the sections in the object file.

An iterator over the symbols in the object file.

Get the machine type of the file.

Get an iterator over the segments in the file.

Get the entry point address of the binary

Get the contents of the section named section_name, if such a section exists. Read more

Get an iterator over the sections in the file.

Get an iterator over the debugging symbols in the file.

Get an iterator over the dynamic linking symbols in the file.

Construct a map from addresses to symbols.

Return true if the file is little endian, false if it is big endian.

Return true if the file contains debug information sections, false if not.

The UUID from a Mach-O LC_UUID load command.

The build ID from an ELF NT_GNU_BUILD_ID note.

The filename and CRC from a .gnu_debuglink section.

Auto Trait Implementations

impl Send for WasmFile

impl Sync for WasmFile