Server IP : 184.154.167.98 / Your IP : 3.145.71.243 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/kernels/4.18.0-553.30.1.lve.el8.x86_64/scripts/coccinelle/free/ |
Upload File : |
/// Free of a structure field /// // Confidence: High // Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. GPLv2. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers virtual org virtual report virtual context @r depends on context || report || org @ expression e; identifier f; position p; @@ ( * kfree@p(&e->f) | * kfree_sensitive@p(&e->f) ) @script:python depends on org@ p << r.p; @@ cocci.print_main("kfree",p) @script:python depends on report@ p << r.p; @@ msg = "ERROR: invalid free of structure field" coccilib.report.print_report(p[0],msg)