Re: Compiler support for erasure of sensitive data

2016-03-09 Thread Andres Tiraboschi
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 ar

Using stl containers in gcc

2016-05-03 Thread Andres Tiraboschi
Hi, Does anyone know if there is a good reason for not using stl containers in gcc sources? I'm asking because I didn't find any use of them in the code I read. Thanks, Andrés.

Re: Using stl containers in gcc

2016-05-03 Thread Andres Tiraboschi
This raises a further question: why are gcc containers preferred over stl ones. Thanks, Andrés. 2016-05-03 12:02 GMT-03:00 Jakub Jelinek : > On Tue, May 03, 2016 at 08:59:11AM -0600, Jeff Law wrote: >> On 05/03/2016 08:44 AM, Andres Tiraboschi wrote: >> >Hi, >> >Doe

Modifying generic tree with a plugin

2014-09-04 Thread Andres Tiraboschi
Sombody knows if it is possible modifing the generic during compilation with a plugin?

Inserting global variable daclaration

2014-09-22 Thread Andres Tiraboschi
Hi, I was trying to insert a global variable declaration using gcc plugins. I tried to make simple plugin example that inserts a global int variable called _fake_var_. The plugin code is this: plugin.cpp -- int plugin_is_GPL_compatible; static tree fake_var =