~/talk

Solving a bug via lateral thinking

Talkat CppCon 2017 · 2017-09-24..09-29· [rust]
links:none on file
slides:none on file

A bug in Qt's V4 JavaScript engine makes a simple string comparison return true; GDB debugging fails because pointer tagging and optimizations defeat breakpoints, so an engineer builds minimal working and failing C++-API tests, instruments both with -pg and visualizes call traces with uftrace flamegraphs, locates a divergent branch, finds a broken overflow detection check, patches it, and verifies the bug is fixed in about two hours instead of weeks.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.