envoyproxy/envoy

memory safety: audit use of static variables

Open

#11,130 opened on May 10, 2020

View on GitHub
 (5 comments) (0 reactions) (1 assignee)C++ (5,373 forks)batch import
help wantedtech debt

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

We should audit the use of static variables in the codebase to prevent static initialization/deinitialization order problems internally, and for dependent projects.

The codebase already defines a construct on first use macro. We should audit other static variables that should be migrated, and enforce the pattern via code linting.

Contributor guide