1011 Commits

Author SHA1 Message Date
Wang Xiang W
433d2f386a Bump version number for release 2021-01-13 12:26:47 +00:00
Chang, Harry
66dc649197 Fix Klocwork scan issues. 2021-01-13 12:26:47 +00:00
Wang Xiang W
2945c9bd20 Limex: exception handling with AVX512 2021-01-13 12:26:47 +00:00
Chang, Harry
20e69f6ad8 Logical Combination: use hs_misc_free instead of free.
fixes github issue #284
2021-01-13 12:26:47 +00:00
Wang Xiang W
04d3be487d Adjust sensitive terms 2021-01-13 12:26:47 +00:00
Wang Xiang W
5eab583df5 limex: add fast NFA check 2021-01-13 12:26:47 +00:00
Chang, Harry
ddc247516c Discard HAVE_AVX512VBMI checks at Sheng/McSheng compile time. 2021-01-13 12:26:47 +00:00
Chang, Harry
5326b3e688 Add cpu feature / target info "AVX512VBMI". 2021-01-13 12:26:47 +00:00
Zhu,Wenjun
0102f03c9c MCSHENG64: extend to 64-state based on mcsheng 2021-01-13 12:26:47 +00:00
Hong, Yang A
f06e19e6cb lookaround:
add 64x8 and 64x16 shufti models
add mask64 model
expand entry quantity
2021-01-13 12:26:47 +00:00
Chang, Harry
00b697bb3b AVX512VBMI Fat Teddy. 2021-01-13 12:26:47 +00:00
Chang, Harry
007117146c Fix find_vertices_in_cycles(): don't check self-loop in SCC. 2021-01-13 12:26:47 +00:00
Chang, Harry
0c4c149433 Fix sheng64 dump compile issue in clang. 2021-01-13 12:26:47 +00:00
Chang, Harry
d8dc1ad685 Fix sheng64 compile issue in clang and in DEBUG_OUTPUT mode on SKX. 2021-01-13 12:26:47 +00:00
Chang, Harry
27ab2e086d SHENG64: 64-state 1-byte shuffle based DFA. 2021-01-13 12:26:47 +00:00
Chang, Harry
cf06d552f8 SHENG32: Compile priority sheng > mcsheng > sheng32. 2021-01-13 12:26:47 +00:00
Chang, Harry
33cef12050 SHENG32: 32-state 1-byte shuffle based DFA. 2021-01-13 12:26:47 +00:00
Hong, Yang A
15f0ccd1b8 DFA: use sherman economically 2021-01-13 12:23:04 +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
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
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
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
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
Pavel Shlyak
3ca3602755 A tiny cleanup 2019-12-02 16:40:38 +00: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
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
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
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
356c0ab3d4 dispatcher: return correct function type from ifunc resolver 2019-08-13 14:49:00 +08:00
Hong, Yang A
bc37072d5b Rose: add necessary instruction programs to avoid dead loop
Fixes github issue #141
2019-04-10 06:53:03 -04:00
Wang, Xiang W
56e4d5a2c6 runtime: mark scratch unused only when no further scratch references 2019-04-10 06:52:55 -04:00
Wang, Xiang W
28786eb269 Rose: extend handling for unexpected logical combination programs 2019-04-10 06:52:40 -04:00
Wang, Xiang W
6dc9bed310 Rose: add handling for unexpected programs 2019-03-26 10:16:26 -04:00
Wang, Xiang W
229f3d5080 tools: add catches for C++ exceptions 2019-01-21 09:59:37 +08:00
Hong, Yang A
b5a8644b1f mcclellan: fix dump issue in wide-state case. 2019-01-21 09:59:29 +08:00
Hong, Yang A
f68723a606 literal matching: separate path for pure literal patterns 2019-01-21 09:59:22 +08:00
Chang, Harry
9ab674b18e fix dead loop under win10 release bin. 2019-01-21 09:58:55 +08:00
Wang, Xiang W
ff9636e022 rose: disable switch optimization for windows 2019-01-21 09:58:38 +08:00
Hong, Yang A
805a550a0a mcclellan: wide state fixes for sanitisers and accept state construction 2019-01-21 09:58:18 +08:00
Wang, Xiang W
6f3a0a323e Silence clang warnings about unused variable 2019-01-21 09:57:17 +08:00