1. A method to secure execution of a non-native application coded in non-native code, the method comprising: modifying the non-native application prior to execution to generate a native code function and an application stub, the native code function being executable within a predefined trusted module, the pre-defined trusted module having one or more native environment security functions, the application stub having at least one execution dependency dependent on the native code function; and packaging the application stub with the native code function in a manner permitting execution in a non-native environment, wherein execution in a non-native environment includes loading the application stub within a non-native environment, loading the native code function within the pre-defined trusted module, and the application stub calling the native code function, wherein the native code function is executed within the pre-defined trusted module in accordance with at least one of the one or more native environment security functions; wherein at least one non-native function in the application stub is configured to call the native code function upon execution of the application stub.