This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiler support for erasure of sensitive data


On Wed, Mar 9, 2016 at 2:09 PM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> [ 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


Hi, we attached a patch in:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69976
Please take a look!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]