Commit Graph

382 Commits

Author SHA1 Message Date
Duncan Ogilvie 587183f984
Fix a problem with LoadDll.hFile and committing gigabytes of memory on attach 2017-10-24 00:04:56 +02:00
mrexodia 5d1e43bb69
compile on vs2010 + remove over-allocation 2017-07-29 15:23:52 +02:00
Mattiwatti 0f5566b1db Merged in Mattiwatti/titanengine/native-debug-init (pull request #12)
Add InitNativeDebug API
2017-07-29 12:27:28 +00:00
Mattiwatti 86fe598475
Make the default command line the quoted image path, to prevent empty command lines in case no arguments were specified 2017-07-29 05:53:47 +02:00
Mattiwatti ef7deb59d4
Add InitNativeDebug and InitNativeDebugW API functions for executables that cannot be started with CreateProcess 2017-07-29 00:37:22 +02:00
Mattiwatti dc0a1c33a8
Update ntdll.h and import libraries (see https://github.com/x64dbg/x64dbg/pull/1620) 2017-07-29 00:31:05 +02:00
mrexodia e2abc789e9
fixed WOW64 PEB address retrival on Windows 10 2017-06-06 21:35:54 +02:00
cypherpunk 7cffd0df6d added a helpful comment for WOW64 PEB64 2017-05-01 16:52:06 +02:00
cypherpunk 0a63361a61 commented PEB64 patches for WOW64 processes to prevent crashes of debuggee since Win10 Creators Update 2017-05-01 16:48:17 +02:00
mrexodia 21e146bc23
directly use thread context manipulation for StepInto 2017-04-28 01:06:58 +02:00
mrexodia d7e66e5ae4
fixed some bugs on WOW64 with thread context manipulation 2017-04-28 01:01:17 +02:00
mrexodia 239df37a5e
removed command line limit 2017-04-20 10:58:43 +02:00
mrexodia 0f7e664a4a
more versatile DLL loader extraction 2017-03-14 06:38:05 +01:00
mrexodia 47f481f5d9
move FlushInstructionCache in DeleteBPX to the correct location 2017-01-11 18:33:31 +01:00
mrexodia c4e6afbd93
enable debug privilege when calling OpenThread too (closes pull request #11) 2017-01-07 16:54:12 +01:00
mrexodia fd47444406
PAGE_EXECUTE_READ instead of PAGE_EXECUTE_READWRITE in MemoryReadSafe 2017-01-02 03:21:34 +01:00
mrexodia 806f81e187
small fixed with MxCsr and other FltSave structures for x64 2016-09-25 17:48:35 +02:00
mrexodia 6dc9dcd3cf
performance improvement in GetContextDataEx 2016-09-03 05:45:11 +02:00
mrexodia 895f80996b
fixed UE_DLLCHARACTERISTICS 2016-08-27 21:32:57 +02:00
mrexodia bdaae76d9d
added UE_DLLCHARACTERISTICS 2016-08-27 21:03:42 +02:00
mrexodia c5be34dc92
removed certain checks for performance improvement (x64dbg only) 2016-06-04 20:23:17 +02:00
mrexodia e089f4af41 fixed some bugs with RVA -> Offset conversion (appears to be working fine for standard exes now) 2016-04-22 21:04:38 +02:00
mrexodia 941f391317 Merged in RaMMicHaeL/titanengine-update/patch1 (pull request #10)
Fix INVALID_HANDLE exceptions
2016-03-05 13:16:50 +01:00
RaMMicHaeL c283737b53 These handles are managed by the system; fixes INVALID_HANDLE exceptions when the system tries to close the handles 2016-03-05 14:13:57 +02:00
cypherpunk ea39130ed9 updated C/C++ SDK files for Resourcer::ExtractResourceFromFile fixes 2015-12-20 16:33:30 +01:00
cypherpunk fdbc1aa989 fix Resourcer::EnumerateResource which wasnt sending correct resourceName / resourceType 2015-12-20 16:32:44 +01:00
cypherpunk 758a361df1 fix for using ExtractResourceFromFile from callback of EnumerateResource 2015-12-20 16:31:43 +01:00
cypherpunk a37ce345e2 fixed Resourcer::ExtractResourceFromFile which was broken ever since 2015-12-20 16:30:30 +01:00
mrexodia fb03e9de19 fixed some formatting 2015-12-15 17:10:04 +01:00
mrexodia fa184271cd Merged in Herz3h/titanengine-update (pull request #9)
Hardware Breakpoint : Fixed a bug where when HW BP is hit and the user deletes the HW BP then resumes the execution, the Trap Flag is still set which make titanengine think the debuggee throwed a SINGLE_STEP Exception.
2015-12-11 22:20:28 +01:00
Herzeh db1a181193 Changed (1 << 8) to UE_TRAP_FLAG which already exists 2015-12-11 21:34:55 +01:00
Herzeh 92f5d48c85 Hardware Breakpoint : Fixed a bug where when HW BP is hit and the user deletes the HW BP then resumes the execution, the Trap Flag is still set which make titanengine think the debuggee throwed a SINGLE_STEP Exception.
BP : Fixed a bug where setting a HW BP and a SW BP (could be any combination e.g SW BP then a HW BP) on same address, then removing one of the two BP when program hits the BP will remove all BPs set on that address.
2015-12-11 12:50:16 +01:00
Mr. eXoDia 51208e22f3 call FlushInstructionCache after changing code (this could bug) 2015-07-30 15:39:09 +02:00
Mr. eXoDia 268c684125 removed exception handlers for callbacks (this is dangerous) 2015-04-17 00:36:47 +02:00
Mr. eXoDia b9dd68f5c7 fixed a bug in LibraryLoader.exe as non-administrator (Global -> Local kernel namespace for the file name to debug) 2015-04-04 03:56:57 +02:00
Mr. eXoDia 3462c000e0 fixed a bug with resetting hardware breakpoints when they are deleted inside the handler (thanks to Demonic Sword!) 2015-02-04 01:16:18 +01:00
Mr. eXoDia aacd8c2eb8 fixed a bug with setting the AVX context overwriting the other registers with zeroes 2014-12-30 03:41:32 +01:00
Mr. eXoDia 9ab24a8d8f fixes 2014-12-30 03:17:03 +01:00
Mr. eXoDia acb0e1aa24 fixed a bug with YMM registers 2014-12-30 03:12:16 +01:00
Mr. eXoDia 6e7778eddb compiler generic XmmRegister types (mingw doesn't like M128A) 2014-12-30 02:01:11 +01:00
Mr. eXoDia 46398eba7b removed useless unlock/relock sequences (CriticalSection objects can be called recursively without problems from the same thread) 2014-12-23 00:19:11 +01:00
Mr. eXoDia f04f96e83d fixed CriticalSectionLocker (thanks to Nukem) 2014-12-22 23:22:59 +01:00
Mr. eXoDia 29f8973700 fixed the 'push ss', 'pop ss' problem (by setting a breakpoint on the next instruction) 2014-12-08 23:55:20 +01:00
Mr. eXoDia c541b9d764 resolved issue #44 (by removing the push ss, pop ss 'fix') + fixed SingleStep 2014-12-08 23:37:59 +01:00
Mr. eXoDia d572dd2bfc Fixed AVX YMM registers 2014-12-08 16:33:04 +01:00
Mr. eXoDia ee9fc93b96 fixed return value of InitXState() 2014-12-08 15:33:54 +01:00
Mr. eXoDia 6f6bae27a6 some cleanups in TitanEngine.Debugger.Context (wip) 2014-12-08 15:30:51 +01:00
Mr. eXoDia 2dedd37950 added more structure alignment checks 2014-12-08 14:42:29 +01:00
Mr. eXoDia e3107e6dd3 hopefully fixed a crash with getting/setting the AVX context on unsupported systems 2014-12-08 02:08:59 +01:00
Mr. eXoDia 60c7a748b4 M128A for mingw 2014-12-01 00:58:08 +01:00