From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932697AbeAXImE (ORCPT ); Wed, 24 Jan 2018 03:42:04 -0500 Received: from mout.web.de ([212.227.15.3]:53035 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932103AbeAXImC (ORCPT ); Wed, 24 Jan 2018 03:42:02 -0500 Subject: Re: Coccinelle: zalloc-simple: Checking consequences from the usage of at signs in Python strings To: Julia Lawall , Masahiro Yamada , Himanshu Jha Cc: cocci@systeme.lip6.fr, LKML , kernel-janitors@vger.kernel.org, Gilles Muller , "Luis R. Rodriguez" , Michal Marek , Nicolas Palix References: From: SF Markus Elfring Message-ID: <993840d6-112c-215a-8b28-53affa1e7a76@users.sourceforge.net> Date: Wed, 24 Jan 2018 09:41:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:YRjdK9Lefmd6ucnDjFI7K1G+9FReXBvQmyxFRqoR6Z1fOvdWypD fGCl1PrOa9EQozfMe1w5+FH5MTqWzVHgkgFfDMyYbdKrOKFnXhqLoMFHfXpehkXknsphy7t 4Wi2GiEy/DGQ9nPBVcJT3umnDUjIQUAAnyO7QLFVqpdDulAORL+NR5E+xaOwwGW8cLVLdlq 0q3+Mfw6mUs8X+C+o623g== X-UI-Out-Filterresults: notjunk:1;V01:K0:vnd1YBnvAuM=:EkAxDcw1V1hoFkDkHelFqD uH7qkBsL4XYTWKBT19ZtXCZc+u2bcj+jaa2V7mURFRZA1Tf4rUT1gg9jNJLUGP2HvlhCR8gHt 6uDfny+EIF7lQxhdJFZXjv0DYv/sF4oEaKK9wjX0mtCk/VMWHi6UwYh3CimWG8W42RKMGzM1b DTVgF92WOzz5+5OHVAOdNJxh0BVSKyDd1RO12eX454i1qfuxmGqrnthMo4N8PGKHI3bwLiKQ5 927cjjBj9/J2KENCLEQJY+gHsB97cdInTGP2Eq5xRjZox5xk4q+CR1SbGNCeobT9DWxjUt5fW C8CmfqR8JQWtoJot6VLmTdkM50drq649qsbbOVlW2dn5QxI5Ox7ZbKJZts7yUoKOeZB2qKogd NPAoLFb8qxaqSi0u4ZY+0OUM6SBsW0VQiFuo5Zb7Nwyl627v8N31RmS/oRGydTxezcZk72Mq3 fipK82QdmRJoenrP4vZBonqDPGWol8FoL4wC+Ga2NT8vZpjIpUBieasCJ3KyZNMx7uvUlX64s YW7RrPmr2Ts4lakb54Nmd6rUapAkB0YvP6dIwtWBLh2o+5e0t0HKFzSgRCbsjnX2yMxYK3+9X gYD8/6ggk/l5Lo9kj+/NvwI2MVLhJ70s36ixoPrPSOUsooQEsIRpg+IL2exxSPV9OeiP5e2Ad QvWBCxXyXom5B/cRvX5B0BC0VQr1K4xnzKC6fdjC4/DbvK8U2eZoHpFmexhSOV7pVTNg1ivgm P8ogx10I7l9CE+hcko4Nac+Flwt6ncMULeRpyPqFU9Lj4buGoWolEnRg+E7i1n0RTjJ54QKGR 2Tq5jN86IFt0xlVax9b6anYPkf0sckndTF2CvfxmqSt85GAQWc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > So it works, but you are complaining anyway? How serious do you interpret such information in the SmPL manual? >> https://github.com/coccinelle/coccinelle/blob/bf1c6a5869dd324f5faeeaa3a12d57270e478b21/docs/manual/cocci_syntax.tex#L50 >> >> “… >> Furthermore, @ should not be used in this code. … >> …” > > I guess the conclusion is that it woks in strings (which are pretty > universal) and not in comments (which are language specific). Would you like to achieve any safer data processing for potentially “reserved” characters? Regards, Markus From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Wed, 24 Jan 2018 08:41:39 +0000 Subject: Re: Coccinelle: zalloc-simple: Checking consequences from the usage of at signs in Python strings Message-Id: <993840d6-112c-215a-8b28-53affa1e7a76@users.sourceforge.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Julia Lawall , Masahiro Yamada , Himanshu Jha Cc: cocci@systeme.lip6.fr, LKML , kernel-janitors@vger.kernel.org, Gilles Muller , "Luis R. Rodriguez" , Michal Marek , Nicolas Palix > So it works, but you are complaining anyway? How serious do you interpret such information in the SmPL manual? >> https://github.com/coccinelle/coccinelle/blob/bf1c6a5869dd324f5faeeaa3a12d57270e478b21/docs/manual/cocci_syntax.tex#L50 >> >> “… >> Furthermore, @ should not be used in this code. … >> …” > > I guess the conclusion is that it woks in strings (which are pretty > universal) and not in comments (which are language specific). Would you like to achieve any safer data processing for potentially “reserved” characters? Regards, Markus