From: Palani kodeswaran <palani.k@gmail.com>
To: cocci@inria.fr
Subject: [cocci] Can coccinelle be used for adding header files
Date: Wed, 3 Aug 2022 11:24:53 +0530 [thread overview]
Message-ID: <CAASoEDQCExdJXmMJy55OPAVaetG9b91g7ecdXojDVoC0iC-CRQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
Hello,
I am new to coccinelle and am trying to see if it would be possible in
coccinelle to add a header file to a source file.
Our current coccinelle rules change function calls to a different function
that is defined in another header file that is not included by default.
Would greatly appreciate if someone could point to an example that can
accomplish adding header files.
Regards,
Palani.
[-- Attachment #2: Type: text/html, Size: 498 bytes --]
next reply other threads:[~2022-08-03 5:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 5:54 Palani kodeswaran [this message]
2022-08-03 6:03 ` [cocci] Can coccinelle be used for adding header files Julia Lawall
2022-08-03 11:26 ` Palani kodeswaran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAASoEDQCExdJXmMJy55OPAVaetG9b91g7ecdXojDVoC0iC-CRQ@mail.gmail.com \
--to=palani.k@gmail.com \
--cc=cocci@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).