]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
17 months agorevert a change to assert , the original logic might have been
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.

17 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

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

17 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

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

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

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

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

17 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

17 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

17 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

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

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

17 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

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

17 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

17 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

17 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()

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

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

17 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.

17 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

17 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

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

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

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

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

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

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

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

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

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

17 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

17 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

17 months agophase 1 of addressing cppcheck useStlAlgorithm warnings,
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.

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

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

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

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

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

17 months agox86 explicit constructor supervector
gtsoul-tech [Tue, 14 May 2024 06:28:13 +0000 (09:28 +0300)] 
x86 explicit constructor supervector

17 months agoMerge pull request #274 from gtsoul-tech/bugFix/cppcheckError-noexplicitConstructor
Konstantinos Margaritis [Mon, 13 May 2024 18:52:55 +0000 (21:52 +0300)] 
Merge pull request #274 from gtsoul-tech/bugFix/cppcheckError-noexplicitConstructor

Bug fix/cppcheck error noexplicitconstructor

17 months agomost ptr.get() conversion
gtsoul-tech [Mon, 13 May 2024 11:24:16 +0000 (14:24 +0300)] 
most ptr.get() conversion

17 months agofixes left_id and suffix_id
gtsoul-tech [Mon, 13 May 2024 10:04:57 +0000 (13:04 +0300)] 
fixes left_id and suffix_id

17 months agomore fixes
gtsoul-tech [Mon, 13 May 2024 09:41:40 +0000 (12:41 +0300)] 
more fixes

17 months agofix conversions
gtsoul-tech [Mon, 13 May 2024 08:03:27 +0000 (11:03 +0300)] 
fix conversions

17 months agoMerge pull request #267 from VectorCamp/bugfix/cppcheck-rose_build_scatter-uselessAss...
Konstantinos Margaritis [Mon, 13 May 2024 07:42:23 +0000 (10:42 +0300)] 
Merge pull request #267 from VectorCamp/bugfix/cppcheck-rose_build_scatter-uselessAssignmentArg

Fix marked as false positive uselessAssignmentArg cppcheck warning

17 months agoMerge pull request #268 from VectorCamp/bugfix/cppcheck-constStatement
Konstantinos Margaritis [Mon, 13 May 2024 07:26:38 +0000 (10:26 +0300)] 
Merge pull request #268 from VectorCamp/bugfix/cppcheck-constStatement

Fix marked as false positive constStatement cppcheck warnings

17 months agoMerge pull request #269 from VectorCamp/bugfix/cppcheck-duplicateAssignment
Konstantinos Margaritis [Mon, 13 May 2024 07:26:25 +0000 (10:26 +0300)] 
Merge pull request #269 from VectorCamp/bugfix/cppcheck-duplicateAssignment

Fix marked as false positive duplicateAssignExpression cppcheck warnings

17 months agoMerge pull request #270 from VectorCamp/bugfix/cppcheck-redundantAssignment
Konstantinos Margaritis [Mon, 13 May 2024 07:25:53 +0000 (10:25 +0300)] 
Merge pull request #270 from VectorCamp/bugfix/cppcheck-redundantAssignment

Fix marked as false positive redundantAssignment cppcheck warnings

17 months agoMerge pull request #271 from VectorCamp/bugfix/cppcheck-identicalConditionAfterEarlyExit
Konstantinos Margaritis [Mon, 13 May 2024 07:25:34 +0000 (10:25 +0300)] 
Merge pull request #271 from VectorCamp/bugfix/cppcheck-identicalConditionAfterEarlyExit

Fix marked as false positive identicalConditionAfterEarlyExit cppcheck warnings

17 months agoMerge pull request #272 from VectorCamp/bugfix/cppcheck-truncLongCastAssignment
Konstantinos Margaritis [Mon, 13 May 2024 07:13:45 +0000 (10:13 +0300)] 
Merge pull request #272 from VectorCamp/bugfix/cppcheck-truncLongCastAssignment

Fix marked as false positive truncLongCastAssignment cppcheck warnings

17 months agoMerge pull request #273 from VectorCamp/bugfix/cppcheck-knownConditionTrueFalse
Konstantinos Margaritis [Mon, 13 May 2024 07:13:22 +0000 (10:13 +0300)] 
Merge pull request #273 from VectorCamp/bugfix/cppcheck-knownConditionTrueFalse

 Fix marked as false positive knownConditionTrueFalse cppcheck warnings

17 months agorevert supervector
gtsoul-tech [Mon, 13 May 2024 06:52:42 +0000 (09:52 +0300)] 
revert supervector

17 months agofix
gtsoul-tech [Mon, 13 May 2024 06:29:40 +0000 (09:29 +0300)] 
fix

17 months agoMerge branch 'develop' into bugFix/cppcheckError-noexplicitConstructor
gtsoul-tech [Mon, 13 May 2024 06:13:28 +0000 (09:13 +0300)] 
Merge branch 'develop' into bugFix/cppcheckError-noexplicitConstructor

17 months agonodes is never empty at this stage, emplace_back() is called just previously
Konstantinos Margaritis [Sun, 12 May 2024 17:25:29 +0000 (20:25 +0300)] 
nodes is never empty at this stage, emplace_back() is called just previously

17 months agoFix marked as false positive knownConditionTrueFalse cppcheck warnings
Konstantinos Margaritis [Sun, 12 May 2024 15:40:51 +0000 (18:40 +0300)] 
Fix marked as false positive knownConditionTrueFalse cppcheck warnings

std::make_shared<> does not return null, it throws std::bad_alloc.

17 months agoFix false positive truncLongCastAssignment warnings
Konstantinos Margaritis [Sun, 12 May 2024 14:22:12 +0000 (17:22 +0300)] 
Fix false positive truncLongCastAssignment warnings

17 months agoFix false positive /identicalConditionAfterEarlyExit warnings
Konstantinos Margaritis [Sat, 11 May 2024 21:05:45 +0000 (00:05 +0300)] 
Fix false positive /identicalConditionAfterEarlyExit warnings

17 months agoFix false positive redundantAssignment warnings
Konstantinos Margaritis [Sat, 11 May 2024 20:45:01 +0000 (23:45 +0300)] 
Fix false positive redundantAssignment warnings

17 months agoFix false positive duplicateAssignExpression warnings
Konstantinos Margaritis [Sat, 11 May 2024 20:13:45 +0000 (23:13 +0300)] 
Fix false positive duplicateAssignExpression warnings

17 months agoFix false positive constStatement warnings
Konstantinos Margaritis [Sat, 11 May 2024 20:11:29 +0000 (23:11 +0300)] 
Fix false positive constStatement warnings

17 months agoreplace memcpy with std::copy
Konstantinos Margaritis [Sat, 11 May 2024 15:47:00 +0000 (18:47 +0300)] 
replace memcpy with std::copy

17 months agoFix false positive uselessAssignmentArg cppcheck warning
Konstantinos Margaritis [Sat, 11 May 2024 14:59:46 +0000 (17:59 +0300)] 
Fix false positive uselessAssignmentArg cppcheck warning

(also at the same time some cstyleCast warnings)

17 months agoMerge pull request #265 from isildur-g/wip-isildur-g-cppcheck66
Konstantinos Margaritis [Fri, 10 May 2024 19:43:05 +0000 (22:43 +0300)] 
Merge pull request #265 from isildur-g/wip-isildur-g-cppcheck66

addressing cppcheck shadowFunction warnings

17 months agoMerge branch 'develop' into test-noExplicitConstructor
gtsoul-tech [Fri, 10 May 2024 09:46:44 +0000 (12:46 +0300)] 
Merge branch 'develop' into test-noExplicitConstructor

17 months agosupervector
gtsoul-tech [Fri, 10 May 2024 09:43:45 +0000 (12:43 +0300)] 
supervector

17 months agonoExplicitConstructor 1 more
gtsoul-tech [Fri, 10 May 2024 07:08:14 +0000 (10:08 +0300)] 
noExplicitConstructor 1 more

17 months agonoExplicitConstructor
gtsoul-tech [Fri, 10 May 2024 07:07:47 +0000 (10:07 +0300)] 
noExplicitConstructor

17 months agoremove test comment
G.E [Thu, 9 May 2024 12:12:02 +0000 (15:12 +0300)] 
remove test comment

17 months agoMerge branch 'develop' into wip-isildur-g-cppcheck66
g. economou [Thu, 9 May 2024 07:28:25 +0000 (10:28 +0300)] 
Merge branch 'develop' into wip-isildur-g-cppcheck66

18 months agotest comment
G.E [Wed, 8 May 2024 21:12:30 +0000 (00:12 +0300)] 
test comment

18 months agoone more fixed that had been missed.
G.E [Wed, 8 May 2024 09:33:22 +0000 (12:33 +0300)] 
one more fixed that had been missed.

18 months agoMerge pull request #264 from gtsoul-tech/bugFix/cppcheck-constVariablePointer
Konstantinos Margaritis [Wed, 8 May 2024 07:28:24 +0000 (10:28 +0300)] 
Merge pull request #264 from gtsoul-tech/bugFix/cppcheck-constVariablePointer

Cppcheck constVariablePointer error

18 months agomaybe fix broken merge
G.E [Sun, 5 May 2024 15:26:20 +0000 (18:26 +0300)] 
maybe fix broken merge

18 months agojust a dummy commit to test something
G.E [Sun, 5 May 2024 09:11:17 +0000 (12:11 +0300)] 
just a dummy commit to test something

18 months agoMerge branch 'develop' into wip-isildur-g-cppcheck66
g. economou [Thu, 2 May 2024 15:37:46 +0000 (18:37 +0300)] 
Merge branch 'develop' into wip-isildur-g-cppcheck66

18 months agoaddressing cppcheck shadowFunction warnings
G.E [Thu, 2 May 2024 15:00:03 +0000 (18:00 +0300)] 
addressing cppcheck shadowFunction warnings

18 months agoMerge pull request #263 from gtsoul-tech/bug/cppcheck-61
Konstantinos Margaritis [Thu, 2 May 2024 13:50:16 +0000 (16:50 +0300)] 
Merge pull request #263 from gtsoul-tech/bug/cppcheck-61

Cppcheck knownConditionTrueFalse error

18 months agoconstVariablePointer
gtsoul-tech [Thu, 2 May 2024 11:21:16 +0000 (14:21 +0300)] 
constVariablePointer

18 months agoknownConditionTrueFalse fixes previously fp
gtsoul-tech [Thu, 2 May 2024 07:13:55 +0000 (10:13 +0300)] 
knownConditionTrueFalse fixes previously fp

18 months agoMerge pull request #262 from isildur-g/wip-isildur-g-cppcheck-47-48-58
Konstantinos Margaritis [Wed, 1 May 2024 14:39:42 +0000 (17:39 +0300)] 
Merge pull request #262 from isildur-g/wip-isildur-g-cppcheck-47-48-58

addressing 47,48,58

18 months agorefactor bool to void setDistinctTops setDistinctRoseTops
gtsoul-tech [Wed, 1 May 2024 12:21:36 +0000 (15:21 +0300)] 
refactor bool to void setDistinctTops setDistinctRoseTops
setDistinctSuffixTops

18 months agoknownConditionTrueFalse
gtsoul-tech [Wed, 1 May 2024 09:59:34 +0000 (12:59 +0300)] 
knownConditionTrueFalse

18 months agothe merge got screwed up, this should fix it
G.E [Wed, 1 May 2024 08:22:32 +0000 (11:22 +0300)] 
the merge got screwed up, this should fix it

18 months agoMerge branch 'develop' into wip-isildur-g-cppcheck-47-48-58
g. economou [Wed, 1 May 2024 07:59:59 +0000 (10:59 +0300)] 
Merge branch 'develop' into wip-isildur-g-cppcheck-47-48-58

18 months agoaddressing 47 [constParameterReference],48 [constVariableReference],58
G.E [Wed, 1 May 2024 07:54:15 +0000 (10:54 +0300)] 
addressing 47 [constParameterReference],48 [constVariableReference],58
[constVariable]

18 months agoMerge pull request #239 from ypicchi-arm/feature/add-sheng-unit-tests
Konstantinos Margaritis [Tue, 30 Apr 2024 21:07:14 +0000 (00:07 +0300)] 
Merge pull request #239 from ypicchi-arm/feature/add-sheng-unit-tests

Feature/add sheng unit tests

18 months agoMerge pull request #261 from gtsoul-tech/bug/cppCheck-41
Konstantinos Margaritis [Tue, 30 Apr 2024 18:10:08 +0000 (21:10 +0300)] 
Merge pull request #261 from gtsoul-tech/bug/cppCheck-41

Cppcheck unreadVariable error

18 months agoAdd sheng tests
Yoan Picchi [Thu, 4 Apr 2024 10:00:58 +0000 (10:00 +0000)] 
Add sheng tests

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
18 months agounreadVariable
gtsoul-tech [Tue, 30 Apr 2024 10:36:39 +0000 (13:36 +0300)] 
unreadVariable

18 months agoMerge pull request #259 from gtsoul-tech/bug/cppcheckErrors
Konstantinos Margaritis [Tue, 30 Apr 2024 07:27:47 +0000 (10:27 +0300)] 
Merge pull request #259 from gtsoul-tech/bug/cppcheckErrors

Bug/cppcheck errors (32,35) WIP

18 months agoMerge pull request #258 from isildur-g/wip-isildur-g-cppcheck1220
Konstantinos Margaritis [Mon, 29 Apr 2024 18:58:13 +0000 (21:58 +0300)] 
Merge pull request #258 from isildur-g/wip-isildur-g-cppcheck1220

Wip cppcheck1220

18 months agonew variableScope
gtsoul-tech [Mon, 29 Apr 2024 12:09:55 +0000 (15:09 +0300)] 
new variableScope

18 months agofixed const adjustments.
G.E [Mon, 29 Apr 2024 10:38:35 +0000 (13:38 +0300)] 
fixed const adjustments.

18 months agovariableScopeFix
gtsoul-tech [Mon, 29 Apr 2024 10:28:16 +0000 (13:28 +0300)] 
variableScopeFix

18 months agovariableScope
gtsoul-tech [Mon, 29 Apr 2024 10:13:07 +0000 (13:13 +0300)] 
variableScope

18 months agoome of the consts couldnt be propagated and had to be reverted
G.E [Mon, 29 Apr 2024 09:39:28 +0000 (12:39 +0300)] 
ome of the consts couldnt be propagated and had to be reverted

18 months agomissingOverride
gtsoul-tech [Mon, 29 Apr 2024 07:26:39 +0000 (10:26 +0300)] 
missingOverride