Skip to content
Snippets Groups Projects
  1. Jan 31, 2013
  2. Jan 06, 2013
  3. Nov 29, 2012
    • Sean McBride's avatar
      Process: Dereference NULL++ instead of NULL to force crash · 5e17bfde
      Sean McBride authored and Brad King's avatar Brad King committed
      Some compilers, notably Clang, will warn at compile time (or
      runtime with debug flags) if they detect a null dereference.
      Try to outsmart them by dereferencing an address a little
      larger than NULL.
      
      Change-Id: I53c6512f814ad3e8977c076904f0415e8aaaaea5
      5e17bfde
  4. Jul 09, 2010
    • Brad King's avatar
      KWSys: Avoid undefined behavior in Process crash tests · fe4ee7da
      Brad King authored
      Clang is smart enough to recognize that "*(int*)0=0" invokes undefined
      behavior, warns, and produces an "undefined instruction".  The message
      in commit "Avoid Clang optimizer bug in testProcess-[45]" (2010-07-02)
      is incorrect; this is not a Clang bug.  It really is undefined
      behavior.  Use "*(int*)1=0" to produce a crash instead.
      fe4ee7da
  5. Jul 02, 2010
    • Brad King's avatar
      KWSys: Avoid Clang optimizer bug in testProcess-[45] · 01bb687d
      Brad King authored
      Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the
      undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64.
      It causes our crash tests to fail because the child process exits with
      an invalid instruction instead of a segmentation fault.  Work around the
      bug by using "*(int*)1=0" in this case.
      01bb687d
  6. Sep 30, 2009
  7. Sep 28, 2009
    • Brad King's avatar
      Convert KWSys to OSI-approved BSD License · 62db264e
      Brad King authored
      This converts the KWSys license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the KWSys copyright to
      cover the full development time range.
      62db264e
  8. Jan 09, 2009
    • Brad King's avatar
      ENH: Extend kwsys.testProcess-4 timeout · 0881cbae
      Brad King authored
      The test is supposed to terminate quickly when its child crashes, but
      that seems to take over 10s on busy systems.  This extends the test's
      timeout to 30s to help it pass when running on a busy system.
      0881cbae
  9. Sep 22, 2008
  10. Sep 15, 2008
  11. Dec 04, 2006
  12. Aug 01, 2006
  13. May 21, 2006
  14. Mar 08, 2006
  15. Jan 05, 2006
  16. Jul 08, 2005
  17. Jul 07, 2005
  18. Jun 21, 2005
  19. Jun 17, 2005
  20. May 16, 2005
  21. May 13, 2005
  22. May 10, 2005
  23. May 05, 2005
  24. May 03, 2005
  25. Apr 28, 2005
  26. Apr 27, 2005
  27. Apr 22, 2005
  28. Apr 20, 2005
  29. Apr 19, 2005
  30. Apr 13, 2005
  31. Oct 01, 2004
  32. Sep 30, 2004
  33. Jul 13, 2004
  34. Jan 28, 2004
  35. Jan 19, 2004
  36. Jan 17, 2004
Loading