Close a library handle. Returns 0 on success.
Get the last error message, or null if no error.
Return the stable opaque handle used by dlopen(NULL, ...).
Open a shared library. Returns a handle (>0) or 0 on error.
When replay is provided, behaves as fork-replay: uses the parent's
saved memoryBase and skips __wasm_call_ctors. See DylinkReplayOptions
for preconditions.
Optionalreplay: DylinkReplayOptionsLook up a symbol by name. Returns its function-table index or data address.
Manages dynamic linking state for a single process. Provides the dlopen/dlsym/ dlclose API that maps to C runtime calls.