1. A method to establish static redirection of a function that is a member of a class to an alternate implementation of the function, the method comprising using a processor to perform operations including: locating, in an executable file, metadata indicating a first location of the function, the first location being in compiled code within the executable file, wherein a software tool traverses serialized metadata to locate the metadata indicating the first location; modifying the metadata in the executable file to change a selector to point to a second location for the alternate implementation of the function, the second location being in the compiled code of the executable file, wherein modifying the metadata results in a modified executable file, wherein the alternate implementation of the function operates to enforce a security measure when the modified executable file is executed on the client device, wherein the security measure includes a restriction on access to an application installed on the client device, and wherein the application is configured to access workplace data on a server that is remote from the client device; and sending the modified executable file to a client device, where the modified executable file is executed.