Compiler support for erasure of sensitive data
Segher Boessenkool
segher@kernel.crashing.org
Wed Mar 9 17:09:00 GMT 2016
[ Please don't top-post. ]
On Wed, Mar 09, 2016 at 11:23:22AM -0300, Andres Tiraboschi wrote:
> We are developing this feature for x86_64
> I want to see which registers are being used by the current function
> for returning a value or as arguments.
> I traverse the rtl looking for clobbered registers, but I don't know
> how to find which registers are arguments from the current function
> and which are used for storing the return value. How do you suggest to
> do this?
You can probably do something with diddle_return_value.
Segher
More information about the Gcc
mailing list