Show ASAN_OPTIONS in hacking guide.
This commit is contained in:
parent
46cf3bf333
commit
bd472ef36f
Notes:
git
2022-05-26 22:04:48 +09:00
@ -103,6 +103,7 @@ Using the address sanitizer is a great way to detect memory issues.
|
|||||||
``` shell
|
``` shell
|
||||||
> ./autogen.sh
|
> ./autogen.sh
|
||||||
> mkdir build && cd build
|
> mkdir build && cd build
|
||||||
|
> export ASAN_OPTIONS="halt_on_error=0:use_sigaltstack=0:detect_leaks=0"
|
||||||
> ../configure cppflags="-fsanitize=address -fno-omit-frame-pointer" optflags=-O0 LDFLAGS="-fsanitize=address -fno-omit-frame-pointer"
|
> ../configure cppflags="-fsanitize=address -fno-omit-frame-pointer" optflags=-O0 LDFLAGS="-fsanitize=address -fno-omit-frame-pointer"
|
||||||
> make
|
> make
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user