Hi!

On Fri, Dec 27, 2013 at 03:06:06PM +0400, Yury Gribov wrote:
> We did exactly this for majority of tests except for

Ah, sorry, I saw one test and didn't check carefully the rest of them.

> * c-c++-common/asan/use-after-return-1.c (back-ported from Clang, no UB)

Well, it is still UB, but one that should be detected by the sanitizer and
stopped before it happens, so it is ok.

> * c-c++-common/asan/no-asan-stack.c (this triggers read overflow
> because we haven't found a cross-platform way to grep for stack
> redzones instrumentation)

I'd prefer no test in that case, or just some semi-platform specific test
(scan that the 0x41b58ab3 constant doesn't appear in say some late RTL dump,
or perhaps just assembly (just scan it with lower and upper case and decimal
too)).

        Jakub

Reply via email to