[PATCH v5 00/22] Run with UBSan in GHA
David Marchand
david.marchand at redhat.com
Wed Jul 23 15:31:33 CEST 2025
This series fixes a number of issues reported by UBSan and adds a simple
job in GHA to avoid introducing undefined behavior in the core
components.
There is way more work/fixes to do if we want to run with a full set of
components, but baby steps first.
--
David Marchand
Changes since v4:
- rebased on v25.11-rc0,
Changes since v3:
- modified fix on tailq,
- updated hash fix using unaligned_uint32_t type,
- updated rte_mp_msg and rte_stack_lf_head structs alignement,
- fixed more libraries/unit tests,
Changes since v2:
- simplified plugin fix,
- enabled more coverage,
Changes since v1:
- small updates on patches 5 and 6,
David Marchand (21):
ci: save ccache on failure
test/telemetry: fix test calling all commands
test/mempool: fix test without stack driver
eal: fix plugin dir walk
cmdline: fix port list parsing
cmdline: fix highest bit port list parsing
tailq: fix lookup macro
hash: fix unaligned access in predictable RSS
stack: fix unaligned accesses on 128-bit
build: support Undefined Behavior Sanitizer
test/telemetry: catch errors in subshell
ipc: fix mp message alignment for malloc
graph: fix unaligned access in stats
eventdev: fix listing timer adapters with telemetry
test/power: fix tests without power drivers
test/raw: fix test without skeleton driver
net: fix IPv4 macro with highest bit
rib6: fix some highest bits handling
cfgfile: fix section count with no name
test/func_reentrancy: fix EAL init call
ci: extend coverage with UBSan
Marat Khalili (1):
graph: fix stats query with no node xstats
.ci/linux-build.sh | 38 ++++++++-
.github/workflows/build.yml | 11 +++
.mailmap | 1 +
app/test/meson.build | 12 +--
app/test/suites/meson.build | 3 +-
app/test/suites/test_telemetry.sh | 6 +-
app/test/test_func_reentrancy.c | 5 +-
app/test/test_mempool.c | 32 +++++---
config/meson.build | 18 ++++-
devtools/words-case.txt | 1 +
doc/guides/rel_notes/release_25_11.rst | 5 ++
lib/cfgfile/rte_cfgfile.c | 8 +-
lib/cmdline/cmdline_parse_portlist.c | 15 ++--
lib/eal/common/eal_common_options.c | 17 ++--
lib/eal/include/rte_eal.h | 3 +-
lib/eal/include/rte_tailq.h | 9 ++-
lib/eventdev/rte_event_timer_adapter.c | 4 +-
lib/graph/graph_stats.c | 105 ++++++++++++++-----------
lib/hash/rte_thash.c | 6 +-
lib/net/rte_ip4.h | 6 +-
lib/rib/rte_rib6.c | 2 +-
lib/stack/rte_stack.h | 4 +-
22 files changed, 208 insertions(+), 103 deletions(-)
--
2.50.0
More information about the dev
mailing list