[tor-bugs] #31705 [Core Tor/Tor]: Add sufficient coccinelle tooling to run coccinelle without stress

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 11 22:43:09 UTC 2019


#31705: Add sufficient coccinelle tooling to run coccinelle without stress
-------------------------------+--------------------------------
     Reporter:  nickm          |      Owner:  nickm
         Type:  task           |     Status:  assigned
     Priority:  Medium         |  Milestone:  Tor: 0.4.2.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+--------------------------------
 I think we need two pieces of coccinelle tooling to be able to use it
 effectively:

 1) A script that tells us which files have parsing problems.

 2) A script to invoke spatch with the right arguments.

 Based on 1 and 2, we can improve our tor-coccinelle.h file to handle more
 of our codebase, and we can apply coccinelle scripts without trying to
 remember the name of the "-macro-file-builtins" flag.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31705>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list