[llvm-bugs] [Bug 25399] New: Can not find my own write checker
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 4 01:28:47 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25399
Bug ID: 25399
Summary: Can not find my own write checker
Product: clang
Version: unspecified
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: wpengfeinudt at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15217
--> https://llvm.org/bugs/attachment.cgi?id=15217&action=edit
Documents of my checker
I wrote a checker myself, and registered it to the analyzer according to the
developer manual in 4 steps, and when run 'clang -cc1 -analyzer-checker-help',
I could see my checker in the checker list, however, when use the checker
with:
'scan-build -enable-checker alpha.unix.MisLock -v gcc testlock.c -c',
it said :
'error: no analyzer checkers are associated with 'alpha.unix.MisLock'
note: use -analyzer-disable-all-checks to disable all static analyzer checkers'
Furthermore, when I use 'scan-build --help' to view my checker, I could not
find it either.
Why there is difference between 'scan-build --help' and 'clang -cc1
-analyzer-checker-help', did I missed something when installing or configuring
the clang???
By the way, my clang version is 3.8, OSX is 10.11
Looking forward to your reply, thank you.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151104/3ee39606/attachment.html>
More information about the llvm-bugs
mailing list