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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-2d7c865d12
DEFAULT BRANCH: master
Ran 30 Jan 2026 11:15PM 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% (+1.5%) from 76.556%
21533917087

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

252 existing lines in 2 files now uncovered.

6376 of 8169 relevant lines covered (78.05%)

539824.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
40
78.1
2.24% vm/ubpf_vm.c

Uncovered Existing Lines

Lines Coverage ∆ File
79
87.35
7.05% vm/ubpf_jit_x86_64.c
173
78.1
2.24% vm/ubpf_vm.c
Jobs
ID Job ID Ran Files Coverage
1 run-RelWithDebInfo-ubuntu-latest-x86_64 - 21533917087.1 30 Jan 2026 11:34PM UTC 69
74.04
GitHub Action Run
2 run-Debug-ubuntu-latest-x86_64 - 21533917087.2 30 Jan 2026 11:29PM UTC 69
74.07
GitHub Action Run
3 run-Debug-macos-latest-x86_64 - 21533917087.3 30 Jan 2026 11:24PM UTC 85
75.92
GitHub Action Run
4 run-RelWithDebInfo-macos-latest-x86_64 - 21533917087.4 30 Jan 2026 11:15PM UTC 85
75.79
GitHub Action Run
5 run-RelWithDebInfo-ubuntu-24.04-arm-arm64 - 21533917087.5 30 Jan 2026 11:23PM UTC 70
58.86
GitHub Action Run
6 run-Debug-ubuntu-24.04-arm-arm64 - 21533917087.6 30 Jan 2026 11:23PM UTC 70
58.85
GitHub Action Run
Source Files on build 21533917087
  • Tree
  • List 131
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21533917087
  • b09f6b6e on github
  • Prev Build on main (#21530943565)
  • Next Build on main (#21550979206)
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