timwhitez starred hw_break
2022-7-21 15:39:5 Author: github.com(查看原文) 阅读量:24 收藏

Include HwBpLib\inc\HwBpLib.h.

Use HwBp::Set(pointer, size, condition) to set a breakpoint on Write/ReadWrite or Execution of a memory at a certain address, with specified size.

Use HwBp::Remove() to remove breakpoint.

This library was inspired by https://www.codeproject.com/Articles/28071/Toggle-hardware-data-read-execute-breakpoints-prog. It only sets breakpoints on current thread, but does it faster (as it doesn't spin up threads to do that).

Building tests

The library is header-only, but you can build and run test file by building HwBp.sln.


文章来源: https://github.com/biocomp/hw_break
如有侵权请联系:admin#unsafe.sh