A method to map an external module into a target process in an operating
system that keeps executable code in a memory location that can be
determined. The starting memory address of the target process is retrieved
and the target process is loaded as suspended. The target process'
starting instructions are saved and instructions that load the external
module are inserted at the starting memory address. The target process
resumes execution resulting in the external module getting loaded. The
target process' starting instructions are restored and the target process
resumes execution, but with the external module mapped into the target
process' memory.