IBM i's Program Validation Value can be recalculated, letting modified native code run
Beyond the compiler: Making IBM i run modified native code
IBM i checks saved programs with a 32-byte Program Validation Value (PVV), but the HMAC key is derived entirely from program attributes and fixed Licensed Internal Code constants—no separate secret. After reconstructing the algorithm and matching all 1,223 known-valid values, the author recalculated PVV and the save-file checks so edited native instructions survived restore and resave. A test account without special authorities restored a modified MEMDUMP program that then read from a USER-domain buffer in a cooperating QSECOFR job. SYSTEM and INHERIT program states were still rejected.
A party with the serialized program and the reconstructed algorithm can therefore derive the key and recompute PVV; a match establishes consistency, not trusted origin.