OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
scripts
/
coccinelle
/
misc
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
array_size.cocci
1.66 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
badty.cocci
1.68 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
boolconv.cocci
1.44 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
boolinit.cocci
2.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
boolreturn.cocci
698 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
bugon.cocci
1.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cond_no_effect.cocci
2.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cstptr.cocci
827 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
doubleinit.cocci
1.36 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ifaddr.cocci
659 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ifcol.cocci
1.21 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irqf_oneshot.cocci
1.91 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
noderef.cocci
1.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
of_table.cocci
1.33 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
orplus.cocci
1 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
returnvar.cocci
1.22 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
semicolon.cocci
1.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
warn.cocci
1.62 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: semicolon.cocci
Close
/// /// Remove unneeded semicolon. /// // Confidence: Moderate // Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. GPLv2. // URL: http://coccinelle.lip6.fr/ // Comments: Some false positives on empty default cases in switch statements. // Options: --no-includes --include-headers virtual patch virtual report virtual context virtual org @r_default@ position p; @@ switch (...) { default: ...;@p } @r_case@ position p; @@ ( switch (...) { case ...:;@p } | switch (...) { case ...:... case ...:;@p } | switch (...) { case ...:... case ...: case ...:;@p } ) @r1@ statement S; position p1; position p != {r_default.p, r_case.p}; identifier label; @@ ( label:; | S@p1;@p ) @script:python@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @depends on patch@ position r1.p; @@ -;@p @script:python depends on report@ p << r1.p; @@ coccilib.report.print_report(p[0],"Unneeded semicolon") @depends on context@ position r1.p; @@ *;@p @script:python depends on org@ p << r1.p; @@ cocci.print_main("Unneeded semicolon",p)