|
rlib
Convenience library for useful things
|
Dynamic library loading (dlopen / LoadLibrary) with symbol and section lookup.
More...
#include <rlib/rtypes.h>Go to the source code of this file.
Typedefs | |
| typedef rpointer | RMODULE |
| Opaque module handle returned by r_module_open. | |
Enumerations | |
| enum | RModuleError { R_MODULE_ERROR_OK = 0 , R_MODULE_ERROR_NOT_FOUND } |
| Result of r_module_open. More... | |
Functions | |
| RMODULE | r_module_open (const rchar *path, rboolean lazy, RModuleError *err) |
Open the shared library at path. | |
| rpointer | r_module_lookup (RMODULE mod, const rchar *sym) |
Resolve symbol sym in mod. | |
| void | r_module_close (RMODULE mod) |
Close mod and release any backing OS resources. | |
| rpointer | r_module_find_section (RMODULE mod, const rchar *name, rssize nsize, rsize *secsize) |
Locate a named section within mod's loaded image. | |
Dynamic library loading (dlopen / LoadLibrary) with symbol and section lookup.