[Cocci] Finding embedded function names?

Joe Perches joe at perches.com
Fri Dec 5 16:54:34 CET 2014


On Fri, 2014-12-05 at 16:14 +0100, Rasmus Villemoes wrote:
> Hardcoding the function name in a literal string also makes typos (or
> copy-pastos) possible. I extended Julia's code to allow a small edit
> distance. Requires the Levenshtein python module (on debian, apt-get
> install python-levenshtein). It's not terribly slow, but to be really
> useful I (or someone) would need to reduce the number of false positives.

I agree with Julia, cool, thanks.



More information about the Cocci mailing list