LSANOPTIONS
LSANOPTIONS is commonly recognized as an environment variable used to configure LeakSanitizer, the leak-detection component of the LLVM sanitizers suite. The canonical variable name is LSAN_OPTIONS, and LSANOPTIONS (without the underscore) is sometimes encountered in documentation, scripts, or misuse, but programs that rely on LeakSanitizer typically read LSAN_OPTIONS. The variable enables fine-grained control over leak detection behavior and reporting without requiring recompilation.
The variable contains a colon-separated list of key=value options that the LeakSanitizer runtime interprets at startup.
Examples: exporting LSAN_OPTIONS="verbosity=1:leak_check_at_exit=1" will increase diagnostic output and perform a leak check when the program exits.
Notes: LSAN_OPTIONS primarily applies to C and C++ programs built with Clang/LLVM sanitizers. It may be ignored