Generic preloader for use with other programs

Questions about Wine on Linux
Locked
jogomu
Newbie
Newbie
Posts: 1
Joined: Wed Oct 19, 2016 2:51 pm

Generic preloader for use with other programs

Post by jogomu »

I have a Linux process that needs address space reserved, similar to what is accomplished by the Wine preloader.

What would it take to transform the Wine method into a generic preloader useful for any (CentOS 6 x86-64) Linux process? And, is someone who understands the Wine preloader "inside and out" (i.e. very well) available to do this, potentially as a consulting job?

Example:

Code: Select all

preloader 0x7fff40000000 64000000 anyprogram
This "preloader" program would exec "anyprogram" but the address space at 0x7fff40000000 for 64000000 bytes would be free of other mappings.

If the target program needs to do something to reclaim the reserved space (unmap it?), that is fine.

All feedback appreciated!
Locked