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
Data Structures | Macros | Functions | Variables
nullpage.h File Reference
#include <glib.h>
#include "common.h"
#include "target_api.h"
#include "probe_api.h"
Include dependency graph for nullpage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  np_config
 
struct  np_status
 

Macros

#define NP_IS_MMAP(trigger, nps)   ((trigger) == (nps)->mmap_probe)
 
#define NP_IS_MPROTECT(trigger, nps)   ((trigger) == (nps)->mprotect_probe)
 
#define NP_IS_PGFAULT(trigger, nps)   ((trigger) == (nps)->pgfault_probe)
 

Functions

struct probeprobe_np (struct target *target, struct np_config *npc, probe_handler_t pre_handler, probe_handler_t post_handler, void *handler_data)
 

Variables

struct argp np_argp
 

Macro Definition Documentation

#define NP_IS_MMAP (   trigger,
  nps 
)    ((trigger) == (nps)->mmap_probe)

Definition at line 54 of file nullpage.h.

#define NP_IS_MPROTECT (   trigger,
  nps 
)    ((trigger) == (nps)->mprotect_probe)

Definition at line 55 of file nullpage.h.

#define NP_IS_PGFAULT (   trigger,
  nps 
)    ((trigger) == (nps)->pgfault_probe)

Definition at line 56 of file nullpage.h.

Function Documentation

struct probe* probe_np ( struct target target,
struct np_config npc,
probe_handler_t  pre_handler,
probe_handler_t  post_handler,
void *  handler_data 
)

Metaprobe instantiation: create a null-page r/w/x usage "probe".

Definition at line 335 of file nullpage_util.c.

Variable Documentation

struct argp np_argp

Definition at line 48 of file nullpage_util.c.