Project

General

Profile

Bug #7670

Updated by Vadim Mutilin about 8 years ago

Now function allocations with known size like kmalloc are replaced with ldv_malloc_unknown_size. 
 Thus size parameter is lost. 

 See for example aspect 
 <pre> 
 around: ALLOC_KNOWN_SIZE 
 { 
         void *res; 
         ldv_check_alloc_flags(flags); 
         res = ldv_malloc_unknown_size(); 
         ldv_after_alloc(res); 
         return res; 
 } 
 </pre> 

 In correct case ldv_malloc(size) malloc(size) should be called.

Back