Reactis for C — Automated Testing and Analysis
Generate comprehensive test suites directly from C source code. Automatically detect runtime errors, track coverage (Statement, Decision, Condition, MC/DC, MCC, Function, Function Call), and replay failing executions to diagnose defects quickly.
Automated Test Generation
Generate compact test suites from C code without writing test cases by hand. Reactis explores function behavior systematically.
Runtime Error Detection
Automatically find divide-by-zero, array out-of-bounds, null pointer dereference, uninitialized variables, and integer overflow.
Coverage Metrics
Measure and drive Statement, Decision, Condition, MC/DC, and MCC coverage to ensure thorough code exercise.
Interactive Debugging
When a test fails, replay the execution step-by-step. Inspect variables, set breakpoints, and trace the root cause.
Back-to-Back Testing
Test C code against a Simulink model (with Reactis for Simulink) to verify implementation conforms to the model specification.
Standards & Compliance
Generate evidence for ISO 26262, Automotive SPICE, and other safety and quality processes. Export comprehensive reports.
Reactis for C vs. Reactis for C Plugin
Both tools share core capabilities (test generation, error detection, coverage) but serve different workflows:
Reactis for C
Standalone C testing tool
- Standalone application for testing C functions and subsystems
- Direct analysis of C source files
- Full interactive debugging environment
- Comprehensive coverage reports (Statement, Decision, Condition, MC/DC, MCC, Function, Function Call)
- Ideal for: pure C libraries, embedded firmware, AUTOSAR components
Reactis for C Plugin
Integrated with Reactis for Simulink
- Seamless integration within Simulink/Stateflow environment
- Test C Caller blocks, S-Functions, and custom code
- Unified debugging and coverage in the Reactis UI
- Same coverage metrics as Reactis for C
- Ideal for: model-based design with embedded C, TargetLink models
Common Capabilities
Both Reactis for C and the Reactis for C Plugin provide:
- Automated test generation driven by code structure and coverage objectives
- Runtime error detection — divide-by-zero, buffer overflow, null dereference, integer overflow, use-after-free, and more
- Comprehensive coverage tracking — Statement, Decision, Condition, MC/DC, Modified Condition/Decision Coverage, MCC, Function, and Function Call
- Interactive debugging — step through failing tests, inspect variable values, set breakpoints
- Replayable traces — deterministic execution replay for defect diagnosis
- Detailed reports — HTML coverage reports suitable for audits and certification
- Standards support — evidence generation for ISO 26262, Automotive SPICE
How It Works
1. Load Source
Create a build file listing the C files comprising an application. Load build file in Reactis. Define inputs and their ranges.
2. Generate Tests
Reactis explores code paths and generates tests targeting uncovered branches and coverage goals.
3. Execute & Analyze
Run tests and capture coverage. Reactis reports runtime errors and violated assertions.
4. Debug & Verify
Replay failing tests interactively. Inspect values and trace to root cause.
5. Report & Archive
Export coverage reports, test suites, and execution logs for traceability and compliance.
Use Cases
Safety-Critical Code
Achieve high coverage and generate evidence for ISO 26262, IEC 61508, and DO-178C compliance.
Embedded Firmware
Test microcontroller code, device drivers, and low-level libraries before deployment.
AUTOSAR Components
Test AUTOSAR runnables using auto-generated RTE and harness for automated verification.
Model-Based Development
Verify that auto-generated code (from Embedded Coder, TargetLink) matches the model.
Code Review & QA
Supplement manual code review by automatically finding runtime errors and uncovered logic.
Regression Testing
Re-run generated test suites whenever code changes to ensure no new defects are introduced.
Ready to analyze your C code? Download a trial or request a demo to see how Reactis finds runtime errors and achieves high coverage.
Schedule Demo → Download Trial →
Learn more: Reactis for C | Reactis for C Plugin | C Code Testing White Paper | ISO 26262 Guidance