This project allows you to generate pseudo-random CPER records for software testing purposes. The records are compliant (to an extent) with the CPER definitions present within UEFI Specification Appendix N.
An example usage of cper-generator
is shown below.
cper-generator --out mycper.dump --sections generic dmarvtd ia32x64 arm
This command would generate a CPER log with a processor generic section, VT-d DMAr section, IA32x64 section and an ARM section, outputting to the given mycper.dump
file. To see all available names and other command switches, you can run cper-generator --help
.
The generator is not completely random within the bounds of the specification, to make testing easier.