Skip to content

Commit 216ccc8

Browse files
Fix undefined cast behavior and cpplint violations in cipconnectionobject.c
Signed-off-by: Martin Melik Merkumians <[email protected]>
1 parent 1dddd2a commit 216ccc8

File tree

123 files changed

+2278
-2262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+2278
-2262
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ BreakBeforeBraces: Attach
7171
IndentAccessModifiers: false
7272
AccessModifierOffset: -1
7373

74-
DisableFormat: false
74+
DisableFormat: false

.cppcheck-config

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# cppcheck configuration for OpENer
2+
#
3+
# This file documents the cppcheck settings used in the project.
4+
# cppcheck does not have a native config file format, but these settings
5+
# are applied via command-line arguments in:
6+
# - .pre-commit-config.yaml (for pre-commit hook)
7+
# - .mega-linter.yml (for CI/CD)
8+
#
9+
# Settings:
10+
# --------
11+
# Standard Analysis:
12+
# --enable=all Enable all checks
13+
# --inconclusive Include inconclusive warnings
14+
# --force Force checking of all configurations
15+
# --inline-suppr Enable inline suppressions (// cppcheck-suppress)
16+
# --suppress=missingIncludeSystem Suppress system header warnings
17+
# --suppress=normalCheckLevelMaxBranches Suppress informational messages
18+
#
19+
# Exhaustive Analysis (CI only):
20+
# --check-level=exhaustive Enable all checks
21+
# --enable=warning,style,performance,portability
22+
# --std=c99 Use C99 standard
23+
# --platform=unix64 Target 64-bit POSIX platform
24+
#
25+
# References:
26+
# - Pre-commit hook: .pre-commit-config.yaml (lines 28-36)
27+
# - CI standard checks: .github/workflows/ci.yml (line 41)
28+
# - CI exhaustive checks: .github/workflows/exhaustive-analysis.yml (lines 50-54)
29+
# - MegaLinter config: .mega-linter.yml (line 13)

.github/workflows/WORKFLOWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ gh run download <run-id>
178178

179179
---
180180

181-
*Last updated: December 2025*
181+
*Last updated: December 2025*

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Kurt Schweiger
22
Rene Smodic
33
Alois Zoitl
4-
Jonathan Engdahl
4+
Jonathan Engdahl

ChangeLog.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,4 +387,3 @@
387387

388388
* : initial import
389389
* :
390-

bin/mingw/setup_mingw.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX:PATH="C:/Program Files (x86)/OpENer" -DOpENer_PLATFORM:STRING="MINGW" ../../source
1+
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX:PATH="C:/Program Files (x86)/OpENer" -DOpENer_PLATFORM:STRING="MINGW" ../../source

bin/posix/setup_posix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1+
#!/bin/bash
12
cmake -DCMAKE_C_COMPILER=gcc -DOpENer_PLATFORM:STRING="POSIX" -DCMAKE_BUILD_TYPE:STRING="" -DBUILD_SHARED_LIBS:BOOL=OFF ../../source
2-

bin/posix/setup_posix_fuzz_afl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1+
#!/bin/bash
12
cmake -DCMAKE_C_COMPILER=afl-clang-fast -DUSE_FUZZ_AFL=ON -DOpENer_PLATFORM:STRING="POSIX" -DCMAKE_BUILD_TYPE:STRING="" -DBUILD_SHARED_LIBS:BOOL=OFF ../../source
2-

data/opener_sample_app.eds

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,4 +356,3 @@ $ EZ-EDS Version 3.23.1.20171205 Generated Electronic Data Sheet
356356
MaxInst = 1;
357357
Number_Of_Static_Instances = 1;
358358
Max_Number_Of_Dynamic_Instances = 0;
359-

fuzz/scripts/send_testcase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@
3535
testcase += testcase_data[20:] # options and payload
3636
print("[-] Sending testcase of {} bytes".format(len(testcase)))
3737
s.send(testcase)
38-
s.close()
38+
s.close()

0 commit comments

Comments
 (0)