Go to the source code of this file.
|
unsigned | MemoryProtectionFromPosix (int prot) |
|
int | mprotect (void *addr, size_t len, int prot) |
|
static Status | mmap_mem (void *start, size_t len, int prot, int flags, int fd, void **pp) |
|
static Status | DecodeFlags (int prot, int flags, DWORD &protect, DWORD &access) |
|
static Status | mmap_file (void *start, size_t len, int prot, int flags, int fd, off_t ofs, void **pp) |
|
void * | mmap (void *start, size_t len, int prot, int flags, int fd, off_t ofs) |
|
int | munmap (void *start, size_t len) |
|
static Status DecodeFlags |
( |
int |
prot, |
|
|
int |
flags, |
|
|
DWORD & |
protect, |
|
|
DWORD & |
access |
|
) |
| |
|
static |
unsigned MemoryProtectionFromPosix |
( |
int |
prot | ) |
|
void* mmap |
( |
void * |
start, |
|
|
size_t |
len, |
|
|
int |
prot, |
|
|
int |
flags, |
|
|
int |
fd, |
|
|
off_t |
ofs |
|
) |
| |
static Status mmap_file |
( |
void * |
start, |
|
|
size_t |
len, |
|
|
int |
prot, |
|
|
int |
flags, |
|
|
int |
fd, |
|
|
off_t |
ofs, |
|
|
void ** |
pp |
|
) |
| |
|
static |
static Status mmap_mem |
( |
void * |
start, |
|
|
size_t |
len, |
|
|
int |
prot, |
|
|
int |
flags, |
|
|
int |
fd, |
|
|
void ** |
pp |
|
) |
| |
|
static |
int mprotect |
( |
void * |
addr, |
|
|
size_t |
len, |
|
|
int |
prot |
|
) |
| |
int munmap |
( |
void * |
start, |
|
|
size_t |
len |
|
) |
| |