SLIDE 1
Hacking in C
Reflections on using C(++) Root Cause Analysis
Abstractions Complexity Assumptions Trust
hic 1
Reflections on using C(++) Root Cause Analysis Abstractions - - PowerPoint PPT Presentation
Hacking in C Reflections on using C(++) Root Cause Analysis Abstractions Complexity Assumptions Trust hic 1 There are only two kinds of programming languages: the ones people complain about and the ones nobody uses. Bjarne
hic 1
hic 2
hic 3
hic 4
hic 5
hic 6
hic 7
hic 8
tun_chr_poll(struct file *file,
.. }
hic 9
0; // reject negative length
hic 10
hic 11
hic 12
hic 13
[source: Building secure software, J. Viega & G. McGraw, 2002]
14
http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/buffer-overflow.html
hic 15
hic 16
hic 17
18
hic 19
hic 20
hic 21
hic 22
hic 23
hic 24
hic 25
hic 26
hic 27
hic 28