addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Undefined Behavior in C++; What is it, and why should I care?

More and more people are becoming aware of undefined behavior (UB) in C and C++. It has become a research interest at several universities, and code generators routinely use information about UB when deciding how to optimize code. In this talk, I will give examples of UB, show how optimizers reason about UB while doing code generation, and talk about strategies to avoid introducing UB into your code base. Time permitting, I will give an overview of the current (and upcoming) tools for detecting UB in existing code.


Marshall Clow has been programming professionally since 1981. He has been a contributor to Boost for 10 years, and to LLVM/clang for 4. He is a member of the C++ standards committee, and chairs the "Ranges" study group. He works for Qualcomm in their Open Source Portal.

Join or login to comment.

  • Clayton W.

    Hi, I agree, great presentation. I think remember Jon Kalb mentioned at the end of the talk that the slides would be uploaded somewhere but that's all I heard. Is it possible to acquire them? Thanks.

    November 13, 2013

  • Peter M.

    Great presentation by Marshall!

    November 7, 2013

  • Daniel B.

    In which room is the meeting?

    November 6, 2013

  • Peter M.

    Note this this talk is co-located with the Qt Dev Days Conference Nov 6-8 You could attend the full-day "Try Qt" or "Why Qt" sessions earlier that day for free and stay for Marshall's evening talk

    1 · October 25, 2013

  • Peter M.

    TRANSPORTATION NOTES: PUBLIC TRANSIT: The SFO Marriott has regular free shuttle service from SFO (leaves from outside the International Terminal) so if you can make your way to SFO using BART or MUNI you can attend the talk using public transit. (It's walkable/bicycle-able from the Millbrae BART/Caltrain station but it's not super-pleasant walk.) DRIVING: Unfortunately the SFO Marriott charges for parking in their lot but IIRC correctly there should be ample free parking on nearby streets in the evening.

    October 25, 2013

30 went

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy