From: Julia Lawall <Julia.Lawall@inria.fr>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: cocci@inria.fr
Subject: Re: [cocci] Analysis challenges with SmPL for pass-through functions?
Date: Tue, 21 Oct 2025 17:12:28 +0800 [thread overview]
Message-ID: <AF63C923-8861-4FF0-A7CB-734FA309318D@inria.fr> (raw)
In-Reply-To: <bf92f464-e5f3-409c-9bd5-1bba549dbaf0@web.de>
Sent from my iPhone
> On 21 Oct 2025, at 14:16, Markus Elfring <Markus.Elfring@web.de> wrote:
>
>
>>
>>> Will further clarifications become more interesting for corresponding case distinctions?
>> There is no guarantee that two metavariables don't match the same thing.
>
> Some test cases seem to indicate that a source code search gets restricted to unique data
> if only a single metavariable is affected.
> Are there further constraints to consider for the processing of data types and corresponding
> contents of (meta-)variables?
I have no idea what this means.
If a maetavariable is inherited into another rule it has to have one value. Otherwise it needs one value per control flow path. But if thee are two occurrences of a metavariable in a pattern , they have to have the same value.
>
> Regards,
> Markus
next prev parent reply other threads:[~2025-10-21 9:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-19 14:00 [cocci] Analysis challenges with SmPL for pass-through functions? Markus Elfring
2025-10-19 14:10 ` Julia Lawall
2025-10-19 14:25 ` Markus Elfring
2025-10-19 14:30 ` Julia Lawall
2025-10-19 14:37 ` Markus Elfring
2025-10-19 14:40 ` Julia Lawall
2025-10-19 14:50 ` Markus Elfring
2025-10-21 6:16 ` Markus Elfring
2025-10-21 9:12 ` Julia Lawall [this message]
2025-10-21 9:40 ` Markus Elfring
2025-10-24 19:03 ` [cocci] Terminology evolution for SmPL? Markus Elfring
2025-10-22 9:20 ` [cocci] Analysis challenges with SmPL for pass-through functions? Markus Elfring
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=AF63C923-8861-4FF0-A7CB-734FA309318D@inria.fr \
--to=julia.lawall@inria.fr \
--cc=Markus.Elfring@web.de \
--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 read-only IMAP folder(s) and NNTP newsgroup(s).