1
0
Fork 0
Commit Graph

3258 Commits

Author SHA1 Message Date
Duncan Ogilvie 296091f6dd
Merge pull request #2762 from ZehMatt/refactor-warnings
Fix some warnings
2021-10-15 10:00:16 +02:00
Duncan Ogilvie 4af034a3e7
Merge pull request #2760 from torusrxxx/patch000000c9
Fixed a bug that overwrites last character of DBCS string with NUL
2021-10-14 21:49:33 +02:00
ζeh Matt 9fe339b902
Fix some warnings 2021-10-14 17:46:23 +03:00
torusrxxx a2459f64ab
Fixed a bug that overwrites last character of DBCS string with NUL 2021-10-14 18:15:33 +08:00
Duncan Ogilvie 4da46324a6
Merge pull request #2758 from ZehMatt/refactor-memupdate
Split MemUpdateMap into smaller functions
2021-10-14 11:34:23 +02:00
ZehMatt 5f0afc0845
Split MemUpdateMap into smaller functions 2021-10-13 22:01:16 +03:00
CaledoniaProject 560449a7e8
Enable SeDebugName privilege by default 2021-10-12 14:49:01 +08:00
Duncan Ogilvie 379e8da30d
Merge pull request #2730 from torusrxxx/patch000000c5
More detailed description of menu actions in status bar
2021-10-11 10:19:24 +02:00
Duncan Ogilvie 555c3912f8
Merge pull request #2744 from torusrxxx/patch000000c8
set default log and command conditions
2021-10-05 00:03:51 +02:00
Duncan Ogilvie cb045065d9
Merge pull request #2740 from yunzheng/comment-label-formatfunction
DBG: add comment and label format functions
2021-10-05 00:03:24 +02:00
Duncan Ogilvie e962fa15fa
Merge pull request #2717 from thejanit0r/patch-4
Added optional flag to enable the alternative memory breakpoint (PAGE_NOACCESS)
2021-10-05 00:02:53 +02:00
Yun Zheng Hu fe77dbb6db DBG: AStyle formatfunctions.cpp 2021-10-02 20:07:28 +02:00
torusrxxx 407a038b9a
Add more complete menu action documentation to main window 2021-10-02 17:27:05 +08:00
torusrxxx 220ba9a7d1
set default log and command conditions 2021-10-01 17:46:26 +08:00
torusrxxx 36a7fba118
don't copy html if more than 2048 lines are selected 2021-10-01 17:24:31 +08:00
Yun Zheng Hu bf7a9d2f32 DBG: add comment and label format functions 2021-09-28 13:42:58 +02:00
torusrxxx 61507831bb
Add more tool tips to main window 2021-09-20 12:10:54 +08:00
torusrxxx 81a761417b
Remove Qt 5.9 function 2021-09-14 17:58:31 +08:00
torusrxxx cc34d7c42f
Preview the assembled bytes in assemble dialog 2021-09-14 17:23:03 +08:00
Duncan Ogilvie 969e36ff5b
Merge pull request #2722 from Mattiwatti/dont-delete-default-except-filter
Don't delete 'unknown exceptions' filter in settings dialog
2021-09-13 13:33:56 +02:00
torusrxxx b31cf786cb
Remove Incr/Decr/Incr 8/Decr 8/Set 1/Zero/Push/Pop menu actions because they are used less frequently 2021-09-13 18:05:59 +08:00
torusrxxx 51d92b3b56
More detailed description of menu actions in status bar + about Qt 2021-09-13 17:25:33 +08:00
torusrxxx 19811d0357
Clean up copy menu that is already added by the list view itself 2021-09-12 12:21:12 +08:00
torusrxxx f55c0158f7
Merge branch 'development' into patch000000c4 2021-09-12 11:33:33 +08:00
Matthijs Lavrijsen fcc45e2c47
Fix off-by-one that allowed deleting the unknown exception filter
Reference (maybe): #2708
2021-09-07 00:42:55 +02:00
the_janitor 02f8f2c7da Added optional flag to enable the alternative memory breakpoint (PAGE_NOACCESS) 2021-09-02 03:19:07 +02:00
the_janitor e14aa41768 Moved the location of CB_STOPPINGDEBUG to the end of the enum 2021-08-21 03:01:48 +02:00
the_janitor 60e0224155 Added CB_STOPPINGDEBUG plugin callback in order to let pluginsperform clean-up 2021-08-17 14:03:40 +02:00
morsisko f73d44c0e4 DBG: Changed comment near symfollow 2021-07-31 23:59:15 +02:00
morsisko ec4de7d364 GUI: Added Follow in Symbols to the context menu in memory maptab 2021-07-31 23:56:29 +02:00
morsisko b5e1c4bbee GUI: Refactor in CPUDisassembly.cpp, so it doesn't set focus to symbols tab twice 2021-07-31 22:42:50 +02:00
morsisko 5e6e503185 GUI: Added command to follow address in symbols tab 2021-07-31 19:36:30 +02:00
morsisko b3f699d207 DBG: Fixed crash when comment longer than 512 characters 2021-07-28 22:29:58 +02:00
Duncan Ogilvie 48986ff3d3
Merge pull request #2694 from torusrxxx/patch000000c3
Add shortcuts in Goto dialog
2021-07-26 20:31:12 +02:00
Duncan Ogilvie 2a34dd14c9
Merge pull request #2695 from ZehMatt/templabel
Add temporary label support for scripting
2021-07-25 22:01:58 +02:00
Duncan Ogilvie bc013ccc9d
Merge pull request #2697 from ZehMatt/fix-scriptapi-getlabelinfo
Fix Script::Label::GetInfo never returning anything
2021-07-20 22:43:41 +02:00
Duncan Ogilvie 68e676de2b
Merge pull request #2685 from torusrxxx/patch000000c1
Allow the user to change the font size with Ctrl and mouse wheel
2021-07-19 22:46:11 +02:00
Duncan Ogilvie 02068e0935
Merge pull request #2690 from morsisko/dump_modify_dialog_fix
MemoyDump - "modify" dialog fix
2021-07-19 22:44:32 +02:00
ZehMatt 2179aa1467
Fix Script::Label::GetInfo never returning anything 2021-07-19 21:42:33 +03:00
ZehMatt c85d52b0d6
Add temporary label support for scripting 2021-07-19 18:36:11 +03:00
torusrxxx 932666671b
Don't clear filter on list refresh (#2317)+ fix icon table text overflow 2021-07-19 20:54:42 +08:00
torusrxxx 5405088ad9
Add shortcuts in Goto dialog 2021-07-19 20:45:21 +08:00
morsisko df70ef868b GUI: Changed types in WordEditDialog 2021-07-18 21:32:39 +02:00
morsisko 2b67312331 GUI: Fixed displaying signed/unsigned values of size other than duint, partially fixes #2665 2021-07-18 20:34:15 +02:00
morsisko cd30562222 GUI: Added function that allows conversion to dword string 2021-07-18 20:32:37 +02:00
torusrxxx 78398ea26c
Add copy menu to ScriptView 2021-07-18 17:02:54 +08:00
torusrxxx c705f84f86
Add support for mouse with horizontal scrolling capability 2021-07-14 20:28:51 +08:00
torusrxxx 1aa5027ccf
CTRL+wheel to resize fonts 2021-07-14 20:13:57 +08:00
ZehMatt 31bec6102a
Fix expressions not passing correct arguments 2021-07-09 20:45:27 +03:00
CaledoniaProject 0ef3b52f99
Update SettingsDialog.ui
Use the same title "Preferences" as in the main window menu
2021-07-04 08:37:09 +08:00
Duncan Ogilvie 774db10fb3 Include the size in the selection->end of the memory map 2021-07-01 22:59:13 +02:00
Duncan Ogilvie 65625d9de5 Return zero instead of an undefined value when using Script::Memory::ReadXXX on an invalid address 2021-07-01 13:32:43 +02:00
Duncan Ogilvie bb6959843d Support start/end selection in memory map for plugins 2021-06-29 23:48:28 +02:00
Duncan Ogilvie da085fe84f Attempt to fix a potential deadlock in rare conditions while unloading plugins 2021-06-29 23:19:12 +02:00
Duncan Ogilvie a0ec113979 Simplify and improve process creation handling
Delays the CB_CREATEPROCESS callback until after the main thread is created
2021-06-14 16:26:32 +02:00
Duncan Ogilvie e0ed301085
Merge pull request #2661 from torusrxxx/patch000000bf
Break when there is an error in conditional breakpoint or tracing
2021-06-12 12:04:39 +02:00
the_janitor 71ee2aa12d hActiveThread is now being updated in cbDebugEvent (Issue #2663) 2021-06-12 06:37:58 +02:00
torusrxxx c1b9464884
Allow the user to cancel reloading plugin 2021-05-11 18:32:27 +08:00
torusrxxx fc59b0919b
Break when there is an error in conditional breakpoint or tracing 2021-05-11 18:20:47 +08:00
Duncan Ogilvie 2ed439677e Show ordinal names in the undecorated symbol column
Thanks to @dmex for the suggestion
2021-05-08 14:06:57 +02:00
torusrxxx a96e88b7c6
Fix QMetaObject::connectSlotsByName: No matching signal for on_txtAscii_clicked() 2021-04-18 10:47:35 +08:00
morsisko 600b195457 GUI: Disabled possibilty to sort content in call stack tab, fixed #2637 2021-04-17 16:20:19 +02:00
Layle f5e51a665c Implement NT status codes for EAX 2021-04-16 13:03:58 +02:00
Duncan Ogilvie a896e3e16c
Merge pull request #2619 from eltociear/patch-1
Fix typo in TraceBrowser.cpp
2021-04-16 10:43:01 +02:00
Duncan Ogilvie 236dd4fa5a
Merge pull request #2631 from Yakov5776/development
Add an Option to hide seasonal icons
2021-04-16 10:42:10 +02:00
Duncan Ogilvie 193f46bee8
Merge pull request #2641 from torusrxxx/patch000000bd
Correct mask register display for "vaddps zmm1{k2},zmm2,zmm3"
2021-04-16 10:40:52 +02:00
Duncan Ogilvie d084dc48a5
Merge pull request #2627 from torusrxxx/patch000000bb
UI improvements
2021-04-16 10:39:36 +02:00
torusrxxx ce3269b931
Correct mask register display for "vaddps zmm1{k2},zmm2,zmm3" 2021-04-14 11:14:43 +08:00
torusrxxx 99822d832b Add copy menu to trace info box 2021-04-13 21:45:56 +02:00
torusrxxx 2ca68df4a0
Add module name to import symbols 2021-04-10 18:25:13 +08:00
Yakov5776 75d70b545b Only show checkbox when seasonal 2021-04-06 14:52:26 -04:00
Yakov5776 ad208cdf31 Add isSeasonal() 2021-04-06 14:49:11 -04:00
Yakov5776 cbb4269488 Move position of setChecked 2021-04-06 14:34:27 -04:00
Yakov5776 49bfc2f37f Fix Name 2021-04-05 19:43:45 -04:00
Yakov5776 7331e3b1aa Register checkbox events 2021-04-05 19:15:14 -04:00
Yakov5776 2f3f4b20a6 Add an Option to hide seasonal icons 2021-04-05 18:51:44 -04:00
Duncan Ogilvie 654f1195b3 DBG: Fix a minor correctness issue in the utf8 and utf16 expression functions 2021-04-05 01:52:12 +02:00
Duncan Ogilvie d6d3b740e2 GUI: Fix hex byte stream implementation in the HexEditDialog 2021-04-05 01:51:50 +02:00
torusrxxx 997072a9f6
Add splitter to patch dialog 2021-04-04 14:02:45 +08:00
torusrxxx 6216125222
Hide sidebar area in graph mode 2021-04-04 13:42:26 +08:00
torusrxxx 7810eb369c
Apply action to entire selection (SymbolsView) 2021-04-04 13:18:47 +08:00
torusrxxx eb2a20a359
don't use uint8_t (???) 2021-04-01 23:05:20 +08:00
torusrxxx 9546ce84f3
add imports.h 2021-03-31 21:47:04 +08:00
torusrxxx 9266ece108
increase output precision for FPU register in info box 2021-03-31 20:51:49 +08:00
torusrxxx a0ca41465e
enhance the FPU support for trace info box and trace registers view 2021-03-31 20:43:47 +08:00
torusrxxx af3c415f22
Allow registers to be resized smaller & use default scrollbar style 2021-03-28 20:56:48 +08:00
Ikko Ashimine 562f16b8ed
Fix typo in TraceBrowser.cpp
occured -> occurred
2021-03-28 15:36:54 +09:00
Duncan Ogilvie c12eb532c7
Merge pull request #2430 from xenocidewiki/exprfunc
New system for expression functions
2021-03-24 22:42:00 +01:00
xenocidewiki dceea084c2 Added support for any value types and done some improvements 2021-03-24 21:07:27 +00:00
xenocidewiki 91a1b9d766 Add check to not evaluate expressions that don't make sense 2021-03-23 23:46:21 +00:00
Duncan Ogilvie b0271eb268 DBG: Add kusd() expression function 2021-03-23 19:06:51 +01:00
Duncan Ogilvie d6c168c25e Implement type-safe expression functions 2021-03-21 02:51:48 +01:00
xenocidewiki 3ab89502cd DBG: New expression function plugin system, string support 2021-03-20 23:46:41 +00:00
Ikko Ashimine bde926e5a9
LAUNCHER: fix typo in x64dbg_launcher.cpp
occured -> occurred
2021-03-20 16:22:55 +09:00
Yakov5776 19069dcff8
Add Icon to themes + Dark TitleBar (#2611)
* Add Icon to themes

* Fix formatting

* Dark Titlebar Test

* Fix Formatting

* Hopefully fixed errors

* Test Dark-Mode

* Potentially fix issue

* Try linking library

* Test Dark-Mode (Round 2)

* Fix Formatting

* Test Dark-Mode (Round 3)

* Working Dark Titlebar

* Fixed Icon on toolbar

* Exclude .vscode/ Directory

* Dark Mode Config: Bool -> Int

* Made error not sound backwards

* Some updates to dark title bar

* Fix crash in 32-bit

* Get Windows 10 NtBuildNumber from KUSER_SHARED_DATA instead

* Add hack that fixed the redrawing issue

Co-authored-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
2021-03-19 16:47:35 +01:00
Duncan Ogilvie 4feff86822
Merge pull request #2610 from torusrxxx/patch000000b8
Add copy menu actions to trace register view
2021-03-19 10:35:47 +01:00
Duncan Ogilvie 11faa462dd Fix compilation with Qt 5.6 2021-03-18 20:01:31 +01:00
Matthijs Lavrijsen 6092acd0d0
DBG: clear history before exit breakpoint 2021-03-18 16:49:01 +01:00
Duncan Ogilvie d5e265a501 Fix a race condition when spamming restarts 2021-03-16 01:09:45 +01:00
Yakov5776 64d808e07c
Allow Option for assembling Instruction on Double Click (#2607)
* Add option to preferences

* Added Events for CheckBox

* Added to Header file

* Add Check

* Fix formatting

* Fixed CPUDisassembly.cpp

* Update CPUDisassembly.cpp

* Update CPUDisassembly.cpp

* Simplified and fixed undeclared variable for duint

* Fixed Errors (hopefully)
2021-03-12 02:03:12 +01:00
torusrxxx 0a4cab2d68
remove some leftover and unused code 2021-03-09 20:52:24 +08:00
torusrxxx e0480df932
Add copy menu actions to trace register view 2021-03-09 20:48:06 +08:00
Matthijs Lavrijsen 0c81a126ca
DBG: move NtTerminateProcess event from a bp to exit process callback 2021-02-04 05:08:43 +01:00
Matthijs Lavrijsen 6ab2ba2c40
GUI: rename 'NtTerminateProcess' event to 'Exit Breakpoint' 2021-02-04 04:54:51 +01:00
Duncan Ogilvie b7e50aa3a2
Merge pull request #2586 from Mattiwatti/exception-filters
Make Exceptions Great Again
2021-02-02 17:29:44 +01:00
Duncan Ogilvie b8b677d654
Merge pull request #2566 from torusrxxx/patch000000b7
Database actions in the file menu, and recover database backup
2021-02-02 17:29:24 +01:00
Duncan Ogilvie 265574c670
Merge pull request #2587 from Mattiwatti/pdb-use-pointertorawdata
Use PointerToRawData in debug directory if no RVA is present
2021-02-02 17:28:33 +01:00
Duncan Ogilvie 53dc8d9659
Merge pull request #2567 from torusrxxx/patch000000b6
Create/Open system breakpoint script
2021-02-02 17:27:32 +01:00
Matthijs Lavrijsen f49835b3bf
DBG: use PointerToRawData in debug directory if no RVA is present 2021-01-31 00:49:46 +01:00
Matthijs Lavrijsen 515c08823e
GUI: add human readable names to exceptions tab 2021-01-29 11:34:11 +01:00
Matthijs Lavrijsen 93794bf8cf
DBG: add more fine-grained exception filtering settings 2021-01-29 11:33:29 +01:00
Matthijs Lavrijsen 29205263b5
GUI: update exceptions tab in preferences view
- Add per-exception(-range) settings to determine if and when to break, whether to log and whether the exception should be passed to the debuggee
- Add 'unknown exceptions' item to the exception filters list
2021-01-29 11:32:20 +01:00
torusrxxx c1f51a31bc
Add symbols in function list when no label 2021-01-20 17:14:02 +08:00
Duncan Ogilvie 1cf9e5d167
Merge pull request #2571 from torusrxxx/patch000000b8
Hopefully fix #2570
2021-01-14 13:04:31 +01:00
torusrxxx 11c8f7e02a
Fix GUI exceptions with massive traceexecute 2021-01-08 22:28:59 +08:00
torusrxxx 400964e876
Merge branch 'development' into patch000000b9 2021-01-08 20:26:43 +08:00
Duncan Ogilvie 3a339698a5
Merge pull request #2556 from torusrxxx/patch000000b2
Run to selection+breakpoint in call stack view
2021-01-08 02:33:32 +01:00
torusrxxx cbc2d4b677
Add remove hardware to debug registers 2021-01-06 12:40:46 +08:00
torusrxxx 4dfeca4078
Fix bugs with singleshoot breakpoints 2021-01-05 23:27:13 +08:00
torusrxxx e7edb6ad34
small fix in TraceFileSearchFuncReturn 2021-01-05 18:06:13 +08:00
torusrxxx 7adea4d975
Go to function return in trace view 2021-01-05 18:03:09 +08:00
torusrxxx bc37438cc3
Fix Qt 5.6 2021-01-04 20:51:41 +08:00
torusrxxx 9fb5641b7e
Hopefully fix #2570 2021-01-04 20:33:45 +08:00
torusrxxx 178482bf85
Database actions in the file menu, and recover database backup 2020-12-30 20:18:33 +08:00
torusrxxx 83db837b66
Create/Open system breakpoint script 2020-12-30 17:27:28 +08:00
Duncan Ogilvie 4a924d320a
Merge pull request #2555 from torusrxxx/patch000000b1
Fix transparent favourite toolbar hovering over the File menu
2020-12-29 21:20:02 +01:00
Duncan Ogilvie 23c2ce68bf
Merge pull request #2557 from torusrxxx/patch000000b3
Add column titles for disassembly for use in CSV exports
2020-12-29 21:16:58 +01:00
torusrxxx 382d452ec0
Set the follow in disassembler shortcut in graph to G 2020-12-29 22:05:46 +08:00
torusrxxx 039ae2b817
Add column titles for disassembly for use in CSV exports 2020-12-24 21:16:32 +08:00
torusrxxx 8235ffe6a2
Run to selection+Breakpoint in call stack view 2020-12-24 21:06:19 +08:00
torusrxxx 42f9370076 Merge branch 'newcallview' of https://github.com/morsisko/x64dbg into patch000000b2 2020-12-24 18:59:48 +08:00
torusrxxx 558370d1ba
Fix transparent favourite toolbar hovering over the File menu 2020-12-24 18:55:19 +08:00
torusrxxx 9fe6a9c164
Fixing handles crash 2020-12-22 19:44:16 +08:00
torusrxxx f4dcd19d31
Fix translation project 2020-12-16 11:52:09 +08:00
Duncan Ogilvie c7fc8ff920 Implement underlining of the stack location you select in the disassembly 2020-12-15 23:15:22 +01:00
Duncan Ogilvie 69c67f2456 Merge branch 'patch000000ac' into development
# Conflicts:
#	src/gui/Src/Gui/CPUDisassembly.cpp
#	src/gui/Src/Gui/CPUDisassembly.h
#	src/gui/Src/Gui/CPUStack.h
#	src/gui/Src/Gui/DisassemblerGraphView.h
#	src/gui/Src/Tracer/TraceBrowser.cpp
#	src/gui/Src/Tracer/TraceBrowser.h
#	src/gui/Src/Utils/CommonActions.cpp
#	src/gui/Src/Utils/CommonActions.h
2020-12-15 20:47:12 +01:00
Duncan Ogilvie 25fdec4aae Rename the confusing menu option 'Delete' to 'Close' in the custom tab bar 2020-12-15 18:45:54 +01:00
morsisko b8db2b23e7 DBG: Fixed issue mentioned in comment to #2310 - force value refresh after watch expression change 2020-12-15 17:39:05 +01:00
morsisko 4d14fffc2f GUI: Fix issue: editing expression using GUI changes the watch type back to uint 2020-12-15 17:39:05 +01:00
morsisko 0b603814a1 GUI: Added column enum to watch view 2020-12-15 17:39:05 +01:00
torusrxxx 89fa008726 Added process name to PID 2020-12-15 17:34:48 +01:00
torusrxxx 427514e583 display thread name for debuggee threads in handles view 2020-12-15 17:34:48 +01:00
torusrxxx d6bbca12c0 Display both labels and comments for functions and bookmarks list 2020-12-15 17:33:32 +01:00
torusrxxx 9eb41803d8 Fixed more windows when using ultra large font 2020-12-15 17:33:15 +01:00
torusrxxx 58156c14bc Don't focus on graph view in silent mode (#2537) 2020-12-15 17:32:53 +01:00
torusrxxx b25636bc87 Allow animation interval greater than 100ms 2020-12-15 17:32:53 +01:00
Duncan Ogilvie 991daa005c Fix an issue with SizeOfImage not being page aligned in memory map 2020-12-14 15:21:00 +01:00
torusrxxx 0d9a76fb04 Fix appearance, assemble and close dialog when using ultra large font 2020-12-06 20:27:26 +01:00
LFriede 8b024cb171 Link color themeable 2020-12-06 20:17:08 +01:00
Duncan Ogilvie d19ee35db0 Remove some commented out code left from refactoring 2020-12-06 20:14:54 +01:00
Duncan Ogilvie 24a3d2af27 Fix compilation on VS2013 2020-12-06 19:40:48 +01:00
morsisko ffba0d5111 GUI: Highlighting the current thread in call stack view 2020-12-03 14:23:36 +01:00
morsisko 57eeb091be GUI: Draw the current thread call stack at the top of the table 2020-12-02 23:46:29 +01:00
morsisko 9f0a1c4800 GUI: Changed Thread Number to Thread ID in callstack view 2020-12-02 21:06:09 +01:00
Duncan Ogilvie 2e59dacaae AStyle 2020-12-01 22:01:54 +01:00
torusrxxx ec26c1adaa Restore the order of menu actions in disassembly 2020-12-01 22:00:56 +01:00
torusrxxx 9bc401fa09 Follow in Dump N + Graph 2020-12-01 22:00:56 +01:00
torusrxxx bfd898f007 Rescope the branch to focus on single address actions 2020-12-01 22:00:55 +01:00
torusrxxx 63f3a9801c Add more actions 2020-12-01 22:00:55 +01:00
torusrxxx cc63a2b59f Add more actions to CommonActions 2020-12-01 22:00:55 +01:00
torusrxxx 79af7e656d Replace BreakpointMenu with CommonActions, which now handles more commands 2020-12-01 22:00:55 +01:00
cnsheds 7b5eb42b40 fix writeUints bug 2020-12-01 16:18:50 +01:00
torusrxxx 4908259454
Load memory from file (a new command should be added next) 2020-11-28 22:08:06 +08:00
torusrxxx a1df9922e3
Auto follow operand in stack 2020-11-28 21:47:39 +08:00
torusrxxx d2f426f9de
Restore the order of menu actions in disassembly 2020-11-20 20:11:56 +08:00
torusrxxx 9e901cd8eb
Follow in Dump N + Graph 2020-11-20 18:26:20 +08:00
torusrxxx 72c958754d
Rescope the branch to focus on single address actions 2020-11-20 16:09:52 +08:00
torusrxxx 4475af2513
Merge branch 'development' into patch000000a7 2020-11-14 17:51:32 +08:00
Duncan Ogilvie 0ea4857d71 Fix transparancy in the StdIconTable 2020-11-12 04:34:07 +01:00
Duncan Ogilvie a510dfb444 Remove the attach breakpoint functionality 2020-11-12 03:32:59 +01:00
Duncan Ogilvie c69ab584fe Fix compilation for 32-bit 2020-11-12 03:31:37 +01:00
Duncan Ogilvie c3bdb07ab6 Fix a bug where the CB_BREAKPOINT info can be wrong for certain hardware breakpoints 2020-11-12 03:14:05 +01:00
Duncan Ogilvie d7439b7465 Significantly simplify detaching 2020-11-12 03:12:05 +01:00
Duncan Ogilvie dc0cbd9dc2 Fix a race condition when attaching as JIT debugger 2020-11-12 01:45:35 +01:00
Duncan Ogilvie 9a177f94ed Update lastExceptionInfo on breakpoints 2020-11-12 01:10:47 +01:00
Duncan Ogilvie dad16543c3 Stop offering GleeBug for beta testing, users can switch from the settings if they want 2020-11-11 23:40:31 +01:00
Duncan Ogilvie a49d32cca8 Add undocumented LabelRuntimeFunctions command 2020-11-11 23:38:58 +01:00
Duncan Ogilvie 9f9b1ba1c0 Fix typo (thanks to @justanotheranonymoususer) 2020-11-05 15:15:31 +01:00
Duncan Ogilvie ad4308fc53 Add helpful placeholder in command dialog 2020-11-05 02:39:22 +01:00
Layle | Luca 156fe7cd2e
Fix flag setting when flag is already set (#2505)
* Fix flag setting when flag is already set

* Simplify flag setting
2020-11-03 15:25:42 +01:00
Duncan Ogilvie b16d806e12 Minor style improvement 2020-10-31 19:43:33 +01:00
Duncan Ogilvie 362920c2c9 Do not set NtTerminateProcess breakpoint per default 2020-10-31 19:43:33 +01:00
torusrxxx 1e1809bb02 Add separate event settings for system module;Add debug engine selection 2020-10-31 19:43:33 +01:00
Duncan Ogilvie 21cadcc5af Refactor Configuration.cpp to improve performance and code quality 2020-10-31 19:07:12 +01:00
Duncan Ogilvie 9441b50e92 Emergency patch 2020-10-31 18:16:33 +01:00
Duncan Ogilvie 683e16fcdf Various attempts at improving startup performance 2020-10-31 13:42:04 +01:00
Duncan Ogilvie 9b40810902 Remove Show ASCII/Unicode in address dump mode option
closes #2498
2020-10-31 13:42:01 +01:00
Duncan Ogilvie 1d10dc549e Do not load symbols when getting syscall indices 2020-10-31 13:28:44 +01:00
Duncan Ogilvie bffbec6932 AStyle formatting 2020-10-30 22:11:27 +01:00
cw2k 2f316fd476 AppearanceDialog List entries reordered
Added and applied the following guide lines for ordering the list entries in a more logical order: 
1. Most visual and common first 
    So mostly that'll be "Background" (most visual)
    followed by "Selection" and "Text" (most common)
2. others are sorted by common read direction (Top to down / left to right)
    Example: "Header Text", "Addresses", "Text",...
2020-10-30 22:11:27 +01:00
cw2k 844ff895cf Appearance: changed order of entries in SideBar
Config/__Appearance dialog__ changed order of entries to be more logic
* SideBarJumps forward/backward are underneath 
* SideBarBackgroundColor at the top
2020-10-30 22:11:27 +01:00
morsisko d9c392d518 GUI: Enhancement editing expression in watch view #2308 2020-10-30 21:03:03 +01:00
Duncan Ogilvie d422af7dd4 Fix more options in the ThreadView when decimal tid is enabled 2020-10-30 20:56:30 +01:00
Duncan Ogilvie c5fc4a531a Allow Ctrl+MiddleButton to copy RVA 2020-10-30 20:56:30 +01:00
Duncan Ogilvie d74095770c Fix a crash in _dbg_addrinfoget
Thanks to @JustasMasiulis for reporting!
2020-10-30 20:56:30 +01:00
torusrxxx 5ac31bfe96 fixed GuiShowCpu() switching graph mode 2020-10-30 20:49:27 +01:00
Layle 84c50b1fe9 Implemented non Windows 10 syscalls 2020-10-29 00:18:41 +01:00
Duncan Ogilvie 8ef53a1931 Parse syscall indices and display the Nt function name in the comments 2020-10-29 00:18:41 +01:00
morsisko a5f7196c27 DBG: Fixed call stack generation for 64bit processes as in #2490 2020-10-27 17:01:24 +01:00
morsisko a73b4273cd GUI: Added possibility to change watch type from gui, kinda fixed #2309 2020-10-27 16:27:31 +01:00
morsisko 495205790e GUI: Added slots for changing watch type 2020-10-27 16:27:31 +01:00
morsisko c84f198539 DBG: Added new command SetWatchType 2020-10-27 16:27:31 +01:00
Private d9fcf82f2e Update stackinfo.cpp
In some cases, the call stack information for a 64-bit process cannot be obtained correctly.
reference: https://docs.microsoft.com/en-us/windows/win32/api/dbghelp/ns-dbghelp-stackframe

AddrFrame

An ADDRESS64 structure that specifies the frame pointer.

x86:  The frame pointer is EBP.

Intel Itanium:  There is no frame pointer, but AddrBStore is used.

x64:  The frame pointer is RBP or RDI. This value is not always used.
2020-10-27 16:25:34 +01:00
morsisko 8f3119ecba GUI: Changed call stack context menu when called on space line 2020-10-23 16:54:42 +02:00
morsisko d39b8211de GUI: Implemented custom callstack view paint function #2341 2020-10-23 16:54:41 +02:00
morsisko b48b068976 GUI: Added call stacks of multiple threads to callstack tab 2020-10-23 16:54:41 +02:00
morsisko 9311752b74 GUI: Added new function GetCallStackByThread 2020-10-23 16:54:41 +02:00
morsisko f6c0faf201 Added enum to CallStackView 2020-10-23 16:54:41 +02:00
torusrxxx 4430052828
Add more actions 2020-10-20 21:41:58 +08:00
torusrxxx 4a31c33de8
Add more actions to CommonActions 2020-10-20 17:26:38 +08:00
torusrxxx aeee6b4277
Merge branch 'development' into patch000000a7 2020-10-20 15:44:07 +08:00
torusrxxx 01f5afc778 Fix string detection 2020-10-19 22:47:21 +02:00
Duncan Ogilvie f9a038e566 Fix compilation errors 2020-10-19 22:40:56 +02:00
torusrxxx 8769690684
Replace BreakpointMenu with CommonActions, which now handles more commands 2020-10-19 12:11:09 +08:00
Duncan Ogilvie 5d0f5da46c Fix some context menus in the ThreadView when tid is decimal
Thanks @JustMagic for the find
2020-10-11 20:57:35 +02:00
Duncan Ogilvie 306449fa6b Implement DebugFlags command 2020-10-11 20:57:09 +02:00
Duncan Ogilvie dcdd154a64 AStyle 2020-10-02 23:04:45 +02:00
torusrxxx ce2d9f1b67 Fix a bug when removing all favtools and then add 1 favtool old tools appear, save toolbar position 2020-10-02 23:04:45 +02:00
torusrxxx 3207b38f4b Favourite toolbar 2020-10-02 23:04:45 +02:00
torusrxxx a11b379090 Add icons for favtools 2020-10-02 23:04:45 +02:00
torusrxxx 59a461b575 clean up HandlesView and fix MiscUtils 2020-10-02 23:04:45 +02:00
torusrxxx d7024454d0 Add icons to windows view, fixed wrong window proc for some samples, swap windows tab and handles tab 2020-10-02 23:04:45 +02:00
torusrxxx 08eaab1b3e Add app icon to attach dialog 2020-10-02 23:04:45 +02:00
torusrxxx 714430c2ac add util function to extract icon from executable 2020-10-02 23:04:45 +02:00
justanotheranonymoususer 67ef8e3eaf Fix thread num in handles view 2020-10-02 22:16:55 +02:00
Ishi Tatsuyuki 04c2789d79 Fix hardware breakpoint replacement slot display
Replacement candidates used to show "Slot X (Free)" before sometimes when there are disabled hardware breakpoints. Fix it and change the placeholder to "Unknown" since it's logically invalid to display the menu when there's a free slot.
2020-10-02 22:15:24 +02:00
Duncan Ogilvie 54f399f5b1 Create option to show PID/TID in hex and default to decimal 2020-10-02 22:08:24 +02:00
Duncan Ogilvie a95dd74b9a Fix a bug with unsearched columns being highlighted 2020-10-02 22:08:24 +02:00
Duncan Ogilvie ca74b2bdaf Simplify calls to DbgCmdExec 2020-10-02 22:08:24 +02:00
Duncan Ogilvie 73c31f2552 Fix convenience overloads for DbgCmdExec 2020-10-02 22:08:24 +02:00
Duncan Ogilvie d04e1e6676 Improve AttachDialog code and default to decimal pid 2020-10-02 22:08:24 +02:00
Vinicius Pacheco d9246cd928 Add python on edit data 2020-10-02 19:36:31 +02:00
Duncan Ogilvie bfe6367592 Don't restrict party to 0/1 2020-09-21 12:29:02 +02:00
torusrxxx 2adec94543 Add SystemBreakpointScriptDialog for localization 2020-09-21 12:28:30 +02:00
torusrxxx c966726cc9 Don't convert / to \\ in browse dialog (#2441) 2020-09-21 12:28:30 +02:00
Duncan Ogilvie ab0e9a932b Fix compilation on Visual Studio 2015 Update 3 and later
Closes #2445
2020-09-20 20:07:10 +02:00
Duncan Ogilvie 5a0caf0be0 Show current debug engine in the version string 2020-09-20 19:59:59 +02:00
Duncan Ogilvie 6518994beb GUI: simplify GUI for specifying system breakpoint scripts
Thanks to Matti, Brit and JustMagic for help!
2020-09-18 21:45:49 +02:00
Duncan Ogilvie d24c278d2b DBG: allow loading different debug engines 2020-09-14 20:07:30 +02:00
Duncan Ogilvie 54051bdcd1 improve code and fix bugs 2020-09-14 20:06:01 +02:00
torusrxxx c5c55de12f changed example font, added MODULEPARTY enum 2020-09-14 20:06:01 +02:00
torusrxxx e36ca4c982 fixed show/hide FPU bug 2020-09-14 20:06:01 +02:00
torusrxxx df47a27d14 Fix double hotkey D 2020-09-14 20:06:01 +02:00
torusrxxx 6c5ac3aa90 Example Text in ApperanceDialog 2020-09-14 20:06:01 +02:00
torusrxxx 01989be2fb Highlight user modules 2020-09-14 20:06:01 +02:00
torusrxxx 351aa627ce Restore Alt+T hotkey(#2397) 2020-09-14 20:06:01 +02:00
torusrxxx 50dd82252a Fixed bugs with Alt+G and GuiFocusView 2020-09-14 20:06:01 +02:00
torusrxxx 9a869936f0 Add setting to disable enter auto repeat 2020-09-14 19:31:15 +02:00
lyflow 6a02c7863b Fetch mCmdHistory on an empty mCmdLineEdit 2020-09-14 19:31:15 +02:00
torusrxxx 1f0577ff68 mnemonic help in trace and graph, bookmark in graph 2020-09-14 19:24:42 +02:00
morsisko 392d46bf8c GUI: Fixed memory leak in CPUDump and SerachListView 2020-09-14 19:19:23 +02:00
torusrxxx 982f8735e9 Don't override user font when using dark theme (#2422 #2426) 2020-09-14 19:19:11 +02:00
torusrxxx 30cc864ed8 Export trace CSV 2020-08-26 15:39:47 +02:00
torusrxxx b20d75189e Export table CSV 2020-08-26 15:39:47 +02:00
torusrxxx 70453e01b1 memory content in trace info box 2020-08-26 15:33:43 +02:00
torusrxxx c8e3a66fda Save columns in trace 2020-08-26 15:31:35 +02:00
Duncan Ogilvie 81b5b518fd DBG: fix format function unregister copy paste error 2020-08-16 04:37:37 +02:00
torusrxxx af539e345e tweak shortcut configuration for Ctrl+C (#2110) 2020-08-16 00:29:29 +02:00
torusrxxx ea8941ba0a add shortcut to copy line and etc 2020-08-16 00:29:29 +02:00
morsisko db439380aa ZYDIS: Fixed IsBranchGoingToExecute for LOOPxx instructions 2020-08-07 14:04:17 +02:00
morsisko 49516b2c6b GUI: Make LOOP conditional instruction, fixes #2366 2020-08-07 14:04:17 +02:00
torusrxxx 89af17f380
Fix timer leaks 2020-08-06 11:10:58 +08:00
torusrxxx c0684f923d Set a small delay for appearance of disassembly popup 2020-08-05 21:28:03 +02:00
torusrxxx c2c0f75434 some minor improvements for copy file offset and table scrolling 2020-08-05 21:28:03 +02:00
Duncan Ogilvie d0eaef34e3 GUI: fix missing checkboxes in dark theme 2020-08-05 21:25:52 +02:00
morsisko de237b816f GUI: Capturing registers by reference instead of by copy in TraceWidget.cpp 2020-08-04 21:11:54 +02:00
justanotheranonymoususer 6ba36edbf0 Set InstructionHighlightColor to white 2020-08-02 13:53:00 +02:00
Torusrxxx e169fd8b44
Fixed a buffer overflow vulnerability 2020-07-29 02:06:38 +00:00
Duncan Ogilvie 0329302c25 GUI: fix bug if you execute msgyn and then an error 2020-07-29 02:20:28 +02:00
Duncan Ogilvie 2f27a26e43 DBG: fix StringUtils::Trim 2020-07-29 02:20:28 +02:00
Duncan Ogilvie bcf4182cbe GUI: more minor style fixes (thanks to JustMagic) 2020-07-29 02:19:04 +02:00
Duncan Ogilvie 99174a3733 GUI: change default highlight color
closes #2402
2020-07-29 02:19:04 +02:00
Duncan Ogilvie 0355f2fd07
Merge pull request #2405 from torusrxxx/patch0000009c
make graph detachable again
2020-07-29 02:12:32 +02:00
torusrxxx 448d1fbfbc Updated string searching algorithm to support string in any language 2020-07-29 02:10:54 +02:00
justanotheranonymoususer 93209c76e7 Maybe fix this time: Set default hotkey for "Set Conditional Breakpoint" 2020-07-29 01:52:37 +02:00
torusrxxx 6234abbed8
Set window focus when toggling with graph detached 2020-07-26 17:46:58 +08:00
torusrxxx 210329b3e1
make graph detachable again 2020-07-26 17:32:04 +08:00
torusrxxx 3239b790f6 Follow source operand 2020-07-25 13:08:52 +02:00
Michael cd91d863ad
Changed default double-click behavior to follow jumps and calls in disassembly and stack widgets (#2398) 2020-07-24 16:09:09 +02:00
justanotheranonymoususer 6ad3a5b558 ActionEditBreakpoint fix 2020-07-22 21:50:12 +02:00
justanotheranonymoususer 78552f540f ActionEditBreakpoint fix 2020-07-22 21:50:12 +02:00
torusrxxx eaf11a2292 Press ENTER : Follow memory operand in dump/stack 2020-07-22 21:48:25 +02:00
Duncan Ogilvie b7f8432c57 GUI: fix compilation on 32-bit 2020-07-22 21:47:22 +02:00
Duncan Ogilvie eeef3f698a GUI: AStyle 2020-07-22 21:47:22 +02:00
torusrxxx 35c6516df9 Cache disassembly in trace file reader 2020-07-22 21:47:22 +02:00
torusrxxx 220e1d0902 Functions/Loops/Jumps in trace viewer 2020-07-22 21:47:22 +02:00
torusrxxx fdf0df9845 Painting trace record in trace browser 2020-07-22 21:47:22 +02:00
torusrxxx fb312d7169 Update infobox when selection in graph changes 2020-07-22 21:47:22 +02:00
torusrxxx a72cfd710f hide overview widget now, set appropriate splitter sizes 2020-07-22 21:47:22 +02:00
torusrxxx e046b86901 Implement infobox in trace browser 2020-07-22 21:47:22 +02:00
torusrxxx b0c2702a10 Fixed trace update after close file 2020-07-22 21:47:22 +02:00
torusrxxx f58a925d89 Introduce TraceRegisters 2020-07-22 21:47:22 +02:00
torusrxxx bd178e2b35 minor enhancement to trace file reader 2020-07-22 21:47:22 +02:00
torusrxxx 37d0729795 Graph in CPU view 2020-07-22 21:47:22 +02:00
torusrxxx aa0863689d Introduce CPURegistersView and TraceWidget 2020-07-22 21:47:22 +02:00
Duncan Ogilvie 0bc216f84f THEME: minor theme fixes 2020-07-12 01:45:41 +02:00
Duncan Ogilvie af31d9d9aa BRIDGE: remove a bunch of useless return std::move(...) 2020-07-11 21:41:19 +02:00
Duncan Ogilvie ff1d5bd565 BRIDGE: fix an oopsie 2020-07-11 20:50:39 +02:00
Duncan Ogilvie 3676f1ab75 DBG: fix some edge cases related to MAX_PATH 2020-07-11 18:44:14 +02:00
Duncan Ogilvie 84274382e4 DBG: remove default exception skip limit 2020-07-11 18:29:28 +02:00
Duncan Ogilvie c1f9882727 GUI: optimize performance of CommandLineEdit::autoCompleteAddCmd 2020-07-11 18:29:28 +02:00
Duncan Ogilvie ec6c5aa160 GUI: disable some debug output in release mode 2020-07-11 18:29:28 +02:00
Duncan Ogilvie 4cdd63384f BRIDGE: optimizations in Utf8Ini 2020-07-11 18:29:28 +02:00
Duncan Ogilvie f5355bd7ae GUI: fix weird font refresh issue 2020-07-11 18:28:25 +02:00
Duncan Ogilvie e0d736eb2a GUI: allow customization of background flicker color 2020-07-11 18:28:25 +02:00
Duncan Ogilvie f597c23ffa GUI: only import the [Colors] and [Fonts] section of the theme INI 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 917ada57b5 THEME: credits and custom colors 2020-07-11 18:28:25 +02:00
Duncan Ogilvie f24db88726 GUI: working style selection 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 9f342fe31c GUI: delete some unused color settings 2020-07-11 18:28:25 +02:00
Duncan Ogilvie ca6166d100 GUI: change the way highlighting works 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 0f37a07114 GUI: minor improvements to the AppearanceDialog 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 1c6ba593a0 fix compilation for vs2013 2020-07-11 18:28:25 +02:00
JustasMasiulis b0e813697e minor forced element styling removals 2020-07-11 18:28:25 +02:00
JustasMasiulis fa9f634cf9 TimeWastedCounter styling removed 2020-07-11 18:28:25 +02:00
JustasMasiulis 5565a8d601 LogStatusLabel styling removed 2020-07-11 18:28:25 +02:00
JustasMasiulis 292a137e92 DebugStatusLabel styling rework 2020-07-11 18:28:25 +02:00
JustasMasiulis c5e64b42a2 CPU info scrollbars and button styling removed 2020-07-11 18:28:25 +02:00
JustasMasiulis b0dd282d92 ShortcutEdit styling rework 2020-07-11 18:28:25 +02:00
JustasMasiulis 7c7b2ef2d5 AbstractTableView styling removed 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 4608de37b7 PROJECT: simplify launcher code even further 2020-07-09 20:42:02 +02:00
Duncan Ogilvie 6cf28d32e6 LAUNCHER: Simplify installation process
Thx to Jonas for helping me with the zone data
2020-07-09 20:19:55 +02:00
Duncan Ogilvie 5d00c40382 GUI: implement Disassembly menu in dump 2020-07-09 18:27:39 +02:00
Duncan Ogilvie 5c8476b6b4 GUI: refactor disassembleAt slot to make CPUDisassembly independent 2020-07-09 18:27:39 +02:00
morsisko 156b604c46 GUI: Format code of BackgroundFlickerThread 2020-07-09 18:26:07 +02:00
morsisko 3e81b2449f GUI: Changed implemenation of getDumpAttention in CPUMultiDump, implemented idea from #1794 2020-07-09 18:26:07 +02:00
morsisko a5d1997024 GUI: Added getAttention method to CPUDump 2020-07-09 18:26:07 +02:00
morsisko 5b425753bf GUI: Added BackgroundFlickerThread class 2020-07-09 18:26:07 +02:00
torusrxxx d0002c0d0d Add previously undocumented AnimateInterval to settings; Remove AnimateInterval restrictions; Fix a bug on GuiOpenTraceFile 2020-07-05 16:02:52 +02:00
torusrxxx be725d82e1 fix "Trace already active" after "ticnd ())" 2020-07-04 02:48:21 +02:00
Jack Reez a5bd8f1dcc DBG: Fixed DLL breakpoints.
DLL breakpoints can now be enabled/disabled/removed!
2020-07-04 02:45:22 +02:00
Duncan Ogilvie 7b4b40b34b 1984
https://twitter.com/TwitterEng/status/1278733305190342656
2020-07-03 21:57:48 +02:00
Duncan Ogilvie 647af648ef GUI: default shortcut for set conditional breakpoint
https://github.com/x64dbg/x64dbg/pull/2370
2020-06-25 21:44:03 +02:00
Jack Reez 829235659f DBG: Added memory breakpoint's types in BpToBridge conversion.
Fixes: Memory breakpoints summary always shows type as access for all types.
@BreakPointView.
2020-06-25 21:35:33 +02:00
Jack Reez ed1eab39e8 GUI: Added option to enable/disable branch disassembly popup. 2020-06-22 14:10:53 +02:00
morsisko 95315402f1 DBG: added new command showref that shows the references tab 2020-06-22 14:08:45 +02:00
morsisko 761af58705 BRIDGE+GUI: added new function GuiShowReferences 2020-06-22 14:08:45 +02:00
Duncan Ogilvie fdc2edba4e GUI: highlight volatile registers for a call in the registers view 2020-06-18 17:41:14 +02:00
Duncan Ogilvie d73d4058df DBG: fix oversight in instruction counting algorithm 2020-06-04 18:59:37 +02:00
Duncan Ogilvie f698ecb52e GUI: flatten the Copy -> Symbolic Name menu 2020-06-04 18:27:02 +02:00
Duncan Ogilvie 20e7826295 GUI: minor textual improvements for new XMM display changes 2020-06-04 17:59:28 +02:00
torusrxxx 040e087bf1 Uppercase registers in trace view 2020-06-04 17:50:45 +02:00
torusrxxx cbd1b2f37f fixed a bug when updating disassembler config in trace viewer 2020-06-04 17:50:45 +02:00
torusrxxx 1b53fcd618 Keep highlighted token highlighted 2020-06-04 17:50:45 +02:00
torusrxxx f35e24fe9f Add support for x87 registers in CPUInfoBox 2020-06-04 17:50:45 +02:00
torusrxxx 0afdb47ecc print SYSCALL instruction unusual 2020-06-04 17:50:45 +02:00
torusrxxx 5589c7e769 Fix formatting vaddps ymm0,ymm0,ymm0; Fix goto index 0 in trace 2020-06-04 17:50:45 +02:00
torusrxxx 4f46db22a9 XMM registers in info box 2020-06-04 17:50:45 +02:00
torusrxxx bd381d72c6 Move XMM formatting to StringUtils 2020-06-04 17:50:45 +02:00
torusrxxx fd4d691928 Merge MMX registers with x87 registers in registers view 2020-06-04 17:50:45 +02:00
torusrxxx 6348cb5728 Using QBeaEngine to pass vector element type info 2020-06-04 17:50:45 +02:00