On 07/12/2016 02:48 AM, Maxim Ostapenko wrote:
Inlining & lto can help here as could a symbolic execution engine. This is precisely the kidn of analysis we need to be moving into.void foo (unsigned len) { ................... void *p = malloc (len); } void bar () { ................... unsigned len = a + b; foo (len); }
Jeff