1
0
Fork 0
Commit Graph

661 Commits

Author SHA1 Message Date
mrexodia 626728d08f
GUI: partially reverted performance breaking change 2016-09-10 14:10:48 +02:00
mrexodia be3520f383
DBG: separate directory for memory dumps 2016-09-10 14:00:56 +02:00
mrexodia 67d8b296a4
DBG: fixed warnings and weird strings 2016-09-10 13:48:37 +02:00
mrexodia ddd229302f
DBG: option to not call SetForegroundWindow 2016-09-10 12:40:11 +02:00
Torusrxxx 9288c910cb conditional exception breakpoint (#1073)
* temporary

* Exception breakpoints

* temporary

* temporary

* temporary

* fixes

* fully retire "error"
2016-09-10 07:43:34 +02:00
mrexodia ac0853ffec
DBG: don't attempt to wait when the command failed 2016-09-09 19:38:15 +02:00
mrexodia cb021e420a
DBG: fixed Script DLLs 2016-09-09 18:33:28 +02:00
mrexodia 12cff2b811
GUI: code recuction + intelligent following of addresses 2016-09-09 09:31:29 +02:00
mrexodia d746983ac2
DBG: memmapdump command 2016-09-09 08:50:12 +02:00
mrexodia d533223312
DBG: also show thread id when the thread has a name 2016-09-09 08:49:58 +02:00
mrexodia b1b1e01124
DBG: better initialization messages 2016-09-09 07:33:44 +02:00
mrexodia d1ae94e1c4
DBG: fixed issue #1066 (breakpoint hang) 2016-09-09 06:56:25 +02:00
Torusrxxx 33226fa801 asynchronize initialization script (#1063) 2016-09-08 16:55:05 +02:00
mrexodia 3ec4769040
DBG: use less GetPE32DataW 2016-09-08 13:01:59 +02:00
mrexodia 2281e46588
DBG: thread potentially slow file system operations in dbginit 2016-09-07 15:58:12 +02:00
mrexodia 5ff22566ba
DBG: fixed animation + updated translations 2016-09-07 15:36:13 +02:00
mrexodia 2d50c10dbd
DBG: fixed weird row counts in reference view 2016-09-07 15:36:12 +02:00
mrexodia ac5b76ed44
DBG: dont allow absolute symbols 2016-09-07 15:36:12 +02:00
mrexodia 7daeea750d
DBG: dq alias for DataQword 2016-09-07 13:38:07 +02:00
mrexodia 4f78001ae1
DBG: commands for marking data 2016-09-07 13:06:25 +02:00
mrexodia d4e25474d2
DBG: allow ignoring inconsistent breakpoints #463 2016-09-07 09:08:38 +02:00
mrexodia a7dca613f9
DBG: spam TerminateProcess if the debuggee didn't terminate after 300 ms in StopDebug 2016-09-07 08:53:40 +02:00
mrexodia 7030827067
fs/gs segment support in DbgGetBranchDestination #929 2016-09-07 08:45:14 +02:00
mrexodia b1130e5850
DBG: added dis.issmem expression function 2016-09-07 08:33:37 +02:00
mrexodia e7d09811e5
DBG: initial work for symbol cache 2016-09-07 08:06:27 +02:00
mrexodia 82316efa4e
DBG: one less export from dbghelp 2016-09-07 07:56:14 +02:00
mrexodia 64a10f48b5
DBG: fixed issue #1052 (deadlock on aborting script) 2016-09-07 06:47:53 +02:00
mrexodia afb646140f
DBG: removed potentially dangerous SHARED_RELEASE statements 2016-09-07 06:47:26 +02:00
mrexodia 3165b78af0
DBG: fixed incorrect efree in command 2016-09-07 06:46:58 +02:00
mrexodia b1d55acb9e
DBG+GUI+PROJECT: added asmjit assembler engine 2016-09-07 05:39:18 +02:00
mrexodia 501553b8e6
DBG: reduced code of GetTickCount expression function 2016-09-06 13:19:44 +02:00
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