1161 Commits

Author SHA1 Message Date
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
5895b8da25 build: enable hscollider for installed PCRE package
Fixes github issue #86
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
Justin Viiret
f877f14641 ue2_graph: more direct property_graph defn 2018-06-27 13:40:26 +08:00
Justin Viiret
a1d4eec116 nfagraph: remove ng_undirected.h 2018-06-27 13:40:21 +08:00
Justin Viiret
3c776b25c3 ng_repeat: use undirected_graph 2018-06-27 13:40:15 +08:00
Justin Viiret
c7c90c7ab7 graph_undirected: adapt bidi graph to undirected
Introduces an adaptor (like the BGL's reverse_graph) that presents an
undirected view of a bidirectional graph.

Initially used in ng_calc_components.
2018-06-27 13:40:10 +08:00
Justin Viiret
16076ed4a3 mcsheng: debug format string fixes 2018-06-27 13:39:30 +08:00
Justin Viiret
25adf3f512 sheng: fix reportCurrent eod flag
eod here should be 0, not 1. The reportCurrent NFA API function for
Sheng is unused at the moment, so this wasn't causing any problems
earlier.
2018-06-27 13:39:24 +08:00
Justin Viiret
e65479dae5 mcclellancompile: MAX_SHERMAN_LIST_LEN can be 9 2018-06-27 13:39:10 +08:00
Justin Viiret
ce7cfbde82 misc: docs, typo fixes, small cleanups 2018-06-27 13:39:05 +08:00
Justin Viiret
ea9d1f69fb rose_build_add: remove unused max_adj param
In prepAcceptForAddAnchoredNFA(), we used to support different values
for max_adj. Since it's now always zero, remove it.
2018-06-27 13:39:00 +08:00
Justin Viiret
08bf909e2b ng_violet: make calcSplitRatio operation faster
Implements count_reachable in a less malloc-happy way, improving
compile performance. Adds a count() function to small_color_map.
2018-06-27 13:38:55 +08:00
Justin Viiret
cadc7028b1 ng_width: turn min width check into assert 2018-06-27 13:38:32 +08:00
Xiang Wang
6f81516bce Migrated from 01.org/hyperscan to hyperscan.io 2018-02-04 20:25:34 -05:00
Matthew Barr
582fd3014c Bump version number for release 2018-01-24 01:52:11 -05:00
Matthew Barr
f0b08d3cf7 changelog: updates for 4.7.0 release 2018-01-24 01:52:03 -05:00
Justin Viiret
b77c1ef411 doc: describe tools hscheck, hscollider, hsdump 2018-01-24 01:51:55 -05:00
Justin Viiret
efd76cb5c5 doc: in dev guide, avoid Goudy Old Style font 2018-01-24 01:51:45 -05:00
Justin Viiret
2e3c676194 doc: update copyright dates for 2018 2018-01-24 01:51:17 -05: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
Matthew Barr
934d6f2dad cmake: support MinSizeRel config 2018-01-19 06:33:54 -05:00
Matthew Barr
50ea83cb26 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
2018-01-19 06:32:18 -05:00
Alex Coyte
3da5fc7cf3 hscollider: allow conversion of FileCorpora unique_ptr to Corpora 2018-01-19 06:28:15 -05:00
Justin Viiret
720ec745c1 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.
2018-01-19 06:27:49 -05:00
Alex Coyte
1330265ced hscollider: tool for testing Hyperscan match behaviour against PCRE 2018-01-19 06:26:43 -05:00
Alex Coyte
fae8d21127 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.
2018-01-19 06:25:51 -05:00
Matthew Barr
090632f61a ext param - more consistent depth check 2018-01-19 06:24:21 -05:00
Justin Viiret
1450dc9993 doc: remove stray '+' 2018-01-19 06:21:41 -05:00
Matthew Barr
95c316afcc find_matches: don't create ridiculous accept paths 2018-01-19 06:20:37 -05:00
Justin Viiret
d926e56a48 doc: make Wikipedia hyperlinks anonymous 2018-01-19 06:18:01 -05:00
Justin Viiret
ef7d920f79 doc: make doxygen filter out HS_CDECL 2018-01-19 06:17:43 -05:00
Justin Viiret
58eda9155d doc: use doxygen @p to refer to parameters 2018-01-19 06:17:22 -05:00
Justin Viiret
f9af9f85b2 doc: clarify description of streaming API 2018-01-19 06:16:59 -05:00
Justin Viiret
def9636d01 doc: document that hs_close_stream frees memory
Add explicit documentation that hs_close_stream() will free the stream
state after returning any matches.
2018-01-19 06:16:14 -05:00
Matthew Barr
4fc11cfc65 Hamming: GraphTruth and corpus gen support 2018-01-19 06:12:28 -05:00
Matthew Barr
1891f14755 Add support for Hamming distance approx matching 2018-01-19 06:11:43 -05:00
Matthew Barr
5827bd1c2b icc: disable warning about constant expression 2018-01-19 06:11:10 -05:00
Matthew Barr
2f17ef032c hsbench: sqlite output support 2018-01-19 06:07:55 -05:00
Matthew Barr
193bdb628e sqlite: disable -Werror so warnings don't kill the build 2018-01-19 06:05:03 -05:00
Xiang Wang
0df8bf471c Merge branch master into develop 2018-01-19 05:57:38 -05:00
Matthew Barr
aff7242ad3 Migrated from github.com/01org to github.com/intel 2017-10-26 09:40:40 +11:00
Matthew Barr
3d235f4474 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
2017-09-29 14:52:11 +10:00
Matthew Barr
3dcd51c272 Merge branch develop into master v4.6.0 2017-09-22 15:20:28 +10:00
Matthew Barr
3fa1236f09 Bump version number for release 2017-09-22 15:17:56 +10:00
Matthew Barr
b2e09d78b0 changelog: updates for 4.6.0 release 2017-09-22 15:17:56 +10:00
Matthew Barr
5021d7ab78 De-const the empty maps.
Clang 3.8 complains about attempting to default init const objects
without a user-provided constructor.
2017-09-22 15:17:56 +10:00
Matthew Barr
1a81263744 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.
2017-09-18 15:23:57 +10:00