Commit Graph

1646 Commits

Author SHA1 Message Date
Hong, Yang A
ef3ca02ce4 chimera: fix SKIP flag issue
fix github issue #360
2022-08-29 15:03:34 +03:00
Chang, Harry
cc948674dd Corpus editor: fix random char value of UTF-8. 2022-08-29 15:03:30 +03:00
Chang, Harry
d57dd3367c Corpus generator: fix random char value of UTF-8.
fixes github issue #184
2022-08-29 15:03:26 +03:00
Hong, Yang A
1ae75b67a1 bugfix: fix overflow risk of strlen function 2022-08-29 15:03:22 +03:00
hongyang7
cb94b9d7b7 Fix segfaults on allocation failure (#4)
Throw std::bad_alloc instead of returning nullptr from
ue2::AlignedAllocator. Allocators for STL containers are expected never
to return with an invalid pointer, and instead must throw on failure.
Violating this expectation can lead to invalid pointer dereferences.

Co-authored-by: johanngan <johanngan.us@gmail.com>

fixes github issue #317 (PR #320)
2022-08-29 15:03:18 +03:00
Chang, Harry
5307bbd1dc Logical Combination: bypass combination flag in hs_expression_info.
Fixes github issue #291
2022-08-29 15:03:14 +03:00
Hong, Yang A
2e60bdde8a update year for bugfix #302-#305 2022-08-29 15:03:11 +03:00
Hong, Yang A
e05b154abb mcclellan: improve wide-state checking in Sherman optimization
fixes github issue #305
2022-08-29 15:03:06 +03:00
Hong, Yang A
5ae40498a5 literal API: add instruction support
fixes github issue #303
2022-08-29 15:02:59 +03:00
Konstantinos Margaritis
bef496e60f Merge pull request #116 from pareenaverma/develop
Fixed the PCRE download location
2022-07-20 23:08:11 +03:00
Konstantinos Margaritis
6a2700f1d4 Merge pull request #113 from danlark1/develop
Optimize vectorscan for aarch64 by using shrn instruction
2022-07-20 16:41:33 +03:00
Ubuntu
42f5165f7e Fixed the PCRE download location 2022-07-20 13:26:52 +00:00
Danila Kutenin
1e09891b2b Fix avx512 movemask call 2022-07-20 09:03:50 +01:00
Danila Kutenin
2dd7b9a4f9 Fix ppc64el debug 2022-06-26 23:05:17 +00:00
Danila Kutenin
45fe139224 Minor fix 2022-06-26 23:02:02 +00:00
Danila Kutenin
4b83ea1c78 Fix formatting of a couple files 2022-06-26 22:59:58 +00:00
Danila Kutenin
eb7b0bb50c Optimize vectorscan for aarch64 by using shrn instruction
This optimization is based on the thread
https://twitter.com/Danlark1/status/1539344279268691970 and uses
shift right and narrow by 4 instruction https://developer.arm.com/documentation/ddi0596/2020-12/SIMD-FP-Instructions/SHRN--SHRN2--Shift-Right-Narrow--immediate--

To achieve that, I needed to redesign a little movemask into comparemask
and have an additional step towards mask iteration. Our benchmarks
showed 10-15% improvement on average for long matches.
2022-06-26 22:55:45 +00:00
Konstantinos Margaritis
d4044039db Merge pull request #102 from danlark1/patch-2
Optimized and correct version of movemask128 for ARM
2022-04-18 20:56:26 +03:00
Daniel Kutenin
2360314f9d Optimized and correct version of movemask128 for ARM
Closes #99

https://gcc.godbolt.org/z/cTjKqzcvn

Previous version was not correct because movemask thought of having bytes 0xFF. We can fully match the semantics + do it faster with USRA instructions.

Re-submission to a develop branch
2022-04-18 13:37:53 +01:00
Konstantinos Margaritis
7f2b6c5aa1 Merge pull request #94 from a16bitsysop/fat_runtime
change FAT_RUNTIME to a normal option so it can be set to off
2022-04-18 11:08:29 +03:00
Konstantinos Margaritis
d2e1478d47 Merge pull request #93 from danlark1/master
Fix all ASAN issues in vectorscan
2022-04-18 11:07:18 +03:00
Duncan Bellamy
649121ee04 move to original position 2022-02-22 19:21:18 +00:00
Duncan Bellamy
20cb5cd2b2 change FAT_RUNTIME to a normal option so it can be set to off
fixes #89
2022-02-20 13:16:58 +00:00
Danila Kutenin
faca38e058 Fix a couple of tests 2022-02-18 19:31:03 +00:00
Danila Kutenin
f46b787332 Add sanitize options 2022-02-18 18:35:26 +00:00
Danila Kutenin
a526f6bb6b Fix all ASAN issues in vectorscan 2022-02-18 17:14:51 +00:00
Konstantinos Margaritis
91e1212084 Merge pull request #90 from BigRedEye/vectorscan-master
Fix word boundary assertions under C++20
2022-02-08 09:20:34 +02:00
BigRedEye
89bc7af867 fix: Mark operator bool explicit 2022-02-08 00:22:23 +03:00
Konstantinos Margaritis
7712703529 Merge pull request #86 from VectorCamp/develop
New release 5.4.6
2022-01-21 12:25:40 +02:00
Konstantinos Margaritis
4bed72525d Merge pull request #87 from VectorCamp/feature/move-debian-package-to-separate-branch
keep debian folder in a separate branch
2022-01-21 12:24:03 +02:00
Konstantinos Margaritis
01de6e7d7b keep debian folder in a separate branch 2022-01-21 12:07:25 +02:00
Konstantinos Margaritis
ad209e1855 Merge pull request #85 from VectorCamp/feature/add-debian-package
Feature/add debian package
2022-01-21 10:12:04 +02:00
Konstantinos Margaritis
8bc999d467 change source format to native, as we include debian folder 2022-01-20 21:03:02 +02:00
Konstantinos Margaritis
96f3092262 fix description, remove sse4.2-support from b-depends 2022-01-20 21:02:46 +02:00
Konstantinos Margaritis
f398a672d0 add ITP bug report 2022-01-20 21:02:30 +02:00
Konstantinos Margaritis
29f31b1c42 add sse4.2-support package to enforce such dependency 2022-01-19 15:08:52 +02:00
Konstantinos Margaritis
0f3558fa71 remove preinst script, not needed as we bumped our deps 2022-01-19 15:08:04 +02:00
Konstantinos Margaritis
ff005c5347 add our copyrights, minor fixes 2022-01-19 14:31:59 +02:00
Konstantinos Margaritis
774279220c defer setting arch/tune flags for FAT_RUNTIME 2022-01-18 20:34:45 +02:00
Konstantinos Margaritis
1c7f01ab17 enable FAT_RUNTIME 2022-01-18 20:32:22 +02:00
Konstantinos Margaritis
d1ced630b8 fix DEB_CMAKE_FLAGS depending on DEB_HOST_ARCH 2021-12-22 13:25:29 +02:00
Konstantinos Margaritis
404785f30f Initial attempt at debian packaging, modified hyperscan packaging 2021-12-22 13:13:12 +02:00
Konstantinos Margaritis
dd7de46109 Merge pull request #82 from VectorCamp/feature/add-macos-support
Minor changes to enable compilation on Mac M1
2021-12-12 01:13:14 +02:00
Konstantinos Margaritis
bacb015db7 Minor changes to enable compilation on Mac M1 2021-12-11 15:43:55 +02:00
Konstantinos Margaritis
61ca9717d6 Merge pull request #81 from VectorCamp/feature/add-clang-support
Feature/add clang support
2021-12-07 22:16:38 +02:00
Konstantinos Margaritis
242a460115 minor fixes 2021-12-07 08:49:59 +00:00
Konstantinos Margaritis
b6ddf2b41c fix clang-release-arm compilation 2021-12-07 08:43:52 +00:00
Konstantinos Margaritis
f4ccc40c58 fix wrong castings for NEON 2021-12-06 21:35:51 +00:00
Konstantinos Margaritis
937a1228b4 lower gcc minver to 9 to enable building on Ubuntu 20 LTS 2021-12-06 21:35:37 +00:00
Konstantinos Margaritis
b5840d06b2 update Jenkinsfile for all configurations 2021-12-06 18:38:01 +00:00