aboutsummaryrefslogtreecommitdiff
path: root/rop.h
blob: 84b2e96269eacaf8ae0f4f601d4a420b2482874e (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef ROP_H_
#define ROP_H_

void rop_exit() __attribute__((naked));

void rop_get_arg() __attribute__((naked));

void rop_copy_correct_flag() __attribute__((naked));

void rop_flag_0_0() __attribute__((naked));
void rop_flag_0_1() __attribute__((naked));
void rop_flag_0_2() __attribute__((naked));

void rop_flag_1_0() __attribute__((naked));
void rop_flag_1_1() __attribute__((naked));
void rop_flag_1_2() __attribute__((naked));
void rop_flag_1_3() __attribute__((naked));
void rop_flag_1_4() __attribute__((naked));
void rop_flag_1_5() __attribute__((naked));
void rop_flag_1_6() __attribute__((naked));
void rop_flag_1_7() __attribute__((naked));
void rop_flag_1_8() __attribute__((naked));
void rop_flag_1_9() __attribute__((naked));
void rop_flag_1_10() __attribute__((naked));
void rop_flag_1_11() __attribute__((naked));
void rop_flag_1_12() __attribute__((naked));
void rop_flag_1_13() __attribute__((naked));
void rop_flag_1_14() __attribute__((naked));

void rop_flag_2_0() __attribute__((naked));
void rop_flag_2_1() __attribute__((naked));
void rop_flag_2_2() __attribute__((naked));

void rop_flag_3_tea_init_0() __attribute__((naked));
void rop_flag_3_tea_init_1() __attribute__((naked));
void rop_flag_3_tea_init_2() __attribute__((naked));
void rop_flag_3_tea_add_delta_to_sum() __attribute__((naked));
void rop_flag_3_tea_v1_shl() __attribute__((naked));
void rop_flag_3_tea_add_k0() __attribute__((naked));
void rop_flag_3_tea_add_sum() __attribute__((naked));
void rop_flag_3_tea_1st_xor() __attribute__((naked));
void rop_flag_3_tea_v1_shr() __attribute__((naked));
void rop_flag_3_tea_add_k1_or_k3() __attribute__((naked));
void rop_flag_3_tea_2nd_and_4th_xor() __attribute__((naked));
void rop_flag_3_tea_add_to_v0() __attribute__((naked));
void rop_flag_3_tea_add_k2() __attribute__((naked));
void rop_flag_3_tea_3rd_xor() __attribute__((naked));
void rop_flag_3_tea_add_to_v1() __attribute__((naked));
void rop_flag_3_tea_loop_tail() __attribute__((naked));
void rop_flag_3_check_tea() __attribute__((naked));

#endif  // ROP_H_