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

qmonnet / rbpf / 8295957665
95%

Build:
DEFAULT BRANCH: main
Ran 15 Mar 2024 12:13PM UTC
Jobs 1
Files 11
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

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

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>

4 of 4 new or added lines in 1 file covered. (100.0%)

4147 of 4333 relevant lines covered (95.71%)

241.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8295957665.1 15 Mar 2024 12:13PM UTC 11
95.71
GitHub Action Run
Source Files on build 8295957665
  • Tree
  • List 11
  • Changed 6
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3e80ed72 on github
  • Prev Build on main (#8295620633)
  • Next Build on main (#8798123165)
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

© 2025 Coveralls, Inc