Developer documentation: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(reformatted)
m (add __NOEDITSECTION__)
Line 1: Line 1:
__NOTOC__
__NOEDITSECTION__ __NOTOC__
<table style="width: 100%;" cellspacing="5">
<table style="width: 100%;" cellspacing="5">
<!-- Full-width header text -->
<!-- Full-width header text -->
Line 20: Line 20:
</td>
</td>
<td valign="top" style="width: 45%; border: thin solid gray; padding-left:1em; font-size: 90%">
<td valign="top" style="width: 45%; border: thin solid gray; padding-left:1em; font-size: 90%">
=== Developer Resources ===
== Developer Resources ==
* [http://www.amanda.org/support/mailinglists.php amanda-hackers mailing list]
* [http://www.amanda.org/support/mailinglists.php 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.
* Lint : ''lint'' makefile target is available for Amanda source tree. Run "make lint" to do static analysis of Amanda source code.

Revision as of 15:08, 22 May 2007

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.