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

Alan-Jowett / cudd / 19170630682
33%
main: 1%

Build:
Build:
LAST BUILD BRANCH: 4.0.0
DEFAULT BRANCH: main
Ran 07 Nov 2025 02:02PM UTC
Jobs 1
Files 77
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

07 Nov 2025 02:00PM UTC coverage: 32.992% (+0.007%) from 32.985%
19170630682

push

github

Alan Jowett
Add out-of-memory injection support for testing

Add a global function pointer MMoutOfMemoryInjector that allows test
applications to inject allocation failures at runtime. This enables
comprehensive testing of out-of-memory error handling paths in CUDD.

Changes:
- Add MMoutOfMemoryInjector function pointer in safe_mem.c
- Modify MMalloc() and MMrealloc() to check injector before allocation
- Add declaration in util.h for the injector function pointer
- Injector callback receives allocation size and returns non-zero to fail
- When injection triggers, calls existing MMoutOfMemory handler

This provides a clean mechanism for fault injection testing without
requiring helper functions, keeping the API minimal while enabling
robust testing of allocation failure scenarios.

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

9791 of 29677 relevant lines covered (32.99%)

318879.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19170630682.1 07 Nov 2025 02:02PM UTC 77
32.99
GitHub Action Run
Source Files on build 19170630682
  • Tree
  • List 77
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19170630682
  • b2b40dd8 on github
  • Prev Build on 4.0.0 (#19144810377)
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