]> git.ipfire.org Git - thirdparty/suricata.git/commit
cocci test: add sizeof test
authorEric Leblond <eric@regit.org>
Sun, 24 Feb 2013 17:14:11 +0000 (18:14 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 26 Feb 2013 11:30:12 +0000 (12:30 +0100)
commitaa9f795800a10c47a5aed38914a46e2c3fb7df95
treeb23d46af428c1c7fe6558d307ff65dbfc9411487
parent71609229ccb2012978b5ea3c2d541b0bd2d9be1e
cocci test: add sizeof test

This patch adds a new semantic patch taken from
http://coccinellery.org/. This patch tests if a sizeof take size
of pointer and not of pointed value.
qa/coccinelle/sz3.cocci [new file with mode: 0644]