-
Notifications
You must be signed in to change notification settings - Fork 0
static analysis tool wrapper and message organizer
dmw/bugbuster
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Description of bugbuster.py =========================== The bugbuster.py 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: [global] includes = /usr/include/libxml2:/usr ### include dirs suppress = true ### suppress other file messages defaults = cppcheck:tendra:splint ### enabled checkers [tendra] flags = -Yxpg4:-Yposix2:-Yposix:-Xs ### tendra flags ignore = preprocessing:aborting ### ignore lines with text [splint] flags = -bugslimit:100 ### splint flags ignore = exported:observer ### ignore lines with text [cppcheck] 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: bugbuster.py --help To take a look on the available options. This script is licensed under New BSD License. Emacs Integration ================= To integrate bugbuster.py in Emacs, you can add the following code in your .emacs file: (global-set-key [C-f11] 'dmw-do-bugbuster) (defun dmw-do-bugbuster () (interactive) (set (make-local-variable 'compile-command) (let ((file (file-name-nondirectory buffer-file-name))) (format "bugbuster.py --file=%s" file))) (message compile-command) (compile compile-command)) Remember that bugbuster.py 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.
About
static analysis tool wrapper and message organizer
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published