Re: Code getting optimized away after instrumenation for memory analysis

2005-11-18 Thread Prateek Saxena
Hi, Thanks for looking at this problem. The points-to set says : D.2383 = { ANYTHING ANYOFFSET } Here is the shortened .alias1 dump. If you need the whole thing (its 2000 lines), I can send that as well. Please grep for D.2383, to see all info about it. Dereferences pointers doesnot show D.23

Re: Code getting optimized away after instrumenation for memory analysis

2005-11-18 Thread Diego Novillo
On Friday 18 November 2005 04:13, Prateek Saxena wrote: > At this point, the stmt: > > # VUSE ; > *D.2383 = __taint_addr.11D.3119_323; > > _doesnot_ show any used op like, > > D.2383. > > why is this happening? > D.2383 is virtual (see the VUSE). Show me the points-to set for D.2383? That sto

Code getting optimized away after instrumenation for memory analysis

2005-11-18 Thread Prateek Saxena
Hello, I am doing some code instrumentation for program memory access validation using gcc-4.1 head. For every assignment, p=q I pass the address of the operands, "&p" and "&q" to an external library function. This works fine at O0, but at O1, some legitimate code gets optimized away. In the dum