Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include <error.h>
#include <argp.h>
#include "log.h"
Go to the source code of this file.
Functions | |
void | vmi_set_log_level (int level) |
void | vmi_inc_log_level (void) |
void | vmi_set_warn_level (int level) |
void | vmi_inc_warn_level (void) |
void | vmi_set_log_area_flags (log_areas_t areas, log_flags_t flags) |
void | vmi_add_log_area_flags (log_areas_t areas, log_flags_t flags) |
int | vmi_set_log_area_flaglist (char *flaglist, char *separator) |
int | vmi_add_log_area_flaglist (char *flaglist, char *separator) |
void | vmi_set_user_area_flags (char **names) |
int | vmi_log_get_flag_val (char *flag, log_areas_t *areaval, log_flags_t *flagval) |
int | vdebug_is_on (int level, log_areas_t areas, log_flags_t flags) |
int | vwarn_is_on (int level, log_areas_t areas, log_flags_t flags) |
void | _vmi_debug (int level, log_areas_t areas, log_flags_t flags, char *format,...) |
void | _vmi_warn (int level, log_areas_t areas, log_flags_t flags, char *format,...) |
error_t | log_argp_parse_opt (int key, char *arg, struct argp_state *state) |
Variables | |
struct argp_option | log_argp_opts [] |
struct argp | log_argp |
void _vmi_debug | ( | int | level, |
log_areas_t | areas, | ||
log_flags_t | flags, | ||
char * | format, | ||
... | |||
) |
void _vmi_warn | ( | int | level, |
log_areas_t | areas, | ||
log_flags_t | flags, | ||
char * | format, | ||
... | |||
) |
error_t log_argp_parse_opt | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
int vdebug_is_on | ( | int | level, |
log_areas_t | areas, | ||
log_flags_t | flags | ||
) |
int vmi_add_log_area_flaglist | ( | char * | flaglist, |
char * | separator | ||
) |
void vmi_add_log_area_flags | ( | log_areas_t | areas, |
log_flags_t | flags | ||
) |
int vmi_log_get_flag_val | ( | char * | flag, |
log_areas_t * | areaval, | ||
log_flags_t * | flagval | ||
) |
int vmi_set_log_area_flaglist | ( | char * | flaglist, |
char * | separator | ||
) |
void vmi_set_log_area_flags | ( | log_areas_t | areas, |
log_flags_t | flags | ||
) |
int vwarn_is_on | ( | int | level, |
log_areas_t | areas, | ||
log_flags_t | flags | ||
) |
struct argp log_argp |
struct argp_option log_argp_opts[] |