viralcode / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
1 stars 0 forks source link

Debugging breakpoints needed #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to export symbols that can serve as breakpoints at the places where 
ASan is likely to crash or exit.
It also can be useful to ask the tool to sleep for a while before exiting

Original issue reported on code.google.com by ramosian.glider@gmail.com on 24 Jan 2012 at 5:10

GoogleCodeExporter commented 9 years ago
>> We need to export symbols that can serve as breakpoints 
Does __asan::AsanDie() work for this purpose? 

Original comment by konstant...@gmail.com on 31 Jan 2012 at 12:30

GoogleCodeExporter commented 9 years ago
r149306 adds a flag sleep_before_dying.

% ASAN_OPTIONS=sleep_before_dying=1000 ./a.out 
... 
==28323== Sleeping for 1000 seconds

Original comment by konstant...@gmail.com on 31 Jan 2012 at 12:57