Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be nice if spdiff becomes again part of coccinelle #6

Open
UnixJunkie opened this issue Dec 4, 2014 · 3 comments
Open

It would be nice if spdiff becomes again part of coccinelle #6

UnixJunkie opened this issue Dec 4, 2014 · 3 comments

Comments

@UnixJunkie
Copy link

spdiff looks such a nice companion tool to coccinelle
that I think it should reside under the coccinelle umbrella
and stay in sync with coccinelle's latest developments.

@jespera
Copy link
Owner

jespera commented Dec 5, 2014

What I suggest initially, is to update spdiff to work with the latest Coccinelle sources. The main thing to be done here is updating the functions converting the cocci C-ast to the spdiff ast. Then there might also be some work in the function that converts a cocci flow-graph to the spdiff-version.

I have started looking at updating the conversion from cocci-c-ast to spdiff-ast.

@jespera
Copy link
Owner

jespera commented Jan 27, 2015

Just a confirmation that work is still underway on this task. It's not as trivial as I had hoped though, because the Coccinelle AST and control-flow-graph has changed more than I had expected.

@jespera
Copy link
Owner

jespera commented Mar 7, 2015

Finally, spdiff compiles with the latest version of coccinelle (there's some issue with the latest menhir it seems though so I've use the one included in the coccinelle repo).

However, it seems one should be able to use spdiff as a library rather than have it tightly coupled with coccinelle (the parser at least).

I think the next steps should be to turn spdiff into a library. We'll need proper abstractions for programs though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants