module.c
Include dependency graph for module.c:
Defines
-
LITT_UNCOMPRESSED_SIZE_OFFSET
-
LITT_HEADER_SIZE
-
TAG_COMPACT_INT
-
TAG_COMPACT_ATOM
-
TAG_EXTENDED_INT
-
TAG_EXTENDED_ATOM
-
CHECK_FREE_SPACE(space, error)
-
IMPL_CODE_LOADER
Functions
-
static struct LiteralEntry *module_build_literals_table(const void *literalsBuf)
-
static enum ModuleLoadResult module_build_imported_functions_table(Module *this_module, uint8_t *table_data)
-
static void parse_line_table(uint16_t **line_refs, struct ModuleFilename **filenames, uint8_t *data, size_t len)
-
static enum ModuleLoadResult module_populate_atoms_table(Module *this_module, uint8_t *table_data)
-
bool module_get_function_from_label(Module *this_module, int label, AtomString *function_name, int *arity)
-
uint32_t module_search_exported_function(Module *this_module, AtomString func_name, int func_arity)
-
term module_get_exported_functions(Module *this_module, Heap *heap, GlobalContext *global)
-
Module *module_new_from_iff_binary(GlobalContext *global, const void *iff_binary, unsigned long size)
- COLD_FUNC void module_destroy (Module *module)
-
const struct ExportedFunction *module_resolve_function0(Module *mod, int import_table_index, struct UnresolvedFunctionCall *unresolved)
-
static uint16_t *parse_line_refs(uint8_t **data, size_t num_refs, size_t len)
-
struct ModuleFilename *parse_filename_table(uint8_t **data, size_t num_filenames, size_t len)