Commit Graph

51 Commits

Author SHA1 Message Date
mrexodia 22c5c2189c
added some more pe files to test 2017-05-26 03:52:39 +02:00
mrexodia 75f968fdf0
switch to zyan + various small fixes with lazy registers 2017-05-05 17:32:57 +02: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 31cbdc957b
comments on the memory breakpoint handling code 2017-02-04 06:06:45 +01:00
mrexodia 2198e3c4e3
32 bit testing code for memory breakpoints 2017-02-04 05:19:35 +01:00
mrexodia aae243aa33
more comments about MembpTest 2017-01-04 03:26:34 +01:00
mrexodia c55d5222f3
comment about MembpTest 2017-01-04 03:25:20 +01:00
mrexodia c40e9e68ce
Merge branch 'master' into membp
# Conflicts:
#	GleeBug/Debugger.Loop.Exception.cpp
2017-01-04 03:11:50 +01:00
mrexodia c5197f92d5
added various functions to TitanEngineEmulator 2017-01-04 03:08:21 +01:00
mrexodia aecc172ecb memory breakpoints now throw the desired exceptions 2016-08-19 16:02:27 +02:00
mrexodia 3d385178da initial work on memory breakpoints 2016-08-05 14:48:48 +02:00
mrexodia 76c5b7359a
updated capstone_wrapper + fixed warning with building and SubSystem 2016-07-06 07:35:28 +02:00
mrexodia 48dada8945 implemented StepOver 2016-03-05 12:58:57 +01:00
mrexodia 38ae34fe2c directly include capstone_wrapper source code in the GleeBug project 2016-02-11 17:00:34 +01:00
mrexodia 8652a6aa66 did some project management (GleeBug now uses capstone_wrapper) 2016-02-09 16:21:10 +01:00
mrexodia 0dc118cd75 added rva <-> offset conversion functions 2016-02-09 13:30:47 +01: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 a508dc2796 better error checking 2016-01-10 16:28:32 +01:00
mrexodia e152448267 initial section commit (not working perfectly at the moment) 2016-01-10 16:02:42 +01:00
mrexodia aabf3ee53f initial work on reading the section data 2016-01-10 14:11:54 +01:00
mrexodia c817cfc96e abstraction for PE section 2016-01-06 10:18:14 +01:00
mrexodia 7d45916c96 various small fixes 2016-01-05 04:34:15 +01:00
mrexodia 94809cb4e9 (optionally) allow overlapping DOS and NT headers (went from 209/228 -> 218/228 corkami passes) 2016-01-05 04:33:36 +01:00
mrexodia 362cba7830 renaming fest continued (and probably finished) 2015-12-29 15:58:51 +01:00
mrexodia 3c1f141949 renaming fest started... 2015-12-29 15:29:53 +01:00
mrexodia 407c05a5ec most (209/228) corkami messed up PE files pass with ParseHeaders 2015-12-29 02:22:47 +01:00
mrexodia 399503b268 added Static.BufferFile to read/write buffers 2015-12-29 00:16:18 +01:00
mrexodia c56f2daebd Static.Pe is now working with corkami's mini.exe and reports specific error messages. 2015-12-29 00:04:42 +01:00
mrexodia 82c542bd62 basics of the PE parser are working now 2015-12-28 22:10:30 +01:00
mrexodia 81bb985c5b barebones of the TitanEngine emulator that is going to be used by x64dbg 2015-12-20 04:38:08 +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
Mr. eXoDia 1c9b5468a4 fix 2015-09-11 15:47:37 +02: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
Mr. eXoDia 26c71cc6e4 simple software (0xCC) breakpoints working + examples with lambda functions 2015-08-15 20:13:47 +02:00
mrexodia 3568de5680 initial breakpoint work + added MemIsValidPtr + fixed some documentation inaccuracies 2015-08-09 00:53:13 +02:00
Mr. eXoDia 59574f105f fixed const correctness + removed default constructors from ProcessInfo, DllInfo and ThreadInfo + fixed copy constructor of ThreadInfo 2015-07-15 07:27:31 +02:00
Mr. eXoDia 655dd78d4c removed useless stuff 2015-07-15 06:00:27 +02:00
Mr. eXoDia 424edbc226 register getter/setter functions should be working + refactoring 2015-07-15 05:54:06 +02:00
Mr. eXoDia 2481e33abd massive cleanup + fixed various code problems 2015-07-15 02:48:11 +02:00
Mr. eXoDia 1a072a78c5 working single step with callbacks 2015-04-05 05:11:51 +02:00
Mr. eXoDia 8e5f758c96 basic cached RegistersInfo 2015-04-05 03:21:42 +02:00
Mr. eXoDia c1bb981c16 some very amazing coding was done here (documentation + RegistersInfo with cache) 2015-04-05 01:23:21 +02:00
Mr. eXoDia b92b32b146 even more code separation 2015-03-28 15:21:54 +01:00
Mr. eXoDia a3529f8b27 dll housekeeping done 2015-03-28 02:27:10 +01:00
Mr. eXoDia 6ddcb2d798 better thread and process housekeeping 2015-03-28 01:33:14 +01:00
mrexodia 5f526bac56 process & thread housekeeping functionality 2015-03-25 21:25:25 +01:00
strongbit a1847472ba I wonder how do you send the debugger a singlestepping exception. Added only two functions 2015-03-25 13:26:21 +00:00
Duncan 6197f91790 documentation 2015-03-25 13:23:42 +01:00