1824 Commits

Author SHA1 Message Date
Konstantinos Margaritis
e8e2957344 re-add missing file to x86 builds 2023-10-07 11:45:10 +03:00
Konstantinos Margaritis
7a2ccd7773 fix fat & normal build errors on arm 2023-10-07 06:17:18 +08:00
Konstantinos Margaritis
55cae8c807 detect arm_sve.h when using clang on fat runtime builds 2023-10-06 20:46:24 +08:00
Konstantinos Margaritis
a26661c849 remove extra print 2023-10-06 12:08:36 +03:00
Konstantinos Margaritis
98d7434cfd __builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now 2023-10-06 11:44:41 +03:00
Konstantinos Margaritis
22a24f12ea Reduce debug unit tests runtime even more
In single.cpp featuremask with AVX512 features is not relevant to non-x86 platforms,
and just extends the runtime for no reason.
2023-10-05 19:12:58 +03:00
Konstantinos Margaritis
e369681ce2 Don't run regression UE_2595 on debug, it times out CI 2023-10-05 10:40:30 +03:00
Konstantinos Margaritis
35c0711689 use the right type of cast 2023-10-04 23:35:10 +03:00
Konstantinos Margaritis
72afe16452 clang 16 as well 2023-10-04 22:07:34 +03:00
Konstantinos Margaritis
da88abfa39 missed one pragma 2023-10-04 20:54:57 +03:00
Konstantinos Margaritis
2e88df1a89 use the conditional in the right way 2023-10-04 20:35:58 +03:00
Konstantinos Margaritis
354fda48fb add conditional for __clang__ 2023-10-04 20:28:35 +03:00
Konstantinos Margaritis
b7d1bc0298 clang 15 (but not 16) fails on ppc64le with -Wdeprecate-lax-vec-conv-all 2023-10-04 20:09:45 +03:00
Konstantinos Margaritis
9aa61440ea Reduce unit test runtimes dramatically for debug builds 2023-10-04 19:21:30 +03:00
Konstantinos Margaritis
93d3e7eb30 fix -Wunused warnings on debug 2023-10-04 07:16:45 +00:00
Konstantinos Margaritis
9a174745e4 more std::move fixes 2023-10-03 21:01:51 +03:00
Konstantinos Margaritis
db7b23a468 move definition of RAGEL_C_FLAGS earlier to catch tools/hscollider 2023-10-03 21:01:35 +03:00
Konstantinos Margaritis
0d2f9ccbaa Fix 'unqualified call to std::move' errors in clang 15+ 2023-10-03 20:24:39 +03:00
Konstantinos Margaritis
16604f9539 Fix version getting out of sync #175 2023-10-03 09:57:10 +03:00
Konstantinos Margaritis
4918f81ea3
Merge pull request #174 from VectorCamp/develop
Minor bugfix release 5.4.10.1
vectorscan/5.4.10.1
2023-09-08 13:42:33 +03:00
Konstantinos Margaritis
adedf2acf3
Merge pull request #173 from VectorCamp/bugfix/disable-fat-macos-arm
Bugfix/disable fat macos arm
2023-09-08 12:18:11 +03:00
Konstantinos Margaritis
d85d306ff9 HWCAP is only available on Linux 2023-09-08 10:08:44 +03:00
Konstantinos Margaritis
1d25f9b8f5 force disable FAT_RUNTIME on MacOS on Arm 2023-09-08 10:08:18 +03:00
Konstantinos Margaritis
ad42abe7b4 forgot to update changelog for latest entry 2023-09-07 20:10:20 +03:00
Konstantinos Margaritis
85a6973060
Merge pull request #167 from VectorCamp/develop
Prepare for 5.4.10
2023-09-07 20:03:49 +03:00
Konstantinos Margaritis
a344cd30f7 minor fix 2023-09-07 17:53:25 +03:00
Konstantinos Margaritis
68346631c7 bump version, add Vectorscan Changelog 2023-09-07 17:51:07 +03:00
Konstantinos Margaritis
e843ac80c9
Merge pull request #169 from VectorCamp/feature/backport-hyperscan-2023Q3
Feature/backport hyperscan 2023 q3
2023-09-05 20:11:30 +03:00
Hong, Yang A
4344d2fce7 changelog: updates for 5.4.2 release 2023-09-05 13:58:33 +03:00
Hong, Yang A
5209c7978a remove invalid nfa dump info 2023-09-05 13:58:24 +03:00
Hong, Yang A
c6523453d7 scratch: remove quick validity check
Roll back fix for github issue #350

About Scratch Usage:
For compile time, scratch space is strongly recommended to be
allocated immediately after database generation.
For runtime, besides using scratch for corresponding database,
Hyperscan also allows user to use larger scratch space allocated
for another database.
When multiple concurrent threads need to use the same databases
and a new scratch space is required, cloning the largest one is
always safe. This is realized based on API hs_scratch_size() and
hs_clone_scratch().
Behaviors beyond above are discouraged and results are undefined.
2023-09-05 13:58:17 +03:00
Chang, Harry
ab4f837607 changelog: updates for 5.4.1 release 2023-09-05 13:57:42 +03:00
Hong, Yang A
dc78dc1633 sanitiser bugfix 2023-09-05 13:56:24 +03:00
Hong, Yang A
4fb3a48dfd bugfix: add vbmi case for test in database.cpp 2023-09-05 13:52:10 +03:00
Hong, Yang A
6765b35d48 bugfix: add vbmi platform parameter for tests in single.cpp 2023-09-05 13:52:03 +03:00
Hong, Yang A
91f0cb6cea fix nfa dump error 2023-09-05 13:51:22 +03:00
Hong, Yang A
7f2f7d2a1e scratch: add quick validity check
fix github issue #350
2023-09-05 13:51:15 +03:00
Hong, Yang A
659525480c stream close: free stream to avoid memory leak
fix github issue #303
2023-09-05 13:50:56 +03:00
Hong, Yang A
941cc7144b Silence clang-14 warnings 2023-09-05 13:50:45 +03:00
Hong, Yang A
fc5a423c7e Fix cmake CMP0115 warning for CMake 3.20 and above 2023-09-05 13:50:30 +03:00
Hong, Yang A
b7ee9102ee update year 2022 2023-09-05 13:49:52 +03:00
Hong, Yang A
684f0ce2cb UTF-8 validation: fix one cotec check corner issue
fix github issue #362
2023-09-05 13:49:41 +03:00
Hong, Yang A
7c1835c0e7 stringop-overflow compatible fix 2023-09-05 13:48:12 +03:00
Hong, Yang A
762f4050a0 gcc-10(and above): fix compile issue caused by stringop-overflow 2023-09-05 13:47:59 +03:00
Hong, Yang A
978105a4c0 klocwork: fix risk issues 2023-09-05 13:45:33 +03:00
Konstantinos Margaritis
75dbedeebe
Merge pull request #164 from jeffplaisance/develop
adding ifndef around HS_PUBLIC_API definition so that vectorscan can be statically linked into another shared library without exporting symbols
2023-09-04 23:11:34 +03:00
Konstantinos Margaritis
b6b69a41eb
Merge pull request #165 from VectorCamp/feature/enable-fat-runtime-arm
Feature/enable fat runtime arm
2023-09-04 22:50:11 +03:00
jplaisance
4bc70b37a7 adding ifndef around HS_PUBLIC_API definition so that vectorscan can be statically linked into another shared library without exporting symbols 2023-08-23 11:07:56 -05:00
Konstantinos Margaritis
0ec7b4e77b fix SVE flags detection order #145 2023-08-23 10:21:02 +00:00
Konstantinos Margaritis
68db36f4c4 initial attempt for fat binary on Aarch64 2023-08-23 09:42:00 +00:00