AOCL-LibMem Validator Framework is used for functional validation of LibMem supported functions. It performs data validation check, which checks the data integrity of the source and destination memory.
The framework provides three validator implementations:
Legacy Validator (
libmem_validator): Original C implementation.Unified Validator (
libmem_validator_unified): Refactored C++ framework with template-based architecture. Extends coverage with zero-size, page-boundary, page-overrun, overlap, extended ASCII, and function-specific test cases.GTest Validator (
libmem_validator_gtest): GTest-style test runner for interactive debugging and fine-grained test control.
Use any of the following methods to perform validation testing:
Testing with Validator script (build_dir/test/validator.py)
Testing with validator binaries directly (
libmem_validator,libmem_validator_unified, orlibmem_validator_gtest)Testing with the
ctestutility (runctestfrom<build_dir>/test/)