]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
10 days agoFeature/prepare 5.4.12 (#340) develop 341/head
Konstantinos Margaritis [Tue, 22 Jul 2025 11:04:53 +0000 (14:04 +0300)] 
Feature/prepare 5.4.12 (#340)

* Add entry for Changelog
* Add new contributors
* Bump library version

11 days agocmake - guard against failed GNUCC_ARCH extraction (#339)
ibrkas01arm [Mon, 21 Jul 2025 11:36:59 +0000 (12:36 +0100)] 
cmake - guard against failed GNUCC_ARCH extraction (#339)

Prevents overwriting GNUCC_ARCH with an empty value when parsing output
of gcc -Q --help=target. Ensures robustness if detection fails and
returns an empty string.

Signed-off-by: Ibrahim Kashif <ibrahim.kashif@arm.com>
7 weeks agoFix double shufti's vector end false positive (#325)
ypicchi-arm [Wed, 11 Jun 2025 15:55:10 +0000 (16:55 +0100)] 
Fix double shufti's vector end false positive (#325)

* Add regression test for double shufti

It tests for false positive at vector edges.

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
* Fix double shufti reporting false positives

Double shufti used to offset one vector, resulting in losing one character
at the end of every vector. This was replaced by a magic value indicating a
match. This meant that if the first char of a pattern fell on the last char of
a vector, double shufti would assume the second character is present and
report a match.
This patch fixes it by keeping the previous vector and feeding its data to the
new one when we shift it, preventing any loss of data.

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
* vshl() will call the correct implementation

* implement missing vshr_512_imm(), simplifies caller x86 code

* Fix x86 case, use alignr instead

* it's the reverse, the avx512 alignr is incorrect, need to fix

* Make shufti's OR reduce size agnostic

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
* Fix test's array size

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
* Fix AVX2/AVX512 alignr implementations and unit tests

* Fix Power VSX alignr

---------

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
Co-authored-by: Konstantinos Margaritis <konstantinos@vectorcamp.gr>
2 months agoFix/fbsd gcc13 error (#338)
Chrysovalantis - Michail Liakopoulos [Sat, 31 May 2025 08:46:22 +0000 (11:46 +0300)] 
Fix/fbsd gcc13 error (#338)

* added static libraries in cmake to fix unit-internal seg fault in freebsd, ppc64le, gcc13 error
* Moved gcc13 flags for freebsd-gcc13 in cmake/cflags-ppc64le.make

2 months agoBugfix/fix avx512vbmi regressions (#335)
Konstantinos Margaritis [Fri, 30 May 2025 18:08:55 +0000 (21:08 +0300)] 
Bugfix/fix avx512vbmi regressions (#335)

Multiple AVX512VBMI-related fixes:

src/nfa/mcsheng_compile.cpp: No need for an assert here, impl_id can be set to 0
src/nfa/nfa_api_queue.h: Make sure this compiles on both C++ and C
src/nfagraph/ng_fuzzy.cpp: Fix compilation error when DEBUG_OUTPUT=on
src/runtime.c: Fix crash when data == NULL
unit/internal/sheng.cpp: Unit test has to enable AVX512VBMI manually as autodetection does not get trigger, this causes test to fail
src/fdr/teddy_fat.cpp: AVX512 loads need to be 64-bit aligned, caused a crash on clang-18

2 months agoVarious cppcheck fixes (#337)
Konstantinos Margaritis [Fri, 30 May 2025 09:27:28 +0000 (12:27 +0300)] 
Various cppcheck fixes (#337)

2 months agoFixed out of bounds read in AVX512VBMI version of fdr_exec_fat_teddy … (#333)
Rafał Dowgird [Sun, 18 May 2025 08:01:10 +0000 (10:01 +0200)] 
Fixed out of bounds read in AVX512VBMI version of fdr_exec_fat_teddy … (#333)

Fixed out of bounds read in AVX512VBMI version of fdr_exec_fat_teddy (#322)

  * Replaced the 32 byte read with a properly truncated mapped read
  * Added a unit test

Co-authored-by: Rafał Dowgird <rafal.dowgird@rtbhouse.com>
2 months agopartial_load_u64 will fail if buf == NULL/c_len == 0 (#331) 323/head
Konstantinos Margaritis [Fri, 16 May 2025 10:44:36 +0000 (13:44 +0300)] 
partial_load_u64 will fail if buf == NULL/c_len == 0 (#331)

2 months agoClang 17+ is more restrictive on rebind<T> on MacOS/Boost, remove warning (#332)
Konstantinos Margaritis [Fri, 16 May 2025 10:44:20 +0000 (13:44 +0300)] 
Clang 17+ is more restrictive on rebind<T> on MacOS/Boost, remove warning (#332)

* Clang 17+ is more restrictive on rebind<T> on MacOS/Boost, remove warning

* More clang/boost warnings on MacOS, disable for now

2 months agoFix 5.4.11's config step regression (#327)
ypicchi-arm [Wed, 14 May 2025 21:58:01 +0000 (22:58 +0100)] 
Fix 5.4.11's config step regression (#327)

An old commit (24ae1670d) had the side effect of moving cmake defines after
they were being used. This patch move them back to be defined before being used.
Speed hsbench back up by ~ 0.8%

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
2 months agoFix typo in build instructions (#315)
HelixHexagon [Wed, 14 May 2025 20:49:07 +0000 (21:49 +0100)] 
Fix typo in build instructions (#315)

8 months agoFix regression error #317 and add unit test (#318)
gtsoul-tech [Wed, 13 Nov 2024 08:43:23 +0000 (10:43 +0200)] 
Fix regression error #317 and add unit test (#318)

Revert the code that produced the regression error in #317
Add the regression error to a unit test regressions.cpp along with the rebar tests

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
8 months agoCppcheck errors fixed and suppressed (#319)
gtsoul-tech [Tue, 12 Nov 2024 08:01:11 +0000 (10:01 +0200)] 
Cppcheck errors fixed and suppressed (#319)

* supress knownConditionTrueFalse

* cppcheck suppress redundantInitialization

* cppcheck solve stlcstrStream

* cppcheck suppress useStlAlgorithm

* cppcheck-suppress derefInvalidIteratorRedundantCheck

* cppcheck solvwe constParameterReference

* const parameter reference cppcheck

* removed wrong fix

* cppcheck-suppress memsetClassFloat

* cppcheck fix memsetClassFloat

* cppcheck fix unsignedLessThanZero

* supressing all errors on simde gitmodule

* fix typo (unsignedLessThanZero)

* fix cppcheck suppress simde gitmodule

* cppcheck-suppress unsignedLessThanZero

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
11 months agoFix noodle sve2 off by one (#313)
ypicchi-arm [Thu, 29 Aug 2024 10:49:29 +0000 (11:49 +0100)] 
Fix noodle sve2 off by one (#313)

* Revert "Fix noodle SVE2 off by one bug"

This patch was fixing the bug when it happens at the end of the buffer
but it wasn't fixing it when we do scanDoubleOnce before the main loop

The next patch fix this bug for both case instead

This reverts commit 48dd0e5ff0bc1995d62461c92cfb76d44d1d0105.

* Fix noodle spurious match with \0 chars for SVE2

When sve2's noodle process a non full vector (before the main loop or
at the end of it), a fake \0 was being parsed, trigerring a match for
pattern that ended with \0. This patch fix this.

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
---------

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
11 months agohs_valid_platform: Fix check for SSE4.2 (#310)
Michael Tremer [Thu, 22 Aug 2024 07:34:05 +0000 (08:34 +0100)] 
hs_valid_platform: Fix check for SSE4.2 (#310)

Vectorscan requires SSE4.2 as a minimum on x86_64. For Hyperscan this
used to be SSSE3.

Applications that use the library call hs_valid_platform() to check if
the CPU fulfils this minimum requirement. However, when Vectorscan
upgraded to SSE4.2, the check was not updated. This leads to the library
trying to execute instructions that are not supported, resulting in the
application to crash.

This might not have been noticed as the CPUs that do not support SSE4.2
are rather old and unlikely to run any load where performance is an
issue. However, I believe that the library should not let the
application crash.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
11 months agoMake vectorscan accept \0 starting pattern (#312)
ypicchi-arm [Thu, 22 Aug 2024 07:32:53 +0000 (08:32 +0100)] 
Make vectorscan accept \0 starting pattern (#312)

Vectorscan used to reject such pattern because they were being compared
to "" and found to be an empty string. We now check the pattern length
instead.

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
11 months agoFix noodle SVE2 off by one bug (#309)
ypicchi-arm [Mon, 5 Aug 2024 06:42:56 +0000 (07:42 +0100)] 
Fix noodle SVE2 off by one bug (#309)

By using svmatch on 16 bit lanes with a 8 bit predicate, we end up
including an undefined character in the pattern checks. The inactive
lane after load contains an undefined value, usually \0. Patterns
using \0 as the last character would then match this spurious
character, returning a match beyond the buffer's end. The fix checks
for such matches and rejects them.

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
12 months agoBug fix/rebar tests (#307)
gtsoul-tech [Mon, 29 Jul 2024 08:49:25 +0000 (11:49 +0300)] 
Bug fix/rebar tests (#307)

* fixed paths and utf8-lossy=true

* revert to maskz (its the bug)

* cppcheck fix

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
12 months agoRebar based Unit tests (#305)
gtsoul-tech [Wed, 24 Jul 2024 07:39:24 +0000 (10:39 +0300)] 
Rebar based Unit tests (#305)

* rebar based unit tests

* fixing paths

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
12 months agomaybe fix the hsbench issue (check_ssse3 again) in sse2/simde env (#306)
g. economou [Fri, 12 Jul 2024 12:23:07 +0000 (15:23 +0300)] 
maybe fix the hsbench issue (check_ssse3 again) in sse2/simde env (#306)

* maybe fix the hsbench issue (check_ssse3 again) in sse2/simde env

* fix the last failing unit test with fat

---------

Co-authored-by: G.E. <gregory.economou@vectorcamp.gr>
12 months agobuild/run on machines that only have SSE2 with SIMDE (#303)
g. economou [Wed, 10 Jul 2024 18:20:17 +0000 (21:20 +0300)] 
build/run on machines that only have SSE2 with SIMDE (#303)

This allows the use of SIMDE library to emulate SSSE3/SSE4.2 instructions on SSE2-only (x86-64-v2) hardware.

---------

Co-authored-by: G.E <gregory.economou@vectorcamp.gr>
Co-authored-by: Konstantinos Margaritis <konstantinos@vectorcamp.gr>
13 months agoTeddy macros unrolling - initial PR to test in CI (#294)
g. economou [Wed, 26 Jun 2024 19:35:33 +0000 (22:35 +0300)] 
Teddy macros unrolling - initial PR to test in CI (#294)

Major refactoring of teddy and teddy_avx2, unrolling macros to C++ templated functions

---------

Co-authored-by: G.E <gregory.economou@vectorcamp.gr>
13 months agoBug fix/clang-tidy-performance (#300)
gtsoul-tech [Thu, 20 Jun 2024 11:57:19 +0000 (14:57 +0300)] 
Bug fix/clang-tidy-performance (#300)

Various clang-tidy-performance fixes:
* noexcept
* performance-noexcept-swap
* performance
* performance-move-const-arg
* performance-unnecessary-value-param
* performance-inefficient-vector-operation
* performance-no-int-to-ptr
* add performance
* performance-inefficient-string-concatenation
* clang-analyzer-deadcode.DeadStores
* performance-inefficient-vector-operation
* clang-analyzer-core.NullDereference
* clang-analyzer-core.UndefinedBinaryOperatorResult
* clang-analyzer-core.CallAndMessage

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
13 months agoScript for the clang-tidy CI (#299)
gtsoul-tech [Tue, 11 Jun 2024 12:05:52 +0000 (15:05 +0300)] 
Script for the clang-tidy CI (#299)

script to clang-tidy CI

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
13 months agoBug fix/clang tidy warnings part3 (#298)
gtsoul-tech [Mon, 10 Jun 2024 07:08:54 +0000 (10:08 +0300)] 
Bug fix/clang tidy warnings part3 (#298)

* clang-analyzer-deadcode.DeadStores

* clang-analyzer-optin.performance.Padding

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
13 months agoClang-tidy config (#297)
gtsoul-tech [Fri, 7 Jun 2024 14:10:32 +0000 (17:10 +0300)] 
Clang-tidy config (#297)

clang-tidy config

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
13 months agoBug fix/clang tidy warnings part2 (#296)
gtsoul-tech [Tue, 4 Jun 2024 13:18:17 +0000 (16:18 +0300)] 
Bug fix/clang tidy warnings part2 (#296)

* core.StackAddressEscape

* cplusplus.VirtualCall

* clang-analyzer-deadcode.DeadStores

* clang-analyzer-core.NullDereference

* clang-analyzer-core.NonNullParamChecker

* change to nolint

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
14 months agoFix Clang Tidy warnings (#295)
Konstantinos Margaritis [Fri, 31 May 2024 15:23:16 +0000 (18:23 +0300)] 
Fix Clang Tidy warnings (#295)

Fixes some of the clang-tidy warnings
clang-analyzer-deadcode.DeadStores
clang-analyzer-cplusplus.NewDelete
clang-analyzer-core.uninitialized.UndefReturn

closes some:#253

ignored in this pr:
/usr/include/boost/smart_ptr/detail/shared_count.hpp:432:24
/usr/include/boost/smart_ptr/detail/shared_count.hpp:443:24
51 in build/src/parser
gtest ones
src/fdr/teddy_compile.cpp:600:5 refactoring on way
src/fdr/fdr_compile.cpp:209:5 refactoring on way

14 months agoclang-analyzer-cplusplus.Move 295/head
gtsoul-tech [Fri, 31 May 2024 07:34:55 +0000 (10:34 +0300)] 
clang-analyzer-cplusplus.Move

14 months agoclang-analyzer-core.uninitialized.UndefReturn
gtsoul-tech [Fri, 31 May 2024 07:24:44 +0000 (10:24 +0300)] 
clang-analyzer-core.uninitialized.UndefReturn

14 months agoremove comment
gtsoul-tech [Fri, 31 May 2024 06:47:45 +0000 (09:47 +0300)] 
remove comment

14 months agoFix Clang Tidy warning optin.performance.Padding (#293)
Konstantinos Margaritis [Thu, 30 May 2024 14:24:14 +0000 (17:24 +0300)] 
Fix Clang Tidy warning optin.performance.Padding (#293)

Fixes some optin.performance.Padding

closes some: #253

14 months agoclang-analyzer-cplusplus.NewDelete
gtsoul-tech [Thu, 30 May 2024 13:40:55 +0000 (16:40 +0300)] 
clang-analyzer-cplusplus.NewDelete

14 months agodeadcode.DeadStores
gtsoul-tech [Thu, 30 May 2024 13:40:47 +0000 (16:40 +0300)] 
deadcode.DeadStores

14 months agodeadcode.DeadStores
gtsoul-tech [Thu, 30 May 2024 13:40:18 +0000 (16:40 +0300)] 
deadcode.DeadStores

14 months agouninitialized.UndefReturn
gtsoul-tech [Wed, 29 May 2024 08:51:06 +0000 (11:51 +0300)] 
uninitialized.UndefReturn

14 months agocplusplus.Move
gtsoul-tech [Tue, 28 May 2024 11:15:03 +0000 (14:15 +0300)] 
cplusplus.Move

14 months agooptin.performance.Padding 293/head
gtsoul-tech [Mon, 27 May 2024 12:41:57 +0000 (15:41 +0300)] 
optin.performance.Padding

14 months agoFix/Suppress remaining Cppcheck warnings (#291)
Konstantinos Margaritis [Mon, 27 May 2024 09:23:02 +0000 (12:23 +0300)] 
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

14 months agoPart 5 of C-style cast cppcheck (#289)
Konstantinos Margaritis [Fri, 24 May 2024 20:24:58 +0000 (23:24 +0300)] 
Part 5 of C-style cast cppcheck (#289)

Fixes some cstyleCasts part 5

closes some: #252

14 months agorevert uniform cstyle suppress 289/head
gtsoul-tech [Fri, 24 May 2024 07:12:15 +0000 (10:12 +0300)] 
revert uniform cstyle suppress

14 months agoSpeed up truffle with 256b TBL instructions (#290)
Konstantinos Margaritis [Thu, 23 May 2024 06:38:24 +0000 (09:38 +0300)] 
Speed up truffle with 256b TBL instructions (#290)

256b wide SVE vectors allow some simplification of truffle. Up to 40%
speedup on graviton3. Going from 12500 MB/s to 17000 MB/s onhe
microbenchmark.
SVE2 also offer this capability for 128b vector with a speedup around
25% compared to normal SVE

Add unit tests and benchmark for this wide variant

14 months agoSpeed up truffle with 256b TBL instructions 290/head
Yoan Picchi [Tue, 23 Apr 2024 12:04:40 +0000 (12:04 +0000)] 
Speed up truffle with 256b TBL instructions

256b wide SVE vectors allow some simplification of truffle.
Up to 40% speedup on graviton3. Going from 12500 MB/s to 17000 MB/s
onhe microbenchmark.
SVE2 also offer this capability for 128b vector with a speedup around
25% compared to normal SVE

Add unit tests and benchmark for this wide variant

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
14 months agocstylecast parser
gtsoul-tech [Wed, 22 May 2024 08:11:13 +0000 (11:11 +0300)] 
cstylecast parser

14 months agocstylecasts and suppressions
gtsoul-tech [Wed, 22 May 2024 07:16:56 +0000 (10:16 +0300)] 
cstylecasts and suppressions

14 months agoMerge pull request #288 from isildur-g/bugfix-assert
Konstantinos Margaritis [Tue, 21 May 2024 20:43:04 +0000 (23:43 +0300)] 
Merge pull request #288 from isildur-g/bugfix-assert

revert a change to assert

14 months agoMerge pull request #287 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part4
Konstantinos Margaritis [Tue, 21 May 2024 12:59:51 +0000 (15:59 +0300)] 
Merge pull request #287 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part4

Part 4 of C-style cast cppcheck

14 months agoMerge pull request #283 from isildur-g/wip-cppcheck271-part2
Konstantinos Margaritis [Tue, 21 May 2024 12:52:15 +0000 (15:52 +0300)] 
Merge pull request #283 from isildur-g/wip-cppcheck271-part2

Wip cppcheck271 useStlAlgorithm part2

14 months agorevert a change to assert , the original logic might have been 288/head
G.E. [Mon, 20 May 2024 15:03:56 +0000 (18:03 +0300)] 
revert a change to assert , the original logic might have been
subtely clever (or else totally useless all these years), when we
see which of the two we might delete that assert entirely. for now
put it back as it was.

14 months agocstylecasts suppress,fixes 287/head
gtsoul-tech [Mon, 20 May 2024 14:09:30 +0000 (17:09 +0300)] 
cstylecasts suppress,fixes

14 months agoundo that one, it breaks 283/head
G.E [Mon, 20 May 2024 13:35:58 +0000 (16:35 +0300)] 
undo that one, it breaks

14 months agoMerge pull request #286 from VectorCamp/bugfix/cppcheck-fix-wrong-casts
Konstantinos Margaritis [Mon, 20 May 2024 12:17:01 +0000 (15:17 +0300)] 
Merge pull request #286 from VectorCamp/bugfix/cppcheck-fix-wrong-casts

Fix remaining C style casts and suppressions

14 months agofix cStyleCasts
gtsoul-tech [Mon, 20 May 2024 11:54:35 +0000 (14:54 +0300)] 
fix cStyleCasts

14 months agoFix typo 286/head
Konstantinos Margaritis [Sat, 18 May 2024 19:52:17 +0000 (22:52 +0300)] 
Fix typo

14 months agoAdd more C style casts fixes and suppressions
Konstantinos Margaritis [Sat, 18 May 2024 18:48:40 +0000 (21:48 +0300)] 
Add more C style casts fixes and suppressions

14 months agoremove unneeded suppression
Konstantinos Margaritis [Sat, 18 May 2024 18:47:47 +0000 (21:47 +0300)] 
remove unneeded suppression

14 months agoFix more C-style casts
Konstantinos Margaritis [Sat, 18 May 2024 12:06:10 +0000 (15:06 +0300)] 
Fix more C-style casts

14 months agoFix casts
Konstantinos Margaritis [Sat, 18 May 2024 11:58:11 +0000 (14:58 +0300)] 
Fix casts

14 months agoFix wrong comparison
Konstantinos Margaritis [Sat, 18 May 2024 11:57:44 +0000 (14:57 +0300)] 
Fix wrong comparison

14 months agoFix wrong casts in pcapscan.cc
Konstantinos Margaritis [Sat, 18 May 2024 11:56:30 +0000 (14:56 +0300)] 
Fix wrong casts in pcapscan.cc

14 months agoMerge pull request #285 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part3
Konstantinos Margaritis [Sat, 18 May 2024 06:43:25 +0000 (09:43 +0300)] 
Merge pull request #285 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part3

Part 3 of C-style cast cppcheck

14 months agoMerge pull request #284 from gtsoul-tech/bigFix/cppcheck-cStylecasts-Part2
Konstantinos Margaritis [Sat, 18 May 2024 06:41:50 +0000 (09:41 +0300)] 
Merge pull request #284 from gtsoul-tech/bigFix/cppcheck-cStylecasts-Part2

Part 2 of C-style cast cppcheck

14 months agostl'ed another.
G.E [Fri, 17 May 2024 21:02:43 +0000 (00:02 +0300)] 
stl'ed another.

14 months agostl'ed another one
G.E [Fri, 17 May 2024 20:27:42 +0000 (23:27 +0300)] 
stl'ed another one

14 months agostl'ed one more instance
G.E [Fri, 17 May 2024 20:18:55 +0000 (23:18 +0300)] 
stl'ed one more instance

14 months agocStyleCasts 285/head
gtsoul-tech [Fri, 17 May 2024 13:58:08 +0000 (16:58 +0300)] 
cStyleCasts

14 months agocStyleCasts 284/head
gtsoul-tech [Fri, 17 May 2024 10:57:12 +0000 (13:57 +0300)] 
cStyleCasts

14 months agoclean up comments
G.E [Fri, 17 May 2024 08:27:43 +0000 (11:27 +0300)] 
clean up comments

14 months agoMerge branch 'develop' into wip-cppcheck271-part2
g. economou [Fri, 17 May 2024 08:08:09 +0000 (11:08 +0300)] 
Merge branch 'develop' into wip-cppcheck271-part2

14 months agolast batch
G.E [Fri, 17 May 2024 08:02:00 +0000 (11:02 +0300)] 
last batch

14 months agonext batch
G.E [Fri, 17 May 2024 07:44:28 +0000 (10:44 +0300)] 
next batch

14 months agonext batch
G.E [Thu, 16 May 2024 21:08:37 +0000 (00:08 +0300)] 
next batch

14 months agoMerge pull request #281 from VectorCamp/bugfix/cppcheck-cstyleCasts-part1
Konstantinos Margaritis [Thu, 16 May 2024 20:14:45 +0000 (23:14 +0300)] 
Merge pull request #281 from VectorCamp/bugfix/cppcheck-cstyleCasts-part1

Part 1 of C-style cast cppcheck fixes

14 months agofirst batch of cppcheck disables and a few more stl-ifications,
G.E [Thu, 16 May 2024 20:01:17 +0000 (23:01 +0300)] 
first batch of cppcheck disables and a few more stl-ifications,
involving use of accumulate() .

14 months agoadd alternative macro without C casts to avoid Cppcheck warnings 281/head
Konstantinos Margaritis [Thu, 16 May 2024 12:58:02 +0000 (15:58 +0300)] 
add alternative macro without C casts to avoid Cppcheck warnings

14 months agoFix C style casts in mcsheng_compile.cpp
Konstantinos Margaritis [Thu, 16 May 2024 12:57:39 +0000 (15:57 +0300)] 
Fix C style casts in mcsheng_compile.cpp

14 months agoMerge pull request #280 from isildur-g/bugfix-rose-segfault
Konstantinos Margaritis [Thu, 16 May 2024 12:41:22 +0000 (15:41 +0300)] 
Merge pull request #280 from isildur-g/bugfix-rose-segfault

the segfault we ran into, included_frag_id should be

14 months agoFix wrong cast in aligned_free()
Konstantinos Margaritis [Thu, 16 May 2024 10:06:28 +0000 (13:06 +0300)] 
Fix wrong cast in aligned_free()

14 months agoFix C-style casts
Konstantinos Margaritis [Wed, 15 May 2024 20:22:39 +0000 (23:22 +0300)] 
Fix C-style casts

14 months agoMerge branch 'develop' into bugfix-rose-segfault 280/head
g. economou [Thu, 16 May 2024 06:57:58 +0000 (09:57 +0300)] 
Merge branch 'develop' into bugfix-rose-segfault

14 months agothe segfault we ran into, included_frag_id should be
G.E [Thu, 16 May 2024 06:53:03 +0000 (09:53 +0300)] 
the segfault we ran into, included_frag_id should be
included_delay_frag_id.

14 months agoMerge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others
Konstantinos Margaritis [Wed, 15 May 2024 20:18:02 +0000 (23:18 +0300)] 
Merge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others

Fix marked as done cppcheck warnings unreadVariable & others

14 months agoMerge pull request #278 from VectorCamp/bugfix/cppcheck-remaining-const-warnings
Konstantinos Margaritis [Wed, 15 May 2024 14:54:27 +0000 (17:54 +0300)] 
Merge pull request #278 from VectorCamp/bugfix/cppcheck-remaining-const-warnings

Fix remaining marked as done const* cppcheck warnings

14 months agoremove unused variables 279/head
Konstantinos Margaritis [Wed, 15 May 2024 14:18:53 +0000 (17:18 +0300)] 
remove unused variables

14 months agoanother duplicateExpression false positive
Konstantinos Margaritis [Wed, 15 May 2024 14:11:07 +0000 (17:11 +0300)] 
another duplicateExpression false positive

14 months agoFix unreadVariable warning
Konstantinos Margaritis [Wed, 15 May 2024 14:05:50 +0000 (17:05 +0300)] 
Fix unreadVariable warning

14 months agoFix missingOverride
Konstantinos Margaritis [Wed, 15 May 2024 14:05:22 +0000 (17:05 +0300)] 
Fix missingOverride

14 months agoFix unknownMacro
Konstantinos Margaritis [Wed, 15 May 2024 14:04:50 +0000 (17:04 +0300)] 
Fix unknownMacro

14 months agoFix variableScope
Konstantinos Margaritis [Wed, 15 May 2024 14:01:31 +0000 (17:01 +0300)] 
Fix variableScope

14 months agoFalse positive knownConditionTrueFalse
Konstantinos Margaritis [Wed, 15 May 2024 14:01:02 +0000 (17:01 +0300)] 
False positive knownConditionTrueFalse

14 months agoFalse positives duplicateExpression
Konstantinos Margaritis [Wed, 15 May 2024 14:00:28 +0000 (17:00 +0300)] 
False positives duplicateExpression

14 months agoFix remaining marked as done const* cppcheck warnings 278/head
Konstantinos Margaritis [Wed, 15 May 2024 07:52:31 +0000 (10:52 +0300)] 
Fix remaining marked as done const* cppcheck warnings

14 months agoMerge pull request #277 from isildur-g/wip-cppcheck271
Konstantinos Margaritis [Wed, 15 May 2024 07:44:15 +0000 (10:44 +0300)] 
Merge pull request #277 from isildur-g/wip-cppcheck271

phase 1 of addressing cppcheck useStlAlgorithm warnings for fill and copy operations

14 months agoMerge pull request #276 from gtsoul-tech/bugFix/cppcheck-noExplicitConstructor-part2
Konstantinos Margaritis [Tue, 14 May 2024 16:52:01 +0000 (19:52 +0300)] 
Merge pull request #276 from gtsoul-tech/bugFix/cppcheck-noExplicitConstructor-part2

Bug fix/cppcheck no explicit constructor part2

14 months agophase 1 of addressing cppcheck useStlAlgorithm warnings, 277/head
G.E [Tue, 14 May 2024 14:37:38 +0000 (17:37 +0300)] 
phase 1 of addressing cppcheck useStlAlgorithm warnings,
this set only includes fill and copy operations.

14 months agosupervector conversion 276/head
gtsoul-tech [Tue, 14 May 2024 11:15:15 +0000 (14:15 +0300)] 
supervector conversion

14 months agoforgot some conversions SuperVector<32>
gtsoul-tech [Tue, 14 May 2024 11:10:56 +0000 (14:10 +0300)] 
forgot some conversions SuperVector<32>

14 months agoexplicit constructor Supervector
gtsoul-tech [Tue, 14 May 2024 10:32:50 +0000 (13:32 +0300)] 
explicit constructor Supervector

14 months agoppc64el supervector explicit constructor
gtsoul-tech [Tue, 14 May 2024 07:11:52 +0000 (10:11 +0300)] 
ppc64el supervector explicit constructor

14 months agoarm supervector explicit constructor
gtsoul-tech [Tue, 14 May 2024 06:53:08 +0000 (09:53 +0300)] 
arm supervector explicit constructor