Developer documentation

From wiki.zmanda.com
Revision as of 15:07, 22 May 2007 by Dustin (talk | contribs) (reformatted)
Jump to navigation Jump to search

Code documentation

APIs

Developer Resources

  • amanda-hackers mailing list
  • Lint : lint makefile target is available for Amanda source tree. Run "make lint" to do static analysis of Amanda source code.
  • Valgrind: Memory allocation/free checker. See Using Valgrind for details on how to use it with Amanda.
Valgrind is especially useful in debugging glibc errors. Errors beginning with *** glibc detected *** are errors in Amanda memory allocation detected by glibc. Please report all such problems to the amanda-hackers mailing list or the Amanda forums.
You can disable glibc error detection by setting $MALLOC_CHECK to 1. Please note that this might cause Amanda to fail later.

Static source code analysis

Coverity and Klocwork have been running their static analysis tools on the latest Amanda source code and making the results available for the Amanda developers to analyse and fix the defects. Currently (July 7, 2006), we have zero defects found by these tools. We are thankful to these companies for making these tools available and in general, helping to improve quality of open source projects.