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

qmonnet / rbpf / 8295957665 / 1
96%
main: 96%

Build:
DEFAULT BRANCH: main
Ran 15 Mar 2024 12:13PM UTC
Files 11
Run time 0s
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

15 Mar 2024 12:11PM UTC coverage: 95.707%. Remained the same
8295957665.1

push

github

qmonnet
src/interpreter: Remove/explain masks for 32-bit shift operations

We recently fixed the 64-bit arithmetic shift-right operations by adding
a mask to the number of bits (as immediates or from the source register)
by which to shift, as per the eBPF ISA specification. The 32-bit
operations must use the same mask, but .wrapping_shr() already takes
care of it for us. Let's add a comment to make it explicit.

As it turns out, masking is just as well unnecessary for the
non-arithmetic left-right shift operations that we tried to fix
recently. Let's also remove the mask there.

Signed-off-by: Quentin Monnet <qmo@qmon.net>

4147 of 4333 relevant lines covered (95.71%)

241.82 hits per line

Source Files on job 8295957665.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8295957665
  • 3e80ed72 on github
  • Prev Job for on main (#8295620633.1)
  • Next Job for on main (#8798123165.1)
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