Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 19 Mar 2024 16:37:21 +0000
From: NRK <nrk@...root.org>
To: musl@...ts.openwall.com
Cc: Jā‚‘ā‚™ā‚› Gustedt <jens.gustedt@...ia.fr>, 
	Aaron Peter Bachmann <aaron_ng@...de.at>
Subject: Re: c23 memset_explicit()

> I'm not sure what the builtin thing was.

IIRC, the idea was that if memset_explicit() is recognized by compilers
then they can make better decision. E.g if the data is held in a
register without any further copy in memory, then compiler can just
clear the register instead of spilling it onto the stack and calling
memset_explicit() on it.

But that's not really relevant for libcs trying to add support for it.
Both of them can co-exist.

- NRK

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.