Bug Validator instruments the lines in your application by inserting code to recognise the execution of the start of every line in your application. Before inserting the code Bug Validator checks to ensure that it is safe to re-write the function lines. If it is not safe to re-write the function epilogue and prologue the function cannot be instrumented.
The following items can prevent the function from being hooked:
•Function too short to hook. The function must be at least 5 bytes in length.
•The code for the line is too short to hook. The code for the line must be at least 5 bytes in length.
•Function cannot be disassembled.
•Instruction sequence cannot be hooked.
You can improve the likelihood of the lines in each function being hooked by enabling the check boxes on the Hook Control settings.