Skip to content
  • Anna Zaks's avatar
    [analyzer] Malloc Checker: realloc: add dependency between the symbols · ad01ef5f
    Anna Zaks authored
    in realloc map. 
    
    If there is no dependency, the reallocated ptr will get garbage
    collected before we know that realloc failed, which would lead us to
    missing a memory leak warning.
    
    Also added new test cases, which we can handle now.
    Plus minor cleanups.
    
    llvm-svn: 150446
    ad01ef5f
Loading