Page MenuHomeFreeBSD

Import bsd.clang-analyze.mk from NetBSD.
ClosedPublic

Authored by bdrewery on Feb 26 2016, 1:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 3:56 PM
Unknown Object (File)
Wed, Nov 6, 10:11 AM
Unknown Object (File)
Sat, Nov 2, 8:40 PM
Unknown Object (File)
Oct 26 2024, 11:34 AM
Unknown Object (File)
Oct 16 2024, 2:58 PM
Unknown Object (File)
Oct 7 2024, 9:05 PM
Unknown Object (File)
Oct 1 2024, 7:22 AM
Unknown Object (File)
Oct 1 2024, 7:09 AM
Subscribers
None

Details

Summary

This allows 'make analyze' or 'make OBJ.clang-analyzer' to run the
Clang static analyzer and present results on stdout.

Sponsored by: EMC / Isilon Storage Division

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bdrewery retitled this revision from to Import bsd.clang-analyze.mk from NetBSD..
bdrewery updated this object.
bdrewery edited the test plan for this revision. (Show Details)
bdrewery added reviewers: emaste, dim, imp.
share/mk/bsd.clang-analyze.mk
28–29 ↗(On Diff #13746)

These file-specific flags I intend to add everywhere else as well so I didn't remove from this import.

share/mk/bsd.clang-analyze.mk
28–29 ↗(On Diff #13746)

Though this would support some scattered uses of them already: http://dpaste.com/1F4TQHS

This begs connecting to sys/conf/kern.post.mk and sys/conf/kmod.mk too.

Fix dependency on DPSRCS and hook into kmod.mk.

Hook into kernel. Requires running 'make /full/path/to/src.clang-analyze' or 'make kernel-analyze'

Various fixes, documentation, remove from kernel since it won't work due to
lack of -I everywhere, and support HTML outputs.

This revision was automatically updated to reflect the committed changes.