User: Password:
|
|
Subscribe / Log in / New account

Evolutionary development of a semantic patch using Coccinelle

Evolutionary development of a semantic patch using Coccinelle

Posted Mar 30, 2010 22:29 UTC (Tue) by hppnq (guest, #14462)
In reply to: Evolutionary development of a semantic patch using Coccinelle by neilbrown
Parent article: Evolutionary development of a semantic patch using Coccinelle

You could look at Elsa, written by Scott McPeak. It is a C/C++ parser, one of its sample applications is a semantic grep.

Have fun. ;-)


(Log in to post comments)

Evolutionary development of a semantic patch using Coccinelle

Posted Mar 30, 2010 22:44 UTC (Tue) by nix (subscriber, #2304) [Link]

Ooooh, thanks for that. Not only does Elsa look nice, but Elkhound looks
like a seriously nice-looking parser generator.

Evolutionary development of a semantic patch using Coccinelle

Posted Apr 1, 2010 0:21 UTC (Thu) by vonbrand (guest, #4458) [Link]

Looks dead to me. No updates for 5 years, the site "it moved to" doesn't have the announced SVN repos, ...

Evolutionary development of a semantic patch using Coccinelle

Posted Apr 1, 2010 7:25 UTC (Thu) by ajb (subscriber, #9694) [Link]

Mozilla are maintaining a fork of it: https://wiki.mozilla.org/Pork

Evolutionary development of a semantic patch using Coccinelle

Posted Apr 1, 2010 7:42 UTC (Thu) by hppnq (guest, #14462) [Link]

The original Elsa page shows quite nicely and concisely how to implement a semantic grep. It is now used (and lives on) as a frontend for Oink, which has a Git repository here. It is also used by Pork, an Oink fork used by the Mozilla project. Both of these toolchains do static source code analysis and code rewriting.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds