ζeh Matt
40395549f9
Reset single stepping state when debugger pauses on exceptions
2023-09-06 23:22:22 +03:00
Duncan Ogilvie
01d0d1854f
Remove unnecessary FlushInstructionCache
2023-07-08 13:20:30 +02:00
Duncan Ogilvie
490ce02fb3
Also implement #14 for UD2 breakpoints
2023-07-08 12:50:02 +02:00
Duncan Ogilvie
b862c2b36f
Merge pull request #14 from shocoman/fix-double-pushfd-bug
...
Fix a bug that could change a stack value after stepping into a PUSHF instruction with a singleshoot breakpoint
2023-07-08 12:02:41 +02:00
shocoman
7a7530cef1
Fix a bug that can change a stack value after stepping into a PUSHF instruction with a singleshoot breakpoint
2023-06-04 14:27:25 +07:00
Duncan Ogilvie
882bc1bc30
Delete a bunch of unused functionality
2023-03-04 01:38:22 +01:00
Duncan Ogilvie
568334cdd4
Switch to the v141_xp toolset for XP support
2022-10-07 12:19:13 +02:00
Duncan Ogilvie
e005ba44b6
Relocate the image with No ASLR
2022-09-11 15:52:18 +02:00
Duncan Ogilvie
259f1e88e3
Improve no ASLR by retrying
2022-09-10 01:13:09 +02:00
Duncan Ogilvie
d0b7e5addd
Remove a redundant GetThreadContext for synchronized breakpoints
2022-09-09 22:38:16 +02:00
Duncan Ogilvie
8d833fb2e3
Add UE_ENGINE_SAFE_STEP to allow disabling DBG_REPLY_LATER
2022-09-09 13:45:53 +02:00
Duncan Ogilvie
43caf023f8
Remove unused SDKs
2022-09-09 13:44:12 +02:00
Duncan Ogilvie
160d66919e
Workaround for a bug in the kernel with x64 emulation on ARM
2022-08-10 18:49:36 +02:00
Duncan Ogilvie
fb1babcbb3
Put a critical section around StepInto to make it thread-safe
2021-12-11 23:43:22 +01:00
Duncan Ogilvie
1a76d61ef6
GitHub Actions to build
2021-11-15 03:04:33 +01:00
Duncan Ogilvie
fa8c5f7eb5
Upgrade to Visual Studio 2019
2021-11-15 02:58:38 +01:00
Duncan Ogilvie
f0832465c6
AStyle formatting
2021-11-15 02:57:37 +01:00
Duncan Ogilvie
cda4385d6d
Update AStyle formatting tools
2021-11-15 02:57:33 +01:00
Duncan Ogilvie
0f81825ff0
Add UE_ENGINE_DISABLE_ASLR to remap the debuggee image without ASLR
2021-11-15 02:56:34 +01:00
the_janitor
39fe35a09e
Fixed a bug in which thread termination froze
2021-09-19 03:05:46 +02:00
Duncan Ogilvie
bbab6359b0
Use KUSER_SHARED_DATA for checking the build number
2021-09-18 22:45:39 +02:00
Duncan Ogilvie
d4ad8293f7
Merge pull request #9 from thejanit0r/patch-1
...
Alternative memory breakpoint (PAGE_NOACCESS)
2021-09-18 22:23:49 +02:00
Duncan Ogilvie
f7ba8c62f4
Merge pull request #10 from thejanit0r/patch-2
...
Fix to handle race conditions on multi-threaded applications on multi-core systems
2021-09-02 12:52:26 +02:00
the_janitor
18a885a703
Added an alternative memory breakpoint method that uses PAGE_NOACCESS instead of PAGE_GUARD
2021-09-02 02:52:14 +02:00
the_janitor
284a782702
Added a fix to handle race conditions on multi-threaded applications on multi-core systems (DBG_REPLY_LATER)
2021-09-02 02:33:06 +02:00
Duncan Ogilvie
8d93135f38
Merge pull request #8 from Mattiwatti/setbpx-check-return
...
SetBPX: check return value of VirtualProtectEx before writing
2021-02-15 21:56:29 +01:00
Matthijs Lavrijsen
9c98cd2436
SetBPX: check return value of VirtualProtectEx before writing
2021-01-12 18:34:09 +01:00
Duncan Ogilvie
8632c68ec9
Do not put full PDB path in the binary
2020-12-15 18:38:26 +01:00
Duncan Ogilvie
089651339b
Properly fix the debug privilege functionality
2020-12-15 18:22:03 +01:00
Duncan Ogilvie
0a1c3236b8
Make SafeAttach the default
2020-11-12 04:58:15 +01:00
Duncan Ogilvie
2447a299c8
Improve debug privilege functionality
2020-11-12 04:36:45 +01:00
Duncan Ogilvie
ce87d2bea8
Do not create a thread when attaching
2020-11-12 04:36:45 +01:00
Duncan Ogilvie
885e290cc4
Fix detaching
2020-11-12 04:36:45 +01:00
Matthijs Lavrijsen
35fdd5684e
Don't call DebugSetProcessKillOnExit if SafeAttach is enabled
2020-09-14 19:13:34 +02:00
Matthijs Lavrijsen
8f83721fd3
Fix EngineSetDebugPrivilege deadlocking the system when trying to debug lsass.exe
2020-08-18 16:33:32 +02:00
Duncan Ogilvie
51ba022c29
Fix a weird exploit when attaching to a process that overwrites its own OptionalHeader.SizeOfStackReserve
2020-04-10 03:56:08 +02:00
Duncan Ogilvie
451c85e465
Do not silently swallow exceptions when detaching
2020-01-21 20:27:24 +01:00
Duncan Ogilvie
e76867196e
Allow zero timeouts to be set with SetDebugLoopTimeOut
2020-01-21 20:27:15 +01:00
Mattiwatti
8e79163e4d
Fix PE header size check for values of e_lfanew >= 0x10000
2020-01-21 20:22:39 +01:00
Sandor Nemes
247f643cac
Updated Python bindings
2019-10-01 10:39:32 +02:00
Mattiwatti
357759757d
StepInto: close thread handle after setting context
2019-05-19 23:28:06 +02:00
Duncan Ogilvie
7ad288f30e
Fix debug event timeout feature + add extra check if the debuggee was terminated
...
Details: https://github.com/x64dbg/x64dbg/issues/2087
2018-12-28 16:26:43 +01:00
Duncan Ogilvie
50c0d90fcb
Fix offsets in _PEB_T
2018-12-28 15:34:59 +01:00
Duncan Ogilvie
7976be4edd
Improved version of DbgUiConnectToDbg by Mattiwatti
2018-11-18 15:43:59 +01:00
Duncan Ogilvie
250c44388b
sign LibraryLoader executables
2018-10-31 00:13:20 +01:00
Duncan Ogilvie
a260728ad3
improve safe attach option on Vista+
2018-10-31 00:13:08 +01:00
Duncan Ogilvie
f835fc8719
fix safe attach option on 32 bit
2018-10-31 00:12:48 +01:00
Duncan Ogilvie
bfec722a12
Add safe attach option
2018-07-19 16:27:43 +02:00
Duncan Ogilvie
ab037ef1c5
don't close process and file handles in ForceClose
2018-07-19 15:59:21 +02:00
Mattiwatti
ef020ed39d
Merged in Mattiwatti/titanengine/x64dbg (pull request #13 )
...
Fix memory/handle waste caused by mapping every loaded DLL into the debugger process
* Don't create a file mapping for every loaded DLL in LOAD_DLL_DEBUG_EVENT that is not freed until the end of the debug session just to query the DLL filename. GetMappedFileNameW takes a process handle, so just use the debuggee's process and DLL base instead
* Fix double free if TranslateNativeNameW() fails
2018-03-23 11:25:54 +00:00