I need a Hardware breakpoint Libary/DLL created that will allow
me to set up to? 4 detours via hardware breakpoints.? The original? Function being detoured can not? show any modified changes (No JMP's etc).
Functions include AddBreakPoint, RemoveBreakPoint.?
Must work on XP & Vista both x86 and x64 - and be able to run on AMD/Intel Processors (seperate dll's for x64)
## Deliverables
I am currently using a similar implementation already, however because of Licensing Agreement I need to be able to distribute this with my client.
Programmer must know how to implement Hardware Breakpoints and detours.? I do have some source code available using my current implementation that will be provided to the winning bidder.
This is how I call my current Hardware Breakpoing Library:
bool pAddHardwareBreakpoint(0xFFFFFFFF,dwFunctionAddress,myNewFunction,reinterpret_cast<void**>(&pOrginalFunction));
(0xFFFFFFFF is the thread ID for global)
This Basically takes in the exact same arguments as MS Detours Library.? Function should return true/false if it was set or not.
The original Function can not show any changes to code (no JMP's) - must be original code as MS Detours always has? a JMP etc.
So in a nutshell, I need the library to be able to set up to 4 hardware breakpoints on a any given function address.?
When that triggered exception/Breakpoint is encountered, to run my function.
I need the ability to remove the breakpoint aswell:
if(!pRemoveHardwareBreakpoint(0xFFFFFFFF,myNewFunction)){
add_log("Error
");
}