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

Alan-Jowett / ubpf / 21550979206
78%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-2d7c865d12
DEFAULT BRANCH: master
Ran 31 Jan 2026 09:12PM 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%. Remained the same
21550979206

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%)

104 existing lines in 1 file now uncovered.

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.0% vm/ubpf_vm.c

Uncovered Existing Lines

Lines Coverage ∆ File
104
78.1
0.0% vm/ubpf_vm.c
Jobs
ID Job ID Ran Files Coverage
1 run-Debug-macos-latest-x86_64 - 21550979206.1 31 Jan 2026 09:13PM UTC 85
75.92
GitHub Action Run
2 run-Debug-ubuntu-latest-x86_64 - 21550979206.2 31 Jan 2026 09:12PM UTC 69
74.07
GitHub Action Run
3 run-RelWithDebInfo-ubuntu-latest-x86_64 - 21550979206.3 31 Jan 2026 09:12PM UTC 69
74.04
GitHub Action Run
4 run-RelWithDebInfo-macos-latest-x86_64 - 21550979206.4 31 Jan 2026 09:12PM UTC 85
75.79
GitHub Action Run
5 run-RelWithDebInfo-ubuntu-24.04-arm-arm64 - 21550979206.5 31 Jan 2026 09:12PM UTC 70
58.86
GitHub Action Run
6 run-Debug-ubuntu-24.04-arm-arm64 - 21550979206.6 31 Jan 2026 09:12PM UTC 70
58.85
GitHub Action Run
Source Files on build 21550979206
  • Tree
  • List 131
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21550979206
  • b09f6b6e on github
  • Prev Build on main (#21533917087)
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