u/skeetoin r/C_Programming • Recommends
CppCon 2017: John Regehr “Undefined Behavior in 2017 (part 1 of 2)”
#undefinedbehavior#cppcon#llvm
189K subscribers • 101 videos on Hallway • Conference channel
Advanced. Deep dive for people who know the field.
11K views9 years ago2 recommendations
Programming languagesSystems programmingC++CCompilers and interpreters
John Regehr explains how modern compilers exploit undefined behavior in C and C++ and the security implications.
CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2017 — Undefined behavior is a clear and present danger for all application code written in C++. The most pressing relevance is to security, but really the issue is one of general software correctness. The fundamental problem lies in the refusal of C++ implementations (in general) to trap or otherwise detect undefined behaviors. Since undefined behaviors are silent errors, many developers have historically misunderstood the issues in play. Since the late 1990s undefined behavior has emerged as a major source of exploitable vulnerabilities in C++ code. This talk will focus on trends in the last few years including (1) increased willingness of compilers to exploit undefined behaviors to break programs in hard-to-understand ways and (2) vastly more sophisticated tooling that we have developed to detect and mitigate undefined behaviors. The current situation is still tenuous: only through rigorous testing and hardening and patching can C++ code be exposed to untrusted inputs, even when this code is created by strong development teams. This talk will focus on what developers can and should do to prevent and mitigate undefined behaviors in code they create or maintain. — John Regehr: University of Utah, Professor John Regehr is a professor of computer science at the University of Utah, USA. His research group creates tools for making software more efficient and correct. For example, one of his projects, Csmith, generates random C programs that have been used to find more than 500 previously unknown bugs in production-quality C compilers. Outside of work John likes to explore the mountains and deserts of Utah with his family. — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf --- Videos Filmed & Edited by Bash Films: BashFilms.comWhat people say. Recommended as an essential and highly detailed talk on how compilers optimize around undefined behavior.
u/skeetoin r/C_Programming • Recommends
programming-talkscurated list on GitHubRecommends
Under “C++”
u/skeetoin r/C_Programming • Mentions
On “Why is there no C conference?”