[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160903201847.GA4218@mwanda>
Date: Sat, 3 Sep 2016 23:18:47 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Joe Perches <joe@...ches.com>
Cc: Julia Lawall <julia.lawall@...6.fr>,
Dan Carpenter <error27@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Possible code defects: macros and precedence
No. I can't think of a way to write a script for that in smatch. It
works on the pre-processed code. There is a hack around to tell if code
is inside a macro or not, but you can't tell if code is a macro
parameter.
regards,
dan carpenter
Powered by blists - more mailing lists