Hi @memory-safety-dev
Following a discussion with @David Adrian about estimating the amount of code running behind -WUnsafe-buffer-usage, I've added a new visualization to the Commit Tracker.
This new dataset tracks the actual uncovered line over time and across directories. It excludes comments, macros, and empty lines.
Here's the new view of uncovered lines.
As you know, we enabled -WUnsafe-buffer-usage by default almost everywhere (ref: google.com thread), and Tom Sepez later did the great work of migrating a lot of file-level #pragma allow_unsafe_buffers into instruction-level UNSAFE_TODOs.
However, the mix of directory-level exclusion lists, file-level pragmas, and instruction-level macros made it difficult to accurately estimate how much code was actually covered. This new view, which tracks the uncovered lines directly, should fix that.
Let me know what you think. I'm happy to tweak it a bit if needed.
FYI, you can now download the data directly from the UI (see the buttons in the tracker).
Best,
@Arthur Sonzogni
--
You received this message because you are subscribed to the Google Groups "memory-safety-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memory-safety-...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/memory-safety-dev/CAH7Q68VzkD6_MVfkmPTvTceJOpUeJn%2BhmsnavgpyOd25UuGqOg%40mail.gmail.com.
Thanks, Nico. You're correct on all points.
Most of the third-party code in the third-party box is "first party third party" code in the sense that it's Google-authored, right?
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/memory-safety-dev/CAH7Q68VSJAcsrDnJ0V829k%2B4CnrS%3DEVLVvo3-rezGVSJk6sqmg%40mail.gmail.com.