Skip to content
WASM Analyzer LogoWASM Analyzer LogoWASM Analyzer
GitHub

Imports

You’ll reach the Imports page by clicking the Imports navigation item on the WASM Analyzer sidebar. On the Imports page, you find information about imports the WebAssembly file requires, if any. At the top of the Imports page, you find a summary of the following:

  • Imported Functions1
  • Imported Tables2
  • Imported Memories3
  • Imported Globals4

Clicking one of the summary items above takes you to the top of the related table.


The WASM Analyzer imports page The summary section.


You can read more about WebAssembly imports in the Imports section of our WebAssembly overview.

Below the summary, you find lists in sections representing those import statements that are present in the .wasm file, or package.





Imports search function


Above the Imports list, you’ll find the search bar:


Search bar The Imports search bar






To run a basic search for Import names, or Module names matching a specific name search query, click on the search field. Type in a search word and press the enter key, tab out of the search field, or click elsewhere on the page. After you initiate a search, the list will update with a set of search results matching your query. If no matches are available, the list will be emtpy.





Lists

The Exports page gives you information about four WebAssembly sections:

  • Functions
  • Tables
  • Memories
  • Globals


Functions


You can read more about the functions in the import Functions list, in the Functions section of our WebAssembly overview.


Columns of the import Functions list:

namepurpose
Import1Function name in string format
Module2Module the function is imported from, Link to Metadata overview for Module
Parameters3Typed parameters required by function
Result4Typed function output

The WASM Analyzer function imports The imported functions list


The list can by sorted by clicking on the Import, or Module column headers. One click sorts the list in in descending order on the selected column. Clicking the same column again sorts the list according to ascending order. A third click on the same column clears the current sort order and returns the list to its original unsorted state.



Tables


You can read more about the tables in the import Tables list, in the Tables section of our WebAssembly overview.


Columns of the import Tables list:

namepurpose
Import1Table name in string format
Module2Module table is imported from, Link to Module Metadata overview
Type3
Function type in table, possible values: anyfunc and externalref
Minimum4Initial number of items, and minimum number of items in table
Maximum5Maximum number of items in table

The WASM Analyzer table imports The imported tables list


The list can by sorted by clicking on the Import, Module, or Type column headers. One click sorts the list in in descending order on the selected column. Clicking the same column again sorts the list according to ascending order. A third click on the same column clears the current sort order and returns the list to its original unsorted state.



Memories


You can read more about the memories in the import Memories list, in the Memories section of our WebAssembly overview.


Colummns of the import Memories list:

namepurpose
Import1Memory field name in string format
Module2Module the memory is imported from, Link to Metadata overview for Module
Thread Sharing3If shared memory (a SharedArrayBuffer) or not (an ArrayBuffer), possible values: true and false
Minimum4Minimum memory size in bytes, displayed as kilobytes/megabytes as appropriate
Maximum5Maximum memory size in bytes, displayed as kilobytes/megabytes as appropriate

The WASM Analyzer memories imports The imported memories list


The list can by sorted by clicking on the Import, or Module column headers. One click sorts the list in in descending order on the selected column. Clicking the same column again sorts the list according to ascending order. A third click on the same column clears the current sort order and returns the list to its original unsorted state.



Globals


You can read more about the globals in the import Globals list, in the Globals section of our WebAssembly overview.


Columns of the import Globals list:

namepurpose
Import1Global variable field name in string format
Module2Module the global is imported from, Link to Metadata overview for Module
Type3Type of the global variable
Mutable4If global is mutable, possible values: true and false

The WASM Analyzer globals imports The imported globals list


The list can by sorted by clicking on the Import, Module, or Type column headers. One click sorts the list in in descending order on the selected column. Clicking the same column again sorts the list according to ascending order. A third click on the same column clears the current sort order and returns the list to its original unsorted state.





Summary

  • The Imports page can be accessed by clicking the Imports navigation item in the WASM Analyzer sidebar.
  • The Imports page shows information about imported functions, tables, memories and globals.
  • The Imports lists are searchable and sortable.


Additional reading