Commit Graph

256 Commits

Author SHA1 Message Date
Duncan Ogilvie b2b68b8a78 Clear software breakpoint records after memory is unmapped
DLL unload events arrive after the image memory is gone. If restoring the original byte fails, allow deletion when VirtualQueryEx confirms the address is free or reserved, so stale breakpoint and callback records cannot block installation after reload.

Keep restoration failures in committed memory and failed memory queries as errors, preserving the breakpoint state for a retry.
2026-10-17 21:40:38 +02:00
Duncan Ogilvie 0ee4126a92
Merge pull request #81 from mrexodia/breakpoint-lock
Fix race condition with breakpoint data structures
2026-08-30 13:40:19 +02:00
Duncan Ogilvie e87f862600
Merge pull request #80 from mrexodia/wow64-support
Add CS-aware WoW64 debugging support
2026-08-30 13:39:48 +02:00
Duncan Ogilvie 624a742554 Fix race condition with breakpoint data structures 2026-08-09 22:06:17 +02:00
Duncan Ogilvie fb521d950d Support disabling ASLR for WoW64 targets 2026-08-02 15:27:20 +02:00
Duncan Ogilvie dbb4aa83b9 Add CS-aware WoW64 debugging support 2026-08-02 15:27:20 +02:00
Duncan Ogilvie 6d37c95192 Defer deleted breakpoints until step finishes 2026-07-18 12:17:48 +02:00
Duncan Ogilvie 53f93ca7ef
Merge pull request #79 from x64dbg/membp-bugs
Reimplement setting of memory breakpoints to work better on large ranges
2026-07-16 14:58:02 +02:00
Duncan Ogilvie 99d3c72b3f Reimplement setting of memory breakpoints to work better on large ranges 2026-07-16 13:24:59 +02:00
Duncan Ogilvie 1ee94ba319
Merge pull request #78 from x64dbg/memory-breakpoint-tests
Fix cross-page memory breakpoint page tracking
2026-04-13 18:04:45 +02:00
Duncan Ogilvie 95f66412b6 Fix cross-page memory breakpoint page tracking 2026-04-13 15:11:09 +02:00
Duncan Ogilvie e0a457965f Restore PAGE_GUARD memory breakpoints properly 2026-04-13 11:40:26 +02:00
Duncan Ogilvie 2cc003cdcf Respect UE_ENGINE_NO_CONSOLE_WINDOW flag 2026-04-13 11:39:20 +02:00
Duncan Ogilvie c4fa827120 Windows 8 SDK compatibility 2026-04-12 17:47:58 +02:00
Duncan Ogilvie 84f8943a6e Add CMake project 2026-04-12 17:38:35 +02:00
Duncan Ogilvie 118945fbef
Merge pull request #77 from rafaelrfreitas/fix-write-only-membps
fix: ensure write-only breakpoints trigger on Copy-on-Write pages
2026-03-28 20:55:02 +01:00
Rafael b8737dcce8 fix: ensure write-only breakpoints trigger on Copy-on-Write pages 2026-03-28 18:32:06 +00:00
Duncan Ogilvie 6b7803d9d9
Merge pull request #76 from 3rdit/fix/swbp-improvements
Fix software breakpoint handling issues
2026-01-10 00:58:23 +01:00
AzuLX 604ce89673
use unordered_map instead of vector 2026-01-09 19:22:00 +00:00
AzuLX 1533cc3e84
track deleted breakpoints to handle stale events safely 2026-01-09 19:08:26 +00:00
AzuLX 552aa92637
fix software breakpoint handling issues 2026-01-05 15:18:30 +00:00
Duncan Ogilvie 6e282f0091
Merge pull request #75 from 3rdit/fix/hwbp-thread-suspension
Fix hardware breakpoint register index mismatch
2026-01-05 01:33:53 +01:00
AzuLX 4987989b34
fixed hwbp api to use UE_DRX constants instead of the indicies wrongfully 2026-01-05 00:26:14 +00:00
Duncan Ogilvie a91b44d7e8
Merge pull request #74 from 3rdit/fix/hwbp-thread-suspension
Fix thread suspension when hardware breakpoint is disabled during callback
2026-01-04 23:42:19 +01:00
AzuLX dcb01c6abe
prevent thread suspension when HWBP is disabled during callback 2026-01-04 22:24:54 +00:00
Duncan Ogilvie 1eb094e7aa Port fallback when AVX is not supported
https://github.com/x64dbg/TitanEngine/pull/27
2025-08-18 03:26:31 +02:00
Duncan Ogilvie c34e2f0381 Prepare for dependency release 2025-07-04 17:09:34 +02:00
Duncan Ogilvie 8cad0a496f Fix crash with AVX-512 on 32-bit 2025-07-04 16:50:38 +02:00
Duncan Ogilvie 20d8c4a6eb Port https://github.com/x64dbg/TitanEngine/pull/23 2025-05-24 19:02:30 +02:00
Duncan Ogilvie 0a7ce81a3b
Merge pull request #73 from x64dbg/avx512
Port AVX512 support from TitanEngine
2025-03-30 13:36:22 +02:00
Duncan Ogilvie b4b3e32b09 Port AVX512 support from TitanEngine
https://github.com/x64dbg/TitanEngine/pull/22
2025-03-30 13:36:12 +02:00
Duncan Ogilvie 37b6606d58 Port the fixes from https://github.com/x64dbg/TitanEngine/pull/14 2023-07-08 14:37:23 +02:00
Duncan Ogilvie a9a339ad45 Switch to an amalgamated Zydis 4.0.0 2023-07-08 14:12:28 +02:00
Duncan Ogilvie 6c253bc74d Add more elaborate IsRepeated check in StepOver 2023-07-08 13:01:20 +02:00
Duncan Ogilvie 9676c960b6 Fix reading/writing non-debugged process memory 2023-02-22 08:47:28 +01:00
Duncan Ogilvie e0348b36fe Actually execute without crashing on XP... 2022-12-03 23:13:10 +01:00
Duncan Ogilvie 7c6640deca Relocate the image correctly with DisableAslr 2022-09-11 15:52:00 +02:00
Duncan Ogilvie 807951bac6 Improve the DisableAslr functionality
It will now retry 10 times to get the image to load at the expected base
2022-09-10 00:55:19 +02:00
Duncan Ogilvie b435ee57d3 Implement UE_ENGINE_DISABLE_ASLR 2022-09-10 00:07:34 +02:00
Duncan Ogilvie 39934ea3ae Implement safe stepping with DBG_REPLY_LATER 2022-09-09 22:56:39 +02:00
Duncan Ogilvie 660619edf3
Merge pull request #70 from gmh5225/Branch_fix_dep_opportunity
the code to determine dep should be placed in LOAD_DLL_DEBUG_EVENT
2022-07-20 21:49:17 +02:00
gmh5225 cc5b8cc4d1
the code to determine dep should be placed in LOAD_DLL_DEBUG_EVENT 2022-07-21 01:35:35 +08:00
Duncan Ogilvie f6896bc22e
Merge pull request #69 from gmh5225/Branch_fix_dep
Solving DEP problem when attaching process
2022-07-20 12:21:16 +02:00
gmh5225 9bd5c380e5
Solving "What happens if you hit a breakpoint before a system breakpoint" 2022-07-03 21:53:09 +08:00
Duncan Ogilvie 69be313fac
Merge pull request #68 from gmh5225/Branch_AStyle
AStyle format
2022-06-29 12:31:38 +02:00
gmh5225 8e1ff5a123
Fix another crash 2022-06-22 01:11:59 +08:00
gmh5225 df29f506c9
Fix incorrect type 2022-06-22 01:08:33 +08:00
gmh5225 244ba4a10b
Add code-format.bat 2022-06-21 17:41:51 +08:00
gmh5225 30217c92d4
AStyle format 2022-06-19 19:12:44 +08:00
Duncan Ogilvie 63a6668514
Merge pull request #66 from gmh5225/Branch_fix_crash
Fix crash
2022-06-19 12:32:37 +02:00