Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | pex_time |
Macros | |
#define | basename basename_cannot_be_used_without_a_prototype |
#define | ACONCAT(ACONCAT_PARAMS) |
#define | XALLOCA(T) ((T *)alloca(sizeof(T))) |
#define | XNEW(T) ((T *)xmalloc(sizeof(T))) |
#define | XCNEW(T) ((T *)xcalloc(1, sizeof(T))) |
#define | XALLOCA(T) ((T *)alloca(sizeof(T))) |
#define | XNEW(T) ((T *)xmalloc(sizeof(T))) |
#define | XCNEW(T) ((T *)xcalloc(1, sizeof(T))) |
#define | XDUP(T, P) ((T *)xmemdup((P), sizeof(T), sizeof(T))) |
#define | XDELETE(P) free((void *)(P)) |
#define | XALLOCAVEC(T, N) ((T *)alloca(sizeof(T) * (N))) |
#define | XNEWVEC(T, N) ((T *)xmalloc(sizeof(T) * (N))) |
#define | XCNEWVEC(T, N) ((T *)xcalloc((N), sizeof(T))) |
#define | XDUPVEC(T, P, N) ((T *)xmemdup((P), sizeof(T) * (N), sizeof(T) * (N))) |
#define | XRESIZEVEC(T, P, N) ((T *)xrealloc((void *)(P), sizeof(T) * (N))) |
#define | XDELETEVEC(P) free((void *)(P)) |
#define | XALLOCAVAR(T, S) ((T *)alloca((S))) |
#define | XNEWVAR(T, S) ((T *)xmalloc((S))) |
#define | XCNEWVAR(T, S) ((T *)xcalloc(1, (S))) |
#define | XDUPVAR(T, P, S1, S2) ((T *)xmemdup((P), (S1), (S2))) |
#define | XRESIZEVAR(T, P, S) ((T *)xrealloc((P), (S))) |
#define | XOBNEW(O, T) ((T *)obstack_alloc((O), sizeof(T))) |
#define | XOBNEWVEC(O, T, N) ((T *)obstack_alloc((O), sizeof(T) * (N))) |
#define | XOBNEWVAR(O, T, S) ((T *)obstack_alloc((O), (S))) |
#define | XOBFINISH(O, T) ((T)obstack_finish((O))) |
#define | _hex_array_size 256 |
#define | _hex_bad 99 |
#define | hex_p(c) (hex_value(c) != _hex_bad) |
#define | hex_value(c) ((unsigned int)_hex_value[(unsigned char)(c)]) |
#define | PEX_RECORD_TIMES 0x1 |
#define | PEX_USE_PIPES 0x2 |
#define | PEX_SAVE_TEMPS 0x4 |
#define | PEX_LAST 0x1 |
#define | PEX_SEARCH 0x2 |
#define | PEX_SUFFIX 0x4 |
#define | PEX_STDERR_TO_STDOUT 0x8 |
#define | PEX_BINARY_INPUT 0x10 |
#define | PEX_BINARY_OUTPUT 0x20 |
#define | PEX_STDERR_TO_PIPE 0x40 |
#define | PEX_BINARY_ERROR 0x80 |
#define | PEXECUTE_FIRST 1 |
#define | PEXECUTE_LAST 2 |
#define | PEXECUTE_ONE (PEXECUTE_FIRST + PEXECUTE_LAST) |
#define | PEXECUTE_SEARCH 4 |
#define | PEXECUTE_VERBOSE 8 |
#define | ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) |
#define | alloca(x) _alloca(x) |
#define | USE_C_ALLOCA 1 |
#define | C_ALLOCA 1 |
#define | ASTRDUP(X) |
Variables | |
char * | libiberty_concat_ptr |
const unsigned char | _hex_value [_hex_array_size] |
const char * | libiberty_optr |
char * | libiberty_nptr |
unsigned long | libiberty_len |
#define _hex_array_size 256 |
Definition at line 382 of file libiberty.h.
#define _hex_bad 99 |
Definition at line 383 of file libiberty.h.
#define ACONCAT | ( | ACONCAT_PARAMS | ) |
Definition at line 180 of file libiberty.h.
Definition at line 672 of file libiberty.h.
Definition at line 651 of file libiberty.h.
#define ASTRDUP | ( | X | ) |
Definition at line 680 of file libiberty.h.
#define basename basename_cannot_be_used_without_a_prototype |
Definition at line 114 of file libiberty.h.
#define C_ALLOCA 1 |
Definition at line 676 of file libiberty.h.
Definition at line 389 of file libiberty.h.
#define PEX_BINARY_ERROR 0x80 |
Definition at line 452 of file libiberty.h.
#define PEX_BINARY_INPUT 0x10 |
Definition at line 433 of file libiberty.h.
#define PEX_BINARY_OUTPUT 0x20 |
Definition at line 440 of file libiberty.h.
#define PEX_LAST 0x1 |
Definition at line 420 of file libiberty.h.
#define PEX_RECORD_TIMES 0x1 |
Definition at line 394 of file libiberty.h.
#define PEX_SAVE_TEMPS 0x4 |
Definition at line 400 of file libiberty.h.
#define PEX_SEARCH 0x2 |
Definition at line 423 of file libiberty.h.
#define PEX_STDERR_TO_PIPE 0x40 |
Definition at line 448 of file libiberty.h.
#define PEX_STDERR_TO_STDOUT 0x8 |
Definition at line 429 of file libiberty.h.
#define PEX_SUFFIX 0x4 |
Definition at line 426 of file libiberty.h.
#define PEX_USE_PIPES 0x2 |
Definition at line 397 of file libiberty.h.
#define PEXECUTE_FIRST 1 |
Definition at line 604 of file libiberty.h.
#define PEXECUTE_LAST 2 |
Definition at line 605 of file libiberty.h.
#define PEXECUTE_ONE (PEXECUTE_FIRST + PEXECUTE_LAST) |
Definition at line 606 of file libiberty.h.
#define PEXECUTE_SEARCH 4 |
Definition at line 607 of file libiberty.h.
#define PEXECUTE_VERBOSE 8 |
Definition at line 608 of file libiberty.h.
#define USE_C_ALLOCA 1 |
Definition at line 674 of file libiberty.h.
Definition at line 358 of file libiberty.h.
Definition at line 360 of file libiberty.h.
Definition at line 354 of file libiberty.h.
Definition at line 363 of file libiberty.h.
Definition at line 353 of file libiberty.h.
Definition at line 370 of file libiberty.h.
Definition at line 361 of file libiberty.h.
Definition at line 359 of file libiberty.h.
Definition at line 375 of file libiberty.h.
Definition at line 377 of file libiberty.h.
Definition at line 376 of file libiberty.h.
Definition at line 371 of file libiberty.h.
Definition at line 362 of file libiberty.h.
void* _alloca | ( | size_t | ) |
char** buildargv | ( | const char * | ) |
char* choose_temp_base | ( | void | ) |
char* concat | ( | const char * | , |
... | |||
) |
char* concat_copy | ( | char * | , |
const char * | , | ||
... | |||
) |
char* concat_copy2 | ( | const char * | , |
... | |||
) |
char** dupargv | ( | char ** | ) |
int errno_max | ( | void | ) |
void freeargv | ( | char ** | ) |
long get_run_time | ( | void | ) |
char* getpwd | ( | void | ) |
void hex_init | ( | void | ) |
char* lrealpath | ( | const char * | ) |
char* make_temp_file | ( | const char * | ) |
int writeargv PARAMS | ( | (char **, FILE *) | ) |
void expandargv PARAMS | ( | (int *, char ***) | ) |
void pex_free | ( | struct pex_obj * | ) |
FILE* pex_input_pipe | ( | struct pex_obj * | obj, |
int | binary | ||
) |
const char* pex_one | ( | int | flags, |
const char * | executable, | ||
char *const * | argv, | ||
const char * | pname, | ||
const char * | outname, | ||
const char * | errname, | ||
int * | status, | ||
int * | err | ||
) |
FILE* pex_read_err | ( | struct pex_obj * | , |
int | binary | ||
) |
FILE* pex_read_output | ( | struct pex_obj * | , |
int | binary | ||
) |
const char* pex_run | ( | struct pex_obj * | obj, |
int | flags, | ||
const char * | executable, | ||
char *const * | argv, | ||
const char * | outname, | ||
const char * | errname, | ||
int * | err | ||
) |
const char* pex_run_in_environment | ( | struct pex_obj * | obj, |
int | flags, | ||
const char * | executable, | ||
char *const * | argv, | ||
char *const * | env, | ||
const char * | outname, | ||
const char * | errname, | ||
int * | err | ||
) |
int pexecute | ( | const char * | , |
char *const * | , | ||
const char * | , | ||
const char * | , | ||
char ** | , | ||
char ** | , | ||
int | |||
) |
double physmem_available | ( | void | ) |
double physmem_total | ( | void | ) |
char* reconcat | ( | char * | , |
const char * | , | ||
... | |||
) |
Referenced by uv_set_process_title().
int signo_max | ( | void | ) |
void unlock_std_streams | ( | void | ) |
void unlock_stream | ( | FILE * | ) |
int xatexit | ( | void(*)(void) | fn | ) |
void xexit | ( | int | status | ) |
void* xmalloc | ( | size_t | ) |
void xmalloc_failed | ( | size_t | ) |
void xmalloc_set_program_name | ( | const char * | ) |
void* xrealloc | ( | void * | ptr, |
size_t | size | ||
) |
char* xstrdup | ( | const char * | src | ) |
char* xstrerror | ( | int | ) |
|
extern |
|
extern |
|
extern |
|
extern |