<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>c/c++ on The Trail of Bits Blog</title><link>https://miscreants.github.io/blog.trailofbits.com/categories/c/c++/</link><description>Recent content in c/c++ on The Trail of Bits Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 16 Dec 2025 00:00:00 -0500</lastBuildDate><atom:link href="https://miscreants.github.io/blog.trailofbits.com/categories/c/c++/index.xml" rel="self" type="application/rss+xml"/><item><title>Use GWP-ASan to detect exploits in production environments</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/12/16/use-gwp-asan-to-detect-exploits-in-production-environments/</link><pubDate>Tue, 16 Dec 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/12/16/use-gwp-asan-to-detect-exploits-in-production-environments/</guid><description>GWP-ASan is a sampling-based memory error detection tool that catches critical bugs like use-after-free and buffer overflows in production environments with near-zero performance overhead, unlike AddressSanitizer which is too resource-intensive for deployment.</description></item><item><title>Taming 2,500 compiler warnings with CodeQL, an OpenVPN2 case study</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/25/taming-2500-compiler-warnings-with-codeql-an-openvpn2-case-study/</link><pubDate>Thu, 25 Sep 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/25/taming-2500-compiler-warnings-with-codeql-an-openvpn2-case-study/</guid><description>We created a CodeQL query that reduced 2,500+ compiler warnings about implicit conversions in OpenVPN2 to just 20 high-priority cases, demonstrating how to effectively identify potentially dangerous type conversions in C code.</description></item><item><title>Publishing Trail of Bits’ CodeQL queries</title><link>https://miscreants.github.io/blog.trailofbits.com/2023/12/06/publishing-trail-of-bits-codeql-queries/</link><pubDate>Wed, 06 Dec 2023 08:30:25 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2023/12/06/publishing-trail-of-bits-codeql-queries/</guid><description>We are publishing a set of custom CodeQL queries for Go and C. We have used them to find critical issues that the standard CodeQL queries would have missed. This new release of a continuously updated repository of CodeQL queries joins our public Semgrep rules and Automated Testing Handbook in an effort […]</description></item></channel></rss>