From: Markus Elfring <Markus.Elfring@web.de>
To: Julia Lawall <julia.lawall@inria.fr>, Denis Efremov <efremov@linux.com>
Cc: cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org,
Kees Cook <keescook@chromium.org>
Subject: Re: [v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks
Date: Mon, 22 Jun 2020 13:17:43 +0200 [thread overview]
Message-ID: <5f91ec99-5c21-78c2-f484-76a0b5bd3e71@web.de> (raw)
> > +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
next reply other threads:[~2020-06-22 11:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 11:17 Markus Elfring [this message]
2020-06-22 11:22 ` Julia Lawall
2020-06-22 11:54 ` 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=5f91ec99-5c21-78c2-f484-76a0b5bd3e71@web.de \
--to=markus.elfring@web.de \
--cc=cocci@systeme.lip6.fr \
--cc=efremov@linux.com \
--cc=julia.lawall@inria.fr \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®