1. A method for dynamic patching of diversity-based software executing on a mobile device, comprising: obtaining, by a transceiver of the mobile device, a notification comprising one or more identifiers identifying module variations stored on the mobile device for software executing on the mobile device; removing, by a processor of the mobile device, a module variation identified by the one or more identifiers from a list of available module variations for the module in response to obtaining the notification, wherein one of the list of available module variations is activated by the processor at runtime of the software; selecting, by the processor, a first identifier associated with a particular module variation of the available module variations from the list of available module variations for the module at runtime of the software, wherein the first identifier is selected based on at least one of a number of times the particular module variation has been used by the software, the complexity of the particular module variation, the similarity of the particular module variation to compromised module variations, or the similarity of the particular module variation to already selected module variations of other modules of the software; interrupting, by the processor, execution of the selected particular module variation in response to determining the selected particular module variation is already executing on the processor of the mobile device when the notification is obtained; activating, by the processor, the particular module variation associated with the selected first identifier to be used as the module during runtime of the software by: generating, by the processor, the particular module variation at runtime of the software; and loading the generated module variation into the software executing on the computing device; determining, by the processor, whether the activated particular module variation encountered errors at runtime; and transmitting, by the transceiver, a report comprising the first identifier of the activated particular module variation in response to determining that the activated particular module variation encountered errors at runtime.