Advanced
C++
Q92 / 100
What is Address Sanitizer (ASan) in C++?
Correct! Well done.
Incorrect.
The correct answer is B) A compile and runtime tool (-fsanitize=address) that detects memory errors: use-after-free, heap/stack buffer overflow, and more
B
Correct Answer
A compile and runtime tool (-fsanitize=address) that detects memory errors: use-after-free, heap/stack buffer overflow, and more
Explanation
ASan instruments the binary with shadow memory to track valid memory regions. It catches bugs at runtime with precise diagnostics, invaluable during development.
Progress
92/100