Re: [cocci] [RFC] Increasing usage of direct pointer assignments from memcpy() calls with SmPL?

Markus Elfring <[email protected]>
Newsgroups fr.inria.cocci
Message-ID <[email protected]>
> If you have a concern, you have to say what it is.

The initial search pattern might be too simple so far.
Thus I became interested in further software extensions also according to
the discussed source code transformation approach.
Can it be determined anyhow (by the means of the semantic patch language)
that the variable from the assignment statement would not be used any more
after the adjustment within the affected scope?

Regards,
Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.