Dynacut: A Framework For Dynamic Code Customization