[musl] Compiler support for erasure of sensitive data

Zack Weinberg zackw@panix.com
Wed Sep 9 16:52:00 GMT 2015


On Wed, Sep 9, 2015 at 12:42 PM, Rich Felker <dalias@libc.org> wrote:
> You're making this harder than it needs to be. The "m" constraint is
> the wrong thing to use here. Simply use:
>
>         __asm__(""::"r"(ptr):"memory");

Please review my earlier conversation with Adhemerval on exactly this point.

zw



More information about the Gcc mailing list