1
0
Fork 0
Commit Graph

780 Commits

Author SHA1 Message Date
mrexodia c143d43269
DBG: performance improvement in ExpressionParser, commands and script 2016-09-06 13:16:42 +02:00
mrexodia 9f17d0aa3b
DBG: huge performance improvement in script runtime 2016-09-06 13:16:41 +02:00
mrexodia a9a8c04218
DBG: forgot LockHistory 2016-09-06 13:16:41 +02:00
mrexodia 3859afb125
DBG: locks in HistoryContext 2016-09-06 13:16:41 +02:00
Torusrxxx 19a3b14e8b GetTickCount (#1050) 2016-09-06 12:19:23 +02:00
mrexodia d97534459f
DBG: possible compile fix for VS2015 2016-09-06 09:16:16 +02:00
mrexodia 267e35ccae
DBG: _dbg_isjumpgoingtoexecute performance improvement 2016-09-06 07:50:49 +02:00
Torusrxxx 4e2636416c DLL breakpoint GUI (#1048)
* New Splitter Widget

* DLL breakpoint interface

* Conditional DLL Breakpoint

* maintain translation file

* Don't animate when it stops

* fixed some issues

* DLL Breakpoint GUI

* DLL Breakpoint GUI

* Fixed DLL Path problem

* When not debugging, the user can use "run" button to restart.

* further fixes
2016-09-06 00:28:25 +02:00
mrexodia 00c25b1b30
DBG: unsafe SymLoadModuleExW to not freeze the GUI while downloading symbols 2016-09-05 01:06:11 +02:00
Torusrxxx d3bb316080 Synchronize branch (#1043)
* New Splitter Widget

* DLL breakpoint interface

* Conditional DLL Breakpoint

* maintain translation file

* Don't animate when it stops

* fixed some issues
2016-09-04 19:33:59 +02:00
mrexodia 184621c1e5
DBG: NTSTATUS codes 2016-09-04 01:08:19 +02:00
mrexodia 08332377db
DBG: fixed log instruction 2016-09-03 17:10:13 +02:00
Torusrxxx cc2875cb3b Add Watch Items to Labels in Sidebar (#1040)
* Add Watch Items to Labels in Sidebar

* fix

* fix
2016-09-03 17:09:09 +02:00
mrexodia 6cd8f5881e
DBG: escape "{" and "}" in auto comments 2016-09-02 19:14:06 +02:00
Torusrxxx 81bc301a79 Add auto-scrolling to tables etc (#1035)
* Add auto-scrolling to tables. Add clear shortcut button. Fix bug with shortcut edit in favourites dialog.

* Add more shortcuts

* GUI for creating thread

* Use thread name in the title bar
2016-09-02 16:47:32 +02:00
mrexodia c671c457a6
DBG: fixed compiler warning 2016-09-02 16:47:03 +02:00
mrexodia e318649fbb
DBG: closed issue #1034 (tiit doesn't work anymore) 2016-09-02 16:45:01 +02:00
mrexodia e2dbccb760
DBG: renamed trace callbacks to something understandable 2016-09-02 16:29:06 +02:00
Torusrxxx 594bda501a Various enhancements to thread management (#1028)
* Use last codepage conveniently

* 1. fix bug: "inc" and "dec" commands have no effect.
2. fix bug: "bswap" command cannot execute when not debugging.
3. fix bug: app crash when displaying a variable smaller than 15.
4. new feature: script timeout
5. new feature: execute script when the debuggee initializes at the system breakpoint.

* Add settings for initialzation script and HelpOnSymbolicNameUrl

* fix

* Don't switch to the same thread

* Allow the user to create a thread. Don't run if there's no active thread.

* fix

* Removed ThreaderIsAnyThreadActive
2016-09-01 19:14:11 +02:00
mrexodia 95b8cc00f2
DBG: moved documented instructions 2016-09-01 14:06:55 +02:00
mrexodia 82167887d5
DBG: resolved hang issue with getting handle names 2016-09-01 00:26:32 +02:00
mrexodia 3e8af43bfe
DBG: better expression functions 2016-08-31 17:37:19 +02:00
mrexodia 53d3d40837
DBG: added lots of expression functions 2016-08-31 17:29:28 +02:00
mrexodia e21a2ac12e
DBG: added traceexecute command 2016-08-31 17:20:42 +02:00
Torusrxxx ec43781a10 Execute script automatically on attach or initialize (#1026)
* Use last codepage conveniently

* 1. fix bug: "inc" and "dec" commands have no effect.
2. fix bug: "bswap" command cannot execute when not debugging.
3. fix bug: app crash when displaying a variable smaller than 15.
4. new feature: script timeout
5. new feature: execute script when the debuggee initializes at the system breakpoint.

* Add settings for initialzation script and HelpOnSymbolicNameUrl

* fix
2016-08-31 16:33:52 +02:00
mrexodia b8ef9d3177
DBG: fixed something weird with 15 2016-08-31 16:09:12 +02:00
mrexodia 4ac867f7de
DBG: slight rewrite for general purpose instructions (closes issue #1025) + fixed crash when displaying values under 15 2016-08-31 15:35:11 +02:00
mrexodia 43d6ad3deb
DBG: don't set the result variable when inputting expressions 2016-08-31 15:32:10 +02:00
mrexodia dc7f20fde4
DBG: added Rol and Ror in ExpressionParser 2016-08-31 15:31:39 +02:00
mrexodia 0899fefe01
DBG: removed single quotes from ExpressionParser 2016-08-31 14:30:11 +02:00
mrexodia 20d19cdb60
DBG: allow quotes in the ExpressionParser 2016-08-30 22:54:36 +02:00
mrexodia 535c84ed3c
DBG: dynamic ":memdump:" option for savedata so scripts can dump memory more easily 2016-08-30 15:36:11 +02:00
mrexodia c02dbf7f73
DBG: commands to change singleshoot flag for breakpoints 2016-08-30 15:36:11 +02:00
mrexodia fd109b8b8f
DBG: added BpSetSingleshoot and fixed possible exceptions with other breakpoint functions 2016-08-30 15:36:11 +02:00
mrexodia b4a005908d
DBG: fixed warning on x64 2016-08-30 15:36:11 +02:00
Torusrxxx 2938fa54c0 Animate into (#1020)
* Translate some strings and export memiscodepage.

* fixed memory leaks in watch view

* warn the user if the breakpoint is not executable

* use dbgfunctions

* remove unused exports

* fix

* fix

* guard translate function with critical section

* DeleteCriticalSection

* Animate Into

* Animate Into

* Animate Into
2016-08-30 12:59:40 +02:00
mrexodia eb2c4ca741
DBG: updated yara to 3.5.0 2016-08-28 12:00:16 +02:00
mrexodia 6cce63f81d
DBG: imageinfo command 2016-08-27 21:40:51 +02:00
Elijah 8cf32e3f26 Improvemets of PEB->CommandLine parsing algorithm (#1005)
* Add some tweaks and improvements to parsing algorithm of command line from PEB

* Remove debug remains

* Check for PE name (with/without extension) is used in path to PE
2016-08-26 17:11:05 +02:00
Torusrxxx c076aa583c Warn the user if the software breakpoint is not executable (#1010)
* Translate some strings and export memiscodepage.

* fixed memory leaks in watch view

* warn the user if the breakpoint is not executable

* use dbgfunctions

* remove unused exports

* fix

* fix
2016-08-26 16:03:08 +02:00
mrexodia 94e157c7dc
DBG+GUI: fixed user experience 2016-08-26 01:36:16 +02:00
mrexodia 71331f9661
DBG: use unsafe memory reading in thread.cpp 2016-08-25 19:57:42 +02:00
Torusrxxx 430746b32e don't halt (#1007) 2016-08-25 16:23:59 +02:00
mrexodia 9ed44d513a
DBG: fixed compile warning + typo 2016-08-25 01:06:31 +02:00
Forsari0 f09586ea18
Use C++ style declaration on wstr_cmd 2016-08-25 01:06:31 +02:00
Forsari0 67cf947fd5
Use strncpy_s with _TRUNCATE flag 2016-08-25 01:06:31 +02:00
Forsari0 0b55e90b27
Add new column in 'Attach' dialog - 'CommandLine arguments', which is show command line arguments taken from target process PEB structure 2016-08-25 01:06:31 +02:00
torusrxxx 2d100b6179 Unified Translation File 2016-08-24 16:52:55 +08:00
torusrxxx 65fd919d08 More fix for #886 2016-08-24 16:18:10 +08:00
torusrxxx 57a3d2e2f7 fix issue #886 2016-08-24 16:09:26 +08:00
torusrxxx a50feb4d33 rewrite general purpose commands 2016-08-23 19:19:58 +08:00
torusrxxx ae32f5dce0 some fixes 2016-08-23 12:35:12 +08:00
torusrxxx cdafdb2b8b restored "fext" sematics 2016-08-23 12:06:30 +08:00
torusrxxx 740684100c Thread Safe 2016-08-23 10:46:25 +08:00
torusrxxx 2324106748 small fixes 2016-08-21 20:28:15 +08:00
torusrxxx 3bab962dbc fine tuning of translations 2016-08-21 17:28:30 +08:00
torusrxxx 7b222f786b removed fhex 2016-08-21 16:10:55 +08:00
torusrxxx 638fca28e4 more strings translated 2016-08-21 15:21:22 +08:00
torusrxxx 3282b0d4ea Translate the DBG (initial work) 2016-08-21 12:49:18 +08:00
torusrxxx 5a04cc70f3 Merge branch 'development' of https://github.com/x64dbg/x64dbg into development 2016-08-20 19:09:27 +08:00
Mr. eXoDia b00b25bcee DBG: allow graph to span over the full module 2016-08-20 06:04:46 +02:00
torusrxxx 35177e8548 thread id functions 2016-08-19 22:42:57 +08:00
Mr. eXoDia 582ec7a77a DBG: small fix for modules without extension 2016-08-17 21:21:19 +02:00
Mr. eXoDia 2d609acafc DBG: fixed a CRT crash with certain module names 2016-08-17 18:17:54 +02:00
Mr. eXoDia e47482dec8 allow user to change thread name #980 2016-08-17 16:41:02 +02:00
CryptXor e6b831e631 Minor fixes (#977)
Minor fixes to jit.h and taskthread.h, as well as an additional entry to .gitignore
2016-08-13 21:25:59 +02:00
Mr. eXoDia 2b10380668 DBG: added run/step commands that swallow the exception 2016-08-05 18:38:15 +02:00
Torusrxxx 1a10ded9a3 prototype of #890 (preview call or jump destination) (#910)
* prototype of #890 (preview call or jump destination

* resolve issue with call dword ptr ds:[MessageBoxA]

* tidy up headers

* hide tooltip when mouse is outside disassembly view
2016-08-04 13:16:52 +02:00
Mr. eXoDia b05a1422b3 DBG+GUI: removed strong language (#211) 2016-07-31 17:59:49 +02:00
Mr. eXoDia e50498956f Merge branch 'development' of https://github.com/torusrxxx/x64dbg into torusrxxx-development 2016-07-31 16:47:11 +02:00
torusrxxx d40897b9f7 fix plugin pause callback 2016-07-31 12:44:40 +08:00
Mr. eXoDia eb8d2ab929 DBG: possibly resolved issue #903 (symbol enum memory leak) 2016-07-30 21:02:44 +02:00
torusrxxx fe77076bc0 push and pop actions 2016-07-30 22:40:28 +08:00
Mr. eXoDia 238e56ead5 DBG: various fixes with the callstack 2016-07-29 20:07:12 +02:00
Mr. eXoDia 34dbdf35d5 DBG: added bswap expression function 2016-07-29 17:47:52 +02:00
Torusrxxx e9fba6c9fe fix app crash (#896) 2016-07-28 12:42:10 +02:00
Torusrxxx 97e99ce7f7 more functions&commands to enable/disable log,add favourite tools and fold disassembly for plugins&scripts. (#895) 2016-07-28 09:36:41 +02:00
Mr. eXoDia 6e61cf5452 DBG+GUI: resolved issue #893 + updated Translations 2016-07-27 23:05:15 +02:00
Mr. eXoDia a0b532baa2 DBG: dont save database when there is nothing inside 2016-07-27 22:04:46 +02:00
Mr. eXoDia 82347cd094 DBG+GUI: added cocksucker option (issue #211, shit) 2016-07-27 22:04:10 +02:00
mrexodia fc6a125810
DBG+GUI: misc changes 2016-07-25 23:42:15 +02:00
mrexodia 57b8c59aa9
Merge branch 'patch00000007' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch00000007 2016-07-25 23:28:51 +02:00
mrexodia 31e53073f0
DBG+GUI: fixed yara reference logic 2016-07-25 23:27:21 +02:00
torusrxxx bd8ac511d5 CPU Time in threads view 2016-07-25 21:25:46 +08:00
torusrxxx 886511fdcd misc improvments 2016-07-25 18:36:06 +08:00
mrexodia c6bf7b6570
DBG: fixed issue #881 (ordinals can now only be hex/dec no registers) 2016-07-23 19:42:52 +02:00
Torusrxxx cc353daafe languages menu (#878) 2016-07-23 12:13:10 +02:00
justin 6eb93678de
Modifications to breakpoint properties now update the breakpoint UI explicitly. Relevant for plugins, command line BP calls 2016-07-22 19:50:09 +02:00
mrexodia e2b4aa1927
Removed extraneous assert 2016-07-22 19:50:09 +02:00
mrexodia 47f044eeb1
DBG: fixes in RecursiveAnalysis 2016-07-21 03:00:02 +02:00
mrexodia b0aba0be5c
DBG+BRIDGE+GUI: don't reload graph when graphing inside currently-browsed function 2016-07-21 02:53:41 +02:00
mrexodia 2d9329238a
DBG: AStyle debugger.cpp 2016-07-20 12:07:41 +02:00
mrexodia cb1f722c4c
PROJECT: fixed build errors in debug mode 2016-07-20 11:47:00 +02:00
mrexodia d584ba10a5
DBG+GUI: small changes to stringformat 2016-07-20 11:47:00 +02:00
Torusrxxx bc1ca1f3c6 fix wrong behaviour with prefixed retn (#869) 2016-07-19 22:09:47 +02:00
mrexodia 2f16292a5f
BRIDGE+DBG: small fixes in pluginsdk 2016-07-18 23:21:26 +02:00
Torusrxxx 2cac1af5de use MenuBuilder in CPUDump (#865)
* use MenuBuilder

* fix error #866 and clean up unused members of CPUDump
2016-07-18 15:31:46 +02:00
Mr. eXoDia cff67aa8ff Merge branch 'graph' into development
# Conflicts:
#	src/gui/resource.qrc
2016-07-17 23:23:22 +02:00
Torusrxxx 69580f1cc2 fix issue #851 (#863) 2016-07-17 16:32:56 +02:00
Duncan Ogilvie 8c1981361a Revert "Added ability to roughly measure UI latency; code to try and maintain that latency at <50ms" (#859) 2016-07-17 14:42:23 +02:00
Mr. eXoDia 2361077011 GUI: RichTextPainter in graph 2016-07-17 14:33:22 +02:00
jdavidberger 85e147a6ab Added ability to roughly measure UI latency; code to try and maintain that latency at <50ms (#834)
* Removed extraneous assert

* Added additional protection to prevent the QT message queue from getting too far behind

* Fixed #503 sorting on thread id, number

* Added the ability to multi-select in symbols view so you can set all breakpoints that match a search

* Added command history from #839

* Modifications to breakpoint properties now update the breakpoint UI explicitly. Relevant for plugins, command line BP calls

* Fixed display issue when selecting more than one page on CPU page

* Fixed issue where last sent debug state was occasionally wrong. This required making all async entries into GuiSetDebugState run on the same thread; so it should have marginal performance gains too.

* Modified getdbgevents to be a 64 bit counter which doesn't reset. Adjusted TimeWastedCounter to match; added two optional modes

* Previous edit to log view broke it -- if you clicked on the screen, text would insert there. movecursor is needed on both sides

* Made it possible to select multiple modules and search them all at once.
2016-07-17 12:55:19 +02:00
bloodwrath c32eefa4dd Issue #852 add bswap command (#856)
* defined 'bswap' command as cbInstrBswap.  seems to work when the dest var is a register or user-defined var.  address args fail.

* rewrote bswap to use StringUtils::sprintf formatting.

* removed debug prints from byteswap func.  added error message when parsed arg isn't a variable.

* formatted.
2016-07-17 12:53:15 +02:00
Mr. eXoDia e24d8c21a3 DBG: various fixes in RecursiveAnalysis 2016-07-17 01:24:05 +02:00
Mr. eXoDia 79cdced6fe DBG: added aliases in expressionfunctions + implemented gui selection functions 2016-07-17 01:19:09 +02:00
Mr. eXoDia 9c008f088c DBG: graph command 2016-07-16 19:41:02 +02:00
Mr. eXoDia dfd8909f73 DBG: GetFunctionGraph in RecursiveAnalysis 2016-07-16 19:40:32 +02:00
Torusrxxx e2074e1e77 fix issue #835 (#848) 2016-07-15 11:27:54 +02:00
mrexodia 6c9c744ba2
DBG: resolved issue #841 (fixed inter modular calls) 2016-07-13 11:07:47 +02:00
mrexodia cdd3194d43
DBG: resolved issue #841 (fixed inter modular calls) 2016-07-13 08:51:55 +02:00
mrexodia 1c09f5ff01
DBG: use BridgeCFGraph in RecursiveAnalysis 2016-07-12 07:49:29 +02:00
mrexodia 0c8d69e493
DBG: speed up with waiting for threads to close 2016-07-12 07:47:25 +02:00
mrexodia ace432accc
DBG: resolved issue #171 (auto-update dump) 2016-07-12 05:08:09 +02:00
mrexodia fdcc3a8236
DBG: improved RecursiveAnalysis 2016-07-12 04:43:54 +02:00
mrexodia bf4856e4ec
DBG: fixed memory map refreshing (#836) 2016-07-12 02:23:09 +02:00
mrexodia b9d7c865ec
DBG: slight refactor of cbGenericBreakpoint + fixed duplicate log message 2016-07-10 18:48:46 +02:00
mrexodia fdf3ec8b8d
Merge branch 'development' of https://github.com/jdavidberger/x64dbg into jdavidberger-development
# Conflicts:
#	src/dbg/_plugins.h
#	src/dbg/expressionfunctions.cpp
#	src/dbg/expressionfunctions.h
#	src/dbg/plugin_loader.cpp
#	src/dbg/plugin_loader.h
2016-07-10 13:04:42 +02:00
mrexodia f768f5cbf3
DBG: userdata in _plugin_registerexprfunction 2016-07-10 11:49:09 +02:00
justin c3f03b6675 Added support for passing user data with expression functions 2016-07-09 15:56:39 -06:00
justin 1d11564437 More modifications to seperate out debug/release modes 2016-07-09 10:40:07 -06:00
justin d3c31fd8de Added 'Silent' option for breakpoints 2016-07-09 10:40:07 -06:00
mrexodia 4657786726
DBG: more expression functions 2016-07-09 18:23:45 +02:00
mrexodia e8c2e5c572
DBG: added 'srcline' exprfunc 2016-07-09 17:41:16 +02:00
mrexodia 150830a9c9
DBG: slight change to DbgFunctions()->GetAddrFromLine 2016-07-09 17:09:38 +02:00
mrexodia 063872f1f8
DBG: only resolve source lines without displacement 2016-07-09 14:51:01 +02:00
mrexodia 1a7f87d440
DBG+GUI: fixed a crash with escaped section names 2016-07-09 13:03:32 +02:00
mrexodia 3c71e8493c
DBG: resolved issue #210 (pass-through of command line parameters) 2016-07-09 12:14:02 +02:00
mrexodia f266f1ebce
DBG: fixed a crash 2016-07-09 12:13:04 +02:00
mrexodia 6f889c6b91
DBG+GUI: different default for bTraceRecordEnabledDuringTrace 2016-07-09 08:54:08 +02:00
mrexodia e5c12f861e
DBG: moved analysis code to a separate directory 2016-07-09 08:44:28 +02:00
mrexodia 388e965f46
moved documented commands to the appropriate sections 2016-07-09 08:26:25 +02:00
mrexodia 836f44450f
DBG: improved output for exinfo 2016-07-09 08:11:31 +02:00
mrexodia 9ee48b630b
DBG: added the exinfo command (extended information on the last exception) 2016-07-09 08:03:16 +02:00
mrexodia 79771f5a85
DBG: added RegisterEasy to eventually register lots of expression functions 2016-07-08 05:48:20 +02:00
mrexodia e5c2b6ae7f
DBG: expose registration of expression functions to plugins 2016-07-07 13:40:34 +02:00
mrexodia 2a8e7e9026
DBG: restrict naming of expression functions 2016-07-07 13:19:26 +02:00
mrexodia ecd7988e28
DBG: workaround for some windows bullshit with duplicate cbLoadDll in compatibility mode 2016-07-07 13:07:55 +02:00
jdavidberger 45c45ffb64 Fixed label bug, guarded header file for window kit 8.1, debug builds build in non-release folder (#826)
* Make extremely long status messages not resize the window

* Added ifdefs to differentiate between windows kit versions to address a breaking change between 7.1 and 8

* Modified build settings so debug build is put in a seperate directory
2016-07-07 12:21:23 +02:00
mrexodia 504c794667
Merge branch 'patch-1' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-1
# Conflicts:
#	src/dbg/threading.h
#	src/dbg/x64_dbg.cpp
#	src/dbg/x64_dbg_dbg.vcxproj.filters
#	src/gui/resource.qrc
2016-07-07 12:16:34 +02:00
Torusrxxx 8b0852dddc remove expensive operation 2016-07-07 08:16:17 +00:00
Torusrxxx f62683f62b remove expensive operations 2016-07-07 08:12:29 +00:00
Torusrxxx 1ffd38707e remove unused function 2016-07-07 08:04:51 +00:00
Torusrxxx 5cf50d871b fix compile error 2016-07-07 07:52:04 +00:00
Torusrxxx ffab7f7890 disable expensive operations in tracing 2016-07-07 07:47:03 +00:00
Torusrxxx a9b23ad041 disable expensive operations in tracing 2016-07-07 07:45:22 +00:00
Torusrxxx a8242b41b8 watch view 2016-07-07 07:33:39 +00:00
mrexodia c855c15fd7
DBG: full function support in ExpressionParser 2016-07-07 09:02:39 +02:00
mrexodia 5358596997
DBG: ExpressionFunctions class to handle function calls in ExpressionParser 2016-07-07 09:02:07 +02:00
mrexodia f49e5ad7f1
DBG: support for functions in ExpressionParser 2016-07-07 08:21:24 +02:00
Torusrxxx 30972da1ad watch view 2016-07-07 06:09:31 +00:00
Torusrxxx de2795d8e9 do not link to bridge 2016-07-07 06:07:47 +00:00
Torusrxxx ae58a993ba watch view 2016-07-07 06:02:47 +00:00
Torusrxxx 2dd41b3d76 watch view 2016-07-07 06:01:31 +00:00
Torusrxxx 1f6e977730 watch view and instruction undo 2016-07-07 06:00:19 +00:00
Torusrxxx 2bf8967132 watch view and instruction undo 2016-07-07 05:58:19 +00:00
mrexodia 9bdef3264f
DBG: allow unary add operator 2016-07-07 07:23:25 +02:00
mrexodia fc91c495c4
DBG: fixed a bug in cmddirectexec 2016-07-07 07:02:00 +02:00
Torusrxxx 21e545517f instruction undo 2016-07-07 04:55:42 +00:00
Torusrxxx c806824171 instruction undo 2016-07-07 04:53:07 +00:00
mrexodia 608bc275cd
DBG: nicely cut away the hacky command processing crap 2016-07-07 06:45:37 +02:00
Torusrxxx 7e9dac6448 watch view, instruction undo 2016-07-07 04:31:18 +00:00
mrexodia 5788ada378
DBG: implemented allowassign flag in ExpressionParser 2016-07-07 06:21:31 +02:00
mrexodia 7215296036
DBG: implement prefix/suffix increment/decrement in ExpressionParser 2016-07-07 06:02:01 +02:00
Torusrxxx 8504ac24f3 instruction undo, watch view 2016-07-07 03:37:20 +00:00
Torusrxxx 904953fc16 instruction undo 2016-07-07 03:36:14 +00:00
Torusrxxx 8e311a115e instruction undo 2016-07-07 03:29:13 +00:00
Torusrxxx 739442c66c instruction undo 2016-07-07 03:28:31 +00:00
Torusrxxx cb455ee2a4 watch view 2016-07-07 03:27:39 +00:00
Torusrxxx acb84c7eb6 watch view 2016-07-07 03:26:44 +00:00
Torusrxxx faa9cea112 watch view 2016-07-07 03:25:46 +00:00
mrexodia d224cc35aa
DBG: implemented assignment operators in ExpressionParser 2016-07-07 05:18:43 +02:00
mrexodia d2d2620b81
DBG: more simplification in ExpressionParser 2016-07-07 03:16:25 +02:00
mrexodia c4b657c687
DBG: added logical implication operator in the ExpressionParser 2016-07-07 03:05:04 +02:00
mrexodia 54c2bbc5c9
DBG: some simplification in ExpressionParser 2016-07-07 02:37:55 +02:00
mrexodia 92b8a1d1ba
DBG: reduced memory map refresh time 2016-07-07 02:01:59 +02:00
mrexodia 22920ca4ea
BRIDGE+DBG: don't drop log messages when gui updates are disabled 2016-07-06 10:01:25 +02:00
mrexodia 5bf5bf4eb5
DBG+GUI: better use of GuiUpdateDisable (now breakpoint all actually works) 2016-07-06 09:50:02 +02:00
mrexodia 923722cb21
DBG: ASync everywhere (totally not going to cause shit in the long run of course...) 2016-07-06 09:28:43 +02:00
mrexodia b5fbd3a314
DBG: AStyle taskthread.h 2016-07-06 07:29:28 +02:00
mrexodia c1f91306ad
DBG+GUI: compile + removed a crash 2016-07-06 07:29:12 +02:00
mrexodia eb8ab472a9
Merge branch 'development' of https://github.com/jdavidberger/x64dbg into jdavidberger-development 2016-07-06 07:10:43 +02:00
justin 84ed5cd1d5 Switched to variadic impl for taskthread 2016-07-05 22:57:54 -06:00
justin defe153caa Changed default rate limit time; removed windows.h include and switched to semaphore signals from CVs 2016-07-05 17:56:01 -06:00
justin 62e9e74159 Refactored memMapThread to use TaskThread 2016-07-05 17:53:51 -06:00
justin 9504c2fb21 Squelched warning from WINVER definition while making sure it stays at the targeted platform 2016-07-05 17:51:26 -06:00
justin f3192f61e6 Added import / exports out of modules into Script::Symbol::GetList 2016-07-05 14:53:01 -06:00
mrexodia 086a1a75c1
Merge branch 'patch-1' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-1
# Conflicts:
#	src/dbg/debugger.cpp
2016-07-05 19:43:51 +02:00
justin df25097e92 Fixed issue with x86 compile 2016-07-05 01:40:38 -06:00
justin 2899acd0c7 Added async and rate limit logic to calls that tended to flood the gui thread 2016-07-05 01:03:54 -06:00
justin de39b65b1e Now that locks are recursive, readded access lock 2016-07-05 01:03:52 -06:00
justin df1d6f1a7c Made locks recursive 2016-07-05 01:03:51 -06:00
Mr. eXoDia 2c3eb1ec47 DBG: trace record in conditional tracing 2016-07-02 18:15:22 +02:00
Mr. eXoDia 4c49ecb5b1 DBG: fixed the replace hardware breakpoint in slot 2016-07-01 16:13:59 +02:00
mrexodia ed8cf2552d
DBG: resolved issue #808 (buffer overflow on certain instructions) 2016-07-01 09:25:11 +02:00
Torusrxxx c491b03447 trace record during trace 2016-06-28 04:10:10 +00:00
Torusrxxx c236ffdac0 trace record during trace 2016-06-28 04:09:03 +00:00
Torusrxxx e8dfb08efc trace record during trace 2016-06-28 04:07:46 +00:00
mrexodia 9deb09257a
DBG: fixed a bug with spaces in the yaramod command 2016-06-27 18:33:44 +02:00
mrexodia 65c2a4dfee
DBG: updated DeviceNameResolver 2016-06-27 01:05:23 +02:00
mrexodia a542c434bb
DBG: small fixes + added more error messages 2016-06-26 11:32:54 +02:00
mrexodia 0370886aad
DBG: stringformat fix 2016-06-25 19:29:13 +02:00
Torusrxxx 5532333101 Fix some tiny issues (#803)
* fix "error loading library" error message

it displays the macro name instead of the file name before

* allow the ending { without escape

to ease the input of source-like comments like "while(eax < 40) {"

* set some variables before breakpoint command

* breakpoint variables
2016-06-25 19:27:17 +02:00
mrexodia 4f45dff9e1
DBG+PROJECT: updated capstone_wrapper 2016-06-25 19:26:51 +02:00
mrexodia 42782d8919
DBG: more fixes for #800 2016-06-24 17:53:17 +02:00
mrexodia ff15b3890f
DBG: resolved issue #800 (incorrect thread switch on cbExitThread) 2016-06-24 17:02:15 +02:00
mrexodia fc143a165a
DBG: compressed hex in TraceRecord (6mb -> 34kb for ntdll TraceRecord) 2016-06-24 08:41:33 +02:00
mrexodia 1bccca0669
DBG: xref analysis for RecursiveAnalysis (analyze single function) 2016-06-24 08:06:55 +02:00
mrexodia 969efaab4f
DBG+GUI: fixed compile error 2016-06-24 07:59:12 +02:00
mrexodia 11006848c4
DBG: fixed invalid CRT parameters 2016-06-24 07:56:39 +02:00
mrexodia 61fc985fc8
DBG: allow turning off skipping of exceptions by re-running the erun command 2016-06-24 07:40:08 +02:00
mrexodia 43319be9d6
DBG: more efficient ToCompressedHex function (emits bytes directly if repeated 1 or 2 times) 2016-06-24 07:10:46 +02:00
mrexodia ad7a680126
BRIDGE+DBG: fully support arguments (#536) 2016-06-24 05:51:14 +02:00
mrexodia 089a593405
GUI: resolved issues #761 and #731 (crashes) 2016-06-24 03:59:55 +02:00
mrexodia 2956b01962
DBG: various changes to the encodemap 2016-06-24 02:47:22 +02:00
mrexodia b7f6e42e83
DBG+GUI+PROJECT: updated to the latest capstone 2016-06-23 03:43:46 +02:00
Torusrxxx 16065a273e fix 2 issues (#788)
* fix now-broken trace record storage

* fix self-jumping appearance
2016-06-23 03:16:11 +02:00
mrexodia 72888177b3
DBG+GUI+BRIDGE: various fixes with regards to the disassembly view 2016-06-23 01:43:54 +02:00
mrexodia 89017073a6
DBG+BRIDGE+GUI: fixed various issues (thanks to Coverity!) 2016-06-23 00:20:02 +02:00
Mr. eXoDia c7ed20da1f DBG: fixed warnings 2016-06-22 18:27:34 +02:00
Mr. eXoDia fa2db57799 DBG: AStyle 2016-06-22 17:28:54 +02:00
Mr. eXoDia 5fc4d90d8b Merge branch 'patch-2' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-2
# Conflicts:
#	src/dbg/database.cpp
2016-06-22 17:28:31 +02:00
Mr. eXoDia c048e1db78 DBG+GUI: text files for error/exception codes instead of hardcoded in the source 2016-06-22 17:25:55 +02:00
Torusrxxx becf708133 Run to user code (#762)
* Run to user code

* Fix "access violation" error

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Fixed compiler warnings

* Run to user code

* Run to user code

* Run to user code

Please add an icon for it.

* Run to user code

* change the error message

* Run to user code

* Run to user code

* Update translation

* Update translation

* Enlarge the buffer size to 1KB

* Fix locking condition

* Fix race condition

* re-apply recent commits
2016-06-22 17:22:44 +02:00
Yun Wei 899a1c235c Data Instruction support (#758)
* Added data instruction support

* Fixed project file

* Add advanced analysis

* Add assembler, fixed various bugs

* Fixed various bugs, better float analysis

* Add project file

* Fixed follow menu display

* Added support for temp code list

* Fixed size for invalid instructions
2016-06-22 14:45:34 +02:00
Torusrxxx ce72c539c8 delete non-issue 2016-06-21 11:21:52 +00:00
Torusrxxx 3610fc0e59 plugin storage 2016-06-21 11:13:47 +00:00
Torusrxxx 794eba983e plugin storage 2016-06-21 11:10:13 +00:00
Torusrxxx 8f1f86360c plugin storage 2016-06-21 11:07:55 +00:00
Mr. eXoDia b3d71c2265 DBG: added inline format in various relevant places 2016-06-21 02:34:32 +02:00
Mr. eXoDia ab04fd7374 DBG: corrected some command locations 2016-06-20 22:48:31 +02:00
Mr. eXoDia b82a5d79ba DBG: allow loading of the CV record in download symbol command 2016-06-19 00:14:54 +02:00
Mr. eXoDia 19265d66c8 DBG: SafeSymGetOptions 2016-06-19 00:14:17 +02:00
Mr. eXoDia 338051bb27 DBG: ignore CodeView record in PE header (for performance/security reasons) 2016-06-19 00:13:18 +02:00
Torusrxxx f5c61a5fe4 Trace into/over beyond/into trace record (#756)
* replace map with hash map

* Fix the issue with trace record saving

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

and fix the issue that when a breakpoint is hit during tracing, trace would not be available.

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

* Trace record now sets the entire module

instead of a single page

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record
2016-06-17 16:25:04 +02:00
mrexodia ab0fff683e
DBG: changes to the way conditional tracing is handled 2016-06-15 05:25:30 +02:00
mrexodia 261e53e21e
DBG: caching for callstack (issue #750) 2016-06-15 05:23:41 +02:00
Torusrxxx 1e1b1f14a0 Debug events counter (#748)
* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter
2016-06-15 03:10:59 +02:00
Torusrxxx db6d4fbc73 Trace until condition (#749)
* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condtion

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition
2016-06-15 03:10:32 +02:00
mrexodia 4852bc786b
DBG: stricter number parsing in valfromstring 2016-06-13 09:21:39 +02:00
mrexodia ad23074c33
DBG: updated yara to the latest version with all the modules 2016-06-12 22:32:24 +02:00
mrexodia 3276d5b9f0
DBG: VEH/VCH/UnhandledExceptionFilter working (use exhandlers command) #489 2016-06-12 06:16:00 +02:00
mrexodia 233e260206
DBG: fixed a crash in plugins on CB_BREAKPOINT 2016-06-11 22:53:08 +02:00
mrexodia 5c10c9591d
DBG: added keystone (assembler) support 2016-06-11 19:53:49 +02:00
mrexodia 1418b0335d
DBG: AddrInfo + AddrInfoSerializer + AddrInfoHashMap 2016-06-09 17:22:29 +02:00
mrexodia e4920c72a8
DBG: fixed issue #731 2016-06-08 03:11:42 +02:00
mrexodia 137b3f3164
DBG: (probably) resolved issue #732 2016-06-08 02:48:32 +02:00
mrexodia 424c69bc54
DBG: added GetFileNameFromProcessHandle as fallback if CreateProcessInfo->hFile is NULL 2016-06-06 13:51:48 +02:00
mrexodia 8ef2234caa
DBG: (minimal) performance increase in FileHelper::ReadAllData 2016-06-06 11:21:09 +02:00
mrexodia 7830ec98e5
DBG+GUI: resolved issue #609 (fixed assert for UTF-8 characters) + updated translation 2016-06-05 03:16:02 +02:00
mrexodia 60034795e5
DBG: small performance optimizations 2016-06-04 20:24:34 +02:00
Yun Wei 36decf84e3 Added api to supress gui message + add set breakpoint on every command in reference view (#710)
* Added API to supress all gui repaint messages

* Added related command for scripts

* Added Set/Remove Breakpoints on all commands
2016-06-04 11:10:31 +02:00
yuxuanchiadm ac35b0d3ad DBG: fixed weird thread pause (#564) (#709) 2016-06-04 11:09:39 +02:00
mrexodia 42163fa5cd
DBG: resolved issue #711 (condition reverted) 2016-06-04 10:40:29 +02:00
mrexodia abe53d3492
DBG: fixed a bug with database storing on entries with empty modules 2016-06-03 18:35:47 +02:00
mrexodia ee3e030886
DBG+BRIDGE+GUI+LAUNCER: manually merged pull request #705 (thanks to @wynick27) 2016-06-03 14:47:57 +02:00
mrexodia 8c0d2102e8
DBG+GUI: having fun with some control flow analysis 2016-06-02 13:23:46 +02:00
mrexodia 1a13962806
PROJECT: fixed various bugs (thanks to Coverity!) 2016-06-02 11:22:47 +02:00
mrexodia cd0fe880da
DBG+GUI+PROJECT: switched to Qt 5.6.0 (check the wiki for an updated compile guide) 2016-06-02 09:46:54 +02:00
mrexodia 5a5f64e1e1
DBG: fixed warning in TraceRecord 2016-06-01 11:08:47 +02:00
mrexodia 5e01b34178
DBG: added SerializableTMap (less code duplication) 2016-06-01 11:07:49 +02:00
Torusrxxx 94129aa276 db corruption is greatly reduced (#688)
* DBG: db corruption rate is greatly reduced

* DBG: db corruption is greatly reduced

* Add a comment noting the longest IP address

* DBG: db corruption is greatly reduced
2016-06-01 08:26:08 +02:00
mrexodia cba29b0c08
DBG+GUI: resolved issue #470 (jump arrows for register instructions) 2016-05-31 07:44:28 +02:00
mrexodia da607528b1
DBG: resolved issue #661 (improved string search speed) 2016-05-31 05:57:56 +02:00
mrexodia 6f63009c77
DBG: fillbasicinfo option that disables string operations (for performance-critical applications) 2016-05-31 05:56:50 +02:00
mrexodia 6ed2a74a30
DBG: introduced MemReadUnsafe for performance-critical memory reads 2016-05-31 05:55:41 +02:00
mrexodia 17768853d9 DBG: various fixes with mnemonic help and brief + updated mnemdb 2016-05-29 20:32:03 +02:00
mrexodia 5b218f57ba DBG: fixed minor issues with mnemonichelp 2016-05-29 18:07:24 +02:00
mrexodia af7d328447 DBG: refactored Analysis code. 2016-05-29 07:11:11 +02:00
mrexodia 677a5a5f35 DBG+GUI: added AddrInfo format string in CPUArgumentWidget 2016-05-29 04:40:19 +02:00
mrexodia 714583f1c2 DBG+GUI: fixed various things with string detection (fixed #680 #530) 2016-05-29 04:05:34 +02:00
mrexodia a7d7332826 DBG: fixed some bugs with handles 2016-05-29 01:48:58 +02:00
mrexodia 5a1c6971c6 DBG: fixed weirdness in cbDisablePrivilege and cbEnablePrivilege 2016-05-29 01:02:01 +02:00
mrexodia ab1cf7b92c DBG+GUI+BRIDGE: rewrote handles + tcp connections view 2016-05-29 00:32:22 +02:00
mrexodia a92a2c10b7 DBG: fixed privilege stuff 2016-05-28 05:42:59 +02:00
genuine_ 9f3da84df6 fix for issue 673 (#674) 2016-05-28 01:43:33 +02:00
mrexodia 57c3279c3c DBG+GUI: fixed some stuff with HandlesView 2016-05-27 23:24:40 +02:00
mrexodia 1bff3d5f2f DBG: fixed runtime error 2016-05-27 23:11:12 +02:00
mrexodia a7f010f271 PROJECT: AStyle 2016-05-27 22:40:26 +02:00
Duncan Ogilvie 61eb6771f4 Merge pull request #668 from torusrxxx/patch-2
Handles view
2016-05-27 18:42:58 +02:00
Torusrxxx 98bafd4ab5 Handles view 2016-05-27 13:03:02 +00:00
Torusrxxx 7f5b493861 Handles view 2016-05-27 13:02:28 +00:00
Torusrxxx c90fab8f32 Privilege view 2016-05-27 13:01:34 +00:00
Torusrxxx 9acca56b4f Privilege view 2016-05-27 13:00:13 +00:00
Torusrxxx 3e02bb0d39 Privilege view 2016-05-27 12:59:00 +00:00
Torusrxxx 091010106f Handles view 2016-05-27 12:58:12 +00:00
Torusrxxx e1db418aca Privilege view 2016-05-27 12:56:28 +00:00
Torusrxxx 2835adc1c5 Handles view 2016-05-27 12:53:35 +00:00
glindor 0f37eaa058 Add Module name to Intermodule call list in GUI. Addresses issue #649 2016-05-26 17:59:28 -04:00
mrexodia d6ef3f10d8 PROJECT+DBG: fixed release.bat & fixed mnemonic help redirections 2016-05-25 17:29:05 +02:00
mrexodia 225d687192 DBG: resolved issue #664 (bug with relative symbol paths) 2016-05-25 16:57:17 +02:00
mrexodia 39f4175ba2 Merge branch 'patch-1' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-1
Conflicts:
	src/dbg/TraceRecord.cpp
	src/gui/Src/Gui/CPUDisassembly.h
2016-05-25 16:42:22 +02:00
mrexodia ffac42d16d Merge branch 'patch-1' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-1
Conflicts:
	src/dbg/_dbgfunctions.cpp
	src/dbg/_dbgfunctions.h
	src/dbg/threading.h
	src/dbg/x64_dbg_dbg.vcxproj.filters
	src/gui/Src/Gui/CPUDisassembly.cpp
	src/gui/Src/Gui/CPUDisassembly.h
2016-05-25 16:39:45 +02:00
Torusrxxx e436d17f13 DBG: finer performance in trace record 2016-05-25 14:28:14 +00:00
Torusrxxx c23b6e31f5 Change the code so they may be auto merged 2016-05-25 14:16:31 +00:00
Torusrxxx 41ab48a444 Change the code so they may be auto merged 2016-05-25 14:15:48 +00:00
Torusrxxx acfc82630d DBG: Fixed crashing 2016-05-25 14:06:22 +00:00
mrexodia 1541f84867 DBG: added mnemonichelp and mnemonicbrief commands + export 2016-05-25 15:57:03 +02:00
Torusrxxx 2359e6a6ed DBG: fixed compile error on 32bit target 2016-05-25 13:38:06 +00:00
Torusrxxx 5e6ace7497 DBG: fixed compile error on 32bit target 2016-05-25 13:37:24 +00:00
Torusrxxx 7f938a06f8 Trace record
#654
2016-05-25 12:21:14 +00:00