28 bool has_run_basic_relocations;
result_t ld_decref_module(module_t *module)
Decrements the module's reference count and finalizes, unloads, and destroys it if it has reached zer...
uint32_t result_t
Function result.
Definition: types.h:51
result_t ld_relocate_module_basic(uint8_t *module_base)
Perform basic relocations on a module.
result_t ld_add_module(module_input_t input, module_t **out)
Adds a loaded module to the end of the processing queue.
result_t ld_process_modules()
Processes all modules in the queue.
result_t ld_discover_module(const char *name, module_t **out, bool is_global)
Discovers a module in the filesystem, loads it, and adds it to the processing queue.