]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
22 months agoMerge pull request #200 from VectorCamp/bugfix/install-static-libs 201/head
Konstantinos Margaritis [Tue, 21 Nov 2023 09:46:29 +0000 (11:46 +0200)] 
Merge pull request #200 from VectorCamp/bugfix/install-static-libs

fix missing installation of static libs

22 months agoMerge pull request #199 from gliwka/fix-missing-hs-version-header
Konstantinos Margaritis [Tue, 21 Nov 2023 09:46:00 +0000 (11:46 +0200)] 
Merge pull request #199 from gliwka/fix-missing-hs-version-header

Fix missing hs_version.h header (closes #198)

22 months agofix missing installation of static libs 200/head
Konstantinos Margaritis [Mon, 20 Nov 2023 20:39:12 +0000 (22:39 +0200)] 
fix missing installation of static libs

22 months agofix missing hs_version.h header (closes #198) 199/head
Matthias Gliwka [Mon, 20 Nov 2023 17:19:03 +0000 (19:19 +0200)] 
fix missing hs_version.h header (closes #198)

22 months agoMerge pull request #196 from VectorCamp/feature/prepare-5.4.11 197/head
Konstantinos Margaritis [Mon, 20 Nov 2023 05:37:14 +0000 (07:37 +0200)] 
Merge pull request #196 from VectorCamp/feature/prepare-5.4.11

Feature/prepare 5.4.11

22 months agoexpand on build-deps installation feature/prepare-5.4.11 196/head
Konstantinos Margaritis [Sun, 19 Nov 2023 18:00:06 +0000 (20:00 +0200)] 
expand on build-deps installation

22 months agoadd sanitizer flags
Konstantinos Margaritis [Sun, 19 Nov 2023 17:53:02 +0000 (19:53 +0200)] 
add sanitizer flags

22 months agomore changes to readme
Konstantinos Margaritis [Sun, 19 Nov 2023 17:37:06 +0000 (19:37 +0200)] 
more changes to readme

22 months agocross-compiling is not tested, removed
Konstantinos Margaritis [Sun, 19 Nov 2023 17:24:59 +0000 (19:24 +0200)] 
cross-compiling is not tested, removed

22 months agoif none are set build static
Konstantinos Margaritis [Sun, 19 Nov 2023 17:18:23 +0000 (19:18 +0200)] 
if none are set build static

22 months agoadditions to readme
Konstantinos Margaritis [Sun, 19 Nov 2023 15:57:08 +0000 (17:57 +0200)] 
additions to readme

22 months agoadd contributors file
Konstantinos Margaritis [Sun, 19 Nov 2023 13:32:45 +0000 (15:32 +0200)] 
add contributors file

22 months agoadd changelog entry
Konstantinos Margaritis [Sun, 19 Nov 2023 13:32:36 +0000 (15:32 +0200)] 
add changelog entry

22 months agoUpdate Readme file
Konstantinos Margaritis [Sun, 19 Nov 2023 08:24:51 +0000 (10:24 +0200)] 
Update Readme file

22 months agobump version
Konstantinos Margaritis [Sun, 19 Nov 2023 08:24:32 +0000 (10:24 +0200)] 
bump version

22 months agoDon't build fat runtime with native CPU detection
Konstantinos Margaritis [Sun, 19 Nov 2023 08:24:13 +0000 (10:24 +0200)] 
Don't build fat runtime with native CPU detection

22 months agoremove Jenkinsfile
Konstantinos Margaritis [Sun, 19 Nov 2023 08:23:39 +0000 (10:23 +0200)] 
remove Jenkinsfile

22 months agoMerge pull request #191 from VectorCamp/bugfix/fix-segfault-arm-sve2 192/head
Konstantinos Margaritis [Fri, 17 Nov 2023 12:38:01 +0000 (14:38 +0200)] 
Merge pull request #191 from VectorCamp/bugfix/fix-segfault-arm-sve2

Move VERM16 enums to the end of the list

22 months agoMove VERM16 enums to the end of the list 191/head
Konstantinos Margaritis [Thu, 16 Nov 2023 19:50:30 +0000 (03:50 +0800)] 
Move VERM16 enums to the end of the list

This was causing a hard-to-track segfault with Fat Runtime on SVE2 hw,
because of the macro-based hard-coded way to calculate offsets for each
implementation. This needs a rewrite.

23 months agoMerge pull request #189 from mlmitch/develop
Konstantinos Margaritis [Wed, 1 Nov 2023 09:35:36 +0000 (11:35 +0200)] 
Merge pull request #189 from mlmitch/develop

Correct set_source_files_properties usage

23 months agoMerge pull request #188 from VectorCamp/bugfix/require-pkg-config
Konstantinos Margaritis [Tue, 31 Oct 2023 17:09:35 +0000 (19:09 +0200)] 
Merge pull request #188 from VectorCamp/bugfix/require-pkg-config

make pkgconfig a requirement

23 months agoCorrect set_source_files_properties usage 189/head
Mitchell Wasson [Tue, 31 Oct 2023 15:09:48 +0000 (09:09 -0600)] 
Correct set_source_files_properties usage

The use of `CMAKE_BINARY_DIR` and `CMAKE_CURRENT_BINARY_DIR` when
specifying files to set_source_files_properties caused problems
when this project is used from another CMake project.

More specifically, these variables aren't set to the expected path,
and the properties are attempted to be set for non-existant files.

This was benign before vectorscan 5.4.8 as the only properties
set were warning suppression flags.

Starting with 5.4.9, `-funsigned-char` was applied to Ragel outputs
using this method. The result is projects depending on Vectorscan
through Cmake do not have this compile flag properly applied.

23 months agomake pkgconfig a requirement 188/head
Konstantinos Margaritis [Tue, 31 Oct 2023 10:38:07 +0000 (10:38 +0000)] 
make pkgconfig a requirement

23 months agoMerge pull request #186 from VectorCamp/bugfix/fix-compilation-arm-ubuntu-20.04
Konstantinos Margaritis [Wed, 25 Oct 2023 10:53:44 +0000 (13:53 +0300)] 
Merge pull request #186 from VectorCamp/bugfix/fix-compilation-arm-ubuntu-20.04

Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180

23 months agoMerge pull request #185 from VectorCamp/bugfix/fix-inconsistent-version-header
Konstantinos Margaritis [Wed, 11 Oct 2023 16:52:22 +0000 (19:52 +0300)] 
Merge pull request #185 from VectorCamp/bugfix/fix-inconsistent-version-header

Fix version getting out of sync #175

23 months agoUbuntu 20.04 gcc does not define HWCAP2_SVE2 #180 186/head
Konstantinos Margaritis [Tue, 10 Oct 2023 10:30:12 +0000 (18:30 +0800)] 
Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180

23 months agoMerge pull request #181 from VectorCamp/bugfix/fix-clang15-compilation-errors
Konstantinos Margaritis [Tue, 10 Oct 2023 10:14:10 +0000 (13:14 +0300)] 
Merge pull request #181 from VectorCamp/bugfix/fix-clang15-compilation-errors

Fix clang 15,16 compilation errors on all platforms, refactor CMake build system

23 months agofix default arch definition for non fat builds on arm 181/head
Konstantinos Margaritis [Mon, 9 Oct 2023 16:55:02 +0000 (00:55 +0800)] 
fix default arch definition for non fat builds on arm

23 months agoset default value
Konstantinos Margaritis [Mon, 9 Oct 2023 12:38:19 +0000 (20:38 +0800)] 
set default value

23 months agoSVE2 is armv9-a but gcc 11 does not recognize that
Konstantinos Margaritis [Mon, 9 Oct 2023 12:02:37 +0000 (20:02 +0800)] 
SVE2 is armv9-a but gcc 11 does not recognize that

23 months agoremove vermicelli_simd.cpp to fix redefinition build failure on SVE2 builds
Konstantinos Margaritis [Mon, 9 Oct 2023 12:01:26 +0000 (20:01 +0800)] 
remove vermicelli_simd.cpp to fix redefinition build failure on SVE2 builds

23 months agoremove unneeded option
Konstantinos Margaritis [Mon, 9 Oct 2023 10:26:08 +0000 (10:26 +0000)] 
remove unneeded option

23 months ago is not known at that stage
Konstantinos Margaritis [Mon, 9 Oct 2023 10:16:40 +0000 (10:16 +0000)] 
 is not known at that stage

23 months agofix cmake refactor for arm builds
Konstantinos Margaritis [Mon, 9 Oct 2023 10:03:53 +0000 (10:03 +0000)] 
fix cmake refactor for arm builds

23 months agofix default arch/tune flags for ppc64le
Konstantinos Margaritis [Sun, 8 Oct 2023 21:44:12 +0000 (00:44 +0300)] 
fix default arch/tune flags for ppc64le

23 months agofix x86 fat binary build
Konstantinos Margaritis [Sun, 8 Oct 2023 21:42:39 +0000 (00:42 +0300)] 
fix x86 fat binary build

23 months agofix sqlite3 version detection
Konstantinos Margaritis [Sun, 8 Oct 2023 21:23:29 +0000 (00:23 +0300)] 
fix sqlite3 version detection

23 months agofix cflags detection for x86
Konstantinos Margaritis [Sun, 8 Oct 2023 21:23:08 +0000 (00:23 +0300)] 
fix cflags detection for x86

23 months agofix defaults for -march for x86
Konstantinos Margaritis [Sun, 8 Oct 2023 21:22:52 +0000 (00:22 +0300)] 
fix defaults for -march for x86

23 months agoincrease cmake_minimum_version, basically the one in Debian 11
Konstantinos Margaritis [Sun, 8 Oct 2023 21:22:31 +0000 (00:22 +0300)] 
increase cmake_minimum_version, basically the one in Debian 11

23 months agoadd missing file
Konstantinos Margaritis [Sun, 8 Oct 2023 20:54:06 +0000 (23:54 +0300)] 
add missing file

23 months agoWIP: Refactor CMake build system to more modular
Konstantinos Margaritis [Sun, 8 Oct 2023 20:26:07 +0000 (23:26 +0300)] 
WIP: Refactor CMake build system to more modular

23 months agoSVE2 needs armv9-a, fix build
Konstantinos Margaritis [Sat, 7 Oct 2023 16:00:42 +0000 (00:00 +0800)] 
SVE2 needs armv9-a, fix build

23 months agoadd src/nfa/vermicelli_simd.cpp to ppc64le
Konstantinos Margaritis [Sat, 7 Oct 2023 15:02:00 +0000 (18:02 +0300)] 
add src/nfa/vermicelli_simd.cpp to ppc64le

23 months agoinclude extra sources for Arm on non-fat builds
Konstantinos Margaritis [Sat, 7 Oct 2023 14:27:26 +0000 (22:27 +0800)] 
include extra sources for Arm on non-fat builds

2 years agoadd missing file
Konstantinos Margaritis [Sat, 7 Oct 2023 09:10:06 +0000 (12:10 +0300)] 
add missing file

2 years agoadd cpuid_flags to ppc64le as well
Konstantinos Margaritis [Sat, 7 Oct 2023 09:06:47 +0000 (12:06 +0300)] 
add cpuid_flags to ppc64le as well

2 years agore-add missing file to x86 builds
Konstantinos Margaritis [Sat, 7 Oct 2023 08:44:57 +0000 (11:44 +0300)] 
re-add missing file to x86 builds

2 years agofix fat & normal build errors on arm
Konstantinos Margaritis [Fri, 6 Oct 2023 22:17:18 +0000 (06:17 +0800)] 
fix fat & normal build errors on arm

2 years agodetect arm_sve.h when using clang on fat runtime builds
Konstantinos Margaritis [Fri, 6 Oct 2023 12:46:24 +0000 (20:46 +0800)] 
detect arm_sve.h when using clang on fat runtime builds

2 years agoremove extra print
Konstantinos Margaritis [Fri, 6 Oct 2023 09:08:36 +0000 (12:08 +0300)] 
remove extra print

2 years ago__builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now
Konstantinos Margaritis [Fri, 6 Oct 2023 08:44:41 +0000 (11:44 +0300)] 
__builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now

2 years agoReduce debug unit tests runtime even more
Konstantinos Margaritis [Thu, 5 Oct 2023 16:12:38 +0000 (19:12 +0300)] 
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.

2 years agoDon't run regression UE_2595 on debug, it times out CI
Konstantinos Margaritis [Thu, 5 Oct 2023 07:40:30 +0000 (10:40 +0300)] 
Don't run regression UE_2595 on debug, it times out CI

2 years agouse the right type of cast
Konstantinos Margaritis [Wed, 4 Oct 2023 20:35:10 +0000 (23:35 +0300)] 
use the right type of cast

2 years agoclang 16 as well
Konstantinos Margaritis [Wed, 4 Oct 2023 19:07:34 +0000 (22:07 +0300)] 
clang 16 as well

2 years agomissed one pragma
Konstantinos Margaritis [Wed, 4 Oct 2023 17:54:57 +0000 (20:54 +0300)] 
missed one pragma

2 years agouse the conditional in the right way
Konstantinos Margaritis [Wed, 4 Oct 2023 17:35:58 +0000 (20:35 +0300)] 
use the conditional in the right way

2 years agoadd conditional for __clang__
Konstantinos Margaritis [Wed, 4 Oct 2023 17:28:35 +0000 (20:28 +0300)] 
add conditional for __clang__

2 years agoclang 15 (but not 16) fails on ppc64le with -Wdeprecate-lax-vec-conv-all
Konstantinos Margaritis [Wed, 4 Oct 2023 17:09:45 +0000 (20:09 +0300)] 
clang 15 (but not 16) fails on ppc64le with -Wdeprecate-lax-vec-conv-all

2 years agoReduce unit test runtimes dramatically for debug builds
Konstantinos Margaritis [Wed, 4 Oct 2023 16:20:45 +0000 (19:20 +0300)] 
Reduce unit test runtimes dramatically for debug builds

2 years agofix -Wunused warnings on debug
Konstantinos Margaritis [Wed, 4 Oct 2023 07:16:12 +0000 (07:16 +0000)] 
fix -Wunused warnings on debug

2 years agomore std::move fixes 179/head
Konstantinos Margaritis [Tue, 3 Oct 2023 18:01:51 +0000 (21:01 +0300)] 
more std::move fixes

2 years agomove definition of RAGEL_C_FLAGS earlier to catch tools/hscollider
Konstantinos Margaritis [Tue, 3 Oct 2023 18:01:35 +0000 (21:01 +0300)] 
move definition of RAGEL_C_FLAGS earlier to catch tools/hscollider

2 years agoFix 'unqualified call to std::move' errors in clang 15+
Konstantinos Margaritis [Tue, 3 Oct 2023 17:24:39 +0000 (20:24 +0300)] 
Fix 'unqualified call to std::move' errors in clang 15+

2 years agoFix version getting out of sync #175 178/head 185/head
Konstantinos Margaritis [Tue, 3 Oct 2023 06:57:10 +0000 (09:57 +0300)] 
Fix version getting out of sync #175

2 years agoMerge pull request #174 from VectorCamp/develop vectorscan/5.4.10.1
Konstantinos Margaritis [Fri, 8 Sep 2023 10:42:33 +0000 (13:42 +0300)] 
Merge pull request #174 from VectorCamp/develop

Minor bugfix release 5.4.10.1

2 years agoMerge pull request #173 from VectorCamp/bugfix/disable-fat-macos-arm 174/head
Konstantinos Margaritis [Fri, 8 Sep 2023 09:18:11 +0000 (12:18 +0300)] 
Merge pull request #173 from VectorCamp/bugfix/disable-fat-macos-arm

Bugfix/disable fat macos arm

2 years agoHWCAP is only available on Linux 173/head
Konstantinos Margaritis [Fri, 8 Sep 2023 07:08:44 +0000 (10:08 +0300)] 
HWCAP is only available on Linux

2 years agoforce disable FAT_RUNTIME on MacOS on Arm
Konstantinos Margaritis [Fri, 8 Sep 2023 07:08:18 +0000 (10:08 +0300)] 
force disable FAT_RUNTIME on MacOS on Arm

2 years agoforgot to update changelog for latest entry
Konstantinos Margaritis [Thu, 7 Sep 2023 17:10:20 +0000 (20:10 +0300)] 
forgot to update changelog for latest entry

2 years agoMerge pull request #167 from VectorCamp/develop
Konstantinos Margaritis [Thu, 7 Sep 2023 17:03:49 +0000 (20:03 +0300)] 
Merge pull request #167 from VectorCamp/develop

Prepare for 5.4.10

2 years agominor fix 167/head
Konstantinos Margaritis [Thu, 7 Sep 2023 14:53:25 +0000 (17:53 +0300)] 
minor fix

2 years agobump version, add Vectorscan Changelog
Konstantinos Margaritis [Thu, 7 Sep 2023 14:51:07 +0000 (17:51 +0300)] 
bump version, add Vectorscan Changelog

2 years agoMerge pull request #169 from VectorCamp/feature/backport-hyperscan-2023Q3
Konstantinos Margaritis [Tue, 5 Sep 2023 17:11:30 +0000 (20:11 +0300)] 
Merge pull request #169 from VectorCamp/feature/backport-hyperscan-2023Q3

Feature/backport hyperscan 2023 q3

2 years agochangelog: updates for 5.4.2 release 169/head
Hong, Yang A [Wed, 19 Apr 2023 09:18:45 +0000 (09:18 +0000)] 
changelog: updates for 5.4.2 release

2 years agoremove invalid nfa dump info
Hong, Yang A [Thu, 23 Mar 2023 06:43:46 +0000 (06:43 +0000)] 
remove invalid nfa dump info

2 years agoscratch: remove quick validity check
Hong, Yang A [Wed, 1 Mar 2023 14:42:27 +0000 (14:42 +0000)] 
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.

2 years agochangelog: updates for 5.4.1 release
Chang, Harry [Tue, 21 Feb 2023 22:52:57 +0000 (22:52 +0000)] 
changelog: updates for 5.4.1 release

2 years agosanitiser bugfix
Hong, Yang A [Wed, 29 Dec 2021 22:30:18 +0000 (22:30 +0000)] 
sanitiser bugfix

2 years agobugfix: add vbmi case for test in database.cpp
Hong, Yang A [Mon, 7 Jun 2021 08:24:51 +0000 (16:24 +0800)] 
bugfix: add vbmi case for test in database.cpp

2 years agobugfix: add vbmi platform parameter for tests in single.cpp
Hong, Yang A [Mon, 7 Jun 2021 07:35:57 +0000 (15:35 +0800)] 
bugfix: add vbmi platform parameter for tests in single.cpp

2 years agofix nfa dump error
Hong, Yang A [Thu, 20 Oct 2022 08:47:03 +0000 (08:47 +0000)] 
fix nfa dump error

2 years agoscratch: add quick validity check
Hong, Yang A [Thu, 20 Oct 2022 08:48:46 +0000 (08:48 +0000)] 
scratch: add quick validity check

fix github issue #350

2 years agostream close: free stream to avoid memory leak
Hong, Yang A [Wed, 19 Oct 2022 16:50:02 +0000 (16:50 +0000)] 
stream close: free stream to avoid memory leak

fix github issue #303

2 years agoSilence clang-14 warnings
Hong, Yang A [Mon, 15 Aug 2022 03:00:22 +0000 (03:00 +0000)] 
Silence clang-14 warnings

2 years agoFix cmake CMP0115 warning for CMake 3.20 and above
Hong, Yang A [Tue, 2 Aug 2022 19:25:27 +0000 (19:25 +0000)] 
Fix cmake CMP0115 warning for CMake 3.20 and above

2 years agoupdate year 2022
Hong, Yang A [Mon, 1 Aug 2022 17:13:25 +0000 (17:13 +0000)] 
update year 2022

2 years agoUTF-8 validation: fix one cotec check corner issue
Hong, Yang A [Thu, 28 Jul 2022 21:24:31 +0000 (21:24 +0000)] 
UTF-8 validation: fix one cotec check corner issue

fix github issue #362

2 years agostringop-overflow compatible fix
Hong, Yang A [Tue, 12 Jul 2022 08:42:05 +0000 (08:42 +0000)] 
stringop-overflow compatible fix

2 years agogcc-10(and above): fix compile issue caused by stringop-overflow
Hong, Yang A [Tue, 5 Jul 2022 17:11:18 +0000 (17:11 +0000)] 
gcc-10(and above): fix compile issue caused by stringop-overflow

2 years agoklocwork: fix risk issues
Hong, Yang A [Tue, 31 May 2022 06:30:18 +0000 (06:30 +0000)] 
klocwork: fix risk issues

2 years agoMerge pull request #164 from jeffplaisance/develop
Konstantinos Margaritis [Mon, 4 Sep 2023 20:11:34 +0000 (23:11 +0300)] 
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

2 years agoMerge pull request #165 from VectorCamp/feature/enable-fat-runtime-arm
Konstantinos Margaritis [Mon, 4 Sep 2023 19:50:11 +0000 (22:50 +0300)] 
Merge pull request #165 from VectorCamp/feature/enable-fat-runtime-arm

Feature/enable fat runtime arm

2 years agoadding ifndef around HS_PUBLIC_API definition so that vectorscan can be statically... 164/head
jplaisance [Tue, 27 Jun 2023 14:47:14 +0000 (09:47 -0500)] 
adding ifndef around HS_PUBLIC_API definition so that vectorscan can be statically linked into another shared library without exporting symbols

2 years agofix SVE flags detection order #145 165/head
Konstantinos Margaritis [Wed, 23 Aug 2023 10:21:02 +0000 (10:21 +0000)] 
fix SVE flags detection order #145

2 years agoinitial attempt for fat binary on Aarch64
Konstantinos Margaritis [Wed, 23 Aug 2023 09:42:00 +0000 (09:42 +0000)] 
initial attempt for fat binary on Aarch64

2 years agoMerge pull request #149 from azat-ch/small-vector-msan
Konstantinos Margaritis [Tue, 23 May 2023 15:45:10 +0000 (18:45 +0300)] 
Merge pull request #149 from azat-ch/small-vector-msan

Use std::vector instead of boost::container::small_vector under MSan

2 years agoMerge pull request #148 from azat-ch/getData128-msan
Konstantinos Margaritis [Tue, 23 May 2023 15:44:47 +0000 (18:44 +0300)] 
Merge pull request #148 from azat-ch/getData128-msan

Fix use-of-uninitialized-value due to getData128()

2 years agoFix use-of-uninitialized-value due to getData128() 148/head
Azat Khuzhin [Wed, 10 May 2023 13:29:23 +0000 (15:29 +0200)] 
Fix use-of-uninitialized-value due to getData128()

When temporary buffer is used in getData128(), then it may return
uninitialized data.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>