Hong, Yang A
4d33736a5c
gcc-10: fix hyperscan compile issue
...
Fixes github issue #239
2020-05-25 13:47:53 +00:00
Hong, Yang A
765b8f9fb9
literal API: remove HS_FLAG_MULTILINE flag support
...
fixes github issue #237
2020-05-25 13:47:53 +00:00
Hong, Yang A
88a18dcf98
add AVX512 support for vermicelli model
2020-05-25 13:47:53 +00:00
Hong, Yang A
ec68facfaa
hsbench: add hyphen support for -T option
2020-05-25 13:47:53 +00:00
Hong, Yang A
3ff54f68e4
add Hyperscan version marcro in public header
2020-05-25 13:47:53 +00:00
Chang, Harry
e665e959a0
Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy.
2020-05-25 13:47:53 +00:00
Chang, Harry
43204dda48
AVX512VBMI Teddy.
2020-05-25 13:47:53 +00:00
Federico G. Schwindt
55f336751d
Fix undefined behaviour
...
Just use stat and opendir. Fixes #228 .
While here correct the error message.
2020-05-25 13:47:53 +00:00
Petr Vaněk
a742a5fb8b
Fix few typos in CMakeLists.txt
...
Signed-off-by: Petr Vaněk <pv@excello.cz>
2020-05-25 13:47:53 +00:00
Hong, Yang A
22991f2da1
update description of HS_FLAG_SOM_LEFTMOST to eliminate ambiguity
2020-05-25 13:47:53 +00:00
Hong, Yang A
8344395bfd
avoid crash in addLitExpression()
...
fixes github issue #205
2020-05-25 13:47:53 +00:00
Wang Xiang W
934473f406
hscollider: fix UTF8 check for patterns
2020-05-25 13:47:53 +00:00
Wang Xiang W
7c4490cfc9
smallwrite: add report dedupe check
2020-05-25 13:46:57 +00:00
Wang Xiang W
411317639b
Limex: fix acceleration path analysis
2020-05-25 13:46:42 +00:00
Wang Xiang W
f658c4e149
Noodle: avoid an extra convert instruction
...
fixes github issue #221
2020-05-25 13:46:42 +00:00
Wang Xiang W
cbf04d615d
gcc-9: fix CMake parsing of CPU architecture for non-English locale
...
Fixes github issue #217
2020-05-25 13:46:42 +00:00
Nan Xiao
954719597b
Processing VLAN packets in pcapCorpus.py
...
Signed-off-by: Nan Xiao <xiaonan830818@gmail.com>
2020-01-20 14:18:06 +00:00
Hong, Yang A
6f6e2744df
Cyclic redundancy: change DFS termination condition into successors of cyclic vertex
2020-01-15 15:40:10 +00:00
Dmitry Yakovenko
17de350599
Fix platform compatibility check
2020-01-15 15:40:10 +00:00
flip111
7b406c647c
Update compilation.rst
...
fixed two spelling mistakes
2020-01-15 15:40:10 +00:00
Pavel Shlyak
3ca3602755
A tiny cleanup
2019-12-02 16:40:38 +00:00
Frank Wessels
edb3f8c51e
Fix small typo
2019-12-02 16:37:43 +00:00
Hong, Yang A
d79973efb1
Merge branch 'github_develop' into github_master
v5.2.1
2019-10-30 15:23:56 +00:00
Hong, Yang A
a15927a401
Bump version number for release
2019-10-30 15:20:42 +00:00
Hong, Yang A
c0b9b61e97
changelog: updates for 5.2.1 release
2019-10-30 15:20:19 +00:00
Hong, Yang A
e811a8dbb8
tools: fix compile issue for RELEASE_BUILD code
...
Fixes github issue #186
2019-10-30 15:19:48 +00:00
Wang, Xiang W
52e19cb61c
gcc-9:disable redundant move check for older compiler versions
2019-10-30 15:19:32 +00:00
Chang, Harry
bc80eef39f
Doc changes in "pure negative" logical combination support.
2019-10-30 15:19:19 +00:00
Chang, Harry
4cebdaa435
Merge branch develop to master
v5.2.0
2019-08-13 14:56:02 +08:00
Hong, Yang A
ae8c8ee1c8
Bump version number for release
2019-08-13 14:52:50 +08:00
Hong, Yang A
fb42be1539
changelog: updates for 5.2.0 release
2019-08-13 14:52:44 +08:00
Bobby Martin
e395cd3166
Add windows DLL support
...
(with AVX2 flag removed currently)
2019-08-13 14:52:38 +08:00
Wang, Xiang W
49592833a7
Scratch: fix scratch free issue when memory allocation fails
...
Fixes github issue #174
2019-08-13 14:52:21 +08:00
Wang, Xiang W
177537313a
Chimera: don't disable single match flag when checking Hyperscan support
2019-08-13 14:52:15 +08:00
Hong, Yang A
435cd23823
Literal API: update dev-reference
2019-08-13 14:52:03 +08:00
Hong, Yang A
23e5f06594
add new Literal API for pure literal expressions:
...
Design compile time api hs_compile_lit() and hs_compile_lit_multi()
to handle pure literal pattern sets. Corresponding option --literal-on
is added for hyperscan testing suites. Extended parameters and part of
flags are not supported for this api.
2019-08-13 14:51:38 +08:00
Chang, Harry
8bfbf07f75
Do not free stream unless hs_close_stream returns success.
...
(by unit-hyperscan HyperscanArgChecks.CloseStreamNoScratch)
2019-08-13 14:50:45 +08:00
Chang, Harry
4b1927c038
Logical combination: add purely negative match at EOD unit test
...
MultiCombPurelyNegativeUniSubEOD6.
2019-08-13 14:50:39 +08:00
Chang, Harry
fdc3c290b6
Logical combination: add streaming mode unit test MultiCombStream1.
2019-08-13 14:50:32 +08:00
Chang, Harry
64ea43ea39
Logical Combination: avoid corruption of pending combination report
...
in streaming mode.
Fixes github issue #165
2019-08-13 14:50:16 +08:00
Chang, Harry
1f4c10a58d
Logical combination: support EOD match from purely negative case.
2019-08-13 14:50:07 +08:00
Carlo Marcelo Arenas Belón
7ea4e06275
tools: hscollider FTBS in alpine linux
...
alpine uses musl instead of glibc and therefore doesn't have backtrace()
as part of its libc.
POSIX mandates that _exit() be defined through unistd.h which used to be
included together with execinfo.h when backtrace() was detected and
therefore it happened to build fine for linux or freebsd (when using
libexecinfo from the system or ports).
since there was a macro already defined to test for unistd.h use that
instead and decouple this dependency, so that the code could be built
even when no backtrace() is provided (as expected also in OpenBSD)
2019-08-13 14:49:59 +08:00
Carlo Marcelo Arenas Belón
f28feee57d
unit: avoid UB by making integer literal explicitally unsigned
...
reported by cppcheck as:
[unit/internal/uniform_ops.cpp:78]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[unit/internal/uniform_ops.cpp:109]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[unit/internal/uniform_ops.cpp:127]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[unit/internal/uniform_ops.cpp:145]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
2019-08-13 14:49:37 +08:00
Mostafa Nazari
92edc37c1f
BUGFIX: fix Numerical result out of range error
...
Fix Error errno=34, fix Numerical result out of range error
issue: https://github.com/intel/hyperscan/issues/155
2019-08-13 14:49:24 +08:00
Derrick Lyndon Pallas
5a1b02bc10
Fix uninitialized use of scatter_unit_uX due to padding
...
These non-packed structures are placed into a std::vector. Later, they
contents of the vector are memcpy'd and the CRC of this space is taken.
Some compilers will zero the struct padding but GCC8.2 with -O2 at least
will not. This means that the CRC is based on uninitialized memory.
Since it is expected that these bytes will be memcpy'd, zero in place once
they're in the std::vector.
Found by Valgrind.
Q.v. Issue #148
2019-08-13 14:49:15 +08:00
Derrick Lyndon Pallas
e15954a4bd
Avoid array-bounds error when debug/fortify enabled
...
This code causes GCC to error out due to a bounds error with the following set
-D_GLIBCXX_DEBUG
-D_FORTIFY_SOURCE=2
The solution is to copy via iterator.
2019-08-13 14:49:07 +08:00
Derrick Lyndon Pallas
356c0ab3d4
dispatcher: return correct function type from ifunc resolver
2019-08-13 14:49:00 +08:00
Wang Xiang W
7729ade0fa
Merge branch develop to master
v5.1.1
2019-04-10 10:59:51 -04:00
Wang, Xiang W
aea440a300
Bump version number for release
2019-04-10 06:53:39 -04:00
Wang, Xiang W
933847e1d3
changelog: updates for 5.1.1 release
2019-04-10 06:53:33 -04:00