1 // SPDX-License-Identifier: GPL-2.0-only
2 /// The address of a variable or field is likely always to be non-zero.
5 // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
6 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
7 // URL: https://coccinelle.gitlabpages.inria.fr/website
9 // Options: --no-includes --include-headers
20 *\(&x@p == NULL \| &x@p != NULL\)
22 @script:python depends on org@
26 cocci.print_main("test of a variable/field address",p)
28 @script:python depends on report@
32 msg = "ERROR: test of a variable/field address"
33 coccilib.report.print_report(p[0],msg)