More Bufger Overfmows
1
More Bufger Overfmows 1 on the homework due Friday + 1 week - - PowerPoint PPT Presentation
More Bufger Overfmows 1 on the homework due Friday + 1 week questions? big hint in assignment: gets is what does bufger overfmow reading the assembly should be fairly straightforward probably easiest strategy in this case debugger can fjnd
1
2
3
4
5
6
7
7
8
adapted from Pincus and Baker, Figure 2
9
adapted from Pincus and Baker, Figure 2
9
10
10
10
11
11
11
12
13
14
15
00000000004004a0 <__printf_chk@plt>: 4004a0: ff 25 82 0b 20 00 jmpq *0x200b82(%rip) # 601028 <_GLOBAL_OFFSET_TABLE_+0x28> 4004a6: 68 02 00 00 00 pushq $0x2 4004ab: e9 c0 ff ff ff jmpq 400470 <_init+0x28>
16
17
17
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
33
34
35
36
37
38
39
40
40
41
42
43
43
44
44
44
44
45
46
47
47
48
49
50
50
51
52
53
54
54
55
55
55
56
57
57
57
58
58
58
58
58
59
60
61
61
62
63
64
65
66
66
67
68
69
70
71