private void AddStepInGate(StepInGateHandler handler, DkmNativeModuleInstance module, string funcName, bool hasMultipleExitPoints) { var gate = new StepInGate { Handler = handler, HasMultipleExitPoints = hasMultipleExitPoints, Breakpoint = LocalComponent.CreateRuntimeDllFunctionBreakpoint(module, funcName, (thread, frameBase, vframe, retAddr) => handler(thread, frameBase, vframe, useRegisters: thread.Process.Is64Bit())) }; _stepInGates.Add(gate); }
private void AddStepInGate(StepInGateHandler handler, DkmNativeModuleInstance module, string funcName, bool hasMultipleExitPoints) { var gate = new StepInGate { Handler = handler, HasMultipleExitPoints = hasMultipleExitPoints, Breakpoint = LocalComponent.CreateRuntimeDllFunctionBreakpoint(module, funcName, (thread, frameBase, vframe) => handler(thread, frameBase, vframe, useRegisters: thread.Process.Is64Bit())) }; _stepInGates.Add(gate); }