[valgrind] [Bug 523843] Check the stack alignment in doHelperCall [x86]

"Mark Wielaard" <[email protected]> Wed, 05 Aug 2026 11:31:29 +0000
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=523843

Mark Wielaard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Mark Wielaard <[email protected]> ---
(In reply to mcermak from comment #1)
> I wonder if gen_SEGV_if_not_16_aligned() in VEX/priv/guest_x86_toIR.c:7953
> can be part of the solution.

gen_SEGV_if_not_16_aligned works on the VEX level (simulated execution), clean
helpers run directly on the host CPU.
So they work on slightly different abstraction layers.
doHelperCall translates VEX (arguments) to "real" register/stack arguments (and
return value) so the clean helper function can be called.

-- 
You are receiving this mail because:
You are watching all bug changes.