Re: How to execute a program from memory
From: Doublehp (doublehp_at_doublehp.org)
Date: 08/17/04
- Next message: Thomas Matthews: "Re: How to execute a program from memory"
- Previous message: Richard Riehle: "Re: Static vs. Dynamic typing (big advantage or not)---WAS: c.programming: OOP and memory management"
- In reply to: Jack Klein: "Re: How to execute a program from memory"
- Next in thread: Randy: "Re: How to execute a program from memory"
- Reply: Randy: "Re: How to execute a program from memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Aug 2004 08:51:45 -0700
> Why not just use one of the variants of WinExec() or CreateProcess()?
because those func need either a file or a func to be executed .
> Just copying the contents of a Windows PE executable into memory does
> not make it ready to run. Are you resolving links to DLLs, and
> loading those as necessary? Are you performing all of the
> relocations, setting up the segment registers, allocating a virtual
> address space?
Many software can do so, like the proprietary Winzip selfextractor for
executables, or the GNU/UPX ...
What ever the requirements are, I need to run an executable from
memory.
- Next message: Thomas Matthews: "Re: How to execute a program from memory"
- Previous message: Richard Riehle: "Re: Static vs. Dynamic typing (big advantage or not)---WAS: c.programming: OOP and memory management"
- In reply to: Jack Klein: "Re: How to execute a program from memory"
- Next in thread: Randy: "Re: How to execute a program from memory"
- Reply: Randy: "Re: How to execute a program from memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|