python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to run sanitizers on whole project
I'm trying to get familiar with sanitizers as ASAN, LSAN etc and got a lot of useful information already from here: https://developers.redhat.com/blog/2021/05/05/memory-error-checking-in-c-and-c-compa...
RKoornneef
Votes: 0
Answers: 1
Why do I get a heap buffer overflow simply by declaring a shared_ptr member variable?
Just ran into this very strange bug. I'm getting crashes due to memory errors after adding a new shared_ptr instance variable in an existing containing class.
When I run with the AddressSanitizer in ...
bphi
Votes: 0
Answers: 1
Why is address sanitizer not indicating a memory leak after malloc() memory was not freed?
(I did not write this code, my professor did...)
I was looking at some code that my professor wrote and it all made sense to me, except for one thing. (Because we were running out of time, he did not ...
NewRProgrammer
Votes: 0
Answers: 1
Can AddressSanitizer be induced to dump a stracktrace upon `abort()`, or generally on demand?
gdb -quiet -iex 'set pagination off' -ex run -ex 'thread apply all bt' --batch --args <your prog>
The above is my default way or running my programs in CI. It is very convenient to have a stack...

user7610
Votes: 0
Answers: 1