Skip to content


Subversion checkout URL

You can clone with
Download ZIP
static analysis tool wrapper and message organizer
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Description of

The script is a tiny Python script that wraps around
two well known static analyzers, the splint static analyzer and the
TenDRA compiler static checker. It has various options that will
allow you to easily manage error message from the compile command
under Emacs or VIM.

It searches for the configuration file on the current directory
as ./.bugbuster.ini and it has the following options:

includes = /usr/include/libxml2:/usr ### include dirs
suppress = true                      ### suppress other file messages
defaults = cppcheck:tendra:splint    ### enabled checkers

flags = -Yxpg4:-Yposix2:-Yposix:-Xs  ### tendra flags
ignore = preprocessing:aborting      ### ignore lines with text

flags = -bugslimit:100               ### splint flags
ignore = exported:observer           ### ignore lines with text

noincludes = true                    ### omit default includes
ignore = Checking:__cplusplus        ### ignore lines with text

It also has the same options for the command line processing. Please
execute: --help

To take a look on the available options.

This script is licensed under New BSD License.

Emacs Integration

To integrate in Emacs, you can add the following
code in your .emacs file:

(global-set-key [C-f11] 'dmw-do-bugbuster)

(defun dmw-do-bugbuster ()
  (set (make-local-variable 'compile-command)
       (let ((file (file-name-nondirectory buffer-file-name)))
         (format " --file=%s" file)))
  (message compile-command)
  (compile compile-command))

Remember that and the compile command will use the
current file directory as current directory and will search there
for the .bugbuster.ini file for available options.

Something went wrong with that request. Please try again.