Skip to content
  1. Feb 23, 2012
    • Anna Zaks's avatar
      [analyzer] Invalidate the region passed to pthread_setspecific() call. · 07de9c12
      Anna Zaks authored
      Make this call an exception in ExprEngine::invalidateArguments:
      'int pthread_setspecific(ptheread_key k, const void *)' stores
      a value into thread local storage. The value can later be retrieved
      with 'void *ptheread_getspecific(pthread_key)'. So even thought the
      parameter is 'const void *', the region escapes through the
      call.
      
      (Here we just blacklist the call in the ExprEngine's default
      logic. Another option would be to add a checker which evaluates
      the call and triggers the call to invalidate regions.)
      
      Teach the Malloc Checker, which treats all system calls as safe about
      the API.
      
      llvm-svn: 151220
      07de9c12
    • Eric Christopher's avatar
      Add a quick TODO. · 55b2bfa7
      Eric Christopher authored
      llvm-svn: 151217
      55b2bfa7
    • Eric Christopher's avatar
      Fold debug scope emission into the cleanup scope. · 27bc9fee
      Eric Christopher authored
      llvm-svn: 151216
      27bc9fee
  2. Feb 22, 2012
  3. Feb 21, 2012
Loading