Wireshark mailing list archives
Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl
From: Bill Meier <wmeier () newsguy com>
Date: Mon, 28 Jan 2013 15:55:55 -0500
On 1/28/2013 3:31 PM, Evan Huus wrote:
Tangentially, CppCheck [1] has support for custom checks using plugins. I've never had time to investigate properly, but I suspect that implementing the three check scripts (checkhf, checkAPIs, checkfiltername) as CppCheck plugins would be a major win, primarily because we'd get real C grammar parsing for free.
It's certainly the case that all the check functionality would be better done in some tool which handles C (and which runs the source thru the pre-processor, etc).
I'll have to look at CppCheck.At one point I thought about looking at CLang to see if it were reasonably easy to add custom checking as needed but I never pursued matters further.
Bill ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Bill Meier (Jan 28)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Evan Huus (Jan 28)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Bill Meier (Jan 28)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Bill Meier (Jan 31)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Evan Huus (Jan 31)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Pascal Quantin (Jan 28)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Maynard, Chris (Jan 28)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Bill Meier (Jan 28)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Maynard, Chris (Jan 28)
- Re: [Wireshark-commits] rev 47326: / /trunk/tools/: checkhf-v2.pl Evan Huus (Jan 28)