Close a library handle. Returns 0 on success.
Get the last error message, or null if no error.
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 the function or address, or null.
Manages dynamic linking state for a single process. Provides the dlopen/dlsym/ dlclose API that maps to C runtime calls.