1. A kernel emulator for non-native program modules, the emulator comprising: target-platform determiner configured to determine a target platform of a non-native program module, wherein the target-platform determiner comprises: an instruction-type detector configured to determine the type of non-native instructions that the non-native program module employs; a translator selector configured to select a translator capable of translating the non-native instructions determined by the instruction-type detector into native instructions; and at least one translator, which may be selected by the selector, configured to translate non-native instructions of the non-native program module into native instructions; a target-platform simulator configured to simulate the selected target platform so that kernel calls from non-native program modules are converted into native kernel calls.