Method | Description | |
---|---|---|
GetAllSymbols ( string path ) : IEnumerable |
Gets all exported symbol names for a given library. Currently it works only with ELF files. |
|
GetSymbolAddress ( |
Gets the address of the symbol with a given name.
|
|
LoadLibrary ( string path ) : |
Loads the given library to memory.
|
|
TryLoadLibrary ( string path, |
||
UnloadLibrary ( |
Unloads the library and frees memory taken by it.
|
Method | Description | |
---|---|---|
HandleError ( string operation ) : void | ||
WindowsCloseLibrary ( |
||
WindowsGetLastError ( ) : |
||
WindowsGetSymbolAddress ( |
||
WindowsLoadLibrary ( [ lpFileName ) : |
||
dlclose ( |
||
dlerror ( ) : |
||
dlopen ( string file, int mode ) : |
||
dlsym ( |
public static GetAllSymbols ( string path ) : IEnumerable |
||
path | string | /// Path to a library file. /// |
return | IEnumerable |
public static GetSymbolAddress ( |
||
libraryAddress |
/// Address to library returned by the |
|
name | string | /// Name of the symbol to retrieve. /// |
return |
public static LoadLibrary ( string path ) : |
||
path | string | /// Path to the library file. /// |
return |
public static TryLoadLibrary ( string path, |
||
path | string | |
address | ||
return | bool |
public static UnloadLibrary ( |
||
address |
/// Address of the library, returned by the |
|
return | void |