From: julia.lawall@lip6.fr (Julia Lawall) Date: Sat, 17 Feb 2018 21:25:18 +0100 (CET) Subject: [Cocci] Determination for the absence of an option in a function call In-Reply-To: <5e69411a-310d-f80b-6bd6-48158f5a1afd@users.sourceforge.net> References: <96508c06-9473-e558-fba1-7e4db6646ee7@users.sourceforge.net> <2b678153-b7c0-6100-6d9c-624bd61e2b78@users.sourceforge.net> <2a43676a-fdee-236c-221e-f75a6bcd24f2@users.sourceforge.net> <5e69411a-310d-f80b-6bd6-48158f5a1afd@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Sat, 17 Feb 2018, SF Markus Elfring wrote: > >>> f(...,<+...__GFP_NOWARN...+>,...) > >> > >> Does this SmPL specification mean that the identifier can appear anywhere > >> within the function call parameters? > > > > Yes. > > > >> Would it be acceptable for a risk level of false positives to omit > >> the check for the really appropriate parameter position? > > > > Up to you to see what happens. > > Thanks for another clarification. > > Does it increase the chances to integrate any SmPL scripts > for transformation of questionable error messages after > failed memory allocations into a directory which you maintain? > > Which confidence categorisation would fit here? Low. The script has no idea whether the printed string is useful or not. julia