public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks
@ 2020-06-22 11:17 Markus Elfring
  2020-06-22 11:22 ` Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Elfring @ 2020-06-22 11:17 UTC (permalink / raw)
  To: Julia Lawall, Denis Efremov; +Cc: cocci, linux-kernel, Kees Cook

> > +coccilib.report.print_report(p1[0],
> > +f"WARNING: array_size is used down the code (line {p2[0].line}) to compute the same size")
>
> I get python failures for all of these messages.

This is interesting, isn't it?


> I know nothing about python.

You probably know more also about this programming language
than you express here.


> How is this supposed to work?

I suggest to take another look at information from the section
“2.4.3. Formatted string literals”.
https://docs.python.org/3/reference/lexical_analysis.html#f-strings

This software documentation provides the information “New in version 3.6”.
Will such a detail trigger any more software development consequences?

Regards,
Markus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-22 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-22 11:17 [v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks Markus Elfring
2020-06-22 11:22 ` Julia Lawall
2020-06-22 11:54   ` Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox