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

neo-project / neo-devpack-dotnet / 21466640846
74%
master: 74%

Build:
Build:
LAST BUILD BRANCH: master-n3
DEFAULT BRANCH: master
Ran 29 Jan 2026 05:24AM UTC
Jobs 1
Files 240
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

29 Jan 2026 05:19AM UTC coverage: 74.122% (-0.06%) from 74.179%
21466640846

push

github

web-flow
fix(compiler): add left shift overflow check in checked context (#1486)

* fix(compiler): add left shift overflow check in checked context

- Add CheckShiftOverflow method to validate shift amount
- Prevent unexpectedly large values from left shift operations
- Runtime check throws if shift amount exceeds type bit width

Fixes HIGH-001 from compiler security audit

* fix: call CheckShiftOverflow for left shift operator in checked context

- Add call to CheckShiftOverflow when processing '<<' operator
- Add checked context guard in CheckShiftOverflow method

Addresses review comment: https://github.com/neo-project/neo-devpack-dotnet/pull/1486#discussion_r2732283515

* fix: treat BigInteger as Int256 (256-bit) for shift overflow check

In NEO, BigInteger is Int256, not unlimited precision.
Updated maxShift from -1 (no limit) to 256 bits.

6108 of 9027 branches covered (67.66%)

Branch coverage included in aggregate %.

39 of 48 new or added lines in 2 files covered. (81.25%)

15850 of 20597 relevant lines covered (76.95%)

21509.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
83.7
-0.14% src/Neo.Compiler.CSharp/CompilationEngine/CompilationEngine.cs
6
78.41
-8.43% src/Neo.Compiler.CSharp/MethodConvert/Expression/BinaryExpression.cs
Jobs
ID Job ID Ran Files Coverage
1 21466640846.1 29 Jan 2026 05:23AM UTC 240
74.12
GitHub Action Run
Source Files on build 21466640846
  • Tree
  • List 240
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21466640846
  • 452c0c68 on github
  • Prev Build on master-n3 (#21446009536)
  • Next Build on master-n3 (#21467317987)
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