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

HarryR / nt365 / 26632890045
44%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 10:51AM UTC
Jobs 1
Files 575
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 May 2026 09:55AM UTC coverage: 41.792%. First build
26632890045

push

github

HarryR
rng: NtGenerateSecureRandom syscall

Append GenerateSecureRandom to the service table -- at the end, to keep every
existing ordinal stable, since KIKDISP.ASM hardcodes service 14/113 for the
trap-frame-synthesizing dispatch path. gensrv regenerates the kernel table
(systable.asm/sysstubs.asm) and the ntdll Nt/Zw stubs from the one services.tab.

NtGenerateSecureRandom probes the caller's buffer, squeezes into a kernel
staging buffer (RngGenerateBytes briefly raises IRQL under the pool lock, so its
output must land in non-paged memory), and copies out at PASSIVE_LEVEL under SEH
so a bad pointer fails the call instead of bugchecking.

Add the nt.dll.rng Lua binding and a selftest suite (exact-length draws,
non-constant output, large draw != all-zero, kernel-range pointer fails cleanly).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

18 of 22 new or added lines in 2 files covered. (81.82%)

47692 of 114118 relevant lines covered (41.79%)

2815.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
8.67
src/NT/PRIVATE/NTOS/KE/I386/sysstubs.asm
2
87.1
src/NT/PRIVATE/NTOS/RNG/RNGSYS.C
Jobs
ID Job ID Ran Files Coverage
1 26632890045.1 29 May 2026 10:51AM UTC 575
41.79
GitHub Action Run
Source Files on build 26632890045
  • Tree
  • List 575
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26632890045
  • 5ac9e7d8 on github
  • Prev Build on main (#26594614066)
  • Next Build on main (#26656788012)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc