Re: Regarding ASAN algorithm

2018-05-03 Thread Konstantin Serebryany
Hi, All shadow memory is zero at start-up (zero means "valid"). When a memory is allocated (by malloc, or by a stack frame), the shadow for the redzones are marked as invalid. When a memory is de-allocated, the corresponding shadow is marked as invalid. hth, --kcc On Thu, May 3, 2018 at 2:54 AM

Regarding ASAN algorithm

2018-05-03 Thread Harshith H
How is the value for shadow memory computed on start up of application ? which is then checked by instrumentation code -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send