multithreading - C++ code - Coverity (or some other static code analyzer) + thread safety -
i wondering today following: there tool or extension (for coverity or other code analyzer), can following?:
- first, set set of rules, codes generating new threads, analyzer knows, code run other thread.
- the tool must follow, code parts in threads, in same, or in different ones.
- i set "rules", kind of codes ensuring me thread safety: example mylock class locking between threads.
- and reason previous 3: tool should show me warnings, codes called different threads , doesn't have thread-safety usage in it.
thanks
try intel inspector (also known thread checker). dynamic analysis, not static. far remember, allowed annotation/instrumentation custom locks, threading libs in general.
Comments
Post a Comment