Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Static analysis Remove topic Static analysis 50 posts RSS

2026

Trail of Bits

Auditing in the age of (good enough) AI

Case study 10 min +100 XP

Before auditing the Miden zero-knowledge VM, Trail of Bits spent six months using Claude and Codex agents to build tooling for its custom stack-based assembly language (MASM): an LSP server, a decompiler with a reusable IR, an abstract-interpretation static analysis engine, and a Lean model of the VM executor.

OpenAI

Harness engineering: leveraging Codex in an agent-first world

Case study 14 min +140 XP

A small OpenAI team built and shipped an internal product of roughly a million lines over five months with zero manually written code, merging about 1,500 Codex-authored PRs at around 3.5 PRs per engineer per day, an estimated 10x faster than writing it by hand.

2025

Meta Engineering

Python Typing Survey 2025: Code Quality and Flexibility As Top Reasons for Typing Adoption

Research 8 min +80 XP

The 2025 Typed Python Survey (1,241 respondents, mostly experienced developers) finds 86% use type hints always or often, with adoption peaking at 93% among developers with 5–10 years of Python experience and lowest (80%) among 10+ year veterans.

2024

Docker

Using Docker AI Tools for Devs to Provide Context for Better Code Fixes

How-to 8 min +80 XP

LLMs fix lint violations far better when given the surrounding code, so Docker Labs built a prompt-driven pipeline where each step runs in a container: Pylint produces a violation report, violations are loaded into SQLite, and Tree-sitter parses the project into an AST whose top-level statement ranges are indexed alongside the source.

2023

Meta Engineering

Automating dead code cleanup

Case study 7 min +70 XP

Meta's SCARF framework finds dead code by building a cross-language, symbol-level dependency graph from Glean and augmenting it with runtime usage data such as API endpoint logs, URI dispatch tables and async job invocations, then garbage-collects unreachable nodes, subgraphs and cycles.

Meta Engineering

Automating product deprecation

Case study 10 min +100 XP

SCARF (Systematic Code and Asset Removal Framework) is Meta's tooling for deprecating products by removing dead code and unused data, credited with deleting over 100M lines of code in five years and petabytes of data across 12.8M data types in 21 systems in one year.

Slack Engineering

It’s a non-transitive R class world

Case study 5 min +50 XP

Slack migrated its 400+ module Android codebase to non-transitive R classes, where each module's R class contains only its own resources, yielding ~14% faster incremental builds after resource or layout changes and an ~8.5% (about 5.5MB) APK/DEX size reduction.

2022

Meta Engineering

Enabling static analysis of SQL queries at Meta

Case study 6 min +60 XP

UPM (Unified Programming Model) is Meta's standalone library that parses SQL into a semantic tree, a typed intermediate representation decoupled from any single query engine, so infrastructure teams can build linters, query rewriters and lineage tools without reimplementing analysis per dialect.

The pursuit of an autonomic scale and efficiency system for Microsoft 365: Making it as easy as breathing

Case study 6 min +60 XP

Microsoft 365's Cloud Profiling and Reporting Pipeline continuously profiles 1000+ services, capturing CPU, allocations, rooted and duplicated memory, exceptions, IO, GC pause stacks and blocking latency.

2021

The quest for software engineering knowledge.

Look:
Layout: