Konstantinos Margaritis
a255600773
Merge pull request #277 from isildur-g/wip-cppcheck271
...
phase 1 of addressing cppcheck useStlAlgorithm warnings for fill and copy operations
2024-05-15 10:44:15 +03:00
G.E
4cefba5ced
phase 1 of addressing cppcheck useStlAlgorithm warnings,
...
this set only includes fill and copy operations.
2024-05-14 17:37:38 +03:00
Konstantinos Margaritis
3a2ec524bd
Merge pull request #268 from VectorCamp/bugfix/cppcheck-constStatement
...
Fix marked as false positive constStatement cppcheck warnings
2024-05-13 10:26:38 +03:00
Konstantinos Margaritis
98bd92ddbc
Merge pull request #270 from VectorCamp/bugfix/cppcheck-redundantAssignment
...
Fix marked as false positive redundantAssignment cppcheck warnings
2024-05-13 10:25:53 +03:00
Konstantinos Margaritis
05d86f0c3e
Fix false positive /identicalConditionAfterEarlyExit warnings
2024-05-12 00:05:45 +03:00
Konstantinos Margaritis
5f2f343b8f
Fix false positive redundantAssignment warnings
2024-05-11 23:45:01 +03:00
Konstantinos Margaritis
e6595c72aa
Fix false positive constStatement warnings
2024-05-11 23:11:29 +03:00
gtsoul-tech
5ad1f2127f
constVariablePointer
2024-05-02 14:30:18 +03:00
g. economou
727cff3621
Merge branch 'develop' into wip-isildur-g-cppcheck-47-48-58
2024-05-01 10:59:59 +03:00
G.E
9902ca0e34
addressing 47 [constParameterReference],48 [constVariableReference],58
...
[constVariable]
2024-05-01 10:54:15 +03:00
gtsoul-tech
987cd17160
variableScope
2024-04-29 13:13:07 +03:00
gtsoul-tech
9b9df1b397
invalidPrintfArgType_sint
2024-04-24 11:07:23 +03:00
gtsoul-tech
06fc35321d
unsignedLessThanZero cppcheck
2024-04-23 12:27:43 +03:00
Konstantinos Margaritis
5e1972efce
remove redundant moves
2024-01-17 17:15:32 +02:00
Konstantinos Margaritis
0d2f9ccbaa
Fix 'unqualified call to std::move' errors in clang 15+
2023-10-03 20:24:39 +03:00
Hong, Yang A
b7ee9102ee
update year 2022
2023-09-05 13:49:52 +03:00
Hong, Yang A
684f0ce2cb
UTF-8 validation: fix one cotec check corner issue
...
fix github issue #362
2023-09-05 13:49:41 +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
Konstantinos Margaritis
e35b88f2c8
use STL make_unique, remove wrapper header, breaks C++17 compilation
2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
556206f138
replace push_back by emplace_back where possible
2021-10-12 11:51:33 +03:00
Chang, Harry
001b7824d2
Logical Combination: use hs_misc_free instead of free.
...
fixes github issue #284
2021-01-25 14:13:13 +02: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
Hong, Yang A
f68723a606
literal matching: separate path for pure literal patterns
2019-01-21 09:59:22 +08: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
1891f14755
Add support for Hamming distance approx matching
2018-01-19 06:11:43 -05:00
Alex Coyte
d9e2c3daca
make ComponentRepeat::vacuous_everywhere() more accurate
2017-08-21 11:18:54 +10:00
Justin Viiret
33823d60d1
tidy: "ue2::flat_set/map" -> "flat_set/map"
2017-08-21 11:14:59 +10:00
Justin Viiret
9cf66b6ac9
util: switch from Boost to std::unordered set/map
...
This commit replaces the ue2::unordered_{set,map} types with their STL
versions, with some new hashing utilities in util/hash.h. The new types
ue2_unordered_set<T> and ue2_unordered_map<Key, T> default to using the
ue2_hasher.
The header util/ue2_containers.h has been removed, and the flat_set/map
containers moved to util/flat_containers.h.
2017-08-21 11:14:55 +10:00
Alex Coyte
d317d75615
character classes: handle \Q\E and utf8
2017-06-21 08:43:44 +10:00
Alex Coyte
a185be5a4f
Treat characters between \Q \E as codepoints in UTF8 mode.
...
fixes github issue #57
2017-06-21 08:43:44 +10:00
Justin Viiret
1ef87c43ee
noncopyable: switch over from boost
2017-04-26 15:18:26 +10:00
Justin Viiret
5dfae12a62
ng: split NGWrapper into NGHolder, ExpressionInfo
...
We now use NGHolder for all graph information, while other expression
properties (report, flag information, etc) go in new class
ExpressionInfo.
2017-04-26 15:18:09 +10:00
Anatoly Burakov
2de6706df2
Adding support for compiling approximate matching patterns
...
Adds new "edit_distance" extparam
2017-04-26 15:11:39 +10:00
Justin Viiret
1245156f44
parser: handle "control verbs" without close paren
2017-04-26 14:59:02 +10:00
Justin Viiret
084596bb5e
parser: check for std::out_of_range from stoul
2017-04-26 14:58:46 +10:00
Justin Viiret
bef6889844
parser: use control_verb parser inline
2017-04-26 14:58:43 +10:00
Justin Viiret
bfc8be5675
parser: use stoul(), not strtol()
2017-04-26 14:57:53 +10:00
Justin Viiret
4def0c8a52
parser: switch to using char* pointers
2017-04-26 14:57:53 +10:00
Justin Viiret
1875d55cf1
parser: add initial parser for control verbs
...
This more reliably handles control verbs like (*UTF8) that can only
happen at the start of the pattern, and allows them in any ordering.
2017-04-26 14:57:46 +10:00
Justin Viiret
cacf07fe9b
prefilter: workaround for \b in UCP and !UTF8 mode
...
For now, just drop the assertion (which will still return a superset of
matches, as per prefiltering semantics).
2017-01-20 09:19:51 +11:00
Justin Viiret
67e450115a
parser: ignore \E that is not preceded by \Q
...
This conforms to PCRE's behaviour, where an isolated \E that is not
preceded by \Q is ignored.
2016-08-10 15:08:01 +10:00
Matthew Barr
cbd115f7fe
Don't shadow names
2016-08-10 15:06:57 +10:00
Alex Coyte
5c5ec905cc
violet: initial implementation
2016-08-10 15:01:08 +10:00
Justin Viiret
97eaea043e
ucp_table: clean up make_caseless
2016-05-18 16:28:22 +10:00
Justin Viiret
f48b8c937b
ucp_table: don't always deref rv of lower_bound
...
Fixes a warning from asan.
2016-05-18 16:28:17 +10:00
Justin Viiret
1bc12139a2
ComponentCondReference: mark ctors explicit
2016-04-20 13:34:53 +10:00
Justin Viiret
4e80d22d79
Use using directives to silence hiding warning
2016-04-20 13:34:53 +10:00