[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 371966] No uninitialised values reported with PGI -Mstack_arrays
From:       Julian Seward <bugzilla_noreply () kde ! org>
Date:       2016-11-30 20:08:52
Message-ID: bug-371966-17878-ER943LAxCu () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=371966

--- Comment #21 from Julian Seward <jseward@acm.org> ---
(In reply to Tom Hughes from comment #19)
My assumption about what __builtin_aa does is: it moves RSP down by the
specified amount, zeroes out the new area, and then returns.  Except ..
how does it return?  It must have to copy its own return address to just
below the newly allocated area, and only then return.

It would be possible to intercept it, but you'd have to hand-write a
replacement in assembly, since the above isn't doable in C.

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic