I need a win32/pure c++ class or set of namespace'd functions that will modify existing functions (just plain old functions, no vtable-dependence or anything) at runtime.
The project involves writing to the memory of a running process to produce a faster version of a given function, simply by substituting instructions, based on what additional instruction (sets) are available on the machine the process is running on (e.g. mmx, etc.)
Please see attached file for full spec. Many thanks.
***Note I am not suggesting any kind of 'intelligent' optimisation, just known instructions and/or instruction sequences swapped with other known instructions/instruction sequences which take advantage of the additional (to 80386) features of the processor.***
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
2) All deliverables as described in the project description.
This needs to 'work' on Windows 2000+ (WINVER=0x0500), i.e. where necessary Windows functions are unavailable the optimisation should simply 'return' (implementation details are up to you) the original function without failing.