Vehicle Control Module "programming" rough explanation.
I don't know the actual approach that GM used. Typically there is an operating program installed/written in the control module, be it the Engine Control Module, ECM, which is a box in the engine compartment, the Transmission Control...