Konstantinos Margaritis
02fc8e3b1c
Fix/Suppress remaining Cppcheck warnings ( #291 )
...
Fix/suppress the following cppcheck warnings:
* arithOperationsOnVoidPointer
* uninitMember
* const*
* shadowVariable
* assignmentIntegerToAddress
* containerOutOfBounds
* pointer-related warnings in Ragel source
* missingOverride
* memleak
* knownConditionTrueFalse
* noExplicitConstructor
* invalidPrintfArgType_sint
* useStlAlgorithm
* cstyleCast
* clarifyCondition
* VSX-related cstyleCast
* unsignedLessThanZero
Furthermore, we added a suppression list to be used, which also includes the following:
* missingIncludeSystem
* missingInclude
* unmatchedSuppression
2024-05-27 12:23:02 +03:00
Konstantinos Margaritis
1fc353efa6
Merge pull request #283 from isildur-g/wip-cppcheck271-part2
...
Wip cppcheck271 useStlAlgorithm part2
2024-05-21 15:52:15 +03:00
gtsoul-tech
d8f61b0d66
cStyleCasts
2024-05-17 16:58:08 +03:00
g. economou
45de972f44
Merge branch 'develop' into wip-cppcheck271-part2
2024-05-17 11:08:09 +03:00
G.E
6c4e027e26
next batch
2024-05-17 10:44:28 +03:00
Konstantinos Margaritis
129df24422
Fix remaining marked as done const* cppcheck warnings
2024-05-15 10:52:31 +03:00
Konstantinos Margaritis
93239afa3a
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
b541288cd5
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
3af37484d0
Fix false positive truncLongCastAssignment warnings
2024-05-12 17:22:12 +03:00
g. economou
583e1d576a
Merge branch 'develop' into wip-isildur-g-cppcheck-47-48-58
2024-05-01 10:59:59 +03:00
G.E
98243a6a08
addressing 47 [constParameterReference],48 [constVariableReference],58
...
[constVariable]
2024-05-01 10:54:15 +03:00
Konstantinos Margaritis
bfc4276453
Merge pull request #259 from gtsoul-tech/bug/cppcheckErrors
...
Bug/cppcheck errors (32,35) WIP
2024-04-30 10:27:47 +03:00
gtsoul-tech
ec3272e61b
missingOverride
2024-04-29 10:26:39 +03:00
G.E
68306ba75c
next batch for cppeheck, addressing syntaxError and
...
constParameterPointer
2024-04-24 17:32:09 +03:00
g. economou
94a9504a3e
Merge branch 'develop' into wip-isildur-g-cppcheck56
2024-04-24 16:13:39 +03:00
G.E
45e5df7553
cppcheck invalidPrintfArgType_uint warnings
2024-04-24 15:55:57 +03:00
Konstantinos Margaritis
5363b7c8c7
Merge pull request #255 from isildur-g/wip-isildur-g
...
addressing some cppcheck warnings.
2024-04-24 12:39:17 +03:00
G.E
119ce967cc
fixed some const issues
2024-04-24 00:04:59 +03:00
G.E
e3bc8ca0a8
ddressing some cppcheck warnings. yes this will be cleaned up in a
...
following commit. tests pass.
2024-04-23 19:08:24 +03:00
Konstantinos Margaritis
37ddb5f360
Merge pull request #232 from isildur-g/develop
...
minor changes to build in BSD (Net and Free)
2024-04-17 08:59:49 +03:00
G.E.
b054e6c488
added copyright info for modified src files
2024-04-11 09:49:43 +03:00
Jeremy Linton
bb93c79e28
hsbench: Update test program output
...
While fixing the documentation, it was noticed that the hsbench
output was still referring to the project as Hyperscan.
Lets correct it.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com >
2024-03-07 17:55:47 -06:00
isildur-g
642b0e92fa
maybe netbsd is more pedantic about this?
2024-03-06 17:05:55 +01:00
Konstantinos Margaritis
f3b9af09c9
remove redundant moves
2024-01-17 17:15:32 +02:00
Mitchell Wasson
cea75acb20
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
547961ab0a
more std::move fixes
2023-10-03 21:01:51 +03:00
Konstantinos Margaritis
3ed0c593f4
Fix 'unqualified call to std::move' errors in clang 15+
2023-10-03 20:24:39 +03:00
Hong, Yang A
a2033633c9
sanitiser bugfix
2023-09-05 13:56:24 +03:00
Hong, Yang A
2d521d64a2
klocwork: fix risk issues
2023-09-05 13:45:33 +03:00
Konstantinos Margaritis
053652e10e
Set Ragel.rl char type to unsigned, #135
2023-03-21 18:07:06 +00:00
Konstantinos Margaritis
d7f6a163d7
Merge pull request #124 from VectorCamp/develop
...
Merge develop to master
2022-09-13 15:52:20 +03:00
Liu Zixian
ca7bd22d26
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
Jan Henning
218a1cf76a
Bump scripts to python3
2022-05-19 16:25:08 +02:00
Konstantinos Margaritis
cf4b95fff2
remove Windows/ICC support
2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
5adbfc94b8
use STL make_unique, remove wrapper header, breaks C++17 compilation
2021-10-12 11:51:34 +03:00
Chang, Harry
686e73c35e
Fix Klocwork scan issues.
2021-01-25 14:13:13 +02:00
Wang Xiang W
4fa3742a6c
hsbench: add CSV dump support
2021-01-25 14:13:13 +02:00
Hong, Yang A
f1db5b71d8
tools/fuzz: add test scripts for synthetic pattern generation.
2020-05-25 14:22:18 +00:00
Hong, Yang A
ec68facfaa
hsbench: add hyphen support for -T option
2020-05-25 13:47:53 +00:00
Wang Xiang W
934473f406
hscollider: fix UTF8 check for patterns
2020-05-25 13:47:53 +00:00
Nan Xiao
954719597b
Processing VLAN packets in pcapCorpus.py
...
Signed-off-by: Nan Xiao <xiaonan830818@gmail.com >
2020-01-20 14:18:06 +00:00
Hong, Yang A
e811a8dbb8
tools: fix compile issue for RELEASE_BUILD code
...
Fixes github issue #186
2019-10-30 15:19:48 +00:00
Bobby Martin
e395cd3166
Add windows DLL support
...
(with AVX2 flag removed currently)
2019-08-13 14:52:38 +08: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
229f3d5080
tools: add catches for C++ exceptions
2019-01-21 09:59:37 +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