]>
git.ipfire.org Git - thirdparty/vectorscan.git/log
Wang Xiang W [Mon, 21 Dec 2020 10:11:22 +0000 (10:11 +0000)]
Bump version number for release
Wang Xiang W [Mon, 21 Dec 2020 10:09:43 +0000 (10:09 +0000)]
changelog: updates for 5.4.0 release
Chang, Harry [Sun, 27 Dec 2020 12:04:55 +0000 (12:04 +0000)]
Fix Klocwork scan issues.
Wang Xiang W [Tue, 1 Dec 2020 15:50:13 +0000 (10:50 -0500)]
chimera: fix return value handling
Fixes github issue #270
Wang Xiang W [Fri, 24 Apr 2020 15:51:34 +0000 (11:51 -0400)]
Limex: exception handling with AVX512
Chang, Harry [Wed, 2 Dec 2020 05:13:23 +0000 (05:13 +0000)]
Logical Combination: use hs_misc_free instead of free.
fixes github issue #284
Hong, Yang A [Tue, 1 Dec 2020 08:41:59 +0000 (08:41 +0000)]
examples: add cmake enabling option BUILD_EXAMPLES.
Piotr Skamruk [Wed, 12 Aug 2020 15:30:11 +0000 (17:30 +0200)]
[dev-reference] Fix minor typo in docs
Walt Stoneburner [Mon, 18 May 2020 17:15:34 +0000 (13:15 -0400)]
Fixed several typos
Fixed spellings of regular, interpretation, and grammar to improve readability.
Fixes github issue #242
Wang Xiang W [Thu, 19 Nov 2020 14:25:21 +0000 (14:25 +0000)]
Adjust sensitive terms
Wang Xiang W [Thu, 10 Sep 2020 09:55:12 +0000 (09:55 +0000)]
limex: add fast NFA check
Chang, Harry [Wed, 21 Oct 2020 12:30:04 +0000 (12:30 +0000)]
Discard HAVE_AVX512VBMI checks at Sheng/McSheng compile time.
Chang, Harry [Wed, 21 Oct 2020 05:14:53 +0000 (05:14 +0000)]
Add cpu feature / target info "AVX512VBMI".
Zhu,Wenjun [Tue, 8 Sep 2020 14:59:33 +0000 (14:59 +0000)]
MCSHENG64: extend to 64-state based on mcsheng
Hong, Yang A [Tue, 20 Oct 2020 20:34:50 +0000 (20:34 +0000)]
lookaround:
add 64x8 and 64x16 shufti models
add mask64 model
expand entry quantity
Chang, Harry [Tue, 25 Feb 2020 05:35:09 +0000 (13:35 +0800)]
AVX512VBMI Fat Teddy.
Chang, Harry [Sat, 19 Sep 2020 05:00:13 +0000 (05:00 +0000)]
Fix find_vertices_in_cycles(): don't check self-loop in SCC.
Chang, Harry [Wed, 26 Aug 2020 05:39:10 +0000 (05:39 +0000)]
Fix cmake error on ICX under release mode.
Chang, Harry [Tue, 1 Sep 2020 07:04:04 +0000 (07:04 +0000)]
Fix sheng64 dump compile issue in clang.
Chang, Harry [Mon, 31 Aug 2020 13:27:22 +0000 (13:27 +0000)]
Fix sheng64 compile issue in clang and in DEBUG_OUTPUT mode on SKX.
Chang, Harry [Fri, 10 Jul 2020 13:26:17 +0000 (13:26 +0000)]
SHENG64: 64-state 1-byte shuffle based DFA.
Chang, Harry [Mon, 20 Jul 2020 06:36:53 +0000 (06:36 +0000)]
SHENG32: Compile priority sheng > mcsheng > sheng32.
Chang, Harry [Thu, 1 Nov 2018 08:33:58 +0000 (16:33 +0800)]
SHENG32: 32-state 1-byte shuffle based DFA.
Hong, Yang A [Thu, 18 Jun 2020 09:48:52 +0000 (09:48 +0000)]
DFA: use sherman economically
Wang Xiang W [Thu, 30 Apr 2020 11:37:55 +0000 (07:37 -0400)]
hsbench: add CSV dump support
Hong, Yang A [Fri, 8 May 2020 14:34:28 +0000 (14:34 +0000)]
Bump version number for release
Hong, Yang A [Tue, 19 May 2020 09:49:19 +0000 (09:49 +0000)]
changelog: updates for 5.3.0 release
Hong, Yang A [Mon, 25 May 2020 14:22:18 +0000 (14:22 +0000)]
tools/fuzz: add test scripts for synthetic pattern generation.
Hong, Yang A [Mon, 18 May 2020 20:08:20 +0000 (20:08 +0000)]
gcc-10: fix hyperscan compile issue
Fixes github issue #239
Hong, Yang A [Wed, 13 May 2020 16:37:57 +0000 (16:37 +0000)]
literal API: remove HS_FLAG_MULTILINE flag support
fixes github issue #237
Hong, Yang A [Tue, 28 Apr 2020 10:15:40 +0000 (10:15 +0000)]
add AVX512 support for vermicelli model
Hong, Yang A [Tue, 28 Apr 2020 10:14:55 +0000 (10:14 +0000)]
hsbench: add hyphen support for -T option
Hong, Yang A [Mon, 20 Apr 2020 13:05:37 +0000 (13:05 +0000)]
add Hyperscan version marcro in public header
Chang, Harry [Tue, 14 Apr 2020 07:56:31 +0000 (15:56 +0800)]
Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy.
Chang, Harry [Tue, 5 Nov 2019 13:19:38 +0000 (21:19 +0800)]
AVX512VBMI Teddy.
Federico G. Schwindt [Fri, 20 Mar 2020 11:44:18 +0000 (11:44 +0000)]
Fix undefined behaviour
Just use stat and opendir. Fixes #228.
While here correct the error message.
Petr Vaněk [Thu, 6 Feb 2020 10:28:34 +0000 (11:28 +0100)]
Fix few typos in CMakeLists.txt
Signed-off-by: Petr Vaněk <pv@excello.cz>
Hong, Yang A [Thu, 16 Apr 2020 12:16:14 +0000 (12:16 +0000)]
update description of HS_FLAG_SOM_LEFTMOST to eliminate ambiguity
Hong, Yang A [Tue, 14 Apr 2020 09:36:46 +0000 (09:36 +0000)]
avoid crash in addLitExpression()
fixes github issue #205
Wang Xiang W [Wed, 8 Apr 2020 15:26:05 +0000 (11:26 -0400)]
hscollider: fix UTF8 check for patterns
Wang Xiang W [Fri, 3 Apr 2020 16:08:10 +0000 (12:08 -0400)]
smallwrite: add report dedupe check
Wang Xiang W [Wed, 18 Mar 2020 13:36:51 +0000 (09:36 -0400)]
Limex: fix acceleration path analysis
Wang Xiang W [Fri, 6 Mar 2020 08:24:07 +0000 (03:24 -0500)]
Noodle: avoid an extra convert instruction
fixes github issue #221
Wang Xiang W [Mon, 17 Feb 2020 09:41:36 +0000 (04:41 -0500)]
gcc-9: fix CMake parsing of CPU architecture for non-English locale
Fixes github issue #217
Nan Xiao [Tue, 7 Jan 2020 01:52:46 +0000 (09:52 +0800)]
Processing VLAN packets in pcapCorpus.py
Signed-off-by: Nan Xiao <xiaonan830818@gmail.com>
Hong, Yang A [Mon, 6 Jan 2020 15:32:37 +0000 (15:32 +0000)]
Cyclic redundancy: change DFS termination condition into successors of cyclic vertex
Dmitry Yakovenko [Sat, 11 Jan 2020 21:35:37 +0000 (00:35 +0300)]
Fix platform compatibility check
flip111 [Fri, 29 Nov 2019 14:59:42 +0000 (15:59 +0100)]
Update compilation.rst
fixed two spelling mistakes
Pavel Shlyak [Sun, 18 Aug 2019 21:50:03 +0000 (00:50 +0300)]
A tiny cleanup
Frank Wessels [Thu, 1 Aug 2019 20:47:54 +0000 (13:47 -0700)]
Fix small typo
Hong, Yang A [Mon, 14 Oct 2019 13:02:26 +0000 (13:02 +0000)]
Bump version number for release
Hong, Yang A [Mon, 14 Oct 2019 12:56:01 +0000 (12:56 +0000)]
changelog: updates for 5.2.1 release
Hong, Yang A [Thu, 22 Aug 2019 13:54:54 +0000 (21:54 +0800)]
tools: fix compile issue for RELEASE_BUILD code
Fixes github issue #186
Wang, Xiang W [Thu, 5 Sep 2019 12:16:08 +0000 (08:16 -0400)]
gcc-9:disable redundant move check for older compiler versions
Chang, Harry [Fri, 23 Aug 2019 02:50:22 +0000 (10:50 +0800)]
Doc changes in "pure negative" logical combination support.
Hong, Yang A [Fri, 12 Jul 2019 15:01:00 +0000 (23:01 +0800)]
Bump version number for release
Hong, Yang A [Fri, 12 Jul 2019 14:55:44 +0000 (22:55 +0800)]
changelog: updates for 5.2.0 release
Bobby Martin [Wed, 27 Mar 2019 16:52:00 +0000 (09:52 -0700)]
Add windows DLL support
(with AVX2 flag removed currently)
Wang, Xiang W [Wed, 10 Jul 2019 00:18:42 +0000 (20:18 -0400)]
Scratch: fix scratch free issue when memory allocation fails
Fixes github issue #174
Wang, Xiang W [Wed, 3 Jul 2019 03:37:21 +0000 (23:37 -0400)]
Chimera: don't disable single match flag when checking Hyperscan support
Hong, Yang A [Wed, 17 Jul 2019 15:45:59 +0000 (23:45 +0800)]
Literal API: update dev-reference
Hong, Yang A [Wed, 17 Jul 2019 16:29:27 +0000 (00:29 +0800)]
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.
Chang, Harry [Thu, 20 Jun 2019 00:59:18 +0000 (08:59 +0800)]
Do not free stream unless hs_close_stream returns success.
(by unit-hyperscan HyperscanArgChecks.CloseStreamNoScratch)
Chang, Harry [Sun, 31 Mar 2019 03:16:50 +0000 (11:16 +0800)]
Logical combination: add purely negative match at EOD unit test
MultiCombPurelyNegativeUniSubEOD6.
Chang, Harry [Fri, 7 Jun 2019 03:38:37 +0000 (11:38 +0800)]
Logical combination: add streaming mode unit test MultiCombStream1.
Chang, Harry [Thu, 6 Jun 2019 07:12:24 +0000 (15:12 +0800)]
Logical Combination: avoid corruption of pending combination report
in streaming mode.
Fixes github issue #165
Chang, Harry [Wed, 27 Mar 2019 07:19:14 +0000 (15:19 +0800)]
Logical combination: support EOD match from purely negative case.
Carlo Marcelo Arenas Belón [Mon, 3 Jun 2019 22:32:38 +0000 (15:32 -0700)]
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)
Carlo Marcelo Arenas Belón [Thu, 30 May 2019 18:31:29 +0000 (11:31 -0700)]
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
Mostafa Nazari [Wed, 8 May 2019 05:12:48 +0000 (09:42 +0430)]
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
Derrick Lyndon Pallas [Mon, 22 Apr 2019 21:13:52 +0000 (21:13 +0000)]
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
Derrick Lyndon Pallas [Mon, 22 Apr 2019 20:19:14 +0000 (20:19 +0000)]
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.
Derrick Lyndon Pallas [Fri, 19 Apr 2019 21:36:19 +0000 (21:36 +0000)]
dispatcher: return correct function type from ifunc resolver
Wang, Xiang W [Wed, 10 Apr 2019 10:43:07 +0000 (06:43 -0400)]
Bump version number for release
Wang, Xiang W [Wed, 3 Apr 2019 10:22:20 +0000 (06:22 -0400)]
changelog: updates for 5.1.1 release
Hong, Yang A [Tue, 2 Apr 2019 15:36:03 +0000 (23:36 +0800)]
unit: check fix of rose instr program dead loop
root [Thu, 28 Mar 2019 03:21:00 +0000 (11:21 +0800)]
cmake: #144 using GNUInstallDirs variables instead of hard-coding in *.pc.in
Hong, Yang A [Mon, 25 Mar 2019 13:19:13 +0000 (21:19 +0800)]
Rose: add necessary instruction programs to avoid dead loop
Fixes github issue #141
Wang, Xiang W [Sun, 31 Mar 2019 15:19:48 +0000 (11:19 -0400)]
runtime: mark scratch unused only when no further scratch references
Wang, Xiang W [Wed, 27 Mar 2019 15:38:48 +0000 (11:38 -0400)]
Rose: extend handling for unexpected logical combination programs
Wang, Xiang W [Mon, 25 Mar 2019 16:30:07 +0000 (12:30 -0400)]
Rose: add handling for unexpected programs
Wang, Xiang W [Tue, 26 Mar 2019 10:19:03 +0000 (06:19 -0400)]
build: avoid file path impact on fat runtime build
Fixes github issue #137
Wang, Xiang W [Mon, 25 Mar 2019 10:02:39 +0000 (06:02 -0400)]
gcc-9: fix CMake parsing of CPU architecture
GCC-9 adds known options section for march that causes regex
replace failure in CMake file
Fixes github issue #136
Chang, Harry [Thu, 17 Jan 2019 07:47:30 +0000 (15:47 +0800)]
Bump version number for release
Chang, Harry [Thu, 3 Jan 2019 06:58:53 +0000 (14:58 +0800)]
changelog: updates for 5.1.0 release
Wang, Xiang W [Tue, 29 Jan 2019 09:45:51 +0000 (04:45 -0500)]
unit: check return value of malloc
Wang, Xiang W [Mon, 21 Jan 2019 08:48:36 +0000 (03:48 -0500)]
chimera: fix scratch space handling in shared scratch use case
Wang, Xiang W [Tue, 8 Jan 2019 11:45:31 +0000 (06:45 -0500)]
tools: add catches for C++ exceptions
Hong, Yang A [Thu, 17 Jan 2019 16:20:06 +0000 (00:20 +0800)]
mcclellan: fix dump issue in wide-state case.
Hong, Yang A [Tue, 8 Jan 2019 22:00:55 +0000 (06:00 +0800)]
literal matching: separate path for pure literal patterns
Wang, Xiang W [Wed, 26 Dec 2018 04:19:51 +0000 (23:19 -0500)]
build: avoid pcre error for hscollider when using installed PCRE package
Fixes github issue #127
Chang, Harry [Tue, 25 Dec 2018 05:49:29 +0000 (13:49 +0800)]
fix dead loop under win10 release bin.
Wang, Xiang W [Mon, 24 Dec 2018 06:32:02 +0000 (01:32 -0500)]
hscollider: fix back inserter error for windows
Wang, Xiang W [Mon, 24 Dec 2018 05:45:59 +0000 (00:45 -0500)]
rose: disable switch optimization for windows
Wang, Xiang W [Mon, 24 Dec 2018 02:37:30 +0000 (21:37 -0500)]
doc: fix github repo address
Hong, Yang A [Sun, 23 Dec 2018 20:49:47 +0000 (04:49 +0800)]
mcclellan: wide state fixes for sanitisers and accept state construction
Wang, Xiang W [Sat, 22 Dec 2018 02:46:04 +0000 (21:46 -0500)]
Silence clang warnings about unused variable
Guangqing Chen [Mon, 3 Dec 2018 21:25:52 +0000 (05:25 +0800)]
Rose: optimize switch-case with Labels-as-Values
Chang, Harry [Thu, 20 Dec 2018 07:28:07 +0000 (15:28 +0800)]
Update PCRE version to 8.42 (8.41 is also compatible)
Hong, Yang A [Wed, 19 Dec 2018 09:49:09 +0000 (17:49 +0800)]
DFA state compression: 16-bit wide and sherman co-exist