Re: [PATCH, CHKP] Don't generate bndret for not instrumented calls

2014-12-05 Thread Jeff Law
On 12/02/14 06:33, Ilya Enkovich wrote: Hi, Currently bndret is generated each time we need to get bounds for returned pointer. It causes bndret generated for not instrumented calls incuding builtin function calls. Troubles appear when such builtin call is optimized out - bndret needs to be

[PATCH, CHKP] Don't generate bndret for not instrumented calls

2014-12-02 Thread Ilya Enkovich
Hi, Currently bndret is generated each time we need to get bounds for returned pointer. It causes bndret generated for not instrumented calls incuding builtin function calls. Troubles appear when such builtin call is optimized out - bndret needs to be handled appropriately. Since we don't wa