Commit Graph

23 Commits

Author SHA1 Message Date
AzuLX 1533cc3e84
track deleted breakpoints to handle stale events safely 2026-01-09 19:08:26 +00:00
gmh5225 df29f506c9
Fix incorrect type 2022-06-22 01:08:33 +08:00
gmh5225 30217c92d4
AStyle format 2022-06-19 19:12:44 +08:00
gmh5225 9d453b9c1b
Make info.internal.hardware.enabled = true when Process::SetHardwareBreakpoint return true 2022-05-12 09:15:59 +08:00
Duncan Ogilvie 85846e4ed1 Fix a dumb bug when setting memory breakpoints 2018-11-21 16:58:24 +01:00
mrexodia 0b18c04e1e
remove lazy context 2017-06-04 18:26:42 +02:00
mrexodia 98ff237193
some small fixes + remove BreakpointInfo.enabled 2017-02-24 18:25:47 +01:00
0xbadc0de1 b76d500c42 Membp (#45)
* Provided implementation for :

Debugger::exceptionGuardPage(const EXCEPTION_RECORD & exceptionRecord, bool firstChance)

*  void Debugger::exceptionGuardPage(const EXCEPTION_RECORD & exceptionRecord, bool firstChance)

>_> with spaces.

* . Bugfix : If there is a page exception risen upon a page that is indeed being used by one of our breakpoints, then we simply restore the old page protections, singlestep and then apply the new page protection.

. exceptionAccessViolation implementation - the code looks almost equal to exceptionGuardPage except for the verifications made to try to spot on cases where the program uses unusual page permissions (in this case the program should then be granted the right to handle the self generated exception).

* . Minor bugfix on exceptionGuardPage.

* staff

* Final Fixes. Now I suppose everything works correctly. Test by yourself.
2017-02-24 18:16:15 +01:00
mrexodia 732abb9ce9
fixed memory type 2017-02-07 13:09:36 +01:00
mrexodia 0b0caa6f3e
fixed DeleteMemoryBreakpoint 2017-02-07 12:12:47 +01:00
mrexodia 1cf82cb3cc various fixes to memory breakpoints 2016-08-20 06:06:16 +02:00
mrexodia 94060f3d99 added MemoryType::Read 2016-08-19 16:23:21 +02:00
mrexodia aecc172ecb memory breakpoints now throw the desired exceptions 2016-08-19 16:02:27 +02:00
mrexodia 83854fb4a7 pretty much implemented setting/deleting memory breakpoints 2016-08-19 00:32:23 +02:00
mrexodia 8a6ad0e697 various interface changes 2016-01-11 00:01:50 +01:00
mrexodia da7988c71f renamed some shit 2016-01-10 22:34:18 +01:00
mrexodia 3c1f141949 renaming fest started... 2015-12-29 15:29:53 +01:00
mrexodia 8f62768690 (hopefully) high performance safe memory read function 2015-12-19 07:05:50 +01:00
mrexodia 439fd82767 singleshoot hardware/software breakpoints working + delete hardware/software breakpoints + nice callback set function for hardware breakpoints 2015-12-19 05:17:16 +01:00
mrexodia a71b10b697 fixed various warnings 2015-11-20 00:30:36 +01:00
Mr. eXoDia 3bde590956 hardware breakpoints working + fixed possible bug with breakpoints + added unknownEvent callback + added cbUnhandledException in MyDebugger 2015-09-11 15:46:31 +02:00
mrexodia a2fbad713b fixed some ugly code + added StepInternal function 2015-08-15 19:37:06 +02:00
mrexodia 3568de5680 initial breakpoint work + added MemIsValidPtr + fixed some documentation inaccuracies 2015-08-09 00:53:13 +02:00