The Witchcraft Compiler Collection
WCC
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
wsh
include
libwitch
helper.h
Go to the documentation of this file.
1
int
read_maps
(
int
pid);
2
int
is_mapped
(
unsigned
long
int
addr);
3
4
extern
struct
section
*
zfirst
;
5
extern
int
nsections
;
6
7
/*
8
* Data structures
9
*/
10
// section
11
struct
section
{
12
unsigned
long
long
int
init
;
// start address
13
unsigned
long
long
int
end
;
// end address
14
int
size
;
// size
15
int
perms
;
// permissions
16
char
name
[255];
// name
17
char
hperms
[10];
// permissions in human readable form
18
void
*
next
;
// ptr to next section
19
20
int
num
;
// section number in memory mapping
21
int
proba
;
// aslr stuff (highest probability of a given mapping)
22
int
probableval
;
// aslr stuff (address of most probable mapping)
23
};
24
is_mapped
int is_mapped(unsigned long int addr)
Definition:
helper.c:56
section::perms
int perms
Definition:
helper.h:15
nsections
int nsections
Definition:
helper.c:47
section
Definition:
helper.h:11
zfirst
struct section * zfirst
Definition:
helper.c:46
read_maps
int read_maps(int pid)
Definition:
helper.c:72
section::init
unsigned long long int init
Definition:
helper.h:12
section::num
int num
Definition:
helper.h:20
section::name
char name[255]
Definition:
helper.h:16
section::proba
int proba
Definition:
helper.h:21
section::next
void * next
Definition:
helper.h:18
section::hperms
char hperms[10]
Definition:
helper.h:17
section::size
int size
Definition:
helper.h:14
section::probableval
int probableval
Definition:
helper.h:22
section::end
unsigned long long int end
Definition:
helper.h:13
Generated on Fri Aug 12 2016 17:38:31 for The Witchcraft Compiler Collection by
1.8.6