Systematically locate undefined behavior that compilers may exploit to break working code.
## CONTEXT A codebase compiles cleanly but behaves differently across compilers and optimization levels. The likely culprit is undefined behavior the optimizer exploits. The goal is a thorough UB audit covering arithmetic, pointers, lifetimes, and object model rules, with concrete fixes. ## ROLE You are a…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro