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

kernelite / milo / 47151675802

03 Dec 2026 04:31PM UTC coverage: 51.334% (+0.2%) from 51.132%
47151675802

push

github

web-flow
fix(loader): harden ELF64, PT_INTERP, auxv, and stack ABI for distro binaries (#242)

- Reject PT_LOAD p_vaddr + p_memsz overflows in Elf64View::parse and add
  AT_PLATFORM / AT_HWCAP constants in elf64.hpp
- Refactor load_elf and load_elf_interpreter onto a shared per-page
  segment mapper supporting shared 4 KiB boundary PT_LOAD pages,
  arithmetic-overflow guards, skipping reserved kernel RAM
  (0x40000000-0x80000000) during interpreter placement, and clean
  per-page rollback
- Emit AT_HWCAP, AT_CLKTCK, AT_FLAGS, and patched AT_EXECFN in
  populate_standard_auxv / build_abi_layout, guard create_and_map
  alignment/underflow, and unmap pages on mapping failure
- Pass x0=0, x1=0 (rtld_fini=NULL) per Linux AArch64 execve ABI in
  sys_execve and unmap/free new_stack on failure paths
- Add host (snitch) and on-target (test all) assertions for shared
  boundary pages, rollback, overflow rejection, and auxv entries

3818 of 9335 branches covered (40.9%)

Branch coverage included in aggregate %.

95 of 112 new or added lines in 3 files covered. (84.82%)

2 existing lines in 1 file now uncovered.

7782 of 13262 relevant lines covered (58.68%)

3389.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

65.38
/kernel/loader/elf_loader.cpp


Source Not Available

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