Finding Memory Leaks: Difference between revisions

m
Correct formatting
m (Correct formatting)
m (Correct formatting)
Line 36: Line 36:
== Configuring Address Sanitizer ==
== Configuring Address Sanitizer ==


The Address Sanitizer is now built in to the Octave executable.  The behavior of the Sanitizer can be controlled with the environment variable *ASAN_OPTIONS*.  For example, this is a useful value of ASAN_OPTIONS:
The Address Sanitizer is now built in to the Octave executable.  The behavior of the Sanitizer can be controlled with the environment variable '''ASAN_OPTIONS'''.  For example, this is a useful value of ASAN_OPTIONS:


   setenv ASAN_OPTIONS "leak_check_at_exit=0:verbose=1"
   setenv ASAN_OPTIONS "leak_check_at_exit=0:verbose=1"
1,072

edits