
Secure coding in C and C++
Robert C. Seacord · 2005
Programming and computer science › C and C++
#4,354 most recommended
Hacker News
11
mentions by 9 people · top 27% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
About the book
This book is a practical guide to writing secure C and C++ code. It covers the language-level and library-level coding errors that lead to exploitable software, including string and buffer handling, dynamic memory, integer behavior, formatted output, and file input and output. It is aimed at working programmers and draws on the CERT Coordination Center's analysis of vulnerability reports. The author's central claim is that most commonly exploited vulnerabilities trace back to a small set of root causes that are avoidable through disciplined coding. The book explains how each cause arises in C and C++ and shows concrete coding practices that prevent it. It also argues that programmers should adopt a security mindset, so that they anticipate attacks rather than only patching the flaws that have already been exploited.
Written by Claude from what it knows of this book.
What Hacker News says 78% recommend · 0% critical
In the commenters’ own words
Yes, I would highly recommend reading it, with the exception of Chapter 8. Some of the other people have said things like: "The gist of it was that K&R…
I personally like the nostarch security books. They published a book recently called "Designing secure software" which is still on my todo list, but based on…
What Open Library readers say
No Open Library reader has rated it yet.
- 1 want to read
- 0 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 2005
- ISBN
- 9780321335722
- Editions known
- 4 at Open Library
- Open Library
- OL5824223W
005.8C (Computer program language)C plus plus (computer program language)C++ (Computer program language)Computer securityQa76.9.a25 s368 2006
Read next: its neighbours on the mosaic
The CERT C secure coding standardRobert C. Seacord · 2008 · recommended by 3 people · similar by subject and what people say about it
Writing secure codeMichael Howard · 2003 · recommended by 2 people · similar by subject and what people say about it
Beautiful C++John Davidson · 2021 · recommended by 1 person · similar by subject and what people say about it
Embracing Modern C++ SafelyJohn Lakos · 2021 · recommended by 2 people · similar by subject and what people say about it
The Standard C LibraryP. J. Plauger · 1991 · recommended by 17 people · similar by subject and what people say about it
The art of software security assessmentMark Dowd · 2006 · recommended by 21 people · similar by subject and what people say about it
Effective Modern C++Scott Meyers · 2014 · recommended by 63 people · 2 people recommended both
API design for C++Martin Reddy · 2011 · recommended by 6 people · 2 people recommended both
The annotated C++ reference manualMargaret A. Ellis · 1990 · recommended by 2 people · similar by subject and what people say about it
The design and evolution of C[plus plus]Bjarne Stroustrup · 1994 · recommended by 38 people · 2 people recommended both
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · similar by subject and what people say about it
Mac OS X and iOS InternalsJonathan Levin · 2013 · recommended by 1 person · loosely similar by subject
Large-Scale C++ Volume IIJohn Lakos · 2019 · recommended by 1 person · loosely similar by subject
Effective C++Scott Meyers · 1991 · recommended by 112 people · similar by subject and what people say about it
C, a reference manualSamuel P. Harbison · 1984 · recommended by 30 people · similar by subject and what people say about it
Modern CJens Gustedt · 2019 · recommended by 37 people · similar by subject and what people say about it
Algorithms in C++Robert Sedgewick · 1990 · recommended by 27 people · similar by subject and what people say about it
C Traps and PitfallsAndrew Koenig · 1989 · recommended by 19 people · similar by subject and what people say about it
C programmingK. N. King · 1996 · recommended by 31 people · similar by subject and what people say about it
C++ primer plusStephen Prata · 1995 · recommended by 12 people · similar by subject and what people say about it
Modern C++ DesignAndrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it
The C puzzle bookAlan R. Feuer · 1982 · recommended by 10 people · similar by subject and what people say about it
The C++ programming languageBjarne Stroustrup · 1985 · recommended by 19 people · similar by subject and what people say about it
Effective STLScott Meyers · 2001 · recommended by 13 people · similar by subject and what people say about it