The Witchcraft Compiler Collection
WCC
 All Data Structures Files Functions Variables Typedefs Macros
Macros | Functions | Variables
helper.c File Reference
#include <math.h>
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <regex.h>
#include <sys/ptrace.h>
#include <signal.h>
#include <string.h>
#include <libwitch/helper.h>

Go to the source code of this file.

Macros

#define _XOPEN_SOURCE   500
 
#define _FILE_OFFSET_BITS   64
 
#define HAS_ZFIRST   1
 

Functions

int is_mapped (unsigned long int addr)
 
int read_maps (int pid)
 

Variables

unsigned int lastsignal
 
struct sectionzfirst = 0
 
int nsections =0
 

Macro Definition Documentation

#define _FILE_OFFSET_BITS   64

Definition at line 25 of file helper.c.

#define _XOPEN_SOURCE   500

Definition at line 24 of file helper.c.

#define HAS_ZFIRST   1

Definition at line 45 of file helper.c.

Function Documentation

int is_mapped ( unsigned long int  addr)

Definition at line 56 of file helper.c.

int read_maps ( int  pid)

Definition at line 72 of file helper.c.

Variable Documentation

unsigned int lastsignal
int nsections =0

Definition at line 47 of file helper.c.

struct section* zfirst = 0

Definition at line 46 of file helper.c.