-
Notifications
You must be signed in to change notification settings - Fork 0
/
utilsGD.h
33 lines (30 loc) · 955 Bytes
/
utilsGD.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* =====================================================================================
*
* Filename: utilsGD.h
*
* Description:
*
* Version: 1.0
* Created: 03/09/2014 08:26:19 PM
* Revision: none
* Compiler: gcc
*
* Author: YOUR NAME (),
* Organization:
*
* =====================================================================================
*/
#ifndef UTILSGD_H
#define UTILSGD_H
#include <elf.h>
Elf32_Phdr Program_Headers[] = {
{PT_PHDR, 0, 0, 0, 0, 0, PF_R | PF_X, 0x4},
{PT_INTERP, 0, 0, 0, 0, 0, PF_R, 0x1},
{PT_LOAD, 0, 0, 0, 0, 0, PF_R | PF_X, 0x1000},
{PT_LOAD, 0, 0, 0, 0, 0, PF_R | PF_W, 0x1000},
{PT_DYNAMIC, 0, 0, 0, 0, 0, PF_R | PF_W, 0x4},
{PT_NOTE, 0, 0, 0, 0, 0, PF_R, 0x4},
{PT_GNU_STACK, 0, 0, 0, 0, 0, PF_R | PF_W, 0x10}
};
#endif