Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
nullpage_check.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <inttypes.h>
#include <signal.h>
#include <argp.h>
#include "log.h"
#include "dwdebug.h"
#include "target_api.h"
#include "target.h"
#include "probe_api.h"
#include "probe.h"
#include "alist.h"
#include "list.h"
#include "nullpage.h"
Include dependency graph for nullpage_check.c:

Go to the source code of this file.

Functions

void cleanup_probes ()
 
void sigh_cleanup_probes (int signo, siginfo_t *siginfo, void *x)
 
void print_thread_context (FILE *stream, struct target *target, tid_t tid, int ttctx, int ttdetail, int bt, char *sep, char *kvsep, char *tprefix, char *tsep)
 
result_t np_handler (struct probe *probe, tid_t tid, void *data, struct probe *trigger, struct probe *base)
 
void np_check_print_final_results (struct probe *probe)
 
int main (int argc, char **argv)
 

Variables

struct targettarget = NULL
 
struct probenp_probe = NULL
 
struct np_config npc
 

Function Documentation

void cleanup_probes ( void  )

Definition at line 43 of file nullpage_check.c.

int main ( int  argc,
char **  argv 
)

Definition at line 202 of file nullpage_check.c.

void np_check_print_final_results ( struct probe probe)

Definition at line 198 of file nullpage_check.c.

result_t np_handler ( struct probe probe,
tid_t  tid,
void *  data,
struct probe trigger,
struct probe base 
)

Definition at line 159 of file nullpage_check.c.

void print_thread_context ( FILE *  stream,
struct target target,
tid_t  tid,
int  ttctx,
int  ttdetail,
int  bt,
char *  sep,
char *  kvsep,
char *  tprefix,
char *  tsep 
)

Definition at line 55 of file nullpage_check.c.

void sigh_cleanup_probes ( int  signo,
siginfo_t *  siginfo,
void *  x 
)

Definition at line 51 of file nullpage_check.c.

Variable Documentation

struct probe* np_probe = NULL

Definition at line 40 of file nullpage_check.c.

struct np_config npc

Definition at line 41 of file nullpage_check.c.

struct target* target = NULL

Definition at line 39 of file nullpage_check.c.