[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-1.4-284-g150cd39
noreply at openinfosecfoundation.org
noreply at openinfosecfoundation.org
Sat Jul 13 13:13:26 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OISF".
The branch, master has been updated
via 150cd39c6eab0ef1641779ac8c79bb1717fbccc4 (commit)
via 9212ff7e592d4cee3f7ac1472319ce4abb158967 (commit)
via e05fd7f1d069b8315f6884980383fe5302da7001 (commit)
via 2f2916d9ec13a7dff319cf6dcb124f790fd2fa3d (commit)
from 4749420f325acc5965cd942d78ba9ce28c686eda (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 150cd39c6eab0ef1641779ac8c79bb1717fbccc4
Author: Eric Leblond <eric at regit.org>
Date: Fri Jul 5 18:06:40 2013 +0200
detect-engine: do a direct update of flag
There is no reason not to update the flag directly. So do it
to avoid to crash the test.
commit 9212ff7e592d4cee3f7ac1472319ce4abb158967
Author: Eric Leblond <eric at regit.org>
Date: Fri Jul 5 12:33:17 2013 +0200
coccinelle: dynamic testing through make check
This patch modify build system to have make to create the
struct-flags.cocci file by running struct-flags.py.
This way 'make check' is running the test defined from source
code.
commit e05fd7f1d069b8315f6884980383fe5302da7001
Author: Eric Leblond <eric at regit.org>
Date: Fri Jul 5 12:28:30 2013 +0200
coccinelle: add script to generate flags test
This patch adds a script which can be used to generate a test
on coherence of flag usage.
By adding comment in the code, it is possible to declare that we
link a flag in a structure to a specific family of constant:
For example:
/* coccinelle: Packet:flowflags:FLOW_PKT_ */
will trigger the generation on a test which verifies that the
flowflags field in Packet structure is only used with constant
starting by FLOW_PKT_.
commit 2f2916d9ec13a7dff319cf6dcb124f790fd2fa3d
Author: Eric Leblond <eric at regit.org>
Date: Fri Jul 5 11:16:26 2013 +0200
ccccinelle: add formatted comment for flag test
-----------------------------------------------------------------------
Summary of changes:
qa/coccinelle/Makefile.am | 18 ++++++-
qa/coccinelle/struct-flags.cocci | 69 +++++++++++++++++++++++++++
qa/coccinelle/struct-flags.py | 55 +++++++++++++++++++++
qa/coccinelle/tcp-struct-flags.cocci | 38 ---------------
src/decode.h | 1 +
src/detect-engine-mpm.c | 87 ++++++++++++++++-----------------
src/detect.h | 4 ++
src/stream-tcp-private.h | 3 +
8 files changed, 190 insertions(+), 85 deletions(-)
create mode 100644 qa/coccinelle/struct-flags.cocci
create mode 100755 qa/coccinelle/struct-flags.py
delete mode 100644 qa/coccinelle/tcp-struct-flags.cocci
hooks/post-receive
--
OISF
More information about the Oisf-devel
mailing list