• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iovisor / ubpf / 21530567649
78%

Build:
DEFAULT BRANCH: main
Ran 30 Jan 2026 09:05PM UTC
Jobs 6
Files 131
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jan 2026 04:02AM UTC coverage: 78.051% (+0.04%) from 78.008%
21530567649

push

github

web-flow
Fix MSVC C6262 warning: reduce ubpf_exec_ex stack usage (#752)

* Fix MSVC C6262 warning: reduce ubpf_exec_ex stack usage

Addresses issue #751 where ubpf_exec_ex exceeded MSVC's 1024-byte stack
threshold (was 1324 bytes).

Changes:
- Reduce _reg array from 16 to 11 elements (R0-R10 per RFC 9669)
- Reduce saved_registers array from 5 to 4 elements (R6-R9 callee-saved)
- Hoist dividend/divisor locals from signed div/mod switch cases
- Hoist _base_addr/_offset/_eff_addr/_ptr from BOUNDS_CHECK macros
- Hoist atomic operation locals (fetch, dest, val, res) to function scope

Estimated stack reduction: ~250-316 bytes.

Fixes #751

* Initialize hoisted variables to fix sanitizer warnings

The uninitialized hoisted variables triggered maybe-uninitialized warnings
in sanitizer builds. Initialize all hoisted locals to zero/NULL.

* Revert _reg[11] to _reg[16] for API compatibility

The ubpf_debug_fn callback signature in the public API uses registers[16],
so we must keep 16 elements in the _reg array. The other stack reduction
optimizations remain in place.

---------

Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>

42 of 82 new or added lines in 1 file covered. (51.22%)

6376 of 8169 relevant lines covered (78.05%)

539824.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
40
78.1
0.25% vm/ubpf_vm.c
Jobs
ID Job ID Ran Files Coverage
1 run-RelWithDebInfo-macos-latest-x86_64 - 21530567649.1 30 Jan 2026 09:06PM UTC 85
75.79
GitHub Action Run
2 run-Debug-ubuntu-latest-x86_64 - 21530567649.2 30 Jan 2026 09:07PM UTC 69
74.07
GitHub Action Run
3 run-Debug-ubuntu-24.04-arm-arm64 - 21530567649.3 30 Jan 2026 09:08PM UTC 70
58.85
GitHub Action Run
4 run-RelWithDebInfo-ubuntu-24.04-arm-arm64 - 21530567649.4 30 Jan 2026 09:08PM UTC 70
58.86
GitHub Action Run
5 run-RelWithDebInfo-ubuntu-latest-x86_64 - 21530567649.5 30 Jan 2026 09:05PM UTC 69
74.04
GitHub Action Run
6 run-Debug-macos-latest-x86_64 - 21530567649.6 30 Jan 2026 09:07PM UTC 85
75.92
GitHub Action Run
Source Files on build 21530567649
  • Tree
  • List 131
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21530567649
  • b09f6b6e on github
  • Prev Build on main (#21486408346)
  • Next Build on main (#21550848335)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc