[cocci] Python script interacting with non-matching files?
Alice Lee <[email protected]> Thu, 12 Mar 2026 15:34:52 +0000
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am trying to use Coccinelle to search C code bases and I have a few questions. 1. Can a python script within a Coccinelle file somehow access the names of files that are processed without matching the search? (Maybe there is some "match all" idiom that would let me get the name of every file and then move on to the relevant search?) 2. Similarly, can a python script tell that parsing failed for a particular file? Thank you, Alice Lee