Eneboo - Documentación para desarrolladores
|
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdarg.h>
#include <limits.h>
#include <mach-o/dyld.h>
#include <mach-o/nlist.h>
#include <mach-o/getsect.h>
#include "dlfcn.h"
Clases | |
struct | dlthread |
struct | dlstatus |
'defines' | |
#define | __BSD_VISIBLE 1 |
#define | LC_LOAD_WEAK_DYLIB (0x18 | LC_REQ_DYLD) |
#define | LC_REQ_DYLD 0x80000000 |
#define | NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED 0x4 |
#define | NSADDIMAGE_OPTION_RETURN_ON_ERROR 0x1 |
#define | NSLOOKUPSYMBOLINIMAGE_OPTION_BIND 0x0 |
#define | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR 0x4 |
#define | ERR_STR_LEN 251 |
#define | MAX_SEARCH_PATHS 32 |
#define | MAGIC_DYLIB_OFI ((NSObjectFileImage) 'DYOF') |
#define | MAGIC_DYLIB_MOD ((NSModule) 'DYMO') |
#define | DL_IN_LIST 0x01 |
#define | RTLD_SELF ((void *) -3) |
Funciones | |
void *DL_PREFIX() | dlopen (const char *path, int mode) |
void *DL_PREFIX() | dlsym (void *dl_restrict handle, const char *dl_restrict symbol) |
int DL_PREFIX() | dlclose (void *handle) |
const char *DL_PREFIX() | dlerror (void) |
int DL_PREFIX() | dladdr (const void *dl_restrict p, DL_PREFIX(Dl_info)*dl_restrict info) |
#define __BSD_VISIBLE 1 |
#define DL_IN_LIST 0x01 |
#define ERR_STR_LEN 251 |
#define LC_LOAD_WEAK_DYLIB (0x18 | LC_REQ_DYLD) |
#define LC_REQ_DYLD 0x80000000 |
#define MAGIC_DYLIB_MOD ((NSModule) 'DYMO') |
#define MAGIC_DYLIB_OFI ((NSObjectFileImage) 'DYOF') |
#define MAX_SEARCH_PATHS 32 |
#define NSADDIMAGE_OPTION_RETURN_ON_ERROR 0x1 |
#define NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED 0x4 |
#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND 0x0 |
#define NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR 0x4 |
#define RTLD_SELF ((void *) -3) |
int DL_PREFIX() dladdr | ( | const void *dl_restrict | p, |
DL_PREFIX(Dl_info)*dl_restrict | info | ||
) |
int DL_PREFIX() dlclose | ( | void * | handle | ) |
const char* DL_PREFIX() dlerror | ( | void | ) |
void* DL_PREFIX() dlopen | ( | const char * | path, |
int | mode | ||
) |
void* DL_PREFIX() dlsym | ( | void *dl_restrict | handle, |
const char *dl_restrict | symbol | ||
) |