Skip to content
  1. Dec 22, 2010
  2. Dec 20, 2010
  3. Dec 01, 2010
  4. Aug 22, 2010
  5. Jun 17, 2010
    • Ted Kremenek's avatar
      Tweak stack address checker to report multiple cases where globals may reference stack memory. · 5df037e8
      Ted Kremenek authored
      Also refactor the diagnostics so that we print out the kind of stack memory returned.
      
      llvm-svn: 106210
      5df037e8
    • Ted Kremenek's avatar
      Rework StackAddrLeakChecker to find stores of stack memory addresses to global variables · 17504bea
      Ted Kremenek authored
      by inspecting the Store bindings instead of iterating over all the global variables
      in a translation unit.  By looking at the store directly, we avoid cases where we cannot
      directly load from the global variable, such as an array (which can result in an assertion failure)
      and it also catches cases where we store stack addresses to non-scalar globals.
      Also, but not iterating over all the globals in the translation unit, we maintain cache
      locality, and the complexity of the checker becomes restricted to the complexity of the
      analyzed function, and doesn't scale with the size of the translation unit.
      
      This fixes PR 7383.
      
      llvm-svn: 106184
      17504bea
  6. Jun 16, 2010
  7. Jun 09, 2010
  8. Jun 08, 2010
Loading