gtsoul-tech
e7e65b1aae
Script for the clang-tidy CI ( #299 )
...
script to clang-tidy CI
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com >
2024-06-11 15:05:52 +03:00
gtsoul-tech
502c0f863a
Bug fix/clang tidy warnings part3 ( #298 )
...
* clang-analyzer-deadcode.DeadStores
* clang-analyzer-optin.performance.Padding
---------
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com >
2024-06-10 10:08:54 +03:00
gtsoul-tech
44e2d3bfc1
Clang-tidy config ( #297 )
...
clang-tidy config
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com >
2024-06-07 17:10:32 +03:00
gtsoul-tech
999263d140
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 >
2024-06-04 16:18:17 +03:00
Konstantinos Margaritis
79443a96f4
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
2024-05-31 18:23:16 +03:00
gtsoul-tech
bfcc696320
clang-analyzer-cplusplus.Move
2024-05-31 10:34:55 +03:00
gtsoul-tech
b4a176738a
clang-analyzer-core.uninitialized.UndefReturn
2024-05-31 10:24:44 +03:00
gtsoul-tech
829b2d75fd
remove comment
2024-05-31 09:47:45 +03:00
Konstantinos Margaritis
6c6f7ba2fa
Fix Clang Tidy warning optin.performance.Padding ( #293 )
...
Fixes some optin.performance.Padding
closes some: #253
2024-05-30 17:24:14 +03:00
gtsoul-tech
120e896691
clang-analyzer-cplusplus.NewDelete
2024-05-30 16:40:55 +03:00
gtsoul-tech
d1ffb09774
deadcode.DeadStores
2024-05-30 16:40:47 +03:00
gtsoul-tech
a846d496b4
deadcode.DeadStores
2024-05-30 16:40:18 +03:00
gtsoul-tech
793025fab6
uninitialized.UndefReturn
2024-05-29 11:51:06 +03:00
gtsoul-tech
9dd241e979
cplusplus.Move
2024-05-28 14:15:03 +03:00
gtsoul-tech
a2071582d5
optin.performance.Padding
2024-05-27 15:41:57 +03:00
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
a8e43a4c0b
Part 5 of C-style cast cppcheck ( #289 )
...
Fixes some cstyleCasts part 5
closes some: #252
2024-05-24 23:24:58 +03:00
gtsoul-tech
7f67cfae50
revert uniform cstyle suppress
2024-05-24 10:12:15 +03:00
Konstantinos Margaritis
b94f220a4d
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
2024-05-23 09:38:24 +03:00
Yoan Picchi
7054378c93
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 >
2024-05-22 16:13:53 +00:00
gtsoul-tech
2042ef50a0
cstylecast parser
2024-05-22 11:11:13 +03:00
gtsoul-tech
23a2b4e830
cstylecasts and suppressions
2024-05-22 10:16:56 +03:00
Konstantinos Margaritis
154cb6333b
Merge pull request #288 from isildur-g/bugfix-assert
...
revert a change to assert
2024-05-21 23:43:04 +03:00
Konstantinos Margaritis
23e05ec443
Merge pull request #287 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part4
...
Part 4 of C-style cast cppcheck
2024-05-21 15:59:51 +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
G.E.
3ac8832814
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.
2024-05-20 18:03:56 +03:00
gtsoul-tech
d7dc3ec916
cstylecasts suppress,fixes
2024-05-20 17:09:30 +03:00
G.E
013c83a776
undo that one, it breaks
2024-05-20 16:35:58 +03:00
Konstantinos Margaritis
80ab3dc77a
Merge pull request #286 from VectorCamp/bugfix/cppcheck-fix-wrong-casts
...
Fix remaining C style casts and suppressions
2024-05-20 15:17:01 +03:00
gtsoul-tech
cb8808619e
fix cStyleCasts
2024-05-20 14:54:35 +03:00
Konstantinos Margaritis
c01df9dfac
Fix typo
2024-05-18 22:52:17 +03:00
Konstantinos Margaritis
b07f527f2e
Add more C style casts fixes and suppressions
2024-05-18 21:49:54 +03:00
Konstantinos Margaritis
8b93f44856
remove unneeded suppression
2024-05-18 21:47:47 +03:00
Konstantinos Margaritis
ac5018cdcf
Fix more C-style casts
2024-05-18 15:10:34 +03:00
Konstantinos Margaritis
3bcf7e81e3
Fix casts
2024-05-18 14:58:11 +03:00
Konstantinos Margaritis
b562f955c2
Fix wrong comparison
2024-05-18 14:57:44 +03:00
Konstantinos Margaritis
fc9d6dbf8e
Fix wrong casts in pcapscan.cc
2024-05-18 14:56:30 +03:00
Konstantinos Margaritis
648b655734
Merge pull request #285 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part3
...
Part 3 of C-style cast cppcheck
2024-05-18 09:43:25 +03:00
Konstantinos Margaritis
01837ae5a3
Merge pull request #284 from gtsoul-tech/bigFix/cppcheck-cStylecasts-Part2
...
Part 2 of C-style cast cppcheck
2024-05-18 09:41:50 +03:00
G.E
00165e1d5a
stl'ed another.
2024-05-18 00:02:43 +03:00
G.E
a7f1f399d4
stl'ed another one
2024-05-17 23:27:42 +03:00
G.E
795d776b3d
stl'ed one more instance
2024-05-17 23:18:55 +03:00
gtsoul-tech
d8f61b0d66
cStyleCasts
2024-05-17 16:58:08 +03:00
gtsoul-tech
037a54bb39
cStyleCasts
2024-05-17 13:57:12 +03:00
G.E
44b05fc6c0
clean up comments
2024-05-17 11:27:43 +03:00
g. economou
45de972f44
Merge branch 'develop' into wip-cppcheck271-part2
2024-05-17 11:08:09 +03:00
G.E
83060b1b4d
last batch
2024-05-17 11:02:00 +03:00
G.E
6c4e027e26
next batch
2024-05-17 10:44:28 +03:00
G.E
7555d5cc96
next batch
2024-05-17 00:08:37 +03:00
Konstantinos Margaritis
db540d5ae7
Merge pull request #281 from VectorCamp/bugfix/cppcheck-cstyleCasts-part1
...
Part 1 of C-style cast cppcheck fixes
2024-05-16 23:14:45 +03:00