]>
git.ipfire.org Git - thirdparty/vectorscan.git/log
Xiang Wang [Mon, 5 Feb 2018 01:13:49 +0000 (20:13 -0500)]
Migrated from 01.org/hyperscan to hyperscan.io
Matthew Barr [Tue, 23 Jan 2018 23:06:50 +0000 (10:06 +1100)]
Bump version number for release
Matthew Barr [Tue, 23 Jan 2018 23:05:09 +0000 (10:05 +1100)]
changelog: updates for 4.7.0 release
Justin Viiret [Tue, 23 Jan 2018 02:56:22 +0000 (13:56 +1100)]
doc: describe tools hscheck, hscollider, hsdump
Justin Viiret [Sun, 21 Jan 2018 23:40:37 +0000 (10:40 +1100)]
doc: in dev guide, avoid Goudy Old Style font
Justin Viiret [Sun, 21 Jan 2018 23:29:05 +0000 (10:29 +1100)]
doc: update copyright dates for 2018
Matthew Barr [Fri, 19 Jan 2018 04:20:39 +0000 (15:20 +1100)]
pcre: do not explode if pcre is missing
Alex Coyte [Wed, 10 Jan 2018 02:38:20 +0000 (13:38 +1100)]
hscollider: example test cases
Matthew Barr [Mon, 11 Dec 2017 05:05:32 +0000 (16:05 +1100)]
cmake: support MinSizeRel config
Matthew Barr [Mon, 11 Dec 2017 05:02:26 +0000 (16:02 +1100)]
Move cpuid checks inline.
During fat runtime function resolution there was a chance that the PLT
might not be initialised in time for us to call the cpuid check
functions. Moving them inline means there is no PLT to worry about.
Fixes #78
Alex Coyte [Tue, 12 Dec 2017 00:41:43 +0000 (11:41 +1100)]
hscollider: allow conversion of FileCorpora unique_ptr to Corpora
Justin Viiret [Thu, 7 Dec 2017 03:07:48 +0000 (14:07 +1100)]
hscheck: tool to test regex compilation
hscheck accepts a file of regular expressions in the form:
ID:/regex/flags
and tests whether they can be compiled with Hyperscan, reporting the
error if compilation fails.
Alex Coyte [Mon, 11 Dec 2017 22:29:20 +0000 (09:29 +1100)]
hscollider: tool for testing Hyperscan match behaviour against PCRE
Alex Coyte [Mon, 20 Nov 2017 02:25:38 +0000 (13:25 +1100)]
Introduce hsdump development tool for producing information during compilation.
This tool is intended to assist Hyperscan developers with development and
debugging by providing insights into the generated bytecode.
Matthew Barr [Tue, 14 Nov 2017 22:13:44 +0000 (09:13 +1100)]
ext param - more consistent depth check
Justin Viiret [Wed, 15 Nov 2017 01:39:10 +0000 (12:39 +1100)]
doc: remove stray '+'
Matthew Barr [Wed, 8 Nov 2017 05:04:17 +0000 (16:04 +1100)]
find_matches: don't create ridiculous accept paths
Justin Viiret [Tue, 7 Nov 2017 03:43:58 +0000 (14:43 +1100)]
doc: make Wikipedia hyperlinks anonymous
Justin Viiret [Tue, 7 Nov 2017 02:47:21 +0000 (13:47 +1100)]
doc: make doxygen filter out HS_CDECL
Justin Viiret [Tue, 7 Nov 2017 02:33:01 +0000 (13:33 +1100)]
doc: use doxygen @p to refer to parameters
Justin Viiret [Tue, 7 Nov 2017 01:43:26 +0000 (12:43 +1100)]
doc: clarify description of streaming API
Justin Viiret [Tue, 7 Nov 2017 00:48:46 +0000 (11:48 +1100)]
doc: document that hs_close_stream frees memory
Add explicit documentation that hs_close_stream() will free the stream
state after returning any matches.
Matthew Barr [Tue, 7 Nov 2017 02:39:00 +0000 (13:39 +1100)]
Hamming: GraphTruth and corpus gen support
Matthew Barr [Tue, 10 Oct 2017 04:26:35 +0000 (15:26 +1100)]
Add support for Hamming distance approx matching
Matthew Barr [Thu, 28 Sep 2017 04:50:14 +0000 (14:50 +1000)]
icc: disable warning about constant expression
Matthew Barr [Wed, 27 Sep 2017 05:52:41 +0000 (15:52 +1000)]
hsbench: sqlite output support
Matthew Barr [Tue, 26 Sep 2017 06:13:16 +0000 (16:13 +1000)]
sqlite: disable -Werror so warnings don't kill the build
Xiang Wang [Fri, 19 Jan 2018 10:57:38 +0000 (05:57 -0500)]
Merge branch master into develop
Matthew Barr [Wed, 25 Oct 2017 22:40:40 +0000 (09:40 +1100)]
Migrated from github.com/01org to github.com/intel
Matthew Barr [Wed, 27 Sep 2017 01:21:01 +0000 (11:21 +1000)]
cmake: add a dummy c++ file to force linkage
The hs dylib when built with Xcode wasn't being linked to C++ runtime
libs. Fixes #69
Matthew Barr [Fri, 22 Sep 2017 05:20:28 +0000 (15:20 +1000)]
Merge branch develop into master
Matthew Barr [Wed, 20 Sep 2017 04:57:46 +0000 (14:57 +1000)]
Bump version number for release
Matthew Barr [Wed, 20 Sep 2017 04:57:36 +0000 (14:57 +1000)]
changelog: updates for 4.6.0 release
Matthew Barr [Fri, 22 Sep 2017 04:23:05 +0000 (14:23 +1000)]
De-const the empty maps.
Clang 3.8 complains about attempting to default init const objects
without a user-provided constructor.
Matthew Barr [Mon, 18 Sep 2017 05:07:53 +0000 (15:07 +1000)]
Check for unused typedef warning and disable
This affects older versions of Boost (1.58), and we were only disabling the
warning for g++.
Fixes #62.
Hong, Yang A [Mon, 28 Aug 2017 19:42:46 +0000 (03:42 +0800)]
find_better_daddy: position change
Matthew Barr [Wed, 23 Aug 2017 01:54:31 +0000 (11:54 +1000)]
Don't let haigs into Tamarama
Justin Viiret [Tue, 15 Aug 2017 03:57:43 +0000 (13:57 +1000)]
rose_build_add_mask: improve findMaskLiteral perf
Matthew Barr [Mon, 21 Aug 2017 05:23:21 +0000 (15:23 +1000)]
Handle any exceptions while constructing compiler elements
Specifically, NG has a Rose which has a LeftEng which has a depth, which can
throw an error on construction. If we put these in the try-catch we don't
have to worry so much in future.
Matthew Barr [Mon, 21 Aug 2017 05:12:36 +0000 (15:12 +1000)]
teddy: alignment decl should match defn
Spotted by coverity. #174512
Justin Viiret [Mon, 21 Aug 2017 05:26:59 +0000 (15:26 +1000)]
hwlm_build: default for HWLMProto::make_small
Silences Coverity warning.
Justin Viiret [Mon, 21 Aug 2017 05:25:04 +0000 (15:25 +1000)]
rose_build_matchers: init LitFragment fields
Silences Coverity warning about squash, delay_squash.
Alex Coyte [Mon, 14 Aug 2017 06:27:48 +0000 (16:27 +1000)]
dedupeLeftfixesVariableLag: refactor, more blockmode deduping
Alex Coyte [Wed, 16 Aug 2017 06:36:12 +0000 (16:36 +1000)]
maintain castle report information
Justin Viiret [Mon, 14 Aug 2017 02:55:28 +0000 (12:55 +1000)]
ng_squash: switch to using unordered_map
Also some cleaning up, small performance improvements.
Alex Coyte [Mon, 14 Aug 2017 00:02:47 +0000 (10:02 +1000)]
tidy mergeCastleSuffixes
Alex Coyte [Fri, 11 Aug 2017 04:59:07 +0000 (14:59 +1000)]
refactor mergeCastleLeftfixes
Alex Coyte [Wed, 16 Aug 2017 04:37:05 +0000 (14:37 +1000)]
reimplement hasSameEngineType()
Justin Viiret [Wed, 16 Aug 2017 00:24:15 +0000 (10:24 +1000)]
partitioned_set: use lower_bound(), not scan
Matthew Barr [Wed, 16 Aug 2017 05:02:26 +0000 (15:02 +1000)]
msvc: disable more warnings
Matthew Barr [Wed, 16 Aug 2017 05:01:42 +0000 (15:01 +1000)]
Use an unsigned byte, not char
Justin Viiret [Wed, 16 Aug 2017 03:13:06 +0000 (13:13 +1000)]
ue2_literal: define npos in ue2string.cpp
Justin Viiret [Wed, 16 Aug 2017 03:05:24 +0000 (13:05 +1000)]
fdr_compile: simplify lambda use
This was failing to compile on MSVC.
Justin Viiret [Fri, 11 Aug 2017 06:08:05 +0000 (16:08 +1000)]
mcclellancompile: simplify calc_min_dist_from_bob
Justin Viiret [Fri, 11 Aug 2017 05:37:55 +0000 (15:37 +1000)]
mcclellancompile: don't copy dstate unnecessarily
Justin Viiret [Fri, 11 Aug 2017 03:29:07 +0000 (13:29 +1000)]
accel_dfa_build_strat: make extend() faster
Justin Viiret [Fri, 11 Aug 2017 00:35:19 +0000 (10:35 +1000)]
unit: add PrintTo for ue2_literal
Justin Viiret [Thu, 10 Aug 2017 06:58:48 +0000 (16:58 +1000)]
hash: use std::hash for string hashing
Justin Viiret [Thu, 10 Aug 2017 05:12:28 +0000 (15:12 +1000)]
ue2_literal: better hash function
Justin Viiret [Thu, 10 Aug 2017 05:02:57 +0000 (15:02 +1000)]
ue2_literal: make nocase member a dynamic_bitset
We were previously using vector<bool>, but dynamic_bitset provides a
faster any() impl
Justin Viiret [Thu, 10 Aug 2017 03:19:26 +0000 (13:19 +1000)]
fdr_compile: don't do string copies in isSuffix
Justin Viiret [Thu, 10 Aug 2017 01:48:50 +0000 (11:48 +1000)]
gatherReports: fewer map lookups
Justin Viiret [Thu, 10 Aug 2017 01:29:19 +0000 (11:29 +1000)]
accel_dfa_build_strat: use flat_set
Justin Viiret [Thu, 10 Aug 2017 01:06:13 +0000 (11:06 +1000)]
smallwrite_build: make failure_map unordered
Justin Viiret [Thu, 10 Aug 2017 00:53:39 +0000 (10:53 +1000)]
rdfa: make getImplAlphaSize() inline
Justin Viiret [Tue, 8 Aug 2017 01:19:08 +0000 (11:19 +1000)]
castlecompile: remove unused container
Matthew Barr [Mon, 14 Aug 2017 00:53:50 +0000 (10:53 +1000)]
Update PCRE version to 8.41
Alex Coyte [Thu, 10 Aug 2017 05:42:26 +0000 (15:42 +1000)]
move mergeDupeLeaves() and uncalcLeaves() to rose_build_role_aliasing
Unlike the rest of rose_build_mergem, these functions relate to merging
roles/vertices rather than merging engines.
Alex Coyte [Wed, 9 Aug 2017 03:31:45 +0000 (13:31 +1000)]
rose merges: why not dedupe transient engines?
We avoid merging different transient engines as it may force us to run heavier
engines and no stream state is consumed either way. However, there should be
no harm in just removing duplicate instances of a transient engine.
Alex Coyte [Thu, 10 Aug 2017 03:43:20 +0000 (13:43 +1000)]
remove !LBR constraints from merge passes
we have either converted candidates to castles already or we have converted them
back in the hope of merging them with other holders
Matthew Barr [Thu, 10 Aug 2017 05:45:42 +0000 (15:45 +1000)]
cmake: set isystem flag for older cmake
Matthew Barr [Wed, 2 Aug 2017 01:38:14 +0000 (11:38 +1000)]
icc: disable more warnings
Matthew Barr [Thu, 10 Aug 2017 01:33:15 +0000 (11:33 +1000)]
cmake: use abi-version on older gcc
Alex Coyte [Thu, 10 Aug 2017 03:28:00 +0000 (13:28 +1000)]
rework mergeLeftfixesVariableLag()
Justin Viiret [Wed, 9 Aug 2017 04:04:28 +0000 (14:04 +1000)]
fdr_compile: faster scoring code
Justin Viiret [Fri, 4 Aug 2017 03:23:07 +0000 (13:23 +1000)]
insertion_ordered_{map,set}: add new containers
These are associative map/set structures that are iterable in insertion
order.
Alex Coyte [Tue, 8 Aug 2017 01:24:52 +0000 (11:24 +1000)]
violet: don't bother swapping holders if unable to trim graph
Alex Coyte [Tue, 8 Aug 2017 00:13:46 +0000 (10:13 +1000)]
violet: maintain a reference to all the known implementable graphs
Alex Coyte [Mon, 7 Aug 2017 06:41:13 +0000 (16:41 +1000)]
violet: do not remove more states from holders if dfa has been built
Wang, Xiang W [Mon, 7 Aug 2017 14:02:53 +0000 (10:02 -0400)]
UE-3147: ensure the same squash behavior for literals shared between different literal matchers
Justin Viiret [Fri, 4 Aug 2017 00:06:20 +0000 (10:06 +1000)]
groupByFragment: make fewer string copies
Justin Viiret [Thu, 3 Aug 2017 05:52:25 +0000 (15:52 +1000)]
rose_build_exclusive: clean up use of vertex indices
Justin Viiret [Fri, 14 Jul 2017 03:01:00 +0000 (13:01 +1000)]
limex_compile: reduce state id lookups
Justin Viiret [Fri, 14 Jul 2017 02:54:03 +0000 (12:54 +1000)]
limex_compile: turn tugs into a bitset
Justin Viiret [Thu, 3 Aug 2017 01:33:42 +0000 (11:33 +1000)]
rose_build_lookaround: use vector in trimLiterals
Justin Viiret [Mon, 31 Jul 2017 06:22:08 +0000 (16:22 +1000)]
rose: more hash member funcs for rose types
Justin Viiret [Mon, 31 Jul 2017 06:02:55 +0000 (16:02 +1000)]
rose: return a vector from findEdgesByLiteral
Justin Viiret [Mon, 29 May 2017 04:59:31 +0000 (14:59 +1000)]
rose_build_long_lit: refactor to do less dupe work
Also some performance improvements.
Alex Coyte [Mon, 7 Aug 2017 03:50:21 +0000 (13:50 +1000)]
dynamic compression: add HS_CDECL to implementation
Alex Coyte [Mon, 31 Jul 2017 00:38:30 +0000 (10:38 +1000)]
Provide RoseResources to roseQuality.
RoseResources is an alternative to manually digging through the bytecode.
Alex Coyte [Fri, 28 Jul 2017 04:56:54 +0000 (14:56 +1000)]
mangle fdr conf parts of scratch as well
Alex Coyte [Fri, 28 Jul 2017 04:51:58 +0000 (14:51 +1000)]
roseQuality() no longer needs to be part of rose's API.
Alex Coyte [Fri, 28 Jul 2017 04:32:55 +0000 (14:32 +1000)]
more comments on hwlm/fdr's start parameter
Matthew Barr [Sun, 6 Aug 2017 23:45:28 +0000 (09:45 +1000)]
Remove out of date debug output
Alex Coyte [Sun, 6 Aug 2017 23:19:23 +0000 (09:19 +1000)]
add dynamic stream compression to fat runtime
Matthew Barr [Fri, 16 Jun 2017 06:06:52 +0000 (16:06 +1000)]
Remove unwanted move constructor
Matthew Barr [Thu, 22 Jun 2017 00:28:44 +0000 (10:28 +1000)]
clean up loops and add AVX-512
Matthew Barr [Mon, 19 Jun 2017 06:27:17 +0000 (16:27 +1000)]
Open input path once using file descriptor
Matthew Barr [Mon, 19 Jun 2017 02:53:34 +0000 (12:53 +1000)]
Catch by reference not value
Matthew Barr [Fri, 16 Jun 2017 05:56:48 +0000 (15:56 +1000)]
use string equality operator