1. A method for dynamic patching of diversity-based software executing on a mobile device, comprising: obtaining, by the mobile device, a notification indicating a module variation that should not be used as a module for software executing on the mobile device; and removing, by a processor of the mobile device, the module variation 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 as the module by the processor at runtime of the software.