Skip to content
Quantoros

What do AddressSanitizer, ThreadSanitizer, and UBSan each catch?

C++Level: AdvancedDebugging & Tools

What do AddressSanitizer, ThreadSanitizer, and UBSan each catch?

Hints
  • Separate concurrency from parallelism and identify shared state.
  • Consider locking, access ordering and I/O-bound versus CPU-bound work.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: C/C++ Interview Cheatsheet — Chang Ning Tsai · MIT

Related questions