25 Commits

Author SHA1 Message Date
G.E.
773d57d890 added copyright info for modified src files 2024-04-11 09:49:43 +03:00
isildur-g
523db6051d maybe netbsd is more pedantic about this? 2024-03-06 17:05:55 +01:00
Mitchell Wasson
9c139c3a6d 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.
2023-10-31 09:35:50 -06:00
Konstantinos Margaritis
9a174745e4 more std::move fixes 2023-10-03 21:01:51 +03:00
Hong, Yang A
dc78dc1633 sanitiser bugfix 2023-09-05 13:56:24 +03:00
Hong, Yang A
978105a4c0 klocwork: fix risk issues 2023-09-05 13:45:33 +03:00
Konstantinos Margaritis
dbdbfe9473 Set Ragel.rl char type to unsigned, #135 2023-03-21 18:07:06 +00:00
Liu Zixian
c597f69c59 fix build with glibc-2.34
SIGTSKSZ is no long a constant after glibc 2.34
https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
2022-08-29 15:37:59 +03:00
Konstantinos Margaritis
08357a096c remove Windows/ICC support 2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
e35b88f2c8 use STL make_unique, remove wrapper header, breaks C++17 compilation 2021-10-12 11:51:34 +03:00
Wang Xiang W
934473f406 hscollider: fix UTF8 check for patterns 2020-05-25 13:47:53 +00: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
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
Wang, Xiang W
63e7d89fcc build: avoid pcre error for hscollider when using installed PCRE package
Fixes github issue #127
2019-01-21 09:59:05 +08:00
Wang, Xiang W
5ad56093f8 hscollider: fix back inserter error for windows 2019-01-21 09:58:49 +08:00
Wang, Xiang W
c8ec0d0ec2 chimera: add pkgconfig install files 2018-07-09 12:10:12 -04:00
Lu, Qi
5a0885d235 Windows porting: port hyperscan and chimera tools to windows. 2018-07-09 11:40:43 -04:00
Wang, Xiang W
bf87f8c003 chimera: hybrid of Hyperscan and PCRE 2018-07-09 11:30:35 -04:00
Chang, Harry
8a1c497f44 Logical Combination of patterns. 2018-06-27 14:04:57 +08:00
Wang, Xiang W
08b00f6149 hscollider: fix input length for UTF8 check 2018-06-27 14:04:53 +08:00
Matthew Barr
277ee016a5 pcre: do not explode if pcre is missing 2018-01-19 07:07:32 -05:00
Alex Coyte
905a67375a hscollider: example test cases 2018-01-19 06:48:56 -05:00
Alex Coyte
3da5fc7cf3 hscollider: allow conversion of FileCorpora unique_ptr to Corpora 2018-01-19 06:28:15 -05:00
Alex Coyte
1330265ced hscollider: tool for testing Hyperscan match behaviour against PCRE 2018-01-19 06:26:43 -05:00