1
0
Fork 0

Compare commits

...

3914 Commits

Author SHA1 Message Date
Duncan Ogilvie 0beed2c4f1 One-click running in CLion 2025-01-24 02:06:03 +01:00
Duncan Ogilvie 1cebb489d7
Merge pull request #3413 from x64dbg/cmake-project
CMake project
2025-01-21 22:12:36 +01:00
Duncan Ogilvie f6841ac11a Initial working cmkr project 2025-01-21 21:50:09 +01:00
Duncan Ogilvie 794669930c Make $$PWD explicit in the qmake project file
One some systems this variable is not expanded correctly as-is.
2025-01-21 21:45:35 +01:00
Duncan Ogilvie 0c633063dc Add SetMemoryRangeBPX command
#1513
2025-01-17 12:38:58 +01:00
Duncan Ogilvie 1fa446406d Replace \r\n before \n in LogView 2025-01-17 12:37:34 +01:00
Duncan Ogilvie 847765e935 Fix plugin subdirectories
https://github.com/orgs/x64dbg/discussions/3486
2025-01-17 12:37:15 +01:00
Duncan Ogilvie 866f485e58 Define NOMINMAX 2025-01-06 23:18:57 +01:00
Duncan Ogilvie 5e612848b1 Uncapitalize msdia headers 2025-01-06 22:06:44 +01:00
Duncan Ogilvie d3869c48f9 Include ntdll.h in _global.h to streamline things 2025-01-06 21:05:09 +01:00
Duncan Ogilvie 4fdaf95a62 Fix a bug where plugin dependencies would not load
Closes #3496
2024-12-21 16:58:19 +01:00
Duncan Ogilvie 63fcd8eb9d Remove the shortcut while clearing the menu
Closes #3488
2024-12-21 16:56:53 +01:00
Duncan Ogilvie cf1f70cd8a More contextual help information for breakpoints and tracing
#1450
2024-12-16 22:09:58 +01:00
Duncan Ogilvie 7493e42db3 Big fixes 2024-12-13 02:25:32 +01:00
Duncan Ogilvie b3240b20e3
Merge pull request #3485 from not6/patch-2
Fix log redirection errors
2024-12-10 04:24:00 +01:00
not6 e21c524c1e
Fix log redirection errors 2024-12-09 07:07:17 +01:00
Duncan Ogilvie 9cf11130aa Move structures out of ntdll.h and prefix them with WIN11_ 2024-12-01 15:12:32 +01:00
Duncan Ogilvie 788654081c
Merge pull request #3478 from devjeonghwan/development
Update heap enumeration in Windows 11 24H2
2024-12-01 15:11:49 +01:00
Duncan Ogilvie 8623229e4e
Merge pull request #3475 from not6/patch-1
Fix wrong BpToBridgeHwSize return value
2024-12-01 14:59:41 +01:00
Duncan Ogilvie 46f51ca1e5 Set return type of BpToBridgeHwSize to BPHWSIZE 2024-12-01 14:59:21 +01:00
devjeonghwan 4496de564b Remove unnecessary paddings 2024-11-29 22:31:02 +09:00
devjeonghwan 7358d33aaf Format the code 2024-11-29 22:07:26 +09:00
devjeonghwan 09eb43cf0f Fix heap enumerate problem on Windows 11 24H2 2024-11-29 21:57:43 +09:00
not6 edb11ee80b
Fix wrong BpToBridgeHwSize return value
Fixes #3474
2024-11-27 18:47:11 +01:00
Duncan Ogilvie 9785d1a62e Add name of the edited register to the window title
https://github.com/orgs/x64dbg/discussions/3459
2024-10-18 19:03:52 +02:00
Duncan Ogilvie 668c8cf7fa Add funding manifest url 2024-10-18 14:30:25 +02:00
Duncan Ogilvie 49c87f21d3 Remove folder from DLL breakpoints 2024-10-07 22:54:09 +02:00
Duncan Ogilvie bb54515ef2 Removed redundant BpUpdateDllPath 2024-10-07 22:41:00 +02:00
Duncan Ogilvie dc120752c8 Update ModHashFromName to always lowercase first 2024-10-07 22:40:59 +02:00
Duncan Ogilvie 6e976ab67b Introduce reusable TLS in x64dbg.dll 2024-10-07 22:40:57 +02:00
Duncan Ogilvie 5ec6023cac Potential fix for crash with DLL breakpoints 2024-10-07 21:30:11 +02:00
Duncan Ogilvie 3a9883edb8
Merge pull request #3439 from torusrxxx/patch000000e1
Use LayoutDirectionAuto to fix RTL issues
2024-10-07 16:00:44 +02:00
Duncan Ogilvie 75912707f1
Merge pull request #3438 from torusrxxx/patch000000e0
Fix "scriptcmd call label" when script is not running
2024-10-07 15:59:42 +02:00
Duncan Ogilvie c9dbe9e5bd Improve format.bat script 2024-10-07 15:57:22 +02:00
Duncan Ogilvie 60508501fd Fix warnings on latest MSVC 2024-10-03 12:06:47 +02:00
Duncan Ogilvie bcf50752be Fix compilation error on permissive-
Closes #3447
2024-10-03 12:06:13 +02:00
torusrxxx e83af8f552
Fix race condition and fix WriteFile failure not reported 2024-09-15 23:47:41 +08:00
torusrxxx 1099586326
Add silentRet argument to scriptrun 2024-09-15 23:31:45 +08:00
torusrxxx 45ac810346
disable changing layout of CPU widget in RTL 2024-09-12 12:25:59 +08:00
torusrxxx 7a3602362e Use LayoutDirectionAuto to fix RTL issues 2024-09-12 00:01:37 +08:00
Duncan Ogilvie e686e7d1f1 Attempt to fix elusive size restore bug 2024-09-10 15:29:03 +02:00
torusrxxx 8eff4cd581
Fix "scriptcmd call label" when script is not running 2024-09-09 17:45:17 +08:00
Duncan Ogilvie 74c6d2a579
Merge pull request #3427 from foralost/#3397_Setting_comment_does_not_show
Loading current graph in GUI_UPDATE_GRAPH_VIEW
2024-09-07 15:21:11 +02:00
Duncan Ogilvie 7dd1cd34f2
Merge pull request #3425 from G3ph4z/issue_3409
Add option to copy selection bytes only
2024-08-30 14:56:11 +02:00
Duncan Ogilvie 8ba12cb8a5
Merge pull request #3429 from G3ph4z/update_setenv
Update setenv.bat with the correct paths
2024-08-28 14:48:24 +02:00
G3ph4z cf8f1f8cd9 Add option to copy selection bytes only 2024-08-27 21:55:25 +02:00
G3ph4z 04a8252016 Update setenv.bat with the correct paths 2024-08-27 17:11:34 +02:00
Duncan Ogilvie 2b5c64f54d Remove 16k log limit for breakpoint logs 2024-08-27 01:43:39 +02:00
Duncan Ogilvie f6ffafe4c1 Simplify string expression function code 2024-08-27 00:37:22 +02:00
Duncan Ogilvie 70afe74f06 Fix a buffer overflow when formatting big strings 2024-08-27 00:36:14 +02:00
Duncan Ogilvie 9b44d869cd Remove unused name 2024-08-26 18:41:02 +02:00
Duncan Ogilvie bb67add10c Allow missing translations 2024-08-26 18:31:09 +02:00
foralost 49ba6f2dce Loading current graph in GUI_UPDATE_GRAPH_VIEW 2024-08-24 20:21:51 +02:00
Duncan Ogilvie f361ef3f82 Improve memory map reselection after sorting 2024-08-24 20:15:13 +02:00
Duncan Ogilvie 5e9425045d Remove debug print 2024-08-24 20:07:51 +02:00
Duncan Ogilvie 5a4d63948b
Merge pull request #3426 from foralost/#3142_Remove_PidInHex_PID_in_decimal
Removing PidTidInHex, keeping PID/TID in dec
2024-08-24 20:05:18 +02:00
Duncan Ogilvie ab1f2938a1
Merge pull request #3291 from foralost/3280_Selection_shifts_MMap
#3280: Selection shifts when MemoryMap is updated
2024-08-24 19:57:00 +02:00
Duncan Ogilvie 90eb29e648 Simplify re-selection logic in memory map 2024-08-24 19:37:22 +02:00
foralost 67118fef3e Removing PidTidInHex, keeping PID/TID in dec 2024-08-24 15:52:16 +02:00
Duncan Ogilvie 04529719dc
Merge pull request #3415 from torusrxxx/patch000000fd
Find pattern in trace dump
2024-08-24 12:55:08 +02:00
Duncan Ogilvie be8d99fa1a
Merge pull request #3421 from torusrxxx/patch000000fe
Allow GuiFocusView to also focus on memmap,symbols and threads
2024-08-24 12:54:53 +02:00
Duncan Ogilvie a6f44c1088
Merge pull request #3424 from torusrxxx/patch000000ff
Add mulhi, popcnt, lzcnt general purpose instructions
2024-08-24 12:54:37 +02:00
Duncan Ogilvie 94603b083d Follow operands in disassembly on double click when appropriate 2024-08-24 02:26:25 +02:00
Duncan Ogilvie 8f15ac0d74 Automatically reload the symbols when the module is already selected 2024-08-24 02:24:56 +02:00
Duncan Ogilvie 464349de50 Implement support for RUNTIME_FUNCTION_INDIRECT 2024-08-24 01:54:28 +02:00
torusrxxx 59f131c1c2
Add mulhi, popcnt, lzcnt general purpose instructions 2024-08-21 23:11:50 +08:00
foralost 5940e38e13 Holding selection in MemoryMap 2024-08-18 16:25:06 +02:00
torusrxxx 32c886d916
Allow GuiFocusView to also focus on memmap,symbols and threads 2024-08-17 15:20:47 +08:00
torusrxxx ec75ba8d66
Fixed a bug that disallows following byte operand in trace 2024-08-12 22:48:49 +08:00
torusrxxx ff86921e36
Optimize dump building speed, add Address function to avoid copying registers just to get EIP 2024-08-12 20:49:26 +08:00
torusrxxx b9fa839efb
Dump load time statistics 2024-08-12 18:44:08 +08:00
torusrxxx 79b5c9789a
Elapsed time of searching 2024-08-10 21:26:41 +08:00
torusrxxx 2e8f3e3dc3 Find pattern in trace dump 2024-08-07 11:26:52 +08:00
Duncan Ogilvie bd3c2a41ed Compile correctly regardless of the UNICODE macro 2024-08-06 17:52:21 +02:00
Duncan Ogilvie 633a864c9c Move tests to a separate folder 2024-08-06 17:52:20 +02:00
Duncan Ogilvie 625b28823a Move AStyleHelper to the .github folder 2024-08-06 17:52:20 +02:00
Duncan Ogilvie 382f4b227d Recreate .gitignore 2024-08-06 17:52:20 +02:00
Duncan Ogilvie d8cf398b41
Merge pull request #3405 from torusrxxx/patch000000fb
Use 32-bit trace index to save memory
2024-08-05 13:42:09 +02:00
Duncan Ogilvie 5a127fc4e8
Merge pull request #3406 from torusrxxx/patch000000fc-1
Remove high DPI modes incompatible with windows dialog
2024-08-05 13:41:51 +02:00
Duncan Ogilvie 6da4a30244 Fix freeze in debug mode because of bad assert 2024-08-05 13:39:15 +02:00
Duncan Ogilvie 938138072a Fix undefined behavior when creating breakpoints
This manifests when compiling with VS2022
2024-08-04 12:26:06 +02:00
torusrxxx 1179bb6f5b
Add follow in dump in trace disassembly and registers 2024-08-03 13:38:11 +08:00
Torusrxxx c5c5288a9e
Remove high DPI modes incompatible with windows dialog 2024-08-01 04:27:56 +00:00
torusrxxx bd8ee411fc
Use 32-bit trace index to save memory 2024-08-01 12:21:41 +08:00
Duncan Ogilvie 0452682e7a Support newlines in format strings 2024-07-30 02:06:03 +02:00
Duncan Ogilvie e0c6f4c335 Inline all DBGFUNCTIONS as lambdas 2024-07-28 16:54:43 +02:00
Duncan Ogilvie 8698e713ed Remove typedefs from DBGFUNCTIONS 2024-07-28 16:35:57 +02:00
Duncan Ogilvie f4804c03bf
Merge pull request #3317 from x64dbg/breakpoint-file-logging
Breakpoint file logging
2024-07-28 16:20:53 +02:00
Duncan Ogilvie 947d1f97bd Add hidden [Engine].TruncateBreakpointLogs setting 2024-07-28 16:18:11 +02:00
Duncan Ogilvie 18ae8e63d4 Add reference counting for breakpoint log files 2024-07-28 16:14:27 +02:00
Duncan Ogilvie ae78031860 Add StringUtils::ToLower 2024-07-28 16:14:27 +02:00
Duncan Ogilvie c47ceecc2c Switch to using getBpIdentifier everywhere in the GUI 2024-07-28 16:14:27 +02:00
Duncan Ogilvie a129e0d199 Make bpf_enabled read-only for now 2024-07-28 16:14:27 +02:00
Duncan Ogilvie 434c3ce17f Do not prompt for overwrite in the breakpoint log dialog 2024-07-28 16:14:27 +02:00
Duncan Ogilvie 1f04fd1399 Deduplicate the code for editing a breakpoint 2024-07-28 16:14:27 +02:00
Duncan Ogilvie 2f9d4b8647 Remove the 255 character limit from the breakpoint dialog 2024-07-28 16:14:26 +02:00
Duncan Ogilvie 6bd01a382e Switch to the new breakpoint API in the GUI 2024-07-28 16:14:23 +02:00
Duncan Ogilvie ced9a4c59e Introduce a new breakpoint API 2024-07-28 16:13:47 +02:00
Duncan Ogilvie db264d18d5 Implement basic support for per-breakpoint log files 2024-07-27 19:59:58 +02:00
Duncan Ogilvie 1342a9f449 Start adding internal support for unlimited-size conditions 2024-07-27 19:59:58 +02:00
Duncan Ogilvie 8f87486545 Fix warning C4229 2024-07-27 18:00:31 +02:00
Duncan Ogilvie e5183d6aff Change HTTP URLs to HTTPS 2024-07-27 17:58:04 +02:00
Duncan Ogilvie 53008c7adb
Merge pull request #3342 from ynwarcs/win11-24h2-fix
Update image memory region processing to support 24H2 changes
2024-07-27 17:56:28 +02:00
Duncan Ogilvie c6bb971a5c Only add ImageExtension for new enough build numbers 2024-07-27 17:55:45 +02:00
Duncan Ogilvie 3553e26c4b
Merge pull request #3398 from torusrxxx/patch000000fa
fix crash and free dump in another thread
2024-07-24 10:33:25 +02:00
torusrxxx 9c71c098f0
fix crash and free dump in another thread 2024-07-22 18:01:14 +08:00
Duncan Ogilvie 7fe7136103 Fix a crash when releasing the mouse outside of the CPUSideBar 2024-07-21 20:30:08 +02:00
Duncan Ogilvie 67b27f52bd
Merge pull request #3372 from NaC-L/trace-print-implict-memory-access
Print implict memory accesses while tracing
2024-07-21 20:28:41 +02:00
Duncan Ogilvie ca9dd861c3 Rename OpCount to TotalOpCount for backwards compatibility 2024-07-21 20:27:04 +02:00
Duncan Ogilvie 85bddbfbed
Merge pull request #3396 from torusrxxx/patch000000f9
Alert when image saving failed
2024-07-21 20:12:54 +02:00
Duncan Ogilvie 3926d91fef
Merge pull request #3098 from torusrxxx/patch000000dc
Introduced dump to trace
2024-07-21 20:11:23 +02:00
Duncan Ogilvie 22978dcf72 Add a warning message when enabling the dump on a big trace 2024-07-21 20:01:32 +02:00
torusrxxx e40d525b8a
Alert when image saving failed 2024-07-21 23:12:50 +08:00
Duncan Ogilvie 9e1bef1d7c Remove a bunch of asserts from the trace 2024-07-21 17:06:17 +02:00
Duncan Ogilvie cf0e68271c Add file size to TraceFileReader 2024-07-21 17:05:30 +02:00
Duncan Ogilvie 241f055a7c DisableTraceDump -> AutoTraceDump 2024-07-21 17:05:09 +02:00
Duncan Ogilvie 1363911e47
Merge pull request #3392 from torusrxxx/patch000000f8
Save graph as WEBP and TIFF and fix crash
2024-07-21 13:40:51 +02:00
Duncan Ogilvie b522aded2f Add missing exception descriptions 2024-07-21 12:37:46 +02:00
Duncan Ogilvie 7b104df324 Fix warnings in GUI code related to component updates 2024-07-21 12:32:05 +02:00
torusrxxx 498e072239
Add follow in dump in trace infobox 2024-07-19 18:49:13 +08:00
torusrxxx 4119b0fc29
Fix trace not showing registers and following in disasm/stack from stack 2024-07-17 21:13:54 +08:00
torusrxxx a387081441
Setting DPI of saved image to match the system 2024-07-13 22:56:27 +08:00
torusrxxx d270ea59fb
Save graph as WEBP and TIFF and fix crash 2024-07-13 22:25:25 +08:00
torusrxxx c1c7608fab
Include assert.h 2024-07-13 20:52:53 +08:00
torusrxxx b7ced72f4a
Add feature to go to VA in trace using indexed search 2024-07-13 20:42:37 +08:00
torusrxxx c5794519a8
Add load dump button and disable auto dump loading by default 2024-07-13 17:57:25 +08:00
torusrxxx 8d9f129af6
Allow detaching a trace tab 2024-07-13 17:13:01 +08:00
Duncan Ogilvie b07f7bae05 Add custom signature verification 2024-07-11 23:57:55 +02:00
torusrxxx e1b7dfddb6 Merge branch 'development' into patch000000dc 2024-07-10 10:06:06 +08:00
Duncan Ogilvie a3ade9aa49
Merge pull request #3388 from torusrxxx/patch000000f7
Enable HiDPI for launcher
2024-07-09 23:50:30 +02:00
Torusrxxx 441bd79b85
Update x64dbg_launcher.cpp 2024-07-09 13:24:45 +00:00
Torusrxxx e411cd19b6
Enable HiDPI for launcher 2024-07-08 12:13:59 +00:00
Duncan Ogilvie 2e81815e1f
Merge pull request #3386 from x64dbg/quality-of-life
Small quality of life improvements
2024-07-07 16:02:22 +02:00
Duncan Ogilvie ff42661737 Improve user experience of the struct widget 2024-07-07 15:55:22 +02:00
Duncan Ogilvie efdd2c708d Fix a potential infinite loop when computing StructWidget layout 2024-07-07 15:55:22 +02:00
Duncan Ogilvie 6524c125c3 Add DbgFunctions()->EnumStructs helper function 2024-07-07 15:55:21 +02:00
Duncan Ogilvie feb85da2ef Remove unnecessary qDebug 2024-07-07 15:55:21 +02:00
Duncan Ogilvie d14e7ea514 Add a special hack to highlight the & for labels in the memory operands 2024-07-07 15:55:21 +02:00
Duncan Ogilvie aa5ee49f31 Include module name in the dump address column 2024-07-07 15:55:21 +02:00
Duncan Ogilvie 71036de249 Fix example call to GuiRegisterScriptLanguage 2024-07-07 15:55:21 +02:00
Duncan Ogilvie e2a2508ecf Improve 'not enough arguments' error message 2024-07-07 15:43:43 +02:00
Duncan Ogilvie 8703556149 Remove 'Scylla' from the plugins menu 2024-07-07 15:43:43 +02:00
Duncan Ogilvie 878a195482 Properly escape the command arguments for the WatchView
Closes #3320
2024-07-07 15:43:43 +02:00
Duncan Ogilvie 48dde167f3 Minor cleanup & ensure the plugin API is C compatible 2024-07-07 15:43:43 +02:00
G0lge b613b5e943 Clean todo's 2024-06-16 20:46:02 +03:00
G0lge aff9c52bcf Remove the hack fix for pop 2024-06-16 20:45:46 +03:00
G0lge 48c13510d7 Remove excess memory access from push/pop etc. 2024-06-14 22:57:27 +03:00
G0lge bc9f7105fc Refactor zydis wrapper 2024-06-14 21:37:10 +03:00
Duncan Ogilvie f518e507c2 Do not connect to the internet when verifying signature 2024-06-03 18:42:40 +02:00
Miloš e2f56423b3 Update image memory region processing to support 24H2 changes
24H2 adds hotpatching, with hotpatchable modules having an extra page mapped at the end of their image region. We previously assumed that the image region will only contain the header and executable sections, that's no longer the case.
2024-05-01 21:57:15 +02:00
torusrxxx 9749d1549b
Fix showing reference and log from trace 2024-04-22 18:14:15 +08:00
torusrxxx a461951d07
Add Xrefs to trace disassembler too 2024-04-20 18:17:31 +08:00
torusrxxx a436a4bcc1
Add xref dialog to trace dump 2024-04-20 13:47:58 +08:00
Duncan Ogilvie 4d631707b8
Merge pull request #3333 from ynwarcs/symbol-commands-from-callstack-view
Add symbol loading commands to the callstack view context menu.
2024-04-14 23:33:02 +02:00
Miloš c69b49dd1c Remove single-module and all-thread symbol commands from callstack view. Fix an edge case where the command wouldn't work on entries of the first listed thread. 2024-04-14 16:11:35 +02:00
Miloš 911e269456
Merge branch 'x64dbg:development' into symbol-commands-from-callstack-view 2024-04-14 15:32:35 +02:00
torusrxxx d0bd09494a
Tidy up code of trace stack 2024-04-12 16:16:03 +08:00
Duncan Ogilvie 2d2a2181a3 Fix sorting by symbol load status
Thanks to @mobile46 for finding the issue in #3313
2024-04-11 18:42:04 +02:00
Duncan Ogilvie 4c2573a456 Fix a few compiler warnings 2024-04-11 02:15:44 +02:00
torusrxxx 5f1868b698
Add stack view in trace browser 2024-04-11 00:36:31 +08:00
torusrxxx c5ca1c6914 Merge branch 'development' into patch000000dc 2024-04-10 23:21:04 +08:00
ynwarcs 84079483fe Fix incorrect styling from 5e4aa60. 2024-04-08 21:10:08 +02:00
ynwarcs 5e4aa6053e Add symbol loading commands to the callstack view context menu. 2024-04-07 16:50:59 +02:00
Duncan Ogilvie efebecf22e Update debug engines 2024-03-27 00:20:54 +01:00
Duncan Ogilvie f5a64f541e
Merge pull request #3314 from sid-38/trace_set_register
Set trace register value as current value
2024-03-19 00:50:10 +01:00
Duncan Ogilvie a001c0783f Simplify translations release script 2024-03-08 16:37:33 +01:00
Sidharth Anil dca1d28eb6
Update TraceRegisters.cpp - Minor refactoring 2024-02-19 20:00:42 -06:00
Sidharth Anil e2271e303a Cleaning up code 2024-02-19 14:35:43 -06:00
Sidharth Anil f0ad95732c Bug fixes and code improvement 2024-02-19 14:23:16 -06:00
torusrxxx c137b7e252
Merge branch 'development' into patch000000dc 2024-02-19 19:24:03 +08:00
Sidharth Anil 01dae0666d Add action to context menu appropriately 2024-02-19 00:45:55 -06:00
Sidharth Anil 80b86f9257 Add functionality to set saved trace reg val as current 2024-02-18 21:02:56 -06:00
Duncan Ogilvie caa578a029 Add more descriptive error messages in the trace browser 2024-02-19 03:10:42 +01:00
Duncan Ogilvie d08913bc54 Support copying in the StdTable with multiple items selected 2024-02-19 03:10:17 +01:00
Duncan Ogilvie da43aca116 Fix a few compilation warnings in the GUI 2024-02-19 03:09:53 +01:00
Duncan Ogilvie 7a3851a607 Fix a bug in the vardel command 2024-02-19 03:08:45 +01:00
Duncan Ogilvie a5f73b479f Also implement the syscall.id expression function 2024-02-19 03:08:29 +01:00
Duncan Ogilvie 9e4c1a4d26 Add a syscall.name expression function 2024-02-19 02:29:08 +01:00
Duncan Ogilvie 517a855e9a Refresh the table after reordering the columns 2024-01-07 18:19:59 +01:00
Duncan Ogilvie f3cb3443d1 Print NTSTATUS value in info box 2024-01-06 21:23:08 +01:00
Duncan Ogilvie c3642c35be Fix a bug in zydis_wrapper
Introduced in #3192
2024-01-06 21:21:56 +01:00
Duncan Ogilvie 399b19f847 Keep loaddll running after the DLL is loaded
See #3294
2024-01-06 20:07:18 +01:00
Duncan Ogilvie 9c07d82dc8 Replace broken line breaking in goto dialog with tooltip 2024-01-06 01:31:19 +01:00
Duncan Ogilvie a6e448b598 Truncate first line of disassembly popup to 100 characters 2024-01-06 01:30:36 +01:00
Duncan Ogilvie ec9a2a2af1
Merge pull request #3300 from torusrxxx/patch000000fe
Save module party
2024-01-05 22:25:17 +01:00
Duncan Ogilvie 9f6d396c4e
Merge pull request #3298 from torusrxxx/patch000000fd
Add symbol online search to symbol view
2024-01-05 22:23:01 +01:00
torusrxxx a006d75ee5
fix VS2013 2023-12-30 11:23:07 +08:00
torusrxxx e30a70ad4d
Save module party 2023-12-29 20:36:50 +08:00
torusrxxx 8cb5459629
Add symbol online search to symbol view 2023-12-29 16:26:48 +08:00
Duncan Ogilvie b683fc6a59
Merge pull request #3278 from foralost/3051_Switch__to_thread_handles
#3051: Follow a thread from handles window
2023-12-21 21:33:38 +01:00
Duncan Ogilvie 62129b426e
Merge pull request #3292 from foralost/3134_Highlight_mode_NOP
#3134: Avoiding having space in MnemonicNop instruction
2023-12-21 21:31:23 +01:00
foralost 9ed6033fb6 Avoiding having space in MnemonicNop instruction 2023-12-18 12:25:30 +01:00
Duncan Ogilvie afb5ac45c5 Simplify the showthreadid command 2023-12-18 00:44:24 +01:00
foralost ab9c28549a Switch to Thread from Handles: getCellUserdata fix 2023-12-17 00:03:29 +01:00
foralost 0853cafadc
Merge branch 'x64dbg:development' into 3051_Switch__to_thread_handles 2023-12-16 15:51:39 +01:00
Duncan Ogilvie 81bc337e52 Implement getCellUserdata 2023-12-15 20:32:47 +01:00
Duncan Ogilvie ee13290541 Add support for getCellUserdata in StdSearchListView 2023-12-15 20:32:47 +01:00
Duncan Ogilvie 04c5050015
Merge pull request #3285 from x64dbg/ui-lagging
Fix UI lagging
2023-12-04 17:45:57 +01:00
Duncan Ogilvie e2093d2d89
Merge pull request #3283 from torusrxxx/patch000000fc
Double click to follow wndproc
2023-11-28 08:37:19 +01:00
Duncan Ogilvie 3eb2070c3a Remove some performance bottlenecks from the memory map update
Thanks to @AnthonyPrintup for bringing this to my attention
2023-11-27 23:11:12 +01:00
Duncan Ogilvie f56fa5ce23 Delay at least 100ms between individual UI updates
Thanks to @JustasMasiulis for the help!
2023-11-27 23:09:19 +01:00
torusrxxx aa85488fe5
double click to follow window proc 2023-11-27 11:33:34 +08:00
foralost 911329e8e6 Keeping the style (nice icons) for the CallStackView 2023-11-26 18:16:02 +01:00
foralost 03baaa1ae3 Adding Follow in Threads option and setting the Thread ID 2023-11-26 18:15:45 +01:00
Duncan Ogilvie b17fc86af7
Merge pull request #3281 from foralost/3238_File_does_not_exists_bracket
#3238: Escaping { from any command argument
2023-11-26 17:16:12 +01:00
Duncan Ogilvie 93ac4548f7
Merge pull request #3275 from torusrxxx/patch000000fb
fix No such signal in graph view
2023-11-26 17:13:17 +01:00
Duncan Ogilvie 03c6f3b6a5
Merge pull request #3277 from ZehMatt/optimize-pagerights
Optimize Page Rights UI
2023-11-26 17:12:35 +01:00
foralost 16fccbd2d4 God forgive me: Escaping { from file path for init 2023-11-26 11:02:05 +01:00
ζeh Matt 050c989dc3
Improve performance for deselection a large amount 2023-11-24 17:52:15 +02:00
ζeh Matt 218d784a7e
Optimize select all for the PageMemoryRights UI 2023-11-24 17:52:12 +02:00
torusrxxx f8567b59f5
Modify various functions in graph view with const 2023-11-21 15:51:54 +08:00
torusrxxx eff762460f
fix No such signal 2023-11-21 15:42:14 +08:00
Duncan Ogilvie 570aaea06d
Merge pull request #3272 from GermanAizek/fix-numa
Fixed get count threads for multi-cpu system with NUMA architecture
2023-11-18 19:38:30 +01:00
Duncan Ogilvie d2f6ba72cc Clean up GetThreadCount for XP 2023-11-18 17:47:21 +01:00
Duncan Ogilvie 61814b2da7
Merge pull request #3271 from torusrxxx/patch000000fa
Auto switch thread when following callstack
2023-11-18 02:22:40 +01:00
torusrxxx 715831637a Auto switch thread when following callstack 2023-11-18 02:22:17 +01:00
Duncan Ogilvie 01c239534a
Merge pull request #3260 from foralost/3163-Long_symbol_name
#3163: Long symbol name
2023-11-18 02:16:47 +01:00
Duncan Ogilvie 2747f72f38
Merge pull request #3264 from leetfin/development
Use gender neutral language
2023-11-18 02:15:38 +01:00
Duncan Ogilvie 4193000159
Merge pull request #3263 from habipakyol/patch-1
Fix typo in CPUMultiDump.cpp
2023-11-18 02:15:01 +01:00
Duncan Ogilvie a320227378
Merge pull request #3262 from foralost/3232-follow_rename_thread_callstack
#3232: Providing Rename Thread and etc. for CallStack View
2023-11-18 02:14:25 +01:00
Duncan Ogilvie 7c2276681a Clean up the thread renaming a bit 2023-11-18 02:13:51 +01:00
Duncan Ogilvie b2b104b79f Introduce DbgCmdEscape 2023-11-18 02:13:51 +01:00
Duncan Ogilvie 95b790eab1 Rename addr_text to addrText 2023-11-18 02:13:47 +01:00
German Semenov eeab4c47ed Fixed get count threads for multi-cpu system with NUMA architecture 2023-11-14 17:20:32 +03:00
Duncan Ogilvie 373b3a538f Disable core.autocrlf for all files 2023-11-14 12:50:42 +01:00
Duncan Ogilvie 44c3d39165 Allow strings in the ternary expression function 2023-11-13 01:30:36 +01:00
Duncan Ogilvie 923b894df2 Fix wraparound in disassembly (thanks @shocoman)
Closes #3228
2023-11-12 23:04:19 +01:00
foralost c9d80e5c99 Introducing showthreadid command
Additional options in CallStackView
2023-11-08 18:04:50 +01:00
Duncan Ogilvie 65d57bfd2e Quote the result of a string expression function in the log 2023-11-07 18:18:58 +01:00
Duncan Ogilvie 2e1fd1f289 Add optional count argument to the string expression functions 2023-11-07 18:18:58 +01:00
Duncan Ogilvie b84c293f15 Implement optional arguments for expression functions 2023-11-07 18:18:58 +01:00
Duncan Ogilvie 50d7d988f6 Store the number of expression function arguments in the token 2023-11-07 18:18:58 +01:00
Duncan Ogilvie 735d3ca5f9 Escape logged strings returned from expression functions 2023-11-07 18:18:58 +01:00
Duncan Ogilvie dfda450b41 Allow printing empty strings using the "{s:addr}" format 2023-11-07 18:18:58 +01:00
Duncan Ogilvie 49f9487a59 Allow zero-sized string for utf16/utf8 format type 2023-11-07 18:18:56 +01:00
Duncan Ogilvie 7f9dc7fc04 Allow reading/writing 0 bytes of memory 2023-11-07 18:16:16 +01:00
Duncan Ogilvie 50fc52b0d2 Fix a bug where setTableOffset(0) did nothing
Closes #3254
2023-11-02 17:24:45 +01:00
Duncan Ogilvie 61f99ae5c9 Clean up the code in SearchListView 2023-11-02 17:24:11 +01:00
Duncan Ogilvie e3e6a8a9fa Fix signal connection issues in ReferenceView
Leftovers from the refactor of int -> duint
2023-11-02 17:23:48 +01:00
Duncan Ogilvie 8ae5982502 Delete unused ZydisExportConfig.h 2023-11-02 00:34:20 +01:00
Leet f4821ce331 fix weird character problem 2023-10-31 15:51:32 +00:00
Leet de527241cd
Merge branch 'x64dbg:development' into development 2023-10-31 15:49:53 +00:00
Habip Akyol a2594cf1f9
Fix typo in CPUMultiDump.cpp 2023-10-31 13:30:37 +03:00
Duncan Ogilvie 0f54d5ebcd
Merge pull request #3261 from ruslangaripov/fix_a_typo
Fix a typo
2023-10-30 18:20:49 +01:00
Ruslan Garipov d52466f981
Fix a typo
Signed-off-by: Ruslan Garipov <ruslanngaripov@gmail.com>
2023-10-30 22:00:03 +05:00
Marek Szwajka 4945c36e85 Formatting 2023-10-30 11:18:25 +01:00
foralost 0f39191c9d
Fixing character skipping 2023-10-30 10:54:33 +01:00
foralost 81d72252a8 Formatting 2023-10-29 23:39:57 +01:00
foralost c122eb9e1d Limited window size and dynamic height of errorLabel 2023-10-29 23:26:57 +01:00
Duncan Ogilvie b0392eda1c
Merge pull request #3240 from HayFieldLaps/find-pattern-ranges
Find Pattern searches now begin at start of current region
2023-10-28 15:17:38 +02:00
Duncan Ogilvie d0fb3a0b88
Merge pull request #3250 from shocoman/fix-edit-bp-dialog-bug
Fixed a bug in the Edit Breakpoint dialog that might erase double quotes
2023-10-28 15:17:21 +02:00
Duncan Ogilvie cb31cbd83b
Merge pull request #3251 from lhmouse/development
Make error messages clearer if x96dbg fails to open a file
2023-10-28 15:16:55 +02:00
Duncan Ogilvie 99f5e93592
Merge pull request #3239 from stdust/patch-1
Update HexEditDialog.ui
2023-10-28 15:16:28 +02:00
LIU Hao e9dfe3020e
Make error messages clearer if x96dbg fails to open a file
When x96dbg failed to open a file, it displayed a message box with the path as the message and a reason string as the caption. This looks weird, as the caption conveys useful information but it can usually be truncated.

We should display the reason string as the message, and the path as the caption instead.
2023-10-27 00:17:32 +08:00
shocoman 98d08ce826 Make the Edit Breakpoint dialog resizable horizontally 2023-10-26 02:08:23 +07:00
shocoman 17bd183de2 Fixed a bug in the Edit Breakpoint dialog that might erase double quotes
#3248
2023-10-26 02:08:07 +07:00
Leet 89aee8ad5b Use gender neutral language 2023-10-24 15:59:18 +00:00
dad 7dade58481 Add Start from Selection 2023-10-23 11:10:59 -06:00
torusrxxx be9d09040a
Add browse in explorer action in trace view 2023-10-17 11:19:29 +08:00
dad ca637fad33 Find Pattern searches now begin at start of current region 2023-10-12 10:37:51 -06:00
stdust e5dba0ad63
Update HexEditDialog.ui 2023-10-11 15:43:04 +09:00
stdust 3409444e33
Update HexEditDialog.u
HexEditDialog's tab orders have been assigned to code for less frequently used codepages and to keep size, etc
so unnecessary tab orders should be deleted
2023-10-11 15:25:03 +09:00
torusrxxx 8dd134f524
Add DisableTraceDump setting and clean up 2023-10-07 16:58:51 +08:00
torusrxxx 07fbd1a9af
Fixed persistent crash at registerMenuBuilder; adjust menu order; fix hash msgbox 2023-10-07 12:28:32 +08:00
torusrxxx 8700a5cdb5
Remove placeholder tab, add context menu in trace manager 2023-10-06 21:58:05 +08:00
Duncan Ogilvie a4be9f87f5
Merge pull request #3234 from x64dbg/handle-anti-debug
Fix an anti-debug trick used by GuLoader
2023-10-05 13:33:02 +02:00
Duncan Ogilvie 56ee888a0b
Merge pull request #3233 from x64dbg/fix-3198
Fix #3198: Implement GuiSelectionSet for GUI_MEMMAP
2023-10-05 13:27:27 +02:00
Duncan Ogilvie 3e1b3d61bc
Merge pull request #3231 from torusrxxx/torusrxxx-patch-1
Fix QObject::connect: No such slot SourceView::followDisassemblerSlot()
2023-10-05 13:26:56 +02:00
Duncan Ogilvie ffb6de5b56 Fix an anti-debug trick used by GuLoader
Closes #2749
Closes #2504
2023-10-05 13:12:46 +02:00
ζeh Matt f6c3e4219a
Fix #3198: Implement GuiSelectionSet for GUI_MEMMAP 2023-10-03 21:37:08 +03:00
Torusrxxx c589bb57c8
Fix QObject::connect: No such signal SourceView::showCpu() 2023-10-03 14:27:22 +00:00
Torusrxxx 6e1a5000e8
Fix QObject::connect: No such slot SourceView::followDisassemblerSlot() 2023-10-03 14:26:00 +00:00
torusrxxx a9645df8e5
Fix crash in MenuBuilder getId again 2023-10-02 20:47:54 +08:00
torusrxxx f75c4fd0df
Fixed closing trace tab 2023-10-02 12:38:41 +08:00
Duncan Ogilvie bba369d607
Merge pull request #3219 from ZehMatt/plugin-dirs
Add support for plugins in sub directories
2023-10-01 22:38:42 +02:00
Duncan Ogilvie 437573276b Fix a potential bug where a plugin handle is reused 2023-10-01 22:28:50 +02:00
Duncan Ogilvie e3adaaac5d Simplify pluginload and rename globals 2023-10-01 20:46:52 +02:00
Duncan Ogilvie 5628094e17
Merge pull request #3217 from HayFieldLaps/commandparser-network-path
commandparser handle UNC paths
2023-10-01 13:01:14 +02:00
dad 4ad555a509 commandparser handle UNC paths 2023-10-01 13:00:11 +02:00
Duncan Ogilvie 8820440f06
Merge pull request #3223 from shocoman/symbols-view-slowdown 2023-10-01 12:51:58 +02:00
Duncan Ogilvie 51e697b726
Merge pull request #3225 from HayFieldLaps/tabwidget-delete-on-close
free MHDetachedWindow on reattach
2023-10-01 12:49:21 +02:00
Duncan Ogilvie 56c3249e75
Merge pull request #3226 from HayFieldLaps/hexeditdialog-patch
Hide Keep Size QCheckBox from all but Binary Edit
2023-10-01 12:48:53 +02:00
torusrxxx cd810ad72c
revert vcxproj changes 2023-09-26 18:23:39 +08:00
torusrxxx 34bdcb7a51
Fix memory access by first instruction not in trace 2023-09-26 18:04:15 +08:00
Torusrxxx 87ca72d3d1
Moved trace file reader to trace widget 2023-09-26 09:27:56 +00:00
dad 13bd1f3164 Hide Keep Size QCheckBox from all but Binary Edit 2023-09-22 12:50:38 -06:00
dad 335d94d2d9 free MHDetachedWindow on reattach 2023-09-22 11:58:01 -06:00
shocoman b74f6b5d5d SymbolView: Don't update fonts on each 'repaintTableView' event 2023-09-22 13:24:24 +07:00
ζeh Matt 68112f51da
Add plugin directory to the search path 2023-09-21 12:58:01 +03:00
ζeh Matt e2b658f0a3
Fix file check 2023-09-21 12:46:31 +03:00
ζeh Matt ce73e9cdf7
Warn the user about duplicate plugins 2023-09-21 11:49:47 +03:00
ζeh Matt ef925bcfa7
Disallow loading plugins with the same name when they exist in sub dirs 2023-09-21 11:39:52 +03:00
ζeh Matt df8bdfe1fb
Fix printing the plugin name 2023-09-21 11:13:00 +03:00
ζeh Matt 7fcb626ba2
Fix loading plugins more than once, remove obsolete isLoaded member 2023-09-21 10:59:11 +03:00
ζeh Matt 517c82604f
Refactor plugin load/unload to only require the name 2023-09-21 10:56:59 +03:00
ζeh Matt c28653700a
Refactor the conditional plugin extension definitions 2023-09-21 09:51:26 +03:00
ζeh Matt 0f5bc725f8
Initial support to load plugins from a sub directory 2023-09-21 09:43:51 +03:00
Duncan Ogilvie c65c956f85 Move the header separator one pixel down 2023-09-21 00:47:54 +02:00
Duncan Ogilvie 3beec936ec Fix the missing configuration for the table header background
Closes #3218
2023-09-21 00:29:43 +02:00
torusrxxx 3a9e36b729
Fix crash in menu builder when opening second tab 2023-09-20 12:06:22 +08:00
torusrxxx 80995bb364
Merge branch 'development' into patch000000dc 2023-09-20 10:49:50 +08:00
torusrxxx ecc5a163c4
temporary 2023-09-20 09:54:56 +08:00
Duncan Ogilvie 7f2566b6ed
Merge pull request #3192 from x64dbg/cross-platform-preparations
Cross platform preparations
2023-09-20 02:30:40 +02:00
Duncan Ogilvie 7c00347a24
Merge pull request #3211 from GermanAizek/fix
Fixed catch exception std::bad_alloc and close handle hFile if downslib::inetopen
2023-09-20 02:28:59 +02:00
torusrxxx 77cfffa0aa
Modify mTraceFile to getTraceFile() for later move to TraceWidget 2023-09-19 21:58:35 +08:00
torusrxxx 090da1a2ee
Multiple trace tabs 2023-09-19 21:23:35 +08:00
torusrxxx de28917189
optimize getBytes and fixed empty dump while not debugging 2023-09-19 21:23:34 +08:00
torusrxxx b45acd5d56
fix PUSH memory access don't appear in dump 2023-09-19 21:23:34 +08:00
torusrxxx 9750488bb2
Fixed empty dump 2023-09-19 21:23:34 +08:00
Torusrxxx 42208c0577
Add files via upload 2023-09-19 21:23:33 +08:00
torusrxxx 9852b097cc
Fixed CustomizeMenuDialog and various features related to modules 2023-09-19 21:23:33 +08:00
torusrxxx 226efe3ea1
Added trace dump to trace widget 2023-09-19 21:23:32 +08:00
torusrxxx f3d0f9a278
Use trace file dump index to accelerate memory reference search 2023-09-19 21:23:32 +08:00
torusrxxx 5adac838a7
Disassemble to get correct memory operand size 2023-09-19 21:23:31 +08:00
torusrxxx d5384d78eb
Introduced dump to trace 2023-09-19 21:23:31 +08:00
Duncan Ogilvie fdc97fe6d1 Properly restore DisassemblyPopup functionality 2023-09-19 08:06:03 +02:00
Duncan Ogilvie a349f9c05f Fix a bug in the extension handling for trace files 2023-09-19 06:50:44 +02:00
Герман Семенов bdb38d6a97 Fixed catch std::bad_alloc and close handle hFile if downslib::inetopen 2023-09-19 06:41:24 +02:00
Duncan Ogilvie e2d1d79930 Fix a bug where a column width of 0 would not adjust correctly 2023-09-19 06:40:38 +02:00
Duncan Ogilvie 7733012330 Refactor AbstractTableView for cross-platform 2023-09-19 06:25:33 +02:00
Duncan Ogilvie 663bfbbb06 Refactor parent = 0 -> parent = nullptr 2023-09-19 06:25:33 +02:00
Duncan Ogilvie 5797dae1c3 Update Zydis in the UI and remove DisassemblyPopup 2023-09-19 06:25:33 +02:00
Duncan Ogilvie 812c91d361 Get rid of the wLocal variable naming convention (mostly) 2023-09-19 06:25:33 +02:00
Duncan Ogilvie 6fba4478fb Remove the unused translations submodule 2023-09-19 06:25:33 +02:00
Duncan Ogilvie 952c16aad7 Update zydis_wrapper 2023-09-19 06:25:33 +02:00
Duncan Ogilvie b22266b822 Bump Zydis to 4.0.0 2023-09-19 06:25:32 +02:00
Duncan Ogilvie 3d56c4fd35 Remove the Zydis submodule 2023-09-19 06:25:32 +02:00
Duncan Ogilvie 7e9a89847e
Merge pull request #3213 from torusrxxx/patch000000f9
delete widget when closing tab
2023-09-16 13:31:34 +02:00
Duncan Ogilvie 6228bfe2bf
Merge pull request #3212 from GermanAizek/emplace
Replaced pushes and inserts to emplace for compact code
2023-09-16 13:21:24 +02:00
torusrxxx 9fa8c8cea0
delete widget when closing tab 2023-09-16 09:30:24 +08:00
German Semenov 11d96f1878 Replaced inserts to emplace for compact code and improved code generation by compiler 2023-09-12 19:13:40 +03:00
Duncan Ogilvie dd91e4376a
Merge pull request #3203 from torusrxxx/patch000000f8
Add UI for mnemonichelp
2023-09-12 10:58:23 +02:00
Duncan Ogilvie 2ce5a283f5
Merge pull request #3206 from HayFieldLaps/referenceview-cycle-filtered
Fixed cycling through filtered references without clearing filter.
2023-09-12 10:57:38 +02:00
Duncan Ogilvie 02c762ff4a
Merge pull request #3208 from shocoman/disasm-popup-border
Dark theme: fix several visibility issues
2023-09-12 10:57:00 +02:00
Duncan Ogilvie cdee7fed64
Merge pull request #3209 from HayFieldLaps/bookmark-clear
Fix typo in bookmarkclear command
2023-09-12 10:56:25 +02:00
dad b6be841a48 Fix typo in bookmarkclear command 2023-09-07 12:24:50 -06:00
shocoman bc3d7574bc Dark theme: fix several visibility issues 2023-09-08 00:03:33 +07:00
dad 7405acd42d Fixed cycling through filtered references without clearing filter.
Allow "Actions -> Go to Next/Previous Reference" to cycle through a filtered reference list.  Was previously clearing the filter on the first "Next/Previous" action.
2023-09-04 13:25:32 -06:00
torusrxxx 3616f2d33a
Add UI for mnemonichelp 2023-09-02 21:34:45 +08:00
Duncan Ogilvie b28e317073
Merge pull request #3197 from shocoman/fill-view-background-border
Dark theme: Make QHexEdit background color brighter for visibility
2023-09-02 14:26:47 +02:00
Duncan Ogilvie 323d318329
Merge pull request #3199 from HayFieldLaps/searchlistview-escape-fix
Pass Escape key event if search text is empty
2023-09-02 14:26:11 +02:00
Duncan Ogilvie d08773d3c7
Merge pull request #3201 from f09f9095/extra-period-when-saving-trace-dump
removed extra dot when saving trace dump
2023-09-02 14:25:39 +02:00
f09f9095 5659f7db2c removed extra dot when saving trace dump 2023-08-30 07:44:43 -04:00
dad d68e1d44a8 Pass Escape key event if search text is empty
Was blocking Esc from closing Attach window.
2023-08-29 14:37:16 -06:00
shocoman b3dc97c4a5 Dark theme: Make QHexEdit background color brighter for visibility 2023-08-29 12:25:15 +07:00
Duncan Ogilvie 48d81226ed
Merge pull request #3189 from Kasuromi/development
Fix grammar in readme
2023-08-26 13:36:05 +02:00
Kasuromi f557751365
Fix typos in readme 2023-08-26 14:31:23 +03:00
Duncan Ogilvie 4a767ea507
Merge pull request #3188 from ZehMatt/query-page
Start enumerating memory pages at minimum application address
2023-08-25 12:21:32 +02:00
ζeh Matt 8c6f3089e9
Start enumerating memory pages at minimum application address 2023-08-25 13:15:07 +03:00
Duncan Ogilvie 4e5c2bd9c4 Fix regression where comments are not showing at all
Thanks MHR for the report!
2023-08-24 19:03:02 +02:00
Duncan Ogilvie 7d00017e69
Merge pull request #3185 from GermanAizek/development
Using reserve and unordered_map for optimize inserts
2023-08-24 10:33:23 +02:00
German Semenov 145053d8ae Using reserve for optimize inserts in loops
Signed-off-by: German Semenov <GermanAizek@yandex.ru>
2023-08-24 11:05:37 +03:00
Duncan Ogilvie e6b43cdc6c
Merge pull request #3180 from shocoman/cpu-flags-help-tooltip
Show a tooltip with a sorted list of flags in the Register View
2023-08-23 12:56:16 +02:00
shocoman 4301af38a9 Show a tooltip with a sorted list of flags in the Register View 2023-08-23 17:30:44 +07:00
Duncan Ogilvie 78f37958eb
Merge pull request #3183 from HayFieldLaps/searchlistview-copy
CTRL + C functionality in AbstractStdTable/SearchListView
2023-08-23 01:09:16 +02:00
Duncan Ogilvie 9f046b96e2 Rename 'Switch view' to 'Region view' and 'Section view'
Also reduces the log trigger
2023-08-23 01:00:33 +02:00
dad 414c9cb23e CTRL + C functionality in AbstractStdTable/SearchListView
-CTRL + C functions properly in SearchListView
-CTRL + A when search box is empty selects all rows in table (if allowed)
-SHIFT + HOME/END when search box is empty selects rows from table (if allowed)
-ESC clears the filter rather than just the Search edit line
2023-08-22 13:09:07 -06:00
Duncan Ogilvie a85f177567
Merge pull request #3176 from torusrxxx/patch000000f6
Added mnemonic brief column and keeps mnemonic brief configuration
2023-08-20 12:55:07 +02:00
Torusrxxx b477ffc490
Add isdebuggeefocused, and optimized isdebuggerfocused (#3175)
* Add isdebuggeefocused, and optimized isdebuggerfocused

* Add rdtsc() expression function

* Added isprocessfocused()
2023-08-20 12:54:40 +02:00
shocoman 7bf53e72f1
In Graph mode, also apply highlighting to different sizes of the same register (#3174) 2023-08-20 12:54:18 +02:00
HayFieldLaps 6b05405714
Set dump index from ACTIVEVIEW (#3172) 2023-08-20 12:53:20 +02:00
torusrxxx f475f7d841
Allow customizing trace disassembler context menu 2023-08-15 23:09:42 +08:00
torusrxxx 479fdaf38d
Added mnemonic brief column and keeps mnemonic brief configuration 2023-08-15 22:25:42 +08:00
Duncan Ogilvie b8c2aad3b3 Also restore window size for dialogs
saveWindowPos -> saveWindowGeometry

#3171
2023-08-15 09:34:07 +02:00
Duncan Ogilvie 59b5d923cd Reduce 'Disassembly' column size when searching references
Closes #3171
2023-08-15 09:12:45 +02:00
Duncan Ogilvie 3151aa6280 Don't fail when reading memory in expression string functions 2023-08-12 17:00:05 +02:00
Duncan Ogilvie 6a970e657d
Merge pull request #3165 from HayFieldLaps/memory-map-view-sort
Add secondary sorting to Memory Map
2023-08-10 17:33:12 +02:00
dad 791d6ba59c Remove pointer comparisons in StdTable
This solves the unstable sorting within the Memory Map view, I did a fairly thorough test to see if it affects any of the other sortable table views and didn't notice any issues.
2023-08-09 16:20:43 -06:00
dad d5901879a7 Revert "Add secondary sorting to Memory Map"
This reverts commit 6cd26dd3dd.
2023-08-09 16:13:31 -06:00
dad 6cd26dd3dd Add secondary sorting to Memory Map
Fixed unstable sorting in Memory Map when sorting by Type, Protection or
Initial (Protection). To resolve this, a secondary sort is now performed
on Address (only in ascending order) for rows with equal values. This
change affects MemoryMapView::sortRows and results in QString::compare
being called twice (also in StdTable::SortBy::AsText), introducing
additional computational complexity. Further optimization may be needed.
2023-08-08 14:20:04 -06:00
Duncan Ogilvie b7347f4506
Merge pull request #3149 from shocoman/graph-highlight-mode
Add Highlighting mode to the Graph view
2023-08-08 21:46:47 +02:00
Duncan Ogilvie d162dd1adc
Merge pull request #3161 from shocoman/development-6
Quote image paths in the Dark theme stylesheet
2023-08-08 21:45:40 +02:00
Duncan Ogilvie 4802cb008b
Merge pull request #3162 from torusrxxx/patch000000f4
Add tips to some common actions
2023-08-08 21:45:12 +02:00
Duncan Ogilvie b0e4888c5f
Merge pull request #3146 from HayFieldLaps/development
Update References tab highlighting
2023-08-08 21:42:55 +02:00
dad 7de1649159 Move GuiReferenceSetSingleSelection calls as requested.
Moved GuiReferenceSetSingleSelection call to gotoXxxReferenceSlot, agree this is a more appropriate place.
2023-08-08 21:41:15 +02:00
dad ceb2de32fb Update current reference / search selection
ReferenceManager.cpp
Sets the current reference view to the currently active reference view instead of the most recently created reference view.

ReferenceView.cpp
Sets the search selection of a reference view when following in dump or disassembler.

These are both QoL improvements for use with Actions->Go to Next/Previous Reference.  Previously, Actions->Go to Next/Previous Reference, would only work from the most recently created reference view. Additionally, Actions->Go to Next/Previous Reference would always begin at the 0th reference instead of relative to the users selection within the reference view.
2023-08-08 21:41:15 +02:00
dad 8d182a977e Update References tab highlighting
Increments or decrements the highlighted reference in References tab when using Actions->Go to Next/Previous Reference
2023-08-08 21:41:15 +02:00
Duncan Ogilvie 5bbd8f6f69 Only create the breakpoint after editing finishes
There is still a race, but that would require the ability to create disabled breakpoints
2023-08-08 21:38:21 +02:00
shocoman 6d0656b5b8 Use a search path prefix when fixing relative image paths in CSS 2023-08-07 18:54:05 +07:00
torusrxxx 79830fd093
Allow go to while not debugging in trace 2023-08-05 21:32:12 +08:00
torusrxxx 5dda6eb13a
Add tips to some common actions 2023-08-05 21:06:01 +08:00
shocoman bb56223bd0 Add Highlighting mode to the Graph view 2023-08-03 11:09:38 +07:00
Duncan Ogilvie e7995ffd53 Use absolute path for URLs in loadSelectedTheme
Closes #3158
2023-08-01 14:45:06 +02:00
Duncan Ogilvie 0e5e31aedc Set the current directory earlier in the initialization process 2023-08-01 14:39:40 +02:00
Duncan Ogilvie 3a30af1dc7 Fix a few compilation warnings 2023-08-01 14:36:02 +02:00
Duncan Ogilvie 17621d845c
Merge pull request #3133 from Bluefissure/log-commands
Add Commands: LogSave, LogRedirect, LogRedirectStop
2023-08-01 13:47:49 +02:00
Duncan Ogilvie ea631d4539 Move currentDateTime suffix to isoDateTime in StringUtil.h 2023-08-01 13:47:23 +02:00
Duncan Ogilvie dd76320156 Fix some naming inconsistencies 2023-08-01 13:38:30 +02:00
Bluefissure 4c713b08f4 fix: update log commands 2023-08-01 13:32:34 +02:00
Bluefissure 956072ad02 feat: logsave, logredirect, logredirectstop 2023-08-01 13:32:31 +02:00
Duncan Ogilvie 6575efc266
Merge pull request #3155 from m417z/dbg-set-encoded-type-oob
Fix a DbgSetEncodeType crash if an out-of-date db file is used
2023-08-01 13:24:05 +02:00
Duncan Ogilvie f62323765d
Merge pull request #3154 from torusrxxx/patch000000f3
Add accessible names
2023-08-01 13:17:13 +02:00
Duncan Ogilvie 8cd3e1df5a
Merge pull request #3156 from P1tt1cus/gzip-decompression
Adding gzip decompression to downlibs
2023-08-01 13:15:58 +02:00
pitticus 3b8f95adfa Amended formatting 2023-07-30 17:13:12 +10:00
pitticus 8f06703061 Updated downslib
- Added support for GZIP decompression
- Increased chunk_size for the buffer to 8kb
- Changed how header information is queried using HttpQueryInfoA using
HTTP_QUERY_FLAG_NUMBER rather than copying it into the char buffer
2023-07-30 16:41:04 +10:00
pitticus 4d725925d0 Get metrics regarding symbol download time 2023-07-30 16:40:02 +10:00
Michael Maltsev 1515a5a5fc Fix a DbgSetEncodeType crash if an out-of-date db file is used 2023-07-29 21:08:40 +03:00
torusrxxx ec86ad10d3
Add accessible names 2023-07-29 10:21:26 +08:00
Duncan Ogilvie de494c1fc7
Merge pull request #3147 from torusrxxx/patch000000f1
add isdebuggerfocused() to determine if x64dbg is focused
2023-07-28 09:20:38 +02:00
Duncan Ogilvie 4451b33515
Merge pull request #3152 from torusrxxx/patch000000f2
Setting buddy for labels
2023-07-28 09:09:09 +02:00
torusrxxx 2240fbd223
Setting buddy for labels 2023-07-28 11:44:44 +08:00
torusrxxx 415ee4235b
add isdebuggerfocused() to determine if x64dbg is focused 2023-07-24 22:25:41 +08:00
Duncan Ogilvie b86405e029 Rename the Chinese README for https://git.x64dbg.cn 2023-07-19 01:07:59 +02:00
Duncan Ogilvie ea4cc04007
Merge pull request #3140 from torusrxxx/patch000000f0
Add movups/movupd/movdqu commands to access XMM registers
2023-07-18 17:20:39 +02:00
torusrxxx 4eb0bb0ab7
Add movups/movupd/movdqu commands to access XMM registers 2023-07-17 16:59:11 +08:00
Duncan Ogilvie 2f181ed2e6 Add an option to disable the menu icons 2023-07-16 13:24:04 +02:00
Duncan Ogilvie fe82859b6f
Merge pull request #3135 from SpraylnlPray/Fix-good-first-issue-link
Use same link as found in CONTRIBUTING.md
2023-07-15 22:03:53 +02:00
Daniel Wildegger 6593c015c1 Use same link as found in CONTRIBUTING.md 2023-07-15 21:05:37 +02:00
Duncan Ogilvie e796bdce2d Fix missing signatures for dbghelp 2023-07-14 11:59:36 +02:00
Duncan Ogilvie cdfd10b16f Update README and CONTRIBUTING 2023-07-14 11:25:02 +02:00
Duncan Ogilvie 86bbdaabb0 Resign the dependencies with the new certificate 2023-07-13 11:43:29 +02:00
Duncan Ogilvie 5fcdb8478d Add checks to prevent tracing when the program is already running
Closes #3120
2023-07-13 11:33:12 +02:00
Duncan Ogilvie 9746dee02f
Merge pull request #3131 from ynwarcs/virtualmod_memorymodule_support
Support for MemoryModule recognition and debugging via virtualmod.
2023-07-13 11:27:51 +02:00
Duncan Ogilvie 5ec04b16b1 Bump debug engines and asmjit 2023-07-08 14:46:50 +02:00
Duncan Ogilvie 37da53e70e
Merge pull request #3125 from Mattiwatti/pdb-fixes
Symbol loading improvements
2023-07-05 21:14:43 +02:00
Matthijs Lavrijsen f033c8c32a
DBG: try to load symbol files directly if they exist locally
Additionally, do not delete symbol files if they exist locally and are > 0 bytes.
2023-07-05 18:25:09 +02:00
Matthijs Lavrijsen 262ddf9ade
DBG: remove hardcoded extension check from PDBDiaFile::open() 2023-07-05 18:22:10 +02:00
Matthijs Lavrijsen 40e8da5d07
Update ntdll.h
For FILE_DISPOSITION_INFORMATION
2023-07-05 16:22:36 +02:00
Duncan Ogilvie 63f6573f5d
Merge pull request #3118 from torusrxxx/patch000000df
Reduce number of cached trace file pages to save memory
2023-06-30 14:21:18 +02:00
Duncan Ogilvie 43a5b62ca1 Don't display the entry point for DLLs without one 2023-06-30 14:20:45 +02:00
Duncan Ogilvie 55ebebe1e9 Add a new Sponsors section 2023-06-30 14:20:45 +02:00
Duncan Ogilvie cb4bc86449
Merge pull request #3115 from Kasuromi/development
Resolve command line arguments from shortcuts
2023-06-30 14:02:27 +02:00
Duncan Ogilvie f0a44aa29f Resolve the working directory from the shortcut 2023-06-30 12:34:38 +02:00
torusrxxx 585f66bbd0
Reduce number of cached trace file pages to save memory 2023-06-23 11:06:43 +08:00
Kasuromi e6aa4847b9
Apply formatting 2023-06-18 15:49:36 +03:00
Kasuromi 42fd0b2e73
Assign command line args from shortcut 2023-06-18 15:20:55 +03:00
Duncan Ogilvie 729285ef82 Remote the gitee workflow 2023-06-15 13:46:00 +02:00
Duncan Ogilvie a4a462e20d Attempt to comply with Chinese regulations 2023-06-15 13:44:44 +02:00
Duncan Ogilvie 97ff1ec98a Refactor symbol handling and introduce DbgSymbolEnumRange
This allows enumerating multiple symbols at the same address efficiently
2023-06-10 18:00:16 +02:00
Duncan Ogilvie 165b0d3bc5 Change the default command condition to '1' instead of '$breakpointcondition' 2023-06-09 23:54:16 +02:00
Duncan Ogilvie 7b1e56b2be
Merge pull request #3108 from shocoman/stackview-copy-dword
Add actions to copy DWord/QWord and Comments in the Stack view
2023-06-08 23:32:33 +02:00
Duncan Ogilvie 4e96002558
Merge pull request #3111 from torusrxxx/patch000000dd
fixed trace browser crash
2023-06-06 10:16:40 +02:00
torusrxxx 3977f9640f
fixed trace browser crash 2023-06-04 12:36:18 +08:00
shocoman 3ed1dab095 Add copy DWord/QWord and Comments actions to the Stack view 2023-06-01 12:36:04 +07:00
Duncan Ogilvie ed0b5d3e3d Merge branch 'patch-1' into development 2023-05-25 00:21:51 +02:00
shocoman b59490f381 Take reference instead of copying when iterating through trace pages 2023-05-25 00:20:00 +02:00
Duncan Ogilvie 4b3a8d1519 Preload OpenSSL
Closes #3082
2023-05-25 00:16:14 +02:00
Duncan Ogilvie fdc6df51ee
Merge pull request #3101 from torusrxxx/patch000000dd
fix File open failed! Please open the file yourself...
2023-05-23 18:38:42 +02:00
torusrxxx a8096b2c65
fix File open failed! Please open the file yourself... 2023-05-23 00:43:35 +08:00
Duncan Ogilvie 5eb556e5cc Fix the bc command for inactive breakpoints under most circumstances
Closes #3058
2023-05-20 17:30:05 +02:00
Duncan Ogilvie f9ddb522a0 Allocate shadow space in loadlib command
Closes #3095
2023-05-20 12:39:53 +02:00
Duncan Ogilvie a45090a382 Allow the `skip` command to be used for int3 breakpoints 2023-05-20 12:36:55 +02:00
Duncan Ogilvie 019a312424 Fix a bug where stepping after 'con' would resume execution 2023-05-20 12:36:32 +02:00
ynwarcs aa0a5cd82c Support for MemoryModule recognition and debugging via virtualmod.
- Fixed some bugs in virtualmod: loadedSize was never set + the mapped data would be destroyed prematurely, causing a crash after initially parsing the module.
- Use raw RVA instead of rebasing when reading module information from memory.
- Set MappedAsImage = true when calling RtlImageDirectoryEntryToData on in-memory sections, as expected.
- This works out of the box for some basic stuff (e.g. symbols, imports, exports are loaded properly) but for full functionality a fix is needed in MemoryModule (see 10250ad4b7). TL;DR: VirtualSize field in the section header is not properly set by MemoryModule, leading to sections not being parsed properly during page sorting, leading to an error spam and some other annoying behaviour.
2023-05-15 12:31:43 +02:00
Duncan Ogilvie 17584fcbd6
Merge pull request #3091 from m417z/xref-multi-api
Add the DbgXrefAddMulti API
2023-05-12 12:27:28 +02:00
Duncan Ogilvie 205b21ab2c Slightly improve code readability 2023-05-12 01:12:49 +02:00
Torusrxxx b64fa539fd
Fix the default dark theme 2023-05-09 13:57:56 +00:00
Michael Maltsev 2499745d38 Add the DbgXrefAddMulti API 2023-05-08 09:56:16 +03:00
Michael Maltsev 2eb0ab955f Refactor SymbolInfoWrapper and make it safer to use 2023-05-07 21:54:05 +03:00
Michael Maltsev 21c8baa23d Fix sizeof usage, it already accounts for the null terminator 2023-05-07 21:54:05 +03:00
Michael Maltsev f44d9b7e55 Add missing lock acquire for DBG_GET_SYMBOL_INFO_AT 2023-05-07 21:54:05 +03:00
Duncan Ogilvie fbff8ac5aa
Merge pull request #3083 from torusrxxx/patch000000db
Set proper default style for example text in appearance dialog
2023-05-07 15:33:52 +02:00
torusrxxx cc45d145db
Qt cannot open text file with Chinese characters in file name??? Add error message 2023-05-01 17:42:13 +08:00
torusrxxx 80681e47b1
Set proper default style for example text in appearance dialog 2023-05-01 17:36:13 +08:00
Duncan Ogilvie c38c03dbd4
Merge pull request #3079 from m417z/get-symbol-info-at-api
Add the DbgGetSymbolInfoAt API
2023-04-30 13:14:48 +02:00
Michael Maltsev cc583996e0 Add the DbgGetSymbolInfoAt API 2023-04-30 13:41:45 +03:00
Duncan Ogilvie d023670943 Fix compilation with VS2022
#3009
2023-04-30 12:06:25 +02:00
Duncan Ogilvie 0afb65d3ca
Merge pull request #3077 from torusrxxx/patch000000da
Add breakpoint background color in call stack view
2023-04-30 00:48:35 +02:00
Michael Maltsev 5215d5e0bd Fix a potential memory leak in script API symbol enum 2023-04-29 22:40:53 +03:00
torusrxxx 42a43fc15b
Add breakpoint background color in call stack view 2023-04-29 12:53:00 +08:00
Duncan Ogilvie 19e93aef84 Error when attaching to a process already being debugged 2023-04-28 14:21:29 +02:00
Duncan Ogilvie fb52153bf8 Fix the winerror@x format string being used incorrectly 2023-04-28 14:20:39 +02:00
Duncan Ogilvie 3464219ee7 Fix a bunch of (non-critical) issues found by Coverity 2023-04-28 14:20:02 +02:00
Duncan Ogilvie 804e5dbf7c Fix a nullptr dereference in dbglistprocesses. Thanks to @HydrophonePia!
Closes #3075
2023-04-27 23:20:39 +02:00
Duncan Ogilvie 1845952e17 Fix for the fix, damn
Closes #3068
2023-04-15 16:53:03 +02:00
Duncan Ogilvie 8566d7b884 Fix a compiler warning in getSSERegisterOffset 2023-04-14 20:50:55 +02:00
Duncan Ogilvie b833538632 Workaround for a weird bug on Windows 7
Closes #3062
2023-04-14 20:22:00 +02:00
Duncan Ogilvie c05e9f2779 Fix inconsistent calling convention for LoadLibraryChecked
Closes #3057
2023-04-14 20:02:55 +02:00
Duncan Ogilvie b6348f5b79 Fixed compilation error caused by generated code 2023-04-07 18:08:15 +02:00
Duncan Ogilvie 55930a5125
Merge pull request #3044 from torusrxxx/patch000000d9
Misc Maintenance
2023-04-05 10:27:45 +02:00
Duncan Ogilvie 93ad736f93 Fix a one-off issue while painting 2023-04-05 09:33:54 +02:00
Duncan Ogilvie 5674bf9984 Add the plugin directory to the DLL search path
#3047
2023-04-05 09:33:17 +02:00
torusrxxx 096db3b631
Fixed cannot delete a variable using "vardel x" 2023-03-11 20:02:03 +08:00
torusrxxx 5a01980096
Clean up XMM formatting; Fix build error with QMutex not found 2023-03-11 19:39:51 +08:00
Duncan Ogilvie ee5aa0a264 Add support for enumerating a range of symbols 2023-03-10 12:18:51 +01:00
Duncan Ogilvie 7e17c2ccd2
Merge pull request #3039 from x64dbg/signingcheck
Add signature checks for all dependencies if the executable is signed
2023-03-04 02:21:33 +01:00
Duncan Ogilvie 5d0e8f7767 Update TitanEngine to fix some minor bugs 2023-03-04 02:20:25 +01:00
Duncan Ogilvie 1a1f48b1f1 Clean up a bunch of code 2023-03-04 02:20:06 +01:00
Duncan Ogilvie 1e616021e8 Initial implementation of the signature check to prevent abuse
(cunty)
2023-03-04 02:16:32 +01:00
Duncan Ogilvie ed0fce1124 Fix a renamed slot in the LogView 2023-03-04 02:15:23 +01:00
Duncan Ogilvie c4df19f724 Initial signature checking PoC working 2023-03-03 12:19:27 +01:00
Duncan Ogilvie a9261b7627 Generalize tab order handling to support plugins in the future 2023-03-03 01:25:12 +01:00
Duncan Ogilvie c05f20a84a Restore the previous tab order when closing a detached tab 2023-03-03 01:24:41 +01:00
Duncan Ogilvie 358cd1c1df Remember the 'Sync with CPU' setting in the TraceBrowser 2023-03-02 18:28:27 +01:00
Duncan Ogilvie 1eb0daf18b Create a shared hotkey for the sync actions 2023-03-02 18:24:26 +01:00
Duncan Ogilvie e0fe0f2bd2 Fix a bug introduced with the full path title 2023-03-02 18:16:00 +01:00
Duncan Ogilvie 3787d7d750 Add 'edit columns' option to the stack
Initial work for #1957
2023-03-02 10:46:52 +01:00
Duncan Ogilvie e1177a0d02 Minimize the size of the SettingsDialog 2023-03-02 10:03:54 +01:00
Duncan Ogilvie 1191ee08c6 Add minor zydis improvements from #2362 2023-03-02 09:47:13 +01:00
Duncan Ogilvie e0c8adf2ee Update screenshots in the README
Closes #2983
2023-03-02 09:39:53 +01:00
Duncan Ogilvie e56b91e2a1 Merge branch 'dont_break_on_SetThreadName' into development
# Conflicts:
#	src/dbg/thread.cpp
#	src/gui/Src/Gui/SettingsDialog.ui
2023-03-02 09:39:42 +01:00
Duncan Ogilvie da3a49472c
Merge pull request #3028 from 0xNB/window-show-filepath
New Option to Show Path of Debuggee in Window Title
2023-03-02 08:54:07 +01:00
Duncan Ogilvie 3a6c0b1a7a Improve wording of the settings a bit 2023-03-02 08:53:25 +01:00
Duncan Ogilvie bd95d241bb Fix a potential DOS and bypass for SetThreadName breakpoints 2023-03-02 08:52:58 +01:00
Duncan Ogilvie db5b9224f8 Change the option name and use disassembly selection instead of CIP 2023-03-02 08:17:03 +01:00
Niklas Betten 31d88698ec New Option to Show Path of Debuggee in Title:
Under the GUI settings we find the new option 'Set Long Window Path'.
If this is enabled instead of the normal Window Title with current thread, the full path is shown instead
2023-02-28 20:00:24 +01:00
Duncan Ogilvie 73021964ae Disable caching in DbgMemRead 2023-02-24 04:27:17 +01:00
Duncan Ogilvie 1df6d0ab07 Improved performance when doing bulk operations on breakpoints 2023-02-24 04:13:30 +01:00
Duncan Ogilvie de66533b8c Add GuiDisableLogScope and GuiDisableUpdateScope helpers 2023-02-24 04:12:46 +01:00
Duncan Ogilvie 7239b4663e Append a 'ret' when a script ends in a conditional branch 2023-02-24 01:51:31 +01:00
Duncan Ogilvie 4475065928 Disable GUI updates while running a script 2023-02-24 01:42:13 +01:00
Duncan Ogilvie 7f66d171d6
Merge pull request #3017 from p0358/GetThreadDescription
Get thread name from GetThreadDescription
2023-02-23 21:09:54 +01:00
p0358 911e4b2fcf
get thread name from GetThreadDescription 2023-02-23 05:10:09 +01:00
Duncan Ogilvie 0fb48b5e17 Fix compilation on 32-bit 2023-02-23 01:52:01 +01:00
Duncan Ogilvie 368d9fbb7d Add aliases for StepUser 2023-02-23 01:32:01 +01:00
Duncan Ogilvie f1a0797f44 Enumerate process heaps and mark them 2023-02-23 01:28:33 +01:00
Duncan Ogilvie ec8fb28b12 Implement StepUser and StepSystem commands 2023-02-23 01:28:06 +01:00
Duncan Ogilvie e00ccff872 Implement StepIntoUser and StepIntoSystem helper functions 2023-02-23 01:23:56 +01:00
Duncan Ogilvie d6679772c5 Strongly type TitanEngine callbacks (finally) 2023-02-22 09:50:24 +01:00
Duncan Ogilvie 578c14c8c5 Improve code readability after looking for buffer overflows 2023-02-22 08:51:24 +01:00
Duncan Ogilvie 4b801d8f21 Improve error handling when reading process command lines 2023-02-22 08:49:17 +01:00
Duncan Ogilvie 067b53d0b9 Remove the 'switch condition' functionality 2023-02-22 08:22:33 +01:00
p0358 3c8272fc0f
add ThreadNameSet setting for SetThreadName exception breaking/ignoring 2023-02-16 19:11:07 +01:00
p0358 f82347234d
don't break on SetThreadName exception 2023-02-16 15:44:16 +01:00
Duncan Ogilvie fcc4207327 Fix a crash introduced by the refactor of valapifromstring 2023-01-25 11:48:55 +01:00
Duncan Ogilvie 00aee0fcb1 Rewrite valapifromstring to use MODINFO::getProcAddress
Previously it would constantly map DLLs into x64dbg's address space and forwards were not supported properly in some cases.
2023-01-24 13:42:51 +01:00
Duncan Ogilvie 4e7e3abbca Add an autocomment on forwarded exports 2023-01-24 13:41:52 +01:00
Duncan Ogilvie 5c550a65b7 Add a mapImage flag to the FileMap helper 2023-01-24 13:41:24 +01:00
Duncan Ogilvie e246545aae Implement MODINFO::getProcAddress
This resolves forwards as well as API sets
2023-01-24 13:40:56 +01:00
Duncan Ogilvie d80847caae Add support for "kernelbase + 0x1000" as an expression 2023-01-24 08:09:55 +01:00
Duncan Ogilvie f35c8a54a4 Fix a regression caused by #2571
Strings inside modules would not be listed, now it outputs module."string" instead.

Closes #3003
2023-01-18 11:10:30 +01:00
Duncan Ogilvie d7e68c7056 Respect mAllowPainting in the Disassembly 2023-01-18 11:04:51 +01:00
Duncan Ogilvie cd6370dcf0
Merge pull request #3004 from bb107/patch-1
unexpected variable override
2023-01-16 18:40:43 +01:00
Duncan Ogilvie cc6d5ed0d4 Allow the RegisterView to collapse
#2598
2023-01-15 15:23:41 +01:00
Duncan Ogilvie c7f6acf357 Fix a rare crash when repainting CPUSideBar on exit 2023-01-15 15:23:41 +01:00
Duncan Ogilvie ecd4f4a318 On shutdown, still paint the table backgrounds
This makes things look less ugly
2023-01-15 15:23:41 +01:00
Boring 4efda5e008
unexpected variable override
Reference type bpColor will override the value of mBreakpointBackgroundColor
2023-01-11 13:34:41 +08:00
Duncan Ogilvie 440a06a039
Merge pull request #2995 from Bytabyte/add-inc-dec-zero
Added context menu entries (Inc, dec, zero) to registers
2022-12-15 12:34:02 +01:00
Duncan Ogilvie 87bf403486
Merge pull request #2994 from Bytabyte/fix-columns-width
Fixed "Party" column width
2022-12-12 15:41:08 +01:00
Bytabyte 1bb3332963 Applied corresponding icons 2022-12-11 16:13:20 +01:00
Bytabyte a9698ffdaf Added context menu entries (inc, dec, zero) to registers 2022-12-10 20:46:00 +01:00
Bytabyte 6fbef85add Fixed "Party" column width 2022-12-10 01:54:36 +01:00
Duncan Ogilvie 52bd144e87 Fix some crashes when closing x64dbg while a trace is open 2022-12-08 15:09:57 +01:00
Duncan Ogilvie b5a3233bd4 Fix the appearance of a checked menu with icon in the dark theme 2022-12-08 15:09:25 +01:00
Duncan Ogilvie 584b63ddc6 Add a working 'Sync with CPU' option in the trace browser 2022-12-08 15:09:02 +01:00
Duncan Ogilvie 779b5cbc77 Allow calling GuiDisasmAt with CIP=0 to goto an address 2022-12-08 13:28:41 +01:00
Duncan Ogilvie 172e889f0a Rename 'Origin' to 'EIP/RIP' 2022-12-08 02:40:48 +01:00
not6 5555d977d4
Fix and improve "Show PID/TID in HEX" feature (#2987) 2022-12-06 11:36:10 +01:00
Duncan Ogilvie f3248def64 Update TitanEngine and GleeBug to restore XP support 2022-12-03 23:38:48 +01:00
Duncan Ogilvie a53a68cc08
Merge pull request #2988 from x64dbg/plugin-menu-refactor
Plugin menu refactor
2022-12-03 23:33:51 +01:00
Duncan Ogilvie e8650ae334 Clean up some UB-adjacent looping 2022-12-03 23:00:58 +01:00
Duncan Ogilvie af79a9b70b Get rid of the _GUI locks in the pluginmenu* API implementation
This should increase stability and (potentially) restore XP support
2022-12-03 23:00:54 +01:00
Duncan Ogilvie 3ba63be199 Rewrite the menu API to be thread-safe
This is achieved by using a Qt::DirectConnection for the menu-related signals.
The bookkeeping of the data structures is done from the calling thread and then the
Qt-related operations are scheduled on the main thread.
2022-12-03 22:17:48 +01:00
Duncan Ogilvie bb839ad14e Start moving existing code to be logically together 2022-12-03 15:35:52 +01:00
Duncan Ogilvie ec00cf08c3
Merge pull request #2986 from wasd845/development
Add line prefix for ASM-Style hex data
2022-12-02 11:51:29 +01:00
Duncan Ogilvie 676f5d3359 Simplify the formatting code 2022-12-02 11:49:47 +01:00
Duncan Ogilvie 7861f1d042 Fix the highlighting of the CIP address in the memory map 2022-12-02 01:26:38 +01:00
Duncan Ogilvie d3859a417e Align the section size by page size instead of SectionAlignment 2022-12-02 01:11:55 +01:00
w 7fe2ba3566 Add line prefix for ASM-Style hex data 2022-12-01 20:27:34 +08:00
Duncan Ogilvie 9dc06155cd
Merge pull request #2982 from justanotheranonymoususer/patch-5
Use common undecorate flags
2022-11-26 15:40:43 +01:00
justanotheranonymoususer 5f04a5eb14
Use common undecorate flags 2022-11-26 16:19:28 +02:00
Duncan Ogilvie c3777a9881
Merge pull request #2966 from austinvazquez/upgrade-github-actions-packages
Upgrade actions/checkout package to v3
2022-11-23 13:21:50 +01:00
not6 c70aeb0359
Add relative path support to launcher (#2977) 2022-11-23 13:20:33 +01:00
Duncan Ogilvie f2f9b7214f
Merge pull request #2975 from not6/patch-4
Use section raw size if virtual size is null
2022-11-22 11:58:10 +02:00
not6 9d7cc256eb
Update module.cpp
Closes #2971
2022-11-17 04:08:05 +01:00
Austin Vazquez 4610260d6f Upgrade actions/checkout package to v3
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2022-10-31 23:15:57 -07:00
Duncan Ogilvie 18647a49ea
Merge pull request #2963 from torusrxxx/patch000000d7
remember window topmost configuration
2022-10-28 15:38:14 +02:00
torusrxxx feb9e18c56
remember window topmost configuration 2022-10-28 20:36:45 +08:00
Duncan Ogilvie 01383a5a35
Merge pull request #2955 from brandonros/eflags-trace
addRegValues eflags
2022-10-18 22:05:21 +02:00
Duncan Ogilvie 7d10c587c9
Merge pull request #2962 from ZehMatt/fix-docgen
Cleanup documentation for Script::Misc
2022-10-18 22:04:46 +02:00
Duncan Ogilvie 1a21be0bf3
Merge pull request #2959 from torusrxxx/patch000000d6
Use an icon to represent user/system party to reduce column width
2022-10-18 22:03:51 +02:00
Duncan Ogilvie 8fad3bc3d7 Rename getSelText to getSelectionText for better code readability 2022-10-18 22:02:18 +02:00
ζeh Matt 338cb80197
Cleanup documentation for Script::Misc 2022-10-17 16:23:57 +03:00
torusrxxx 0c9c2c0fd0
Use an icon to represent user/system party to reduce column width 2022-10-17 00:47:01 +08:00
Brandon Ros 5f9c5f3ba0 addRegValues eflags 2022-10-12 12:03:56 -04:00
Duncan Ogilvie 7ade354b04
Merge pull request #2954 from torusrxxx/patch000000d4
Fix crash on Windows 7
2022-10-12 17:20:53 +02:00
torusrxxx dd4d6c48db
Fix crash on Windows 7 2022-10-12 22:46:06 +08:00
Duncan Ogilvie 4033faf4ef Add the minidump command 2022-10-10 17:04:11 +02:00
Duncan Ogilvie c57128a732 Attempt to get the handle type names for handles that cannot be duplicated 2022-10-10 16:05:53 +02:00
Duncan Ogilvie 09bc3aed4f Remove footguns from a few APIs 2022-10-10 14:34:17 +02:00
Duncan Ogilvie 6c3d3941cb
Merge pull request #2942 from torusrxxx/patch000000d3
Use a tree view for color configuration
2022-10-03 23:32:08 +02:00
torusrxxx d6d6c5ea9a Use a tree view for color configuration 2022-10-03 23:29:57 +02:00
Duncan Ogilvie 420ef52aea Add a workaround for a bad module in memory map
Closes #2931
2022-10-03 21:42:08 +02:00
Duncan Ogilvie 1fd3951f47
Merge pull request #2940 from not6/patch-2
Remove debug code in launcher
2022-09-25 14:51:13 +02:00
not6 6ec74878a5
Remove debug code in launcher
Remove szIniFile message box in launcher
2022-09-25 08:35:16 +02:00
Duncan Ogilvie 054dfdacef Move up the trace info/over menus 2022-09-25 02:03:34 +02:00
Duncan Ogilvie c59271893b Support user directory
Package managers can create a "userdir" file next to x64dbg.exe with a file path (UTF-8) in there. If no path is specified it will be %APPDATA%\<executable name>. This directory contains the "db" folder, INI settings, memory dumps
2022-09-25 01:41:46 +02:00
Duncan Ogilvie 10d978deb4 Fix a typo in the hardware breakpoint description
Closes #2936

Regression commit: b7402c2fb9
2022-09-24 22:27:57 +02:00
Duncan Ogilvie d78ec69b9c
Merge pull request #2935 from owerosu/development
Fix undecorated label display when it comes from exported symbols.
2022-09-24 22:18:15 +02:00
Duncan Ogilvie 63b784f97e Fix the struct view text color in dark mode 2022-09-23 01:14:07 +02:00
Duncan Ogilvie bc88c85377 Use the page address instead of the module name for sections
This fixes an issue where two modules with the same name are confused

Closes #2933
2022-09-18 19:55:10 +02:00
Owerosu 7de0e994dd Fix undecorated label display when it comes from exported symbols. 2022-09-17 17:27:42 +02:00
Duncan Ogilvie 3c22b64cd8 Relocate the image correctly with disable ASLR 2022-09-11 15:54:50 +02:00
Duncan Ogilvie 1de3253cbd Add option to disable ASLR + fix race condition with breakpoints
Closes #1764
Closes #2716
2022-09-10 01:15:09 +02:00
Duncan Ogilvie 870039f1d1 Allow editing columns of the disassembly view 2022-09-10 01:10:03 +02:00
Duncan Ogilvie 580cd3d9c2 Unbreak binary compatibility 2022-09-08 23:35:06 +02:00
Duncan Ogilvie 5f45d2c084 Fix regression with .NET Any CPU binaries
Closes #2932
2022-09-07 14:47:23 +02:00
Duncan Ogilvie 3730abd784 Add the undocumented "cmdtest" command to log argv 2022-09-04 22:37:03 +02:00
Duncan Ogilvie 77cbbbf051 Improve escaping in format strings for backwards compatibility 2022-09-04 22:30:12 +02:00
Duncan Ogilvie 7a5226a182 Special handling for format strings in the command parser
This allows: log "jmp {streq(dis.mnemonic(cip), "jmp")}" to work as you would expect

Closes #2930
2022-09-04 22:16:54 +02:00
Duncan Ogilvie 974b93432e Only process GUI events for the menu lock
Some weird crashes started happening after becfa86
2022-09-03 15:13:40 +02:00
Duncan Ogilvie 52b9866fc8
Merge pull request #2903 from yjd/Fix-Shift-key-combination-bug
Fix Shift key combination bug
2022-09-03 14:34:38 +02:00
Duncan Ogilvie 1b3e462969 Rename "Shortcuts" to "Hotkeys" 2022-09-03 14:06:15 +02:00
Duncan Ogilvie 23a3f92d6b AStyle 2022-09-03 13:54:20 +02:00
Duncan Ogilvie 1ec3031aca
Merge pull request #2929 from greenozon/development
Reducing disk I/O operations by reusing local var value
2022-09-03 13:32:37 +02:00
Alex df7e45a0d7 Reducing disk I/O operations by reusing local var value 2022-09-03 13:26:47 +03:00
Duncan Ogilvie becfa86ac6 Pump the event loop when waiting for a lock on the GUI thread
This solves a potential deadlock with DotX64dbg
2022-09-02 23:45:43 +02:00
Duncan Ogilvie d1f384e5bf Add the GuiGetMainThreadId function 2022-09-02 23:44:54 +02:00
Duncan Ogilvie ae3b36967d Don't spam the log with a list of loaded drivers 2022-09-02 19:42:06 +02:00
Duncan Ogilvie 5eeae0059e Warn when certain anti-cheat drivers are detected 2022-09-02 19:37:18 +02:00
Duncan Ogilvie d07f05d2af Improve coloring of section names in the memory map 2022-09-02 16:53:18 +02:00
Duncan Ogilvie e36f8b7402 Rewrite the logic for processing module sections in the memory map
Closes #2920
2022-09-02 16:52:53 +02:00
Duncan Ogilvie 701fb40159 Simplify setting x64dbg as a JIT debugger 2022-09-02 15:09:02 +02:00
Duncan Ogilvie 4cb959cf41 Support IDA's $RELPATH in themes 2022-09-02 14:51:21 +02:00
Duncan Ogilvie 5f758c8e9c Change a few default settings to improve UX 2022-09-02 14:50:17 +02:00
Duncan Ogilvie e56bfa66c8 Clarify the exit confirmation dialog 2022-09-02 14:49:59 +02:00
Duncan Ogilvie 1bef2b9a8f Support HTML in the status bar log label 2022-09-02 14:11:58 +02:00
Duncan Ogilvie 0db522082e Support x64dbg:command#xxx and x64dbg:address#xxx links 2022-09-02 13:46:28 +02:00
Duncan Ogilvie 9f32b844f4
Merge pull request #2927 from mobile46/patch-2
Update filter text in the launcher dialog
2022-09-01 00:09:19 +02:00
Mobile46 53cd98b9a0
Update filter text in the launcher dialog 2022-09-01 00:04:41 +03:00
Duncan Ogilvie 6ecc4bcaa3 Format strings at the end of a page correctly 2022-08-23 20:39:27 +02:00
Duncan Ogilvie 117dd32a06 Improve the trace tab UX 2022-08-20 00:00:33 +02:00
Duncan Ogilvie eb2f4776e3 Highlight the taken branch for the selected block in the graph 2022-08-08 23:51:38 +02:00
Duncan Ogilvie 7dcfab2a82
Merge pull request #2889 from justanotheranonymoususer/more-str-functions
Case insensitive string functions
2022-08-05 14:49:21 +02:00
justanotheranonymoususer 2339169b0e Case insensitive string functions 2022-08-05 13:53:29 +02:00
Torusrxxx 61c1808701
follow string in dump (#2913)
Improve the string reference view with more context menus.
2022-08-05 13:18:46 +02:00
Duncan Ogilvie 2665db453b Fix an oversight in the new 'Record trace' checkbox in the trace dialog 2022-07-27 16:59:57 +02:00
Duncan Ogilvie bc5ed1da7e Fix some more warnings in the GUI 2022-07-20 01:45:34 +02:00
Duncan Ogilvie 3361b2dfc2 Big refactor to improve the tracing experience
- "Trace record" has been renamed to "Trace coverage"
- "Run trace" has been renamed to "Trace recording"
- You can now start recording directly from the trace dialog
2022-07-20 01:42:48 +02:00
Duncan Ogilvie cb7e6ea892 Fix a bunch of warnings in the GUI 2022-07-20 01:06:39 +02:00
Duncan Ogilvie 524c124dfd Do not override the user's appearance settings on startup
Closes #2912
2022-07-20 01:04:22 +02:00
Duncan Ogilvie 5dcfd11928 Remove the TraceRecordEnabledDuringTrace setting 2022-07-19 21:05:49 +02:00
Duncan Ogilvie 1c05ad5b5f Sort breakpoint hit count by value instead of text
Closes #2910
2022-07-15 14:22:39 +02:00
Duncan Ogilvie cb51f0e2a2 Clear the trace view info box when closing the trace 2022-07-14 23:26:53 +02:00
Duncan Ogilvie ff609dbce1 Rename confusingly named menu entry in graph 2022-07-10 23:09:20 +02:00
Duncan Ogilvie dc9e9947c3 Update to Qt 5.6.3 and include icon engines 2022-07-10 20:59:33 +02:00
Duncan Ogilvie ed5adb909c Add extra logic for overriding default images 2022-07-10 20:31:34 +02:00
Duncan Ogilvie 3d949b9847 Show the current theme with a checkbox 2022-07-10 15:05:25 +02:00
Duncan Ogilvie 08c4941784 Improve the code to automatically detect the initial theme 2022-07-10 15:04:53 +02:00
Duncan Ogilvie b867b5ba3a Add API: BridgeGetNtBuildNumber 2022-07-10 14:28:58 +02:00
Duncan Ogilvie 953c06dc88 Fix potential buffer overrun in DebugUpdateTitle 2022-07-10 13:03:02 +02:00
Yakov5776 ea537239d4
Set theme according to system theme on firstrun (#2648) 2022-07-10 13:01:28 +02:00
Duncan Ogilvie fdf8052d67 Allow themes to customize the icons
Thanks to https://twitter.com/Trancestorm for the dark theme icons!
2022-07-10 03:31:17 +02:00
Duncan Ogilvie fae816cc3c
Merge pull request #2904 from yjd/Find-Strings-in-Current-Module
Find strings in current module
2022-07-09 23:32:42 +02:00
yjd 7199bb0f79
Find Strings in Current Module 2022-07-05 11:26:18 +08:00
yjd 00e973b48f
Find Strings in Current Module 2022-07-05 11:24:36 +08:00
yjd 9b53cda24c
Fix Shift key combination bug 2022-07-05 11:15:36 +08:00
Duncan Ogilvie 29bb559aa6
Merge pull request #2899 from gmh5225/Branch_fix_veh
Using build number instead of magic number
2022-07-04 15:35:54 +02:00
Duncan Ogilvie 98f8f9af93
Merge pull request #2901 from eltimen/references-multiselect
Add ability to set breakpoints on multiple selected lines in the References tab
2022-07-04 15:35:01 +02:00
eltio 6a5ff0467c Add ability to set breakpoints on multiple selected lines in the References tab 2022-07-03 11:14:30 +03:00
eltio 8171b8138c Fix array out of bounds in SearchListView::eventFilter
The value of QKeyEvent::text() can be empty for modifier keys such as Ctrl, Shift, ...
2022-07-03 11:13:49 +03:00
gmh5225 5284c82d2e
Using build number instead of magic number 2022-07-02 01:20:38 +08:00
Duncan Ogilvie 56eef9553e
Merge pull request #2897 from vrrmin/patch-1
Typo in Breakpoints.cpp
2022-06-30 17:01:13 +02:00
Vermin a40c81e1bd
Update Breakpoints.cpp 2022-06-30 16:41:15 +02:00
Duncan Ogilvie 2d18cc3bad More improvements to the StructWidget 2022-06-22 00:08:20 +02:00
Duncan Ogilvie 13f4c8919d Do not break on the load event for ntdll
This is nonsensical because the event is fake and the context doesn't match reality at this point. It is also impossible to interact with the context.
2022-06-21 15:15:18 +02:00
Duncan Ogilvie ea52c7ae26 Refresh all views after visiting a type 2022-06-21 15:13:46 +02:00
Duncan Ogilvie f37b56c18d Improve the StructWidget more (save columns, performance improvements) 2022-06-20 01:53:34 +02:00
Duncan Ogilvie b7402c2fb9 Log the thread parameter and refactor SymGetSymbolicName 2022-06-19 21:20:09 +02:00
Duncan Ogilvie 2fe1ceedec Improve type visiting
No longer create temporary labels for types without a valid pointer
Prefix pointers with struct/union for readability
2022-06-19 21:08:33 +02:00
Duncan Ogilvie f62a75953a Highlight keywords in the StructWidget 2022-06-19 21:07:01 +02:00
Duncan Ogilvie d869248e91 Add support for strings in the command bar and formatting
Closes #2882
2022-06-19 01:47:05 +02:00
Duncan Ogilvie bae4243d81 Improve TEB/Stack information in the memory map 2022-06-19 00:30:32 +02:00
Duncan Ogilvie d87675a22f Refactor the findallusermem and findallsysmem commands into findallmem 2022-06-15 19:57:55 +02:00
Duncan Ogilvie ca2a96ed5c
Merge pull request #2880 from rezaf28/development
Add "All User Modules","All System Modules" To RMB
2022-06-15 19:57:07 +02:00
Duncan Ogilvie ff8c39015a
Merge pull request #2834 from Montycarlo/add-log-color
Extra Log method for HTML
2022-06-15 16:28:37 +02:00
Josh Brown ef747733ac changed printf html to puts html 2022-06-13 04:13:56 -07:00
Duncan Ogilvie 601e2d1175 Add an option for different High DPI scaling
Closes #2884
Closes #2876
Closes #2819
Closes #492
Closes #2801
Closes #2876
2022-06-12 16:36:13 +02:00
Duncan Ogilvie 1656256f58
Merge pull request #2881 from gmh5225/Branch_fix_dpi
Using SetProcessDpiAwarenessContext instead of QTAPI on Win10 above 1703
2022-06-12 14:31:54 +02:00
gmh5225 8b74e7cc4e
Fix type 2022-06-07 19:58:15 +08:00
gmh5225 670746737d
Simplifying the code 2022-06-07 19:31:20 +08:00
gmh5225 7fe1381fc4
AStyle format 2022-06-07 18:25:51 +08:00
gmh5225 0887e68641
Fix type 2022-06-07 18:09:00 +08:00
gmh5225 0d2c5b2c91
Fix type 2022-06-07 18:06:34 +08:00
gmh5225 25ef085966
Using SetProcessDpiAwarenessContext instead of QTAPI on Win10 above 1703 2022-06-07 17:56:15 +08:00
Reza Feizi e7cfeb9555
Update x64dbg.cpp 2022-06-06 15:21:32 +04:30
Reza Feizi cad6bef879
Update reference.h 2022-06-06 15:21:11 +04:30
Reza Feizi 1f79228dc8
Update reference.cpp 2022-06-06 15:20:55 +04:30
Reza Feizi b2cebf60cb
Update cmd-searching.cpp 2022-06-06 15:17:44 +04:30
Reza Feizi f8d4559c7c
Add "All User Modules","All System Modules" To RMB 2022-06-06 08:44:04 +04:30
Josh Brown b9e503d8ef Added dprintf_args_untranslated_html which will add unescpated HTML to LogView 2022-05-27 18:36:45 -07:00
Duncan Ogilvie f451111a2b Update ldconvert (ASLR+DEP+No TLS)
Thanks to https://twitter.com/sum_catnip for pointing it out!
2022-05-25 18:38:25 +02:00
Duncan Ogilvie c7aeda7965 Print the NTSTATUS name next to the process exit code
See #2874
2022-05-18 12:35:25 +02:00
Duncan Ogilvie 101f4ae569 Add bytes to the CalculatorDialog and refactor
Thanks to @Rat431 for the idea, see #2872
2022-05-14 20:18:22 +02:00
Duncan Ogilvie d77f2d9b09 Switch to LLVMDemangle for symbol demangling
Thanks to @Khangaroo for the bug report!
2022-05-14 16:04:28 +02:00
Duncan Ogilvie ac0cf910a4 Change the order of symbol enumeration to be more natural 2022-05-14 14:38:18 +02:00
Duncan Ogilvie a031e037a4 Clarify some menu options 2022-05-14 14:38:01 +02:00
Duncan Ogilvie 89963dfc1a Improve expression function support 2022-04-11 00:56:47 +02:00
Duncan Ogilvie ba12bb6eba
Merge pull request #2857 from torusrxxx/patch000000d5
Add detach and exit to exit dialog
2022-03-26 14:09:43 +01:00
torusrxxx 0d3cc433e2
Use F2 to toggle window proc breakpoint 2022-03-26 20:13:37 +08:00
torusrxxx 01dba2c707
Add detach and exit to exit dialog 2022-03-26 19:48:17 +08:00
Duncan Ogilvie 78b77fa333
Merge pull request #2849 from mobile46/patch-1
Fix for printable characters
2022-03-24 10:46:20 +01:00
Duncan Ogilvie af07ddfa7a
Merge pull request #2850 from torusrxxx/patch000000d3
Remember some window settings, copy old value, UI enhancement
2022-03-24 10:45:44 +01:00
Duncan Ogilvie 2219a4019e
Merge pull request #2852 from torusrxxx/patch000000d4
Add "Ignore First-Chance" button to ignore all exceptions
2022-03-17 17:49:33 +01:00
torusrxxx 05cf6a2b0d
Add "Ignore First-Chance" button to ignore all exceptions 2022-03-17 23:27:00 +08:00
torusrxxx 10c26e783b
Remember some window settings, copy old value, UI enhancement 2022-03-16 23:59:13 +08:00
Mobile46 626bbf0909
Fix for printable characters 2022-03-12 19:20:23 +03:00
torusrxxx a6313b45f5
Modified Simplified Chinese readme 2022-03-02 22:47:39 +08:00
fairycn 4a7269f81b
Add readme Simplified Chinese document
Translated from the readme.md file
2022-02-27 08:35:24 +08:00
Duncan Ogilvie 612b95b430 Some minor changes 2022-02-24 15:06:23 +01:00
Duncan Ogilvie a216adb21c Improve constant searching algorithm to match non sign-extended values too
Closes #2824
2022-02-24 15:02:01 +01:00
Duncan Ogilvie 048825e30a
Merge pull request #2817 from rajkumarananthu/feature_search_in_log
Adding search action in LogView
2022-02-24 14:44:50 +01:00
Duncan Ogilvie 07d60083bb Improve ASCII string detection algorithm
Closes #2835
2022-02-24 14:40:42 +01:00
谭九鼎 952257670f Use https for links (#2839)
# Conflicts:
#	CONTRIBUTING.md
2022-02-24 14:40:32 +01:00
谭九鼎 c89877707c
Use https for links (#2839)
* Use https for links

* change subdomain back to http
2022-02-24 14:36:50 +01:00
Rajkumar Ananthu 9dddf68b83 Updating the search in log feature changes as per the review comments
- Ran the format.bat on the changes
- Using ConfigColor() instead of QColor
- Implementing the search similar to notepad find(find, find next, find previous).
2022-02-21 19:35:22 +05:30
Duncan Ogilvie 3370207f03 Add some more unusual instructions 2022-02-14 23:35:46 +01:00
Duncan Ogilvie 80d6f6002c Allow dumping consecutive selected memory ranges 2022-02-14 23:35:22 +01:00
Duncan Ogilvie bc94635cef
Merge pull request #2822 from SirHerpDerp/asmdlg_opcode_pos
AssembleDialog - OpCode to newline
2022-02-14 19:10:43 +01:00
Duncan Ogilvie 72af1d2d35 Translate opcode bytes label 2022-02-14 18:44:42 +01:00
Josh Brown d32d44258f Add [color@#aaaaaa] block formatter for log 2022-02-11 23:22:44 -08:00
torusrxxx 2d78e115fe
fixed mnemonic brief not shown 2022-01-21 16:44:38 +08:00
Duncan Ogilvie e2f3c4a26e Make all child dialogs respect the DarkTitleBar setting 2022-01-19 01:12:15 +01:00
John d4a2e9ffd4
opcodes to newline in AsmDlg
put the genereted OpCode (AssembleDialog) to a new line so for optical purposes so it does not look squeezed
2022-01-18 15:34:00 +01:00
Duncan Ogilvie 30ce2fe778 Fix a bunch of error on /std:c++latest
Closes #2820
2022-01-17 10:18:54 +01:00
Duncan Ogilvie 58de91b229 Automatically sync with gitee 2022-01-14 15:46:52 +01:00
Torusrxxx fddef539c4
Fixed blurry disassembly text (#2819) 2022-01-13 03:21:08 +00:00
Rajkumar Ananthu 1b6289eaa4 Adding search action in LogView
To increase flexibility for user to search for a pattern
inside the log instead of copying to some other tool.
2022-01-06 12:50:06 +05:30
Duncan Ogilvie bd2638f662 Fix undefined behavior in new getAutoComment function 2022-01-05 13:01:00 +01:00
Duncan Ogilvie c66bf1689a Improve rich text painting rendering performance (hopefully) 2022-01-05 13:01:00 +01:00
Duncan Ogilvie caaf241467 Actually allow enabling the new string algorithm 🤦‍♂️ 2022-01-05 01:52:21 +01:00
Duncan Ogilvie 59f19f54b2 Fix VEH/VCH enumeration on Windows 10
Closes #2814
2022-01-04 08:43:19 +01:00
Duncan Ogilvie 1b09ed07a6 Fix a bug with Shift+3 in the ShortcutEdit (thanks gzfuqun!) 2022-01-03 06:58:46 +01:00
Duncan Ogilvie f0712b4988 Use relative paths for submodules 2022-01-03 06:58:04 +01:00
Duncan Ogilvie b4fc237823 Only use the new string detection algorithm in certain code pages 2022-01-03 05:20:09 +01:00
Duncan Ogilvie f2ab218eb1 Prioritize labels over strings in the dump address view 2022-01-03 04:41:34 +01:00
Duncan Ogilvie a43d7b2e19 Fix Ctrl+Shift+Tab in ShortcutEdit #2176 2022-01-03 04:11:42 +01:00
Duncan Ogilvie e0b350358e Fix Ctrl+N 2022-01-03 04:11:42 +01:00
Duncan Ogilvie c77b899840 Improve Handle wrapper class 2022-01-03 04:11:42 +01:00
Duncan Ogilvie 16d3b5ea2b Allow the chd command without arguments to reset the current directory 2022-01-03 04:11:42 +01:00
Duncan Ogilvie 56c6233baa Simplify wow64 check 2022-01-03 04:11:42 +01:00
Duncan Ogilvie f0dc28020d
Merge pull request #2807 from torusrxxx/patch000000d0
Add support for printing floating point numbers in XMM/YMM
2022-01-01 20:03:48 +01:00
torusrxxx bbfd31970c Fixed precision of printing double pointer 2022-01-01 16:44:21 +01:00
Duncan Ogilvie 831cba592f
Merge pull request #2810 from torusrxxx/patch000000d2
copy and paste breakpoint conditions
2022-01-01 16:40:02 +01:00
Duncan Ogilvie bee655771c
Merge pull request #2808 from torusrxxx/patch000000d1
Add autocomment for conditional breakpoint
2021-12-28 22:00:31 +01:00
torusrxxx 9ae281de20
copy and paste breakpoint conditions 2021-12-28 22:56:50 +08:00
torusrxxx 8309cedcf3
fixed comments added twice 2021-12-26 17:39:08 +08:00
torusrxxx 3817686d95
Add autocomment for breakpoint 2021-12-26 17:24:00 +08:00
torusrxxx d7d9e95272
Add support for printing floating point numbers in XMM/YMM 2021-12-25 17:36:29 +08:00
Duncan Ogilvie 025fcf5125
Merge pull request #2805 from torusrxxx/patch000000cf
Eenhanced floating point support
2021-12-22 16:20:49 +01:00
torusrxxx 1350756ef3
Add the UI to modify floating point number in dump 2021-12-21 15:18:58 +08:00
torusrxxx 0f9f668221
Add string format to print floating point number pointer 2021-12-21 14:46:37 +08:00
Duncan Ogilvie 72e326459c Attempt to scale the column widths when changing fonts 2021-12-05 15:28:13 +01:00
Duncan Ogilvie 59c46f374b
Update FUNDING.yml 2021-12-03 04:27:28 +01:00
Duncan Ogilvie 46d123379c
Update README.md 2021-12-03 04:25:59 +01:00
Duncan Ogilvie 703ae954d7 Rudimentary support for Windows Sandbox
- \Device\ paths are not supported by CreateFile
- Add a hackfix for \Device\vmsmb\VSMB-*\os\Windows\ paths
2021-11-24 01:21:39 +01:00
Duncan Ogilvie 0875e1339b
Merge pull request #2792 from starsunyzl/fix-shortcut-again
Fix #2790 mistake
2021-11-21 22:28:26 +01:00
Torusrxxx 4daeb64939
Update MainWindow.ui 2021-11-20 09:03:41 +00:00
Torusrxxx 586123021a
Update MainWindow.ui 2021-11-20 09:01:16 +00:00
Liz 322de6bc3b Fix #2790 mistake 2021-11-20 01:42:37 +08:00
Duncan Ogilvie 30bfecd80f
Merge pull request #2790 from starsunyzl/fix-shortcut 2021-11-19 16:25:52 +01:00
Liz 2391bccbbc Accept suggestions #2790 2021-11-19 13:08:49 +08:00
Liz 910864b978 Fix the enter key on the keypad not working in CPUStack widget 2021-11-19 09:13:35 +08:00
Duncan Ogilvie b27bd5c410
Merge pull request #2783 from Schweinepriester/patch-1
README.md: HTTP => HTTPS
2021-11-03 10:57:34 +01:00
Duncan Ogilvie f7ef67687d
Merge pull request #2778 from torusrxxx/patch000000ce
dump TEB on double clicking FS/GS register
2021-10-31 10:49:09 +01:00
Kai c2bedf4de9
README.md: HTTP => HTTPS 2021-10-31 01:38:41 +02:00
torusrxxx b07aa9abf9
dump TEB on double clicking FS/GS register 2021-10-28 19:07:45 +08:00
Duncan Ogilvie f1e5535112
Merge pull request #2772 from bjauny/use_pragma_once
Replaced include guards with pragma once
2021-10-27 19:42:25 +02:00
Duncan Ogilvie f7c2fcc89f
Merge pull request #2775 from x64dbg/fix-2774
Fix a use after free in ExpressionFunctions::Unregister
2021-10-25 12:06:45 +02:00
Duncan Ogilvie 527356f640 Fix a use after free in ExpressionFunctions::Unregister
Closes #2774
2021-10-25 10:55:22 +02:00
Bastien JAUNY 0e792293d8 Replaced include guards with pragma once 2021-10-24 11:35:18 +02:00
Duncan Ogilvie 4ee4a51e43
Merge pull request #2771 from ZehMatt/scriptapi-memoryprot
Refactor memory protection access and add new script API method
2021-10-23 16:31:27 +02:00
ζeh Matt 2c14dbb0c9
Split pages only if view requests it 2021-10-23 17:30:27 +03:00
ζeh Matt dad048647e
Use explicit size for changing memory protections and split range 2021-10-22 15:55:23 +03:00
Duncan Ogilvie b809100d47
Merge pull request #2770 from torusrxxx/patch000000cd
fix #2769
2021-10-22 13:54:54 +02:00
Duncan Ogilvie 5afd8ff24d
Merge pull request #2768 from torusrxxx/patch000000cc
minor enhancement
2021-10-22 13:54:03 +02:00
ζeh Matt 105aaa2ab7
Refactor scripting API to use new accessors 2021-10-22 14:27:28 +03:00
ζeh Matt c6da82bf7b
Refactor access to memory page protection 2021-10-22 14:26:51 +03:00
torusrxxx bb579fe509
fix #2769 2021-10-22 18:42:05 +08:00
torusrxxx cb04535d05
minor enhancement 2021-10-21 11:32:21 +08:00
Duncan Ogilvie bae7211fb8
Merge pull request #2764 from torusrxxx/patch000000cb
Secretly allow the user to mod background image
2021-10-17 01:08:24 +02:00
Duncan Ogilvie f906585fa6
Merge pull request #2763 from torusrxxx/patch000000ca
Add restart and stop debugging to exit dialog
2021-10-17 01:08:08 +02:00
torusrxxx 9c9f925021
Allow the user to mod background image in tables 2021-10-16 22:39:21 +08:00
torusrxxx b473deaa25
Add restart and stop debugging to exit dialog 2021-10-15 21:43:50 +08:00
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
Duncan Ogilvie 96d2a6a745
Merge pull request #2756 from CaledoniaProject/patch-2
Enable SeDebugName privilege by default
2021-10-12 09:19:15 +02: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
Duncan Ogilvie ad8f193b90
Merge pull request #2743 from torusrxxx/patch000000c7
don't copy html if more than 2048 lines are selected
2021-10-04 16:53:37 +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
Duncan Ogilvie 50bbdda757
Merge pull request #2731 from torusrxxx/patch000000c6
Preview the assembled bytes in assemble dialog
2021-09-18 22:32:55 +02: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
Duncan Ogilvie c113a6ae1c
Merge pull request #2693 from torusrxxx/patch000000c4
Don't clear filter on list refresh (#2317)+ fix icon table text overflow
2021-09-12 12:02:25 +02: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
Duncan Ogilvie 32b4d837d2
Merge pull request #2729 from ZehMatt/issue-form
Use GitHub issue forms
2021-09-11 15:14:14 +02:00
ζeh Matt 41e33b80b9
Use GitHub issue forms 2021-09-11 16:10:42 +03: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
Duncan Ogilvie b4f55233d3
Merge pull request #2713 from thejanit0r/patch-2
Added CB_STOPPINGDEBUG plugin callback in order to let plugins perform clean-up
2021-08-21 15:46:26 +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
Duncan Ogilvie 50b020f9cc
Merge pull request #2701 from morsisko/dump_modify_dialog_fix
Added "Follow in Symbols" to the Memory Map context menu
2021-08-13 16:24:26 +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
Duncan Ogilvie 1cdcaa242c
Merge pull request #2700 from morsisko/dump_modify_dialog_fix
DBG: Fixed crash when comment longer than 512 characters
2021-07-29 10:38:36 +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
Duncan Ogilvie 50f2572ea8
Merge pull request #2688 from torusrxxx/patch000000c2
Add copy menu to ScriptView
2021-07-19 22:42:37 +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
Duncan Ogilvie 4176de66c7
Merge pull request #2681 from ZehMatt/fix-expr-bug
Fix expressions not passing correct arguments
2021-07-09 23:28:19 +02:00
ZehMatt 31bec6102a
Fix expressions not passing correct arguments 2021-07-09 20:45:27 +03:00
Duncan Ogilvie f444626b45
Merge pull request #2678 from CaledoniaProject/patch-1
Update SettingsDialog.ui
2021-07-04 16:17:12 +02: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
Duncan Ogilvie 061b9428ea
Merge pull request #2673 from thejanit0r/patch-1
hActiveThread is now being updated in cbDebugEvent (Issue #2663)
2021-06-12 12:02:56 +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
Duncan Ogilvie e608f9346c
Merge pull request #2646 from torusrxxx/patch000000be
Fix QMetaObject::connectSlotsByName: No matching signal for on_txtAsc…
2021-04-18 14:50:30 +02:00
torusrxxx a96e88b7c6
Fix QMetaObject::connectSlotsByName: No matching signal for on_txtAscii_clicked() 2021-04-18 10:47:35 +08:00
Duncan Ogilvie 18b949ee51
Merge pull request #2645 from morsisko/fix_call_stack_column_sort
GUI: Disabled possibilty to sort content in call stack tab, fixed #2637
2021-04-17 18:19:17 +02:00
morsisko 600b195457 GUI: Disabled possibilty to sort content in call stack tab, fixed #2637 2021-04-17 16:20:19 +02:00
Duncan Ogilvie b29aba22f6
Merge pull request #2506 from ioncodes/nt-status-code
Implement NT status codes for EAX
2021-04-16 13:26:28 +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
Duncan Ogilvie 62c47cb3ab
Merge pull request #2634 from torusrxxx/patch000000bc
Add module name to import symbols
2021-04-13 21:43:25 +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
Duncan Ogilvie 2b88320423
Merge pull request #2623 from torusrxxx/patch000000ba
enhance the FPU support for trace info box and trace registers view
2021-04-03 20:28:32 +02: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
Duncan Ogilvie ba891068dd
Merge pull request #2620 from torusrxxx/patch000000b9
Allow registers to be resized smaller & use default scrollbar style
2021-03-28 17:25:52 +02: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
Duncan Ogilvie 0227d478ee
Merge pull request #2616 from eltociear/patch-1
LAUNCHER: fix typo in x64dbg_launcher.cpp
2021-03-20 10:23:37 +01: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 83114f1b34
Merge pull request #2613 from Mattiwatti/exitprocess-event
Clear history before exit breakpoint
2021-03-18 20:02:07 +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
Duncan Ogilvie 4970713eb6 Fix XP support(?) 2021-02-15 22:25:06 +01:00
Duncan Ogilvie c52e3c7598
Merge pull request #2592 from Mattiwatti/exitprocess-event
Change NtTerminateProcess breakpoint to a generic 'exit breakpoint'
2021-02-09 17:17:52 +01: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
Duncan Ogilvie 5b43c22a64
Merge pull request #2576 from torusrxxx/development
Add symbols in function list when no label
2021-01-24 16:05:09 +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
Duncan Ogilvie 5a59ce27c7
Merge pull request #2573 from torusrxxx/patch000000b9
Go to function return in trace view
2021-01-14 13:03:55 +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
Duncan Ogilvie b08207b9b5 Update TitanEngine to fix an issue with debug privilege 2020-12-15 18:45:39 +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 47313dee8a
Merge pull request #2520 from torusrxxx/patch000000a7
Refactor some actions into CommonActions class
2020-12-06 20:16:01 +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 d6348b8fb8 Breaking change! Update TitanEngine and GleeBug to support the new attach behavior 2020-11-12 05:02:26 +01: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 6f13301d62 Fix dark theme text selection 2020-11-02 01:23:35 +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 16cc39b331 Add some missing exceptions (Thanks @JustMagic) 2020-10-03 17:23:35 +02:00
Duncan Ogilvie 89c9ed6c3f Add Qt5WinExtras.dll from submodule 2020-10-02 23:04:45 +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 34342b9e3b GUI: improve dark theme 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 6098c78ccf PROJECT: copy the themes directory in the release 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 2306173354 added default style file that recreates the original look 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 4312b99fd4 PROJECT: set core.autocrlf in install.bat to make it easier to contribute 2020-07-09 18:27:39 +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
torusrxxx b058db685c Add some comments and small fixes to trace browser 2020-06-04 17:50:45 +02:00
torusrxxx 82ba40e6ec Show XMM floating-point value in info box 2020-06-04 17:50:45 +02:00
Duncan Ogilvie 6f5e786a54 DBG: improve function analysis and introduce loop analysis
Thanks to DefCon42 for help on the backedge algorithm!
2020-06-04 17:26:47 +02:00
Duncan Ogilvie 5ab09dae92 DBG: add parent in function API to support function chunks 2020-06-04 17:26:47 +02:00
Duncan Ogilvie bb49270921 DBG: show progress in status bar when downloading symbols 2020-06-04 17:26:47 +02:00
Duncan Ogilvie 0b056c075b PROJECT: update release script to copy PDB files for archiving reasons 2020-06-04 17:26:47 +02:00
Duncan Ogilvie 23d788734a GUI: fix displaying of certain loop/argument configurations 2020-06-04 17:26:47 +02:00
Duncan Ogilvie 7bdec6f195 GUI: implement context menus for adding/deleting loops 2020-06-04 17:26:47 +02:00
Duncan Ogilvie b9b8e52c4e DBG: improve loop API 2020-06-04 17:26:42 +02:00
Duncan Ogilvie 2b9fc285c8 DBG: minor fixes with iterators and erasing 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 10da0d4654 DBG: allow setting temporary labels from the labelset command 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 6293b90aff DBG: add dbdecompress helper command 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 430ea53876 BRIDGE: allow optional parameters for DbgLoopGet 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 9c3e5ec5ff DBG: truncate labels in LabelGet 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 33403df92b DBG: improve working set mitigation 2020-06-04 17:25:50 +02:00
Duncan Ogilvie d2f19c334d DBG: properly truncate the page info 2020-06-04 17:25:50 +02:00
Jack Reez 193eb52ef5 GUI: Some icons updated.
2 Icons added && 2 Icons changed.
2020-06-03 11:50:06 +02:00
Jack Reez 484d9289bb GUI: Sanitizing input expression before assemble.
BUG: When assembling an instruction, if we copy and paste an instruction from somewhere with whitspaces [ \r\n] it results in invalid parsing in asmjit engine selected and throws an error as "Error writing to memory".

SCENARIO: Copy and pacste an instruction from a text editor with a newline prefix to the assemble dialog and try to assemble.
If there is newline in the prefix the validation don't even care about the expression after the newline prefix.
2020-06-03 11:49:57 +02:00
Granville Schmidt 3cf3a3c233 Updated link to TitanEngine
Signed-off-by: Granville Schmidt <granville.schmidt@gmail.com>
2020-05-24 16:37:05 +02:00
Torusrxxx 6043dcf5a6
Allow stopping run trace when not debugging (#2326) 2020-05-15 12:31:12 +00:00
Duncan Ogilvie 5507b46dc4 DBG: error message improvement in cbDebugPause + minor project fixes 2020-05-09 22:40:45 +02:00
Serhii Suprun 7b2e62ccd2 added two new columns to trace browser with values of changed registers and memory 2020-04-29 23:29:22 +02:00
Duncan Ogilvie 9d49c67a75
PROJECT: update release.bat to include the new loaddll.exe 2020-04-28 00:32:21 +02:00
Duncan Ogilvie 8dd8026d55
DBG: remove a check that has been proven stable in MemoryReadSafePage 2020-04-28 00:25:50 +02:00
Duncan Ogilvie 1d5766e8bc
DBG: not not force RIP to the ExceptionAddress for EXCEPTION_BREAKPOINT 2020-04-28 00:25:04 +02:00
Duncan Ogilvie 0763064b70
DBG: fix more complex union scenarios 2020-04-27 13:20:37 +02:00
Duncan Ogilvie b1c0eee865
DBG: fix an issue with unions in the type system 2020-04-27 12:58:28 +02:00
Duncan Ogilvie e0b92786f0
DBG: move InitDLLDebugW out of TitanEngine 2020-04-25 22:14:06 +02:00
Duncan Ogilvie 434ef31a05
PROJECT: minor fixes in vcproj files 2020-04-25 22:14:05 +02:00
Duncan Ogilvie 3e8b9682bf
GUI: save entire block preference 2020-04-20 11:42:13 +02:00
Duncan Ogilvie 2bd139d89f
DBG: fix regression related to hardware breakpoint storage 2020-04-12 18:02:40 +02:00
Duncan Ogilvie a2867af839
DBG: I fixed it Brit 2020-04-10 03:59:03 +02:00
Duncan Ogilvie c139a94c08
GUI: add simple 'Find references to region' in memory map 2020-04-10 03:58:43 +02:00
Duncan Ogilvie 99f7d096a8
DBG: refresh the gui in some previously untested scenarios 2020-04-02 00:16:47 +02:00
Duncan Ogilvie 3a253248e5
DBG: finally properly implement setBpActive for hardware breakpoints 2020-04-02 00:16:47 +02:00
Duncan Ogilvie 9c6710094e
GUI: don't allow inactive breakpoints to be enabled/disabled 2020-04-02 00:16:47 +02:00
Duncan Ogilvie 6f92c63ce2
DBG: fix some potential bugs when disabling/deleting hardware breakpoints 2020-04-02 00:16:46 +02:00
Duncan Ogilvie 3308fbfc22
GUI: always delete breakpoints by identifier if possible 2020-04-02 00:16:46 +02:00
Duncan Ogilvie 5a6817680a
DBG: change order of breakpoint name and custom breakpoint identifier syntax in BpGet 2020-04-02 00:16:46 +02:00
Duncan Ogilvie d2c62e69c2
DBG: move DbLoad from cbCreateProcess to before entering the debug loop
fixes #2296
2020-02-23 16:24:23 +01:00
Duncan Ogilvie 6745514e31
DBG: improvements to initialization script experience 2020-02-23 16:01:29 +01:00
Duncan Ogilvie 6407b2b063
GUI: further improve performance of reference searching
Fixes #2287
2020-02-11 00:57:14 +01:00
Duncan Ogilvie 1774ba1f89
DBG: call reference update less frequently 2020-02-10 03:10:35 +01:00
Duncan Ogilvie aac246b27f
GUI: improve performance of ReferenceView API
closes issue #2281
2020-02-10 03:10:31 +01:00
Duncan Ogilvie 1de5313e58
GUI: make more methods thread-safe in SearchListView and StdSearchListView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie dbb1f57148
GUI: some TODO comments for AbstractTableView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie a75cc25710
GUI: make more methods thread safe in AbstractTableView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie 992e6d2374
GUI: introduce MethodInvoker utility 2020-02-10 02:35:21 +01:00
Duncan Ogilvie 472a8160dd
DBG: CloseHandle on the AeDebug event 2020-02-10 02:35:13 +01:00
Duncan Ogilvie 479ea5eec6
GUI: minor improvements to AbstractTableView 2020-02-10 02:35:04 +01:00
Duncan Ogilvie 15d7924e88
DBG: update TitanEngine
451c85e465
2020-01-21 20:31:24 +01:00
Duncan Ogilvie 063ce31ec6
DBG+GUI: improve disassembly navigation
closes #1226
2020-01-16 15:49:52 +01:00
Duncan Ogilvie e20cd71549
DBG: fix a race condition with a cached context in _dbg_getregdump
closes #2248
2020-01-16 15:25:48 +01:00
Duncan Ogilvie d3ee95d6ba
GUI: fix a bug in the LineEditDialog, where not editing the text made the text look empty for the user
closes #2273
2020-01-15 21:40:35 +01:00
Duncan Ogilvie f7f7a2f463
DBG: attempt to undecorate more symbols based on other prefixes
closes #2268
2020-01-08 01:39:49 +01:00
Duncan Ogilvie 6cab250906
GUI: double click in trace browser now follows in disassembly 2020-01-08 01:34:50 +01:00
Duncan Ogilvie 3925d4281a
GUI: improve disassembly reference menu 2020-01-08 01:34:50 +01:00
Duncan Ogilvie 62ada1d4ca
GUI: ctrl+alt+left/right from the dump now work in the disassembly 2020-01-08 01:34:49 +01:00
Duncan Ogilvie f70d780219
GUI: show weird selections in the GUI 2020-01-08 01:34:49 +01:00
Duncan Ogilvie ebf3db1095
DBG: add forgotten CBSELCHANGED in pluginload 2020-01-08 01:34:49 +01:00
Duncan Ogilvie 9d3775b98d
BRIDGE: refresh memory view and trace browser in GuiUpdateAllViews 2020-01-08 01:34:49 +01:00
Duncan Ogilvie 293d54f9d9
GUI: improve 'go to' menu in DisassemblerGraphView 2020-01-08 01:34:38 +01:00
Duncan Ogilvie dcc77c5071
GUI: fix bug in the graph view where debugge exit doesnt clear the state 2020-01-08 01:34:02 +01:00
Duncan Ogilvie b4a03a8009 GUI: make GUI_REF_SETROWCOUNT synchronous 2019-11-26 13:26:35 +01:00
Duncan Ogilvie 537c4e42d5 GUI: do not show reload+edit menus when loading script from clipboard 2019-11-26 13:26:35 +01:00
Duncan Ogilvie b6b1cce7ba DBG: force a terminating command at the end of a script 2019-11-26 13:26:35 +01:00
now-raymond ec451897a5 DBG: Fix function boundary computation when getting x64 stack frames
RUNTIME_FUNCTION range: [BeginAddress, EndAddress)

Old code:
Find `func` where:
`func.BeginAddress <= rva <= func.EndAddress`

New code:
Find `func` where:
`func.BeginAddress <= rva < func.EndAddress`
2019-11-26 13:26:15 +01:00
Duncan Ogilvie 824100eea8
DBG: implement memcpy command 2019-11-13 01:13:06 +01:00
Duncan Ogilvie b23c0dfe37
DBG: remove leading whitespace when loading script to correctly handle tabs 2019-11-12 23:55:56 +01:00
Duncan Ogilvie fae8434284
DBG: fix a buffer overflow in a terrible 5-year old API
Thanks to dudeme for finding a reliable way to reproduce this!
2019-11-12 23:55:23 +01:00
mappzor b0ba7d40e1 Fixed #2228 (#2244)
* Fixed #2228
2019-11-11 22:15:46 +01:00
Duncan Ogilvie e2a20266d1
DBG: close #2245
fix by lynnux
2019-11-10 23:15:29 +01:00
Duncan Ogilvie c65f65f3b1
DBG: better script cleanup 2019-11-05 00:55:22 +01:00
Duncan Ogilvie eca2f7f99a
DBG: refactor scripting functionality to allow executing script branches in the GUI 2019-11-05 00:33:32 +01:00
Duncan Ogilvie 8577c58f68
GUI: fix small bug introduced by #2243 2019-11-05 00:29:20 +01:00
Duncan Ogilvie e7f342f914
GUI: allow command history in ScriptView 2019-11-05 00:09:10 +01:00
Duncan Ogilvie c41d8b7b64
GUI: add HistoryLineEdit support in LineEditDialog 2019-11-05 00:08:45 +01:00
Duncan Ogilvie 5141ddce95
GUI: only flush the log when it is visible 2019-11-04 20:45:27 +01:00
Duncan Ogilvie 6d6df1ff6f
DBG: stop skipping exceptions when pausing on certain debug events 2019-11-04 20:45:27 +01:00
Duncan Ogilvie 3fc1bdebc9
DBG: remove some unused functionality related to pausing 2019-11-04 20:45:26 +01:00
mappa 52af639cc4 Enhanced LogView performance 2019-11-04 20:38:56 +01:00
Duncan Ogilvie 6da9fc8b42
GUI: limit log buffer to 100mb 2019-11-02 02:49:42 +01:00
Duncan Ogilvie 03c5406b4b DBG+EXE: compile on latest Visual Studio 2019 without MFC 2019-10-31 15:31:23 +01:00
Duncan Ogilvie 0023930790 DBG+GUI: fix underflow in zydis 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 14201568cf GUI: do not automatically update dump if the memory and view didn't change 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 362b2d7260 GUI: use const QString & in Configuration for performance 2019-10-31 15:28:41 +01:00
Duncan Ogilvie bdfb65fc7a GUI: remove useless functions from MemoryPage 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 67341fe997 GUI: std::move to reduce allocations 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 3efe95135b DBG: improve savedata command 2019-10-31 15:27:51 +01:00
Bálint Faragó 5b92e85cb4 GUI: fix Follow From context menu in CallStackView 2019-10-31 15:19:04 +01:00
Bálint Faragó e0e977c88a DBG: try querying the process cookie before adding breakpoints 2019-10-31 15:18:27 +01:00
Bálint Faragó 16d9e5a777 DBG: do not add breakpoints to query process cookie when attaching 2019-10-31 15:18:27 +01:00
Bálint Faragó 44c9d81e60 DBG: fix invalid handle exception on terminating attach after run 2019-10-31 15:17:23 +01:00
Bálint Faragó 894ce7842d DBG: remove duplicate variable and single cycle loop in advanced analysis 2019-10-31 15:17:05 +01:00
Bálint Faragó e975fc813d DBG: verify that the decoded instruction or data reference fits into the memory range 2019-10-31 15:17:05 +01:00
Matthaeus Puehringer 382231eff8 DBG: reject wildcard only patterns
closes #2212
2019-10-23 12:22:48 +02:00
Duncan Ogilvie dfa6cef3b5
GUI: fix some more weirdness with saving/restoring tab order 2019-10-20 00:03:11 +02:00
Duncan Ogilvie a2e6ccb39a
PROJECT: get rid of unused .clang-format file 2019-10-20 00:02:08 +02:00
Duncan Ogilvie 26d60547f2
GUI: fix TabOrder error for plugins that add tabs 2019-10-14 00:31:31 +02:00
Duncan Ogilvie cba93ba715
PROJECT: add FUNDING.yml 2019-10-12 16:02:40 +02:00
Duncan Ogilvie 83e1705985
DBG: sync mnemdb with the latest idaref 2019-10-12 16:00:04 +02:00
Duncan Ogilvie 4272d3518f
DBG: update mnemdb.json with more instructions and corrections
closes #2220
2019-10-12 16:00:03 +02:00
Austin Richards aa19e3e6f4 GUI: Added label to appearance dialog font tab to denote that system font update requires app restart to take effect. 2019-10-12 15:57:54 +02:00
honeyakshat999 ce1413a4f7 updated documentation 2019-10-12 15:55:23 +02:00
pxf_god 2952170189 DBG: fix call stack on x64 2019-10-12 15:41:29 +02:00
Duncan Ogilvie 31443c2c78
DBG: allow various more advanced pattern finding techniques
closes #2197
2019-09-01 17:28:48 +02:00
Duncan Ogilvie 12cf712ec2
DBG: add bswap format function 2019-09-01 17:28:43 +02:00
Duncan Ogilvie 8e2fb7f0b7
DBG: use patterntransform in the find command
see #2197
2019-09-01 15:45:29 +02:00
Duncan Ogilvie 249d5382c1
DBG: update patterntransform to reject invalid patterns 2019-09-01 15:44:28 +02:00
Duncan Ogilvie d50675ca02
DBG: fix some edge cases with page protections in the memory map 2019-08-23 00:48:20 +02:00
Duncan Ogilvie 2c37afcc9e
DBG: truncate copy data in DISASM_INSTR
closes #2028
2019-08-23 00:48:19 +02:00
Duncan Ogilvie d6b27324f4 DBG: fix bugfix
closes #2206
2019-08-22 17:50:30 +02:00
Duncan Ogilvie bbc93a9426 DBG: improve symbol handling 2019-08-22 17:21:37 +02:00
Duncan Ogilvie c6e3441819 GUI: don't follow patch in disasm and dump when toggling 2019-08-22 11:33:04 +02:00
Duncan Ogilvie 7212e853fb DBG: better heuristics for detecting the debuggee did not terminate after 10 seconds 2019-08-19 15:39:13 +02:00
Duncan Ogilvie 8a07bd2d7e
DBG+GUI: implement auto completion for exports in goto dialog
closes #1987
2019-08-17 17:38:58 +02:00
Duncan Ogilvie 593b5f1752
DBG: fix out of bounds access in valapifromstring
closes #2190
2019-08-17 16:30:23 +02:00
Duncan Ogilvie de2d930d8f
DBG+GUI: add transparent exception stepping option 2019-08-17 12:19:08 +02:00
Austin Richards 3bad6cb6dc GUI: Added Implemented color (orange/cyan) directional differentiation for sidebar jumps.
Existing configurations will use their color for forwards, and orange for backwards.
2019-08-11 10:33:31 +02:00
Duncan Ogilvie 60e1dff147
DBG: fix signature verification for PDB v2.0 and improve symbol log
closes #2193
2019-08-09 20:55:59 +02:00
Duncan Ogilvie f57d69f91e GUI: add a timer to SearchListView to properly deal with millions of entries 2019-07-02 15:57:21 +02:00
Duncan Ogilvie ab9f2d2f80 GUI: fixed some minor undefined behavior 2019-07-02 14:56:05 +02:00
Duncan Ogilvie 021ea4f743 GUI: properly encapsulate mSearchBox in SearchListView 2019-07-02 14:55:01 +02:00
Duncan Ogilvie bf413de6de
GUI: better sorting behavior in the HandlesView
closes #2195
2019-06-26 20:25:47 +02:00
Duncan Ogilvie d17852b63b DBG: fix a weird bug where dll breakpoints could not be deleted in certain cases 2019-06-25 21:17:45 +02:00
Duncan Ogilvie 1e7d4cec1a
PROJECT: remove snowman 2019-06-22 17:09:21 +02:00
Duncan Ogilvie 0b7d840b60
DBG+BRIDGE+GUI: fix bugs and add Graph+Memory Map+Symbol Module plugin menus 2019-06-22 16:44:45 +02:00
Duncan Ogilvie fc9f9a52fd
BRIDGE+GUI: GuiExecuteOnGuiThreadEx 2019-06-22 15:05:59 +02:00
Duncan Ogilvie 3dc120d623
GUI: refactor BridgeResult and fix a bunch of bugs in the process 2019-06-22 13:29:27 +02:00
Duncan Ogilvie c345647e85
DBG: allow plugstop to indicate FreeLibrary should not be called 2019-06-22 13:22:58 +02:00
Duncan Ogilvie 7114c71fe3
DBG: trim debug strings before showing them 2019-06-22 13:22:29 +02:00
Duncan Ogilvie 3c5a1ad13a
DBG: fix _plugin_menuentrysetvisible 2019-06-21 16:39:03 +02:00
Duncan Ogilvie 17d8f8ea45
GUI: remove snowman 2019-06-21 16:38:12 +02:00
Duncan Ogilvie bb2a369ce8
DBG: add colors and column to indicate symbol load status
closes #2185
2019-06-19 00:12:43 +02:00
Duncan Ogilvie cc30f105de
DBG: implement DbgFunctions()->ModSymbolStatus 2019-06-19 00:12:43 +02:00
Duncan Ogilvie 80d84e7108
DBG: implement symunload command 2019-06-19 00:12:38 +02:00
Duncan Ogilvie d969087bed
GUI: refactor StdSearchListView to allow passing a custom StdTableSearchList 2019-06-19 00:12:32 +02:00
Duncan Ogilvie 34318e3f7e
GUI: introduce AbstractTableView::getCellColor 2019-06-19 00:12:32 +02:00
Duncan Ogilvie 728f0eaa8d
DBG: fix various issues pointed out by Visual Studio code analysis 2019-06-19 00:12:31 +02:00
Duncan Ogilvie d62f7f431c
disable warnings for dbghelp.h 2019-06-19 00:12:31 +02:00
franco martinelli 32c8e33c64 Removed backtab key substitution
Fixing issue #2176
2019-06-16 14:03:25 +02:00
Duncan Ogilvie 0a77a1cb00 DBG: add expression functions for exception information 2019-06-13 13:17:15 +02:00
Duncan Ogilvie 1e075142a5 DBG: add symload command to manually load a PDB 2019-06-12 16:51:19 +02:00
Duncan Ogilvie 4ce5b0baec Fix other minor things 2019-05-19 18:09:34 +02:00
franco martinelli 23968f11d9 Iterating QMap with ranged for. Inlined renderShortcuts. Save button now has default focus
Using ranged for instead of iterators.
Inlined renderShortcuts since it was used only once
Adjusted layout of shortcuts Ui
2019-05-19 18:09:34 +02:00
franco martinelli 59ddfa63a8 Added action filter box
Added shortcut copyline
Added shortcut binding for copyline
2019-05-19 18:09:34 +02:00
Matt 72d76bb9bc Add GetExports and GetImports to the module scripting API. 2019-05-09 20:46:13 +02:00
Zhang Li 4273fce56e Fix export name is not parsed correctly 2019-05-09 20:45:04 +02:00
Duncan Ogilvie dcbe4e17c9
GUI: save script type when restarting 2019-05-02 15:29:18 +02:00
Duncan Ogilvie b244c8177f DBG: removed sortedlru
closes #2124
2019-04-30 15:27:47 +02:00
Duncan Ogilvie d623590a07 PROJECT: update README
closes #2153
closes #2115
2019-04-30 15:26:39 +02:00
Duncan Ogilvie c664ad1b4a DBG: add dis.iscallsystem expression function 2019-04-30 15:05:36 +02:00
Duncan Ogilvie 2cbafa369d DBG: add mod.isexport expression function 2019-04-30 15:05:36 +02:00
Duncan Ogilvie 4c08468c46
GUI: update the source view if the disassembly updates 2019-04-29 01:43:21 +02:00
Duncan Ogilvie 1c023053ca
GUI: rename repaintGui signal to updateDisassembly 2019-04-29 01:43:21 +02:00
Mattiwatti 36741fdaf8 Fix ThreadGetSuspendCount if the suspend count limit is reached
Use a better method of querying the suspend count on Windows >= 8.1 that doesn't involve suspending and resuming
2019-04-28 21:24:59 +02:00
Zhang Li 1874da8657 Fix export name parsing 2019-04-28 16:40:21 +02:00
Duncan Ogilvie 425a531535
DBG: fix use after free derp
closes #2149
2019-04-22 11:45:38 +02:00
Mattiwatti ed5d085fa3 Fix compilation in VS2019 2019-04-17 19:34:00 +02:00
Duncan Ogilvie 1d9df16898 DBG: fix missing module name in symbol log and implement source mapping 2019-04-17 19:30:59 +02:00
Duncan Ogilvie d13b2eefe1 GUI: better handling of xbegin tokenizing 2019-04-17 18:10:19 +02:00
Duncan Ogilvie 6bc16f8bac PROJECT: remove and ignore vcxproj.user files 2019-04-12 17:51:56 +02:00
Duncan Ogilvie 51f53ee886 GUI: implement all the missing SourceView features from before 2019-04-12 17:50:38 +02:00
Duncan Ogilvie 4af8ff6174 DBG: (performance) improvements to SymbolSourceDIA 2019-04-12 16:51:37 +02:00
Duncan Ogilvie 9b602ee27b GUI: setup copy menu for SourceView 2019-04-09 15:51:46 +02:00
Duncan Ogilvie 2a3bc1d667 GUI: implement \t correctly in SourceView 2019-04-09 15:51:46 +02:00
Duncan Ogilvie deef25ba42 GUI: implement follow in disassembler + go to line in SourceView 2019-04-09 15:51:45 +02:00
Duncan Ogilvie 61020f7701 GUI: rewrite SourceView to work on 2gb+ files 2019-04-09 15:51:45 +02:00
Duncan Ogilvie b67b5ebb23 GUI: improve TraceFileSearch (now also searches r8-r15 on x64) 2019-04-09 15:51:45 +02:00
Duncan Ogilvie 3b8469ba55 DBG: print rex info in Zydis command 2019-04-09 15:47:22 +02:00
Duncan Ogilvie 386e242645
DBG+GUI: removed yara 2019-04-06 13:18:16 +02:00
Duncan Ogilvie 7d727d014d
GUI: remove entropy view 2019-04-06 13:18:10 +02:00
Duncan Ogilvie 41978f961c
DBG: show full command line near 'Process Started' log entry 2019-04-06 12:40:51 +02:00
Duncan Ogilvie ee411b0c30
DBG: some more improvements to safely reading the PE info 2019-04-06 12:40:50 +02:00
torusrxxx 6f60175506
Fix a minor problem with trace browser (#2138) 2019-03-28 21:53:05 +08:00
dl471 f3e0a4e1e1 Scroll to keep selected register in view 2019-03-22 12:54:03 +01:00
dl471 21d03ce395 Clean up control flow of arrow key logic 2019-03-22 12:54:03 +01:00
dl471 8253a842e4 Add arrow key movements for x64 registers 2019-03-22 12:54:03 +01:00
dl471 54bd25be73 Add arrow key movements for remaining FPU registers 2019-03-22 12:54:03 +01:00
dl471 9d1c72fd4b Arrow key movements for middle group of FPU registers 2019-03-22 12:54:03 +01:00
dl471 c669c3491f Add arrow key movements for first set of FPU registers 2019-03-22 12:54:03 +01:00
dl471 115b90db35 Add arrow movements for rest of non-FPU registers 2019-03-22 12:54:03 +01:00
dl471 2815ca25b0 Add arrow key movements for flag registers 2019-03-22 12:54:03 +01:00
dl471 02129b5942 Account for up/down keys in register view 2019-03-22 12:54:03 +01:00
dl471 39880b1892 Add ability to move between general purpose registers with arrow keys 2019-03-22 12:54:03 +01:00
dl471 e68720777d Add struct and map for relative register positions 2019-03-22 12:54:03 +01:00
Mattiwatti 6e18613e37 DBG: ReadExportDirectory: put upper bound on the number of imports 2019-03-17 19:46:33 +01:00
Mattiwatti e38adf1265 DBG: AddressOfNameOrdinals is WORD[], not DWORD[] 2019-03-17 19:46:33 +01:00
Mattiwatti c54c96816e DBG: ReadExportDirectory: do bounds checks on all export dir entries before indexing into arrays
Fixes #2105 (second case/malware sample)
2019-03-17 19:46:33 +01:00
Mattiwatti e36779d7a4 DBG: more robust validation of PE directory sizes 2019-03-17 19:46:33 +01:00
raiseman c325ccd2cd Graph breakpoints fix (#2137)
* graph breakpoints fix
* removed "beta"
2019-03-07 21:59:07 +01:00
raiseman 62c6d40725 zoom overview fix 2019-03-05 23:03:45 +01:00
dl471 435b208427 Fix filename bug in patch menu 2019-03-05 23:01:11 +01:00
Duncan Ogilvie 7d53b1ae08
DBG: fix potential crashes in GetModuleInfo 2019-01-20 22:41:26 +01:00
Duncan Ogilvie 661360bc68
GUI: fix duplicate &p in PatchDialog 2019-01-20 20:45:58 +01:00
Duncan Ogilvie 9f5ce5041d
DBG: fix a mistake in MemUpdateMap
closes #2101
2019-01-20 20:45:47 +01:00
Duncan Ogilvie 85e96353cb
DBG+BRIDGE+GUI: put in the title whether x64dbg is elevated or not 2019-01-20 20:43:39 +01:00
Duncan Ogilvie 223ea586bb
DBG: add some more helpful format functions
ascii, ansi, utf8, utf16, disasm, modname
2019-01-10 23:54:31 +01:00
Duncan Ogilvie d04288cbc1
DBG: improve performance of MemoryMapUpdate 2019-01-10 23:45:24 +01:00
Duncan Ogilvie e5e96f7cbb
DBG: analyze all xrefs in the module with XrefsAnalysis 2019-01-10 23:44:51 +01:00
Duncan Ogilvie cc15cdec9f
DBG: correctly handle executables with entry points inside the MZ header
closes #1994
2019-01-10 23:44:07 +01:00
Duncan Ogilvie f1fbfd98b3
DBG: don't use CreateProcessInfo->lpStartAddress because it is broken
closes #2099
2019-01-10 23:43:05 +01:00
Duncan Ogilvie 98d38d94cb
GUI: fix warnings in DisassemblerGraphView 2018-12-28 16:58:14 +01:00
Duncan Ogilvie 8cf227624f
GUI: fix qword memory operand info in x32dbg 2018-12-28 16:56:47 +01:00
torusrxxx e5c838c276 opcode grouping in trace view 2018-11-27 12:14:07 +01:00
raiseman 24e71e86ee fix graph reopen bug (#2083) 2018-11-27 12:11:31 +01:00
Duncan Ogilvie 0e2febe9c7
PROJECT: update TitanEngine for better SafeAttach option 2018-11-18 15:50:50 +01:00
Duncan Ogilvie 688e2ccc04
DBG+GUI: AStyle 2018-11-18 15:50:13 +01:00
Duncan Ogilvie 418541e46e
DBG: improve the skipInt3Stepping feature to work for long int3 instructions 2018-11-18 15:49:43 +01:00
Duncan Ogilvie 49f5780935
GUI: only show logging enabled/disabled in status bar 2018-11-18 15:29:10 +01:00
raiseman edbaedb47b Graph zoom mode feature (#2068)
Graph zoom mode feature
2018-11-18 15:21:32 +01:00
Bálint Faragó 1e9bf1ab7c DBG: Fix mapped area overrun in ReadDebugDirectory for bogus debugDirSize 2018-11-18 15:20:38 +01:00
Alexander Miloslavskiy 0adb663a91 Fixed Symbol::GetList() for symbols without undecorated name
* Such symbols have "" instead of nullptr in SYMBOLINFO.undecoratedSymbol
* This fix greatly improves Snowman's decompiled results, example: comctl32!ListBox_SetCurSelHandler
2018-11-13 12:10:36 +01:00
torusrxxx 836a544287
Run "AStyleWhore" 2018-11-13 10:01:22 +08:00
Bálint Faragó 5162450ff3 Fix yara crash when used with a single argument 2018-11-04 23:14:31 +01:00
Bálint Faragó 50580782e2 GUI: fix merge error in Disassembly.cpp 2018-11-04 23:14:04 +01:00
Bálint Faragó 806e09671c Remove Zydis-Capstone diff logic comment block 2018-11-04 23:14:04 +01:00
Bálint Faragó 4ae573d620 Remove capstone references from zydis_wrapper 2018-11-04 23:14:04 +01:00
Bálint Faragó a3b5812908 GUI: rename CapstoneTokenizer to ZydisTokenizer 2018-11-04 23:14:04 +01:00
Bálint Faragó c7107374d2 DBG: remove capstone references 2018-11-04 23:14:04 +01:00
torusrxxx a304748d29
Remove extraneous "code helpers" badage 2018-11-02 23:51:54 +08:00
Bálint Faragó eef5d07c30 GUI: fix negative zero floating point display (#2058)
* GUI: make StringUtil void* buffer functions const-correct

* GUI: add precision support to ToFloatString and ToDoubleString

* GUI: fix -0.0 float display by converting with STL instead of QString::number
2018-11-02 15:35:13 +00:00
Alexander Miloslavskiy de678aec21 Fixed incorrect error message when memory could not be allocated 2018-11-02 15:31:14 +00:00
Alexander Miloslavskiy 60c54ea83a Fixed incorrect comparator used in sorting xrefs
* With old comparator, items {1, 2} and {2, 1} were "less" then each other. This will cause them to sort randomly.
2018-11-02 15:29:34 +00:00
Duncan Ogilvie 25a7e8025d PROJECT: update deps 2018-10-31 12:42:39 +01:00
Bálint Faragó 0c87d87fe6 DBG: fix getting raw int value for float typed watch points 2018-10-31 12:39:00 +01:00
Bálint Faragó e0052d6b2b ZYDIS: Use ZydisOperandAction as an enum instead of a flag 2018-10-31 12:38:40 +01:00
Bálint Faragó 0065f204a3 Add DLL ordinal to symbol table and fix symbol table comparator 2018-10-31 12:38:00 +01:00
Bálint Faragó 5a4f15e9f5 DBG: add OptionalHeader.AddressOfEntryPoint to the displayed symbols 2018-10-31 12:37:48 +01:00
wrongway88 b32c97507d ADDED: dependency setup for debug builds (#2044)
ADDED: dependency setup for debug builds
2018-10-31 12:37:13 +01:00
Duncan Ogilvie fba7af6bcd Merge branch 'torusrxxx-patch00000092' into development 2018-10-29 13:38:56 +01:00
Duncan Ogilvie 744ccc5305 GUI: change bNoDisassemblyPopup to bDisassemblyPopupEnabled for clarity 2018-10-29 13:36:35 +01:00
torusrxxx d316405f11
Fixed uninitialized var with opcode grouping 2018-10-24 18:54:26 +08:00
torusrxxx 25b154b2cf
Use Bridge clipboard funcs instead of QClipboard for status bar msg 2018-10-17 12:09:53 +08:00
Duncan Ogilvie 49fe03c643 GUI: remove pointless "to clipboard" part in RegistersView 2018-10-16 18:17:13 +02:00
Duncan Ogilvie 98e509bb78 GUI: fix really triggering misalignment of the comments column in TraceBrowser 2018-10-16 18:17:13 +02:00
Atvaark 7d1b0f6f90 Change CONTRIBUTING.md
Replace 'master' with 'development' branch because
the former branch isn't up to date.
2018-10-16 18:16:07 +02:00
Atvaark be8dfaeeb4 Add clear log hotkey (Ctrl+L) 2018-10-16 18:15:59 +02:00
torusrxxx ba7915057d Set FPU registers to one/zero 2018-10-16 18:15:01 +02:00
torusrxxx 5669e13485 temporary 2018-10-16 18:15:01 +02:00
torusrxxx ae9bf8c49e st(X) can be edited 2018-10-16 18:15:01 +02:00
torusrxxx f5395cb318 Added x87stX register names and menu action to switch ordering 2018-10-16 18:15:01 +02:00
torusrxxx 8c6a9e5fed remove some signal slots about SIMD display mode 2018-10-16 18:15:01 +02:00
torusrxxx 788ecf240d Use integer index for register names 2018-10-16 18:15:01 +02:00
torusrxxx 9d585036b9
Don't use Qt wheel scrolling 2018-10-13 21:02:54 +08:00
torusrxxx 64db2ce66b
No popups for some views 2018-10-13 17:13:00 +08:00
torusrxxx 594319a654
Refactored old disassembly popup in CPUDisassembly 2018-10-13 16:56:19 +08:00
torusrxxx 707cd444ae
Moved disassembly popup to AbstractTableView and added its support in StdTable 2018-10-13 16:36:05 +08:00
Wolfgang Schoechl 753ecd3ba5 FIXED: uninitialized variable was used for height calculation and caused negative height value (registers view) 2018-10-12 22:47:20 +02:00
torusrxxx 6705ce1af3
Disassembly popup in references 2018-10-12 23:09:36 +08:00
torusrxxx cf1498786c Merge branch 'development' into patch00000092 2018-10-12 20:50:28 +08:00
Manuel 28211215e7 FIXED: setting up the auto-follow context menu entry 2018-10-11 14:23:45 +00:00
Ta Thanh Dinh 94fcc52734 support copy individual x87 registers 2018-10-10 15:53:22 +02:00
Mattiwatti d149f6d794 Do not leave empty or corrupt PDBs in the store if a download failed. Fixes a crash in LoadDataFromIStream in MS DIA 14.15 2018-10-10 15:50:40 +02:00
Hank McCord a406a8e3df GUI: Fix build for latest Qt 2018-10-10 15:50:22 +02:00
Manuel cf763adc18 CHANGED: renamed toggleAutoDisassemblyFollowSelectionSlot() to follow given convention 2018-10-10 15:48:39 +02:00
Manuel 69db4494cd ADDED: trace file can now auto-scroll the disassembly view to current selection 2018-10-10 15:48:39 +02:00
Duncan Ogilvie da69e828ea DBG: improve memory usage and performance with line numbers 2018-10-10 15:45:32 +02:00
Duncan Ogilvie 25a67b778e DBG: fix buffer overflow and assert when tracing fxsave or invalid instructions 2018-10-10 15:44:37 +02:00
Duncan Ogilvie 22861d69e5 Add some analysis for exceptions containing FACILITY_VISUALCPP in exinfo 2018-10-10 15:44:37 +02:00
Duncan Ogilvie 23c2f0455d DBG: add some more undocumented Visual C++ exceptions 2018-10-10 15:44:37 +02:00
Duncan Ogilvie b1188c3c04 DBG: fix crash in stackgetsuspectedcallstack when CSP is not pointing to valid memory 2018-10-10 15:44:37 +02:00
Duncan Ogilvie 521195eea9 DBG: small refactor for SymAutoComplete 2018-10-10 15:44:37 +02:00
Duncan Ogilvie d7f1dadb52 DBG: exclude some invalid imports + give ordinal imports a name 2018-10-10 15:44:37 +02:00
Duncan Ogilvie 70cfec4094 DBG: add (undocumented) option to force load PDB 2018-10-10 15:44:37 +02:00
torusrxxx 03f596c162
Stricter ordinal name check 2018-10-09 11:20:55 +08:00
Duncan Ogilvie da913f7cdc DBG: fix a possible crash in disasmget 2018-09-13 12:56:10 +02:00
Duncan Ogilvie 09fe1e379d BRIDGE: fix incorrect message being sent in some GuiMenuXXX functions
closes #2027
2018-09-13 12:56:10 +02:00
Duncan Ogilvie 7aab39f8e1
Revert "DBG: do not step if there is an enable breakpoint at CIP"
This reverts commit 9804400df6.
2018-09-02 00:53:05 +02:00
Torusrxxx 863f83df49 improve nop detection 2018-08-28 18:30:15 +02:00
torusrxxx d4ec06f6de Fixed a crash when tracing into far jump 2018-08-21 17:04:36 +02:00
torusrxxx c29eba9d35 no errors anymore 2018-08-21 17:04:25 +02:00
torusrxxx b3b7ceef3e Stop tracing when closing trace file 2018-08-21 17:04:25 +02:00
torusrxxx c5830e5c26 close and delete trace file 2018-08-21 17:04:25 +02:00
Duncan Ogilvie 80c303d48d
Merge pull request #2001 from torusrxxx/patch0000008f
Use keys to select in dump
2018-08-12 22:45:53 +02:00
torusrxxx f6216e2102
Add ctrl/alt modifiers to dump 2018-08-12 18:44:50 +08:00
torusrxxx a4756fe804
slight changes of registers view key press event 2018-08-08 11:18:11 +08:00
torusrxxx ea3943cf0a
const functions 2018-08-07 20:57:24 +08:00
torusrxxx 0baa39c207
Use keys to select in dump 2018-08-07 17:31:40 +08:00
Duncan Ogilvie 7526b7e482
DBG: update TitanEngine 2018-07-19 16:44:44 +02:00
Duncan Ogilvie 1d510d61db
DBG+GUI: update Zydis to fix a crash when disassembling certain instructions 2018-07-15 19:15:02 +02:00
Duncan Ogilvie f042e81a28
LAUNCHER: clean up command line handling and allow the launcher as JIT debugger 2018-07-15 19:14:31 +02:00
Duncan Ogilvie bbf2dc296a
LAUNCHER: fix a bug in forwarding of the command line parameters
closes #1918
2018-07-15 19:13:45 +02:00
Duncan Ogilvie 62b6be97e0
DBG: allow the "-p PID -e EVENT" command line for JIT debugging 2018-07-15 19:11:52 +02:00
Duncan Ogilvie 681eb3e2c8
GUI: fix a crash in the CPUSideBar 2018-07-14 20:48:02 +02:00
torusrxxx d09e89687a Allow folding a function when first instruction is selected. Add code fold box tooltip. 2018-07-05 02:44:14 +02:00
torusrxxx 91924de32f Really copy bytes HTML 2018-07-05 02:44:14 +02:00
torusrxxx 8ab605b7f6 Input NaN & Inf into FPU registers 2018-07-05 02:44:14 +02:00
Duncan Ogilvie fa82c80c51
DBG: temporary fix for AutoPatchExporter 2018-07-05 02:41:18 +02:00
Duncan Ogilvie bcb1df389c
DBG: include DIA in deps 2018-07-05 02:41:09 +02:00
Duncan Ogilvie d7eac4598d
DBG: better error messages in PDBDiaFile::open 2018-07-05 02:39:58 +02:00
Duncan Ogilvie 144dbd4c2f DBG: undecorate import/export names 2018-07-04 17:12:37 +02:00
Duncan Ogilvie c11659da23
Merge pull request #1820 from ZehMatt/symcache
Improved symbol lookups.
2018-07-01 19:44:51 +02:00
Duncan Ogilvie c1e62605e0
PROJECT: new README 2018-07-01 19:43:32 +02:00
Duncan Ogilvie 9804400df6
DBG: do not step if there is an enable breakpoint at CIP
closes #1721
2018-07-01 19:28:08 +02:00
Duncan Ogilvie 7bde267620
GUI: allow collapsing the side bar 2018-07-01 19:28:07 +02:00
Duncan Ogilvie e5467cf966
DBG: correctly update module list when changing module type 2018-07-01 19:28:07 +02:00
Duncan Ogilvie 0c8956f480
DBG+GUI: disable source debugging per default 2018-07-01 19:28:07 +02:00
Duncan Ogilvie 32b400b834
GUI: correctly show address column in search list view 2018-07-01 19:28:07 +02:00
Duncan Ogilvie 8c169ae2ed
DBG+BRIDGE+GUI: fix source loading 2018-07-01 19:28:06 +02:00
Duncan Ogilvie b63402066b
DBG: implement findSourceLineInfo by fileName + line in symbol source 2018-07-01 19:28:06 +02:00
Duncan Ogilvie 47d6efb59e
DBG: do not fully escape debug strings 2018-07-01 19:28:06 +02:00
Duncan Ogilvie b8ae4b1496
DBG: invalidate symbol source when MODINFO is destroyed 2018-07-01 19:28:06 +02:00
Duncan Ogilvie d70ed83a72
DBG: fix a bug in getLabel where jmp [MessageBoxA] would not be recognized correctly 2018-07-01 19:28:06 +02:00
Duncan Ogilvie df31f0da45
DBG: change symbol load order + add debuggee.pdb to the search list 2018-07-01 19:28:05 +02:00
Duncan Ogilvie 717ded10e3
DBG: Fix solution dependency for Zydis 2018-07-01 19:28:05 +02:00
Duncan Ogilvie c8b6abd632
DBG: add pushfq mnemonic redirect 2018-07-01 19:28:05 +02:00
Duncan Ogilvie 4098dc8fb2
DBG: finally fix the handle leak in PDBDiaFile 2018-07-01 19:28:05 +02:00
Duncan Ogilvie 34279ebf08
GUI: fix performance bottleneck with Qt signals 2018-07-01 19:28:04 +02:00
Duncan Ogilvie 8af904fad6
DBG: fix assert in debug mode on pluginunloadall 2018-07-01 19:28:04 +02:00
Duncan Ogilvie 0bf7bd10ef
GUI: fix ReferenceView signals not being called correctly 2018-07-01 19:28:04 +02:00
Duncan Ogilvie d30bd428c6
PROJECT: change default startup project 2018-07-01 19:28:04 +02:00
Duncan Ogilvie 9e68ea3900
DBG: only store file hash in database if there is other data as well 2018-07-01 19:28:03 +02:00
Duncan Ogilvie 7d1afa0940
DBG+GUI: change layout of window title to be more helpful in the task bar 2018-07-01 19:28:03 +02:00
Duncan Ogilvie 05378fabb2
GUI: add copy header VA to disassembly menu 2018-07-01 19:28:03 +02:00
Duncan Ogilvie 2665df4eb3
DBG: added mod.headerva expression function 2018-07-01 19:28:03 +02:00
Duncan Ogilvie 87c3238de8
DBG (WIP): set up DIA file stream for profiling of a handle leak 2018-07-01 19:28:03 +02:00
Duncan Ogilvie 408b6eeff9
GUI: don't filter symbol list when not necessary 2018-07-01 19:28:02 +02:00
Duncan Ogilvie 62cd2bb915
BRIDGE: fix truncation crash in DbgGetLabelAt 2018-07-01 19:28:02 +02:00
Duncan Ogilvie d79586d02b
DBG: fix a crash in the Cleanup in downslib 2018-07-01 19:28:02 +02:00
Duncan Ogilvie 70b3149599
WIP: new symbol gui mostly working 2018-07-01 19:28:02 +02:00
Mattiwatti 0bb2efcb2c
Improve performance and crash resistance when loading PE files containing 1000 or more sections. Tested on https://github.com/corkami/pocs/blob/master/PE/bin/65535sects.exe. Technically performance was already very good, but that was only due to crashing instantly 2018-07-01 19:28:01 +02:00
Mattiwatti f515484790
ReadBaseRelocationTable() refactor. Is it better now? Dunno really. This method may be slightly easier to use with both SEC_COMMIT and SEC_IMAGE mappings in the future if needed, but in the end they pretty much do the same thing. At least some more TitanEngine calls were killed off so that's something I suppose
Replaced dark and brooding "..."s in error messages with exclamation marks to better emphasise that this stuff is serious
2018-07-01 19:28:01 +02:00
Mattiwatti 1f485f313e
DBG: more robust debug directory parsing. Validate the RVA, type and size bounds for each debug directory entry, and do not stop after the one unrecognised (non-CV) entry
Protect against PDB paths that do not have a null terminator in the PE codeview info
2018-07-01 19:28:01 +02:00
Duncan Ogilvie 14da6c4448
DBG: clean up downslib 2018-07-01 19:28:00 +02:00
Mattiwatti 6df9535ba4
Rewrite ReadTlsCallbacks() to use RtlImageDirectoryEntryToData and remove all TitanEngine calls. Also fix an anti-debug trick I found by accident: it is possible to have working TLS callbacks with a TLS directory size of 0. The loader does not check this field and always executes callbacks if they exist 2018-07-01 19:28:00 +02:00
Mattiwatti 28c03967c7
RvaToVa(): use SizeOfRawData instead of VirtualSize as the upper bound on section RVAs. This matches the behaviour of RtlImageRvaToSection for SEC_COMMIT mappings 2018-07-01 19:28:00 +02:00
Mattiwatti a4638d2ea9
DBG: misc. changes and fixes in SymbolSourceDIA:
- Rename SetThreadDescription to SetWin10ThreadDescription, to clarify that this function isn't actually useful to anyone. (ha ha, OK... but seriously, the same name is also used by the Windows SDK which apparently takes precedence and gets added as a static import, making it impossible to start the debugger on OSes other than Windows 10)
- Thread names are a good idea and they even kind of work on older Windows versions with NtQueryInformationThread(ThreadQuerySetWin32StartAddress), which is what e.g. Process Explorer and Process Hacker use. What *doesn't* work so well is lambdas. Added static functions SymbolsThread() and SourceLinesThread() to replace these. (before: x64dbg.dll!<lambda_fc00d3fb731b14a9b4857ac068d657c4>::<lambda_invoker_cdecl>. after: x64dbg.dll!SymbolSourceDIA::SymbolsThread). These should probably be file statics instead of class members, but they need access to private class functions
- GetModuleHandleA -> GetModuleHandleW. The former just calls the latter but with an extra string allocation and pointless unicode conversion
- Fix pedantic Clang warnings about member initialization order in ctor
- Qualify type name in call to virtual function in destructor, as this will be statically resolved and won't call any potential future implementations in derived classes (this can be further 'fixed' by making either the function or the class final so you'll get a compile time error if you try to do this later)
2018-07-01 19:28:00 +02:00
Mattiwatti 9b0f9b5c59
Add clarifying comment/TODO re: invalid RVAs to ReadExportDirectory(). Don't feed your .avi collection to this function just yet 2018-07-01 19:28:00 +02:00
Mattiwatti a94c250c5d
[DBG] Rewrite ReadImportDirectory()
- Obtain the directory directly using RtlImageDirectoryEntryToData and ditch TitanEngine conversion helpers
- Use OFTs instead of FTs if possible, with FTs only as fallback
- Answer the pop quiz questions in comments re: ntdll loader behaviour and handle these cases appropriately
- Use THUNK_VAL() to obtain OFT/FT values independent of process and file bitness
- Always use ULONG64 for AddressOfData to be able to test for IMAGE_ORDINAL_FLAG64. Also return ULONG64 from RvaToVa(), and rva2offset too as a result of this. This makes these functions compatible with both 32 and 64 bit files regardless of process bitness. There shouldn't be any functional changes due to this, otherwise will revert/fix
- Require an import by name to have a non-null name in addition to not having the ordinal flag set. Otherwise treat it as an import by ordinal
- The ordinal value of an import by ordinal is obtained by (val & 0xffff), not (val &= ~ordinalFlag). The ordinal flag is now always removed to ensure the RVA is valid
- Give imports by ordinal a 'name' the same way dbghelp does, e.g. Ordinal57. Previously imports by ordinal were not being shown in the Symbols tab due to having no name. TODO: if we have the PDB for the file being imported from, we can overwrite or append the real function name later using the importee's export directory
- RvaToVa(): assert that RVA 0 always returns VA 0, because if this isn't the case something is seriously messed up
2018-07-01 19:27:59 +02:00
Mattiwatti 5ad21c69ee
- ReadDebugDirectory(): add about 20 years worth of missing debug directory type names
- symbolsourcedia.h: Add _global.h #include to prevent various macros like WINVER and _WIN32_WINNT from being redefined because Windows.h was indirectly included first
2018-07-01 19:27:59 +02:00
Mattiwatti fc9285ed2e
[DBG] Work on modinfo improvements:
- Add ImageNtHeaders() (clone of RtlImageNtHeaderEx which doesn't exist on XP) to obtain PE headers given a VA
- Add HEADER_FIELD() and THUNK_VAL() macros to module.h to allow accessing header fields independent of process and file bitness
- Add IMAGE_NT_HEADERS pointer to MODINFO, since anything related to parsing PEs needs this struct
- Read PE headers in GetModuleInfo(). Currently the headers are being parsed every time a TitanEngine helper function is called, the goal is to reduce this to once per module load
- GetModuleInfo(): eliminate all TitanEngine calls now that we have the headers
- Add RvaToVa() for SEC_COMMIT mappings. This can simultaneously serve as replacement for rva2offset helpers (pass base = 0). Preferably SEC_IMAGE should be used though as that way neither of these would be needed
- ReadExportDirectory(): use RtlImageDirectoryEntryToData() to obtain a PIMAGE_EXPORT_DIRECTORY and its size in one go to eliminate TitanEngine helper calls and RVA to offset conversions
- Answer burning questions re: Windows loader behaviour when parsing exports in comments
- (Minor) fix '>= 0' comparison against unsigned as this will always evaluate to true
- Add comment re: PDB search path order since it's wrong atm but I'm too scared of breaking something if I change this code myself
2018-07-01 19:27:59 +02:00
Duncan Ogilvie 013cd1e5f7
DBG: dont copy MODINFO and MODIMPORT/MODEXPORT structures 2018-07-01 19:27:59 +02:00
Duncan Ogilvie 4e88b399fe
Update DIA to 14.13.26128.0 + XP support 2018-07-01 19:27:58 +02:00
Duncan Ogilvie aa8a215895
DBG: use win32 threads instead of std::thread 2018-07-01 19:27:58 +02:00
ZehMatt 72ccf42298
Fix too early stream deletion. 2018-07-01 19:27:58 +02:00
ZehMatt cad8aed97d
Refactor PDB data loading via IStream, explicit file access. 2018-07-01 19:27:58 +02:00
ZehMatt c8af1f9144
Use correct PDBDiaFile instance. 2018-07-01 19:27:57 +02:00
Duncan Ogilvie 45b49995f3
DBG: fall back to resolving modules exports when no symbol is found 2018-07-01 19:27:57 +02:00
Duncan Ogilvie 73a5ffebd9
DBG: use export/import data from modules instead of from memory 2018-07-01 19:27:57 +02:00
Duncan Ogilvie 476bc093bc
DBG: add export and import parsing routines in module.cpp
#580
2018-07-01 19:27:57 +02:00
Duncan Ogilvie bee62fbbf0
DBG: add missing locks for ModInfoFromAddr 2018-07-01 19:27:56 +02:00
Duncan Ogilvie a2c52260f7
DBG: remove unused imports field from MODINFO 2018-07-01 19:27:56 +02:00
Duncan Ogilvie 4fa1b9a2a1
DBG: fix a buffer overflow in the symbol autocomplete function 2018-07-01 19:27:56 +02:00
ZehMatt 0cbf519e66
Fix undecorated name being uninitialized. 2018-07-01 19:27:56 +02:00
Duncan Ogilvie d5ae04dce4
DBG: fully implement symdownload command without dbghelp usage 2018-07-01 19:27:56 +02:00
Duncan Ogilvie ff11a39533
DBG: attempt to load symbols from multiple locations 2018-07-01 19:27:55 +02:00
Duncan Ogilvie 637815b63d
DBG: symdownload now works without dbghelp 2018-07-01 19:27:55 +02:00
Duncan Ogilvie ba6ad4cefc
DBG: initial version of Wininet download library 2018-07-01 19:27:55 +02:00
Duncan Ogilvie 3ab836225f
DBG: remove some useless dbghelp calls 2018-07-01 19:27:55 +02:00
Duncan Ogilvie 66017a7442
DBG: refactor SymbolInfo to use VA instead of RVA 2018-07-01 19:27:54 +02:00
Duncan Ogilvie ffc168f44d
DBG: rename SymbolSourcePDB to SymbolSourceDIA 2018-07-01 19:27:54 +02:00
Duncan Ogilvie aec262b88a
GUI: remove unused ColumnCompare class from StdTable 2018-07-01 19:27:54 +02:00
Duncan Ogilvie 73b30ed49b
DBG: actually use findSymbolsByPrefix 2018-07-01 19:27:54 +02:00
Duncan Ogilvie 876abcdf10
DBG: change findSymbolsByPrefix to take a callback 2018-07-01 19:27:53 +02:00
Duncan Ogilvie a6ccf69e5b
DBG: implement SymAddrFromName (untested on large symbols, working on small) 2018-07-01 19:27:53 +02:00
Duncan Ogilvie 550a1ff45a
DBG: correct PDB signature format 2018-07-01 19:27:53 +02:00
Duncan Ogilvie 2ce2470ea1
DBG: implement a much nicer data structure for SymbolSourcePDB 2018-07-01 19:27:53 +02:00
Duncan Ogilvie c7d0f50207
DBG: initial implementation of name-sorted symbol storage 2018-07-01 19:27:52 +02:00
Duncan Ogilvie eb9d55ac61
DBG: read debug directory on ModLoad 2018-07-01 19:27:52 +02:00
Duncan Ogilvie caa5b6273f
DBG: implement DiaLoadCallback for loadDataForExe 2018-07-01 19:27:52 +02:00
Duncan Ogilvie 4fadd01ad4
DBG: move files in 'Symbols' folder 2018-07-01 19:27:52 +02:00
ZehMatt 4a1327a896
Only print on load failure if its not missing. 2018-07-01 19:27:52 +02:00
Duncan Ogilvie b07611387f
GUI: implement initial version of ZehSymbolTable
beware of race conditions, but it appears to kinda work
2018-07-01 19:27:51 +02:00
Duncan Ogilvie f68b830069
GUI: fix some weird includes 2018-07-01 19:27:51 +02:00
Duncan Ogilvie 7c30c5993b
GUI: introduce an additional AbstractStdTable layer to prepare for the new symbol view 2018-07-01 19:27:51 +02:00
Duncan Ogilvie 83005bdcda
GUI: remove sorting related functionality from AbstractTableView 2018-07-01 19:27:50 +02:00
ZehMatt ae5bb70203
Fix resolving symbol size always returning true. 2018-07-01 19:27:50 +02:00
ZehMatt 80ad0e7df1
Minor cleanup. 2018-07-01 19:27:50 +02:00
ZehMatt 59d166ecf4
Refactor PDBDiaFile query. 2018-07-01 19:27:50 +02:00
Duncan Ogilvie 82774e2445
DBG: use undocumented __unDNameEx function to significantly speed up symbol loading
Before:
Loaded 313534 line infos in 47.406
Loaded 140366 symbols in 171.640

After:
Loaded 313534 line infos in 4.187
Loaded 140366 symbols in 9.391
2018-07-01 19:27:50 +02:00
Duncan Ogilvie a9782ac6c6
DBG: Don't show pointless module size in ModLoad 2018-07-01 19:27:49 +02:00
Duncan Ogilvie 995153cfc0
DBG: fix some truncation issues 2018-07-01 19:27:49 +02:00
ZehMatt 058c14d8bf
Make source file strings unique, reduces a lot of memory. 2018-07-01 19:27:49 +02:00
ZehMatt bd08f67f47
Load symbols and source line in parallel. 2018-07-01 19:27:49 +02:00
ZehMatt 7c6bfcd2c6
Use enumerators Next instead of index, slight performance improvement. 2018-07-01 19:27:48 +02:00
ZehMatt 97fa3c1408
Lock when trying to read source lines. 2018-07-01 19:27:48 +02:00
ZehMatt ae050ea4a1
Fix source lines displayed with disp. 2018-07-01 19:27:48 +02:00
ZehMatt cad369f7a5
Refactor DbgHelp source line query references to new symbol interface. 2018-07-01 19:27:48 +02:00
ZehMatt ac6ee608e4
Add source line queries into new symbol interface. 2018-07-01 19:27:48 +02:00
ZehMatt 2604384853
Refactor source line queries in DIA interface. 2018-07-01 19:27:47 +02:00
ZehMatt b68c89a12e
Hide undecorated name if identical to decorated. 2018-07-01 19:27:47 +02:00
ZehMatt d6fd79346e
Prioritize private symbols over public. 2018-07-01 19:27:47 +02:00
ZehMatt e648e27346
Use spinlock instead of critical section.
Use proper thread termination on destructor.
2018-07-01 19:27:47 +02:00
ZehMatt a0c94caaf6
Cleanup DIA interface some more. 2018-07-01 19:27:46 +02:00
ZehMatt d35996883e
Implement unloading. 2018-07-01 19:27:46 +02:00
ZehMatt 0ea92f26eb
Remove unused functions from DIA interface. 2018-07-01 19:27:46 +02:00
Duncan Ogilvie 1b94728118
DBG: buggy implementation of symbol enum 2018-07-01 19:27:46 +02:00
Duncan Ogilvie 03a609c954
lf to crlf 2018-07-01 19:27:45 +02:00
ZehMatt 4e2f307052
Tabs to spaces 2018-07-01 19:27:45 +02:00
ZehMatt 626695f233
Add PDB load cancellation. 2018-07-01 19:27:45 +02:00
ZehMatt 01f0a824ab
Fix marking symbol with wrong type. 2018-07-01 19:27:45 +02:00
ZehMatt b176fb7e46
Initial for async symbol loading. 2018-07-01 19:27:44 +02:00
ZehMatt 3a3afa3744
Remove unused DbgHelp loading. 2018-07-01 19:27:44 +02:00
ZehMatt bd173bf01e
Refactor symbol loading/query to use a common interface. 2018-07-01 19:27:44 +02:00
ZehMatt 121486a137
Initial implementation of LRU.
Initial implementation of MSDIA.
2018-07-01 19:27:44 +02:00
codetriage-readme-bot f64d01bcb1 Add CodeTriage badge to x64dbg/x64dbg
Adds a badge showing the number of people helping this repo on CodeTriage.

[![Open Source Helpers](https://www.codetriage.com/x64dbg/x64dbg/badges/users.svg)](https://www.codetriage.com/x64dbg/x64dbg)

## What is CodeTriage?

CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed

[Read more about the CodeTriage project](https://www.codetriage.com/what).

## Why am I getting this PR?

Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly 6 months ago, [mrexodia](https://github.com/mrexodia) added this project to CodeTriage in order to start contributing.

## What does adding a badge accomplish?

Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project.

You can see an example of a CodeTriage badge on these popular OSS READMEs:

- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails
- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal

## Have a question or comment?

While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics.

If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again.

Thanks for making your project Open Source! Any feedback is greatly appreciated.
2018-07-01 19:12:04 +02:00
Duncan Ogilvie 607c5a94e6 GUI: refactor formatOpcodeString + fix underline of relocations 2018-07-01 19:04:38 +02:00
Duncan Ogilvie 67e095efb5 GUI: don't add same thing to the history twice 2018-07-01 19:04:38 +02:00
Duncan Ogilvie 95cacb3732 DBG: add information to Zydis command 2018-07-01 19:04:38 +02:00
Duncan Ogilvie d24d045105 ZYDIS: fix uninitialized variable in BytesGroup function 2018-07-01 19:04:38 +02:00
Duncan Ogilvie 3a2ce72dd2 rename curByte1 to curByte 2018-07-01 19:04:38 +02:00
Duncan Ogilvie c46dc0aaca fix crash in formatOpcodeString 2018-07-01 19:04:38 +02:00
torusrxxx 40c00a4d01 fixed relocations 2018-07-01 19:04:38 +02:00
torusrxxx 4cbf8ac7f1 Restore old code for patch&relocation 2018-07-01 19:04:38 +02:00
torusrxxx 606d3cec2e Added patches and relocations 2018-07-01 19:04:38 +02:00
torusrxxx 6c472a34e4 fixed problem with immediates 2018-07-01 19:04:38 +02:00
torusrxxx 712bd6f78a test 2018-07-01 19:04:38 +02:00
torusrxxx 58825d4522 Edit inactive breakpoint 2018-06-19 18:51:36 +02:00
torusrxxx c2f999c6ea Delete inactive breakpoint in Breakpoints View 2018-06-19 18:51:36 +02:00
torusrxxx 3b5d9eeb86 temporary 2018-06-19 18:51:36 +02:00
torusrxxx 380df7ba2e minor parsing bug 2018-06-19 18:51:36 +02:00
torusrxxx ddbeeefab4 Special format to find an inactive breakpoint to edit it. 2018-06-19 18:51:36 +02:00
torusrxxx b59798db6f minor enhancements about SymbolView&breakpointcpp&SearchListView 2018-06-19 18:51:36 +02:00
Duncan Ogilvie 12e9127799 DBG: support for an edge case in HandlesGetName where the process itself doesn't have query access 2018-06-19 18:30:13 +02:00
torusrxxx f8c67ef2ab show PID or TID in handles view 2018-06-19 18:30:13 +02:00
Duncan Ogilvie 94035a530a
Merge branch 'torusrxxx-patch0000008a' into development 2018-06-11 03:15:03 +02:00
Duncan Ogilvie f5fa7de918
DBG: better message in _dbg_animatecommand 2018-06-11 03:13:25 +02:00
torusrxxx 0ab417f5b4
Animation help; Restore empty graph help 2018-06-11 03:12:50 +02:00
torusrxxx 71847bb385
set conditional breakoint 2018-06-11 03:12:49 +02:00
torusrxxx ee56954a0c
Use a more useful example for switch condition 2018-06-11 03:12:49 +02:00
torusrxxx 2df55a3fa6
Load language menu only when needed 2018-06-11 03:12:49 +02:00
torusrxxx 5acf7eb182
Added some icons for Log view and Trace view 2018-06-10 23:56:33 +08:00
Duncan Ogilvie db17e323fe
DBG: more message fixes 2018-06-03 17:47:01 +02:00
Duncan Ogilvie 01960c556b fix some whitespace in strings 2018-06-03 17:43:30 +02:00
torusrxxx 1cd3cfc469 fix mistakes 2018-06-03 17:43:30 +02:00
torusrxxx 4cf5508b5f add error descriptions to x64dbg failure messages 2018-06-03 17:43:30 +02:00
Duncan Ogilvie 4ea3a8e3af GUI: actually fix the crash, derp 2018-05-17 17:14:12 +02:00
Duncan Ogilvie 291039eb17 GUI: fix crash in new HexEditDialog 2018-05-17 17:05:11 +02:00
torusrxxx 40ab0ed1ae Fix pasting CR/LF text to CR/LF hex editor 2018-05-13 20:38:53 +02:00
torusrxxx 781b0dd89c Add CR/LF option to text editor 2018-05-13 20:38:53 +02:00
torusrxxx e714824a0d restore current tab index 2018-05-13 20:38:53 +02:00
torusrxxx 49a1c861f0 Make hex editor dialog resizable & Fix copying IP addr. 2018-05-13 20:38:53 +02:00
torusrxxx 8de0520dc9 string editor works 2018-05-13 20:38:53 +02:00
torusrxxx facf8ac223 Removed data copy dialog 2018-05-13 20:38:53 +02:00
torusrxxx dce0e11713 data copy working 2018-05-13 20:38:53 +02:00
torusrxxx 9741c06798 Disable data copy in find pattern dialog 2018-05-13 20:38:53 +02:00
torusrxxx dba3178428 Improved design. Added codepage warning. 2018-05-13 20:38:53 +02:00
torusrxxx 1f7352e0a0 design 2018-05-13 20:38:53 +02:00
Duncan Ogilvie 3f33ad44cc
DBG+GUI: update zydis and fix some issues related to formatting
closes #1904
closes #1898
2018-04-05 00:20:31 +02:00
Duncan Ogilvie 3f754c0bfc
DBG: fix an out of bounds access on expression "([esp])" 2018-03-26 02:14:49 +02:00
Duncan Ogilvie fa902f5df7
GUI: set shortcut for copy file offset in CPUDisassembly
closes #1916
2018-03-20 10:25:59 +01:00
Duncan Ogilvie 5bf0e7fb7b
PROJECT: fix zydis_wrapper project to not include nonexistent files 2018-03-05 23:52:20 +01:00
Duncan Ogilvie 1c1a48bcee
DBG: fix heuristic string detection near the end of a page
related to #1906
2018-03-05 23:52:07 +01:00
Duncan Ogilvie f8e4ed4f1f
DBG: fix bug with operand size in TraceRecord 2018-03-04 23:00:13 +01:00
Duncan Ogilvie 8da82cf569
PROJECT: remove keystone 2018-03-04 22:41:00 +01:00
Duncan Ogilvie e5f950308a
PROJECT: remove capstone 2018-03-04 22:35:01 +01:00
Duncan Ogilvie 55d99b5647
DBG+GUI: replace Capstone with Zydis in trace record 2018-03-04 22:32:08 +01:00
Duncan Ogilvie 0343280cb5
DBG+GUI: update to Zydis v2.0.0 2018-03-04 22:22:54 +01:00
Duncan Ogilvie 1a99e09245
DBG: fix rare handle corruption in TitanEngine
closes #1863
closes #1759
2018-03-04 22:06:31 +01:00
Duncan Ogilvie 49167e92c6
DBG+GUI: fix many application verifier issues 2018-03-04 22:04:37 +01:00
Duncan Ogilvie 53e621c175
DBG: replace WAITID_STOP with a more reliable method
closes #1852
2018-03-04 22:04:04 +01:00
ThunderCls e2dcda5498 removed unnecessary include 2018-03-02 10:17:14 +01:00
ThunderCls 5a28eb7d30 ASM styles added 2018-03-02 10:17:14 +01:00
ThunderCls da8d90f674 Enhancements to the Data Copy dialog 2018-03-02 10:17:14 +01:00
ThunderCls 96b8038f88 Added ASCII field for edit registers dialog 2018-03-02 10:17:14 +01:00
Duncan Ogilvie c5ce4313b4
DBG+GUI: update Zydis to the latest version 2018-02-24 13:42:59 +01:00
Duncan Ogilvie 289a6b1911
GUI: mnemonic help and brief now work better with prefixes 2018-02-24 12:43:48 +01:00
Duncan Ogilvie 16fdf57f41
DBG: move call to CB_STOPDEBUG to the very end of the debug loop
close issue #1899
2018-02-14 22:19:00 +01:00
Duncan Ogilvie 2c284cd210
DBG: remove std::thread usage from TaskThread 2018-02-14 20:38:49 +01:00
Duncan Ogilvie 804322aeb8 GUI: introduce setting for ASCII/Unicode in address dump mode 2018-02-08 01:22:33 +01:00
Duncan Ogilvie 8a1256b5fd GUI: small refactor in Configuration 2018-02-08 01:22:33 +01:00
aikuimail e8e7112cf5 GUI: swich bettween ASCII and UNICODE column in Address mode
closes issue #1880
2018-02-08 01:22:33 +01:00
Duncan Ogilvie 1fa1c3d705
DBG: remove limitation of placing "&" in labels 2018-01-30 20:54:45 +01:00
Duncan Ogilvie e9c984fee7
DBG: better default configuration for Scylla 2018-01-28 11:51:45 +01:00
Duncan Ogilvie ddc97f2a74
DBG: show PEB in memory map
#1882
2018-01-28 11:51:15 +01:00
torusrxxx 13b8db3a2b fix and add UTF8/UCS4 2018-01-28 11:45:23 +01:00
torusrxxx 164d8b0730 View and copy raw string 2018-01-28 11:45:23 +01:00
Duncan Ogilvie 39f78b1c33
DBG: remove weak acquire in dbghelp_safe
possibly fixes #1863
2018-01-12 14:15:06 +01:00
ZehMatt 0e29990da5 Jump to thread IP by double clicking. 2017-12-31 12:34:05 +01:00
Duncan Ogilvie 3e510440d2
GUI: don't try reading the first byte of a memory region in HexDump 2017-12-28 23:26:13 +01:00
Duncan Ogilvie 2d6004da9b
DBG: remove TitanEngine for parsing TLS callbacks 2017-12-28 23:25:42 +01:00
Duncan Ogilvie 42dc5f90e5
DBG: fix Zydis.BranchDestination
closes #1855
2017-12-28 21:34:47 +01:00
Duncan Ogilvie 7c0d122ee4
DBG: add breakpointexceptionaddress variable 2017-12-28 20:27:23 +01:00
Duncan Ogilvie 8616ff67a2
DBG+GUI: fix OperandText returning weird values for relative jumps
closes #1849
2017-12-26 13:31:10 +01:00
Duncan Ogilvie 761e2f67c0
DBG: fix a rare bug with module resolving by name (thanks to chessgod101!)
if you had:
blub.exe
blub.exe.dll

And tried to resolve 'blub.exe' it could return the base of 'blub.exe.dll'
2017-12-24 13:21:06 +01:00
Duncan Ogilvie 2106873f55
GUI: revamp of the menu system 2017-12-18 03:07:27 +01:00
Duncan Ogilvie bdde5d3cce
GUI: hide the "Disable Branch Destination Preview" menu + symbol menu in system modules only 2017-12-18 02:15:44 +01:00
Duncan Ogilvie ed1dd3c6c1
GUI: save and restore deleted tab state 2017-12-18 02:03:14 +01:00
Duncan Ogilvie 0f1916cc2e
GUI: fix cip not displaying correctly in the reference view 2017-12-18 02:02:35 +01:00
Duncan Ogilvie d2410a0835
DBG: Correctly handle the TagWord on x64
Closes #1837
2017-12-17 02:05:54 +01:00
Duncan Ogilvie 0e2ff40443
DBG: remove unused parameter from RecursiveAnalysis class 2017-12-17 02:05:53 +01:00
torusrxxx f29d660b6e Search for function pointer 2017-12-17 02:05:39 +01:00
Duncan Ogilvie 188b74bc91
GUI: implement OllyDbg's Find all names in current module (Ctrl+N)
Cheers to @R3MRUM from Twitter!
2017-12-08 03:10:10 +01:00
Duncan Ogilvie 37e83c9436
DBG+GUI: trim error descriptions in RegisterView and format functions 2017-12-03 22:27:47 +01:00
Duncan Ogilvie e11701d7c3
GUI: improve InfoBox for bigger memory sizes 2017-12-03 22:27:47 +01:00
Duncan Ogilvie d780df76df
PROJECT: shallow clone of deps to save bandwidth 2017-12-03 22:27:47 +01:00
Mattiwatti 70a836b17a Move SafeSymCleanup() call to cbExitProcess so it isn't called when the process may have already terminated
debugLoopFunction: set fdProcessInfo->hProcess and fdProcessInfo->hThread to NULL as these shouldn't be used after this point. The actual CloseHandle calls on these two handles are done by kernel32!ContinueDebugEvent immediately after cbExitProcess
2017-11-28 17:29:50 +01:00
Mattiwatti 2f3f28746d Remove 2 occurrences of 'varset("$hp", fdProcessInfo->hProcess)', one of which was being called with the initial handle from CreateProcess(). cbCreateProcess is now the only place where this variable is set, for both types of debug sessions (attaching or creating) 2017-11-28 17:29:50 +01:00
Mattiwatti 629a6022e4 Fix duplicate debuggee process and initial thread handles being kept around in the case that x64dbg is not attaching:
- CloseHandle() the fdProcessInfo->hProcess and fdProcessInfo->hThread handles and set them to NULL if CreateProcess was called (i.e. we are not attaching) just before entering the debug loop
- cbCreateProcess(): set fdProcessInfo->hProcess, fdProcessInfo->hThread and varset("$hp") to the correct handles prior to doing anything else
2017-11-28 17:29:50 +01:00
Mattiwatti c8e8b692f0 Remove static global handle 'hProcess' in debugger.cpp; it is only used in one place as argument to SafeSymCleanup(). Use fdProcessInfo->hProcess instead 2017-11-28 17:29:50 +01:00
Duncan Ogilvie 27a9266de8
GUI: do not render instructions that are not visible on the screen + remove timer
#1819
2017-11-19 23:57:08 +01:00
Duncan Ogilvie 4eb0fb6b88
GUI: autocompletion works much nicer now
#1738
2017-11-17 16:46:18 +01:00
Duncan Ogilvie c3dae65658
PROJECT: update translation sources 2017-11-17 14:48:27 +01:00
Duncan Ogilvie 233a2670d2
GUI: replace backtab with Shift+Tab in ShortcutEdit 2017-11-17 14:42:49 +01:00
lynnux 5b7696219e Tab switch using history stack (#1807)
* add OpenViewsWindow
* almost done for history view switch
* rename the class
* add icon in history popup window
* astyle format
* add config TabSwitchUseHistory, default disable history tab switch
* remove no used code
* add shortcuts for the stuff
* rename HistoryViewsPopupWindow to MultiItemsSelectWindow, for further common use
* GUI: some small style adjustments
* GUI: change default hotkeys for ViewNextTab
2017-11-17 14:40:08 +01:00
Paul 7963e5206f Add memory read breakpoint to context menu
* added breakpoint_memory_read.png
* added breakpoint_memory_read.png to resource.qrc
* breakpoint memory read added to memory dump context menu
* breakpoint memory read added to context menu
2017-11-17 13:00:32 +01:00
Torusrxxx 200c861761 fixed winerror & ntstatus fmt funcs
Thanks @Mattiwatti
2017-11-17 12:54:30 +01:00
Duncan Ogilvie 1c79384a06
DBG: remove the ordinal flag before printing the value
#1795
2017-11-15 13:44:36 +01:00
Duncan Ogilvie c9abfd5229
GUI: put current selection in the initial goto dialog expression
related to #1812
2017-11-14 16:49:51 +01:00
Mack Stump f4cdecd46a GUI: show Follow->Constant even if same as Address (#1806)
* GUI: show Follow->Constant even if same as Address
* GUI: invert constant and address entries in follow
* GUI: maintain original ordering in Follow menu
2017-11-14 16:32:09 +01:00
Emily Clemens 925c2a1222 added settings to hide ptr sizes and defualt segments 2017-11-14 16:04:43 +01:00
lynnux 679aa23340 fix filter search bug in symbolview, and avoid double call setSingleSelection 2017-11-14 16:04:25 +01:00
lynnux e5cd1813ef let goto file offset dialog has a init value of current selected address 2017-11-14 16:03:50 +01:00
fearless dbb6e7e322 Added context menu icons for reference view (#1808)
* Added context menu icons for reference view

* Add context menu icons to source view

* Upload context menu icons

* Upload context menu icons

* Update stdtable to include copy item icon for columns in copy menu
2017-11-14 16:02:49 +01:00
Duncan Ogilvie ca27de0dd7
DBG: remove custom formatter hooks and use new zydis setting instead 2017-11-14 16:00:55 +01:00
Duncan Ogilvie 63ec6d4648
GUI: add a fake menu for modules 2017-11-14 16:00:55 +01:00
Duncan Ogilvie d1edce0872
DBG: small improvement to Handle class
By @torusrxxx
2017-11-14 16:00:55 +01:00
Duncan Ogilvie 4db8d02cf4
DBG: show operand visibility in Zydis command 2017-11-14 16:00:54 +01:00
torusrxxx 3096f0dbba
Add warning to follow in dis bc tracing dont support ASLR;add TID & LastErr 2017-11-14 16:00:54 +01:00
HefrPidge 36003e3abe
GUI: sortable memory map headers for type and protections 2017-11-14 16:00:54 +01:00
torusrxxx 062dee26f6
fix crashes in trace viewer when pressing hotkeys 2017-11-08 17:12:20 +08:00
Torusrxxx 4cf0844255 Browse dialog and goto dialog support auto-complete (#1738)
* Browse dialog and goto dialog supports auto-complete
* don't use unicode string size
* Auto complete only when expression is valid symbol name
* use dbgfunctions for better flexibility and performance
* buffer last auto complete
* disable auto completion
2017-11-07 20:24:51 +01:00
torusrxxx 3116b3dde0 fixed NTSTATUS name 2017-11-07 20:24:01 +01:00
torusrxxx 01e5caf75b removed upper part check in NTSTATUS 2017-11-07 20:24:01 +01:00
torusrxxx 79e335277e lazy load mnemonic data and save 3MB memory 2017-11-07 20:24:01 +01:00
torusrxxx 990bccfffc add mem.isstring() 2017-11-07 20:24:01 +01:00
torusrxxx e6297423f9 Add NTSTATUS fmt;show str in locals tab;fix div by 0 in data copy dlg. 2017-11-07 20:24:01 +01:00
Mack Stump d67031a089 DBG: remove \\n replacement in string formatting 2017-11-07 20:23:25 +01:00
Joel Höner 15b0e73ba0 DGB: fix disp+imm printing in “zydis” command 2017-11-07 20:22:15 +01:00
Joel Höner a19b603620 GUI: fix printing of operands with non-standard size 2017-11-07 20:22:15 +01:00
fearless 2207ad9311 Added context menu icons for thread view (#1796)
* Added context menu icons for thread view

* Added thread setname icon
2017-11-05 00:51:41 +01:00
Bálint Faragó 6d45928375 GUI: add shortcuts for search in current module 2017-11-04 21:26:15 +01:00
Bálint Faragó 5e67d7ae45 GUI: minimize changes for struct in lambda MSVC 2017 compile fix 2017-11-04 21:25:46 +01:00
Bálint Faragó ecd1a3d576 GUI: small compile fixes for MSVC 2017 2017-11-04 21:25:46 +01:00
Bálint Faragó d2102e20ed GUI: handle highlighting segment registers in RegistersView 2017-11-04 21:25:26 +01:00
torusrxxx b767d39b3e cannot paste when clipboard is empty 2017-11-04 21:25:03 +01:00
torusrxxx 0985f490ef Copy hash 2017-11-04 21:24:40 +01:00
Alexandros Naskos 2f5d1135c6 Overriding a non global hotkey by a non global hotkey now asks user for confirmation 2017-11-04 21:23:49 +01:00
Duncan Ogilvie 20e5615455
DBG: update TitanEngine
https://x64dbg.com/blog/2017/11/04/the-big-handle-gamble.html
2017-11-04 21:19:25 +01:00
Duncan Ogilvie 7e3a045c4b
PROJECT: don't keep trying to compile the Zydis wrapper 2017-11-04 20:57:40 +01:00
Duncan Ogilvie 4d413d0f0f
PROJECT: update AStyleWhore (renamed to AStyleHelper) 2017-11-04 18:34:54 +01:00
Duncan Ogilvie ae20041edb
DBG: proper workaround for 0x prefix in GUI
also closes #1792
2017-11-04 18:08:44 +01:00
Duncan Ogilvie 4870eebd87
DBG: correctly handle imports by ordinal
closes #1795
2017-11-04 16:34:52 +01:00
Duncan Ogilvie 8c04e7b272
DBG: fix a copy&paste bug in the Zydis wrapper 2017-11-03 14:09:13 +01:00
Duncan Ogilvie f14633f20a
GUI: fix weird looking uppercase 0X 2017-11-02 22:29:47 +01:00
Duncan Ogilvie 9c639ddc5f
DBG: small improvements to winerror format function 2017-10-30 00:35:54 +01:00
Duncan Ogilvie 2f26a80b78
DBG+BRIDGE+GUI: deprecate DbgGetRegDump 2017-10-29 02:18:06 +02:00
torusrxxx ec0555dc0d
Added winerror format function and show help message for last error in reg view 2017-10-28 02:52:13 +02:00
Mattiwatti d5582c6a1f - DbgGetRegDumpEx(): copy lastStatus NTSTATUS name if requested struct size is >= sizeof(REGDUMP_V2)
- RegistersView: replace usages of REGDUMP with REGDUMP_V2 to access LastStatus register
2017-10-28 02:47:49 +02:00
Mattiwatti 8c9b11ecc9 Remove LastStatus from THREADALLINFO to preserve plugin compatibility 2017-10-28 02:47:49 +02:00
Mattiwatti cc542968f8 Update the Win32 error and NTSTATUS databases with values added in SDK 10.0.16299.0 2017-10-28 02:47:49 +02:00
Mattiwatti 1e639585db GUI changes for TEB->LastStatusValue:
- RegistersView: add LastStatus entry to REGISTER_NAME enum
- RegistersView: add modifiable LastStatus pseudo-register under LastError with the human-readable NTSTATUS name
2017-10-28 02:47:49 +02:00
Mattiwatti 6f1b6b77bb dbg changes for TEB->LastStatusValue:
- Add LASTSTATUS struct
- Add LastStatus members to REGDUMP and THREADALLINFO
- Add ThreadGetLastStatus()/ThreadGetLastStatusTEB()
- Make "laststatus" a supported pseudo-register in isregister() / getregister() / setregister() similar to "lasterror"
- _dbg_getregdump(): copy the full name of the last NTSTATUS value
- ThreadGetList(): add the last status value to the thread list for each thread
- TraceRecordManager: account for the size change of REGDUMP to keep REGDUMPWORD the same size
2017-10-28 02:47:49 +02:00
Mattiwatti 8f0f83bdf3 ntdll.h: Update PEB and TEB structs for Windows 10 RS3, and correct offset of TEB->LastStatusValue on x86 2017-10-28 02:47:49 +02:00
Mattiwatti 787b86cd1f Add DbgGetRegDumpEx to bridge API
Public SDK changes:
- Add LASTSTATUS struct
- Add REGDUMP_V2 struct with LASTSTATUS member
- Add DbgGetRegDumpEx(REGDUMP* regdump, size_t size);

Internal changes:
- Change typedef of _dbg_getregdump to add a size parameter
- Make DbgGetRegDump() pass sizeof(REGDUMP) to _dbg_getregdump to preserve existing behaviour. DbgGetRegDumpEx() forwards the size that was passed to it
2017-10-27 00:02:39 +02:00
torusrxxx 0fbb1aa056 Don't add autocomments on "mov edi,edi"(#1775) 2017-10-26 00:43:54 +02:00
Duncan Ogilvie 0762182973
DBG: implement DLL breakpoints directly in x64dbg 2017-10-25 21:58:01 +02:00
Joel Höner a514176750 Add tokenizer support for pointer operands (#1781)
* Add tokenizer support for pointer operands
* Fixed pointer operand width calculation
2017-10-25 21:45:00 +02:00
Torusrxxx 466d5e9173 Update cmd-misc.cpp 2017-10-25 11:21:44 +00:00
Torusrxxx db5c3e23af Update cmd-misc.cpp 2017-10-25 11:16:01 +00:00
Duncan Ogilvie c9c10c26b4
PROJECT: add code of conduct 2017-10-24 01:11:18 +02:00
Duncan Ogilvie 0d871ac637
PROJECT: Add pull request documentation
closes #1773 (manually committed changes)
2017-10-24 01:05:26 +02:00
Duncan Ogilvie 3137310b68
DBG: update TitanEngine
fixes #1777
2017-10-24 00:48:17 +02:00
Duncan Ogilvie ecbea6d9d8
GUI: fix Sonar issues 2017-10-22 17:07:45 +02:00
Torusrxxx c102670c3f Update TraceBrowser.cpp 2017-10-21 14:17:38 +00:00
Duncan Ogilvie 33844079ee
DBG+GUI: update zydis 2017-10-18 23:44:36 +02:00
torusrxxx 9a2cb20682 enhancement to run until return 2017-10-18 22:49:06 +02:00
RaMMicHaeL 75987325fb Remember navigation source in graph history (#1766)
* Remember navigation source in graph history

If you follow a jump or a call, and click on '-', you don't go back to the jump or the call (as in the regular CPU view), but to a previous, non-relevant command in the graph. This commit tries to fix this.

* Update DisassemblerGraphView.cpp

* Update DisassemblerGraphView.cpp
2017-10-18 22:48:57 +02:00
Alexandros Naskos f519f322da Added setting that controls MaxModuleSize. (#1765)
* Added spinbox that controls maximum module name size in the disassembler settings.

* Restored settings dialog default tab index to zero.
2017-10-18 22:47:43 +02:00
Torusrxxx 390bf4c5ca Trace recording (#1736)
* run trace file format
* record opcode
* Successfully recorded sample run trace
* fixed order of thread id and opcode
* use capstone in run trace
* Revised format;Stop tracing when stop debug;Changed ext name
* trace browser(draft)
* Lower bound
* Lower bound
* implemented more funcitons in trace file reader
* Initial trace browser
* trace browser works for single-page traces
* fixed page fault
* Multi-selection, fixed page faults
* copy disassembly
* resize columns
* address label;follow in disassembly
* highlight
* history,comment,breakpoint in trace view
* stricter validation to prevent buffer overflow
* MAX_MEMORY_OPERANDS=32
* fixing bug in memory access count
* Temporary info menu to view registers & memory
* assumed to fix thread id bug
* live update trace view
* Fixed a bug with registers recording (similar to thread id bug)
* Search for constant in trace file
* Fixed bugs with memory operands recording
* File header for trace file; Auto update trace viewer
* fix x64dbg_translations.pro
* Default filename for trace; Start trace from trace view
* Switch to Qt JSON
* Copy selection, file offset and RVA; recent files
* Properly implement MRU menu
* shortcut for tracing
* Fix file names with comma
* added interaction with tab closing
* change default directory for trace file
* fix minor issue
2017-10-16 20:00:26 +02:00
Torusrxxx 9959278863 Properly exit x64dbg 2017-10-15 16:18:48 +02:00
Duncan Ogilvie f85cea6bcd
GUI: change multi-selection hotkeys (#1743)
closes #1762
closes #1761
2017-10-14 19:46:47 +02:00
Duncan Ogilvie f6590e6465
DBG: fixed a typo 2017-10-14 17:31:11 +02:00
Atvaark c44c1f7fc6 GUI: add multiselect hotkeys to StdTable
This allows selecting multiple rows in e. g. the Breakpoints view
without having to use the mouse.

New hotkeys:
- Select all: (ctrl+a)
- Select first row (ctrl+home)
- Select last row (ctrl+end)
- Expand selection upwards (shift+up)
- Expand selection downwards (shift+down)
2017-10-14 17:26:39 +02:00
Duncan Ogilvie d6ca58efd1
DBG: fixed another problem with Zydis 2017-10-14 15:42:02 +02:00
Duncan Ogilvie 6f7af9b8da
DBG: fixed various small issues with Zydis
ping @athre0z
2017-10-14 00:32:34 +02:00
Duncan Ogilvie c9e17df1c0
DBG+LAUNCHER: correctly handle mixed mode executables
fixes #1758
2017-10-13 23:38:53 +02:00
torusrxxx 8cf9f63bac Fixing #1752 2017-10-13 19:43:33 +02:00
Joel Höner c5c3358c52 Add range checks for operand access (fixes #1750) (#1751)
* DBG: added range checks to operand access
- previously, some instructions could trigger the `DebugBreak` path in `Zydis::operator[]`
* GUI: removed redundant semicolon
2017-10-10 21:01:59 +02:00
Duncan Ogilvie aee7a2e709
PROJECT: more AStyle... 2017-10-10 00:57:14 +02:00
Duncan Ogilvie 9d692efbdf
PROJECT: AStyle 2017-10-09 23:42:23 +02:00
Duncan Ogilvie d365b5a590
GUI: fixed a typo in capstone_gui 2017-10-09 23:15:00 +02:00
Joel Höner 77c6e951f0 zydis_wrapper: Cleaned up branch types
- Remove unused semantic groups
- Improve handling of “far” in tokenizer
2017-10-09 10:02:13 +02:00
Joel Höner 8741e94bdb zydis_wrapper: Final touch
- Comment out diff code in GUI
- Enable optimization
- A few more whitelist entries in the diff code
- A few fixes in the old tokenizer to be consistent with the new one in diffs
- Remove LICENSE and README now that the wrapper is part of the x64dbg core repo
2017-10-09 10:02:13 +02:00
Joel Höner 5b1cf81f55 zydis_wrapper: Fixed x32 build 2017-10-09 10:02:13 +02:00
Joel Höner 3fca5c9191 Ported & renamed `cbInstrCapstone` 2017-10-09 10:02:13 +02:00
Joel Höner 16942049b3 QBeaEngine: Implemented reg & flag info again 2017-10-09 10:02:13 +02:00
Joel Höner af0ff55df3 zydis_wrapper: Better compliance with style-guide
- Removed underscores
- Removed redundant “zy” prefix
- Executed `AStyleWhore` (sorreh, I use git on my macOS host, can’t put it into pre-commit-hook)
2017-10-09 10:02:13 +02:00
Joel Höner ca9401fdb7 Moved “zydis_wrapper” into root repo
- Instead, we directly use Zydis as a submodule now
2017-10-09 10:02:13 +02:00
Joel Höner da0d4415e3 Print “far” token, support RTM instructions
- Also, more whitelist entries for the CS-Zydis diff
2017-10-09 10:02:13 +02:00
Joel Höner 0711ac09df Added CS vs Zydis diff code & various fixes
- Fixed various porting bugs in the Zydis `CapstoneTokenizer`
- Added Capstone vs Zydis tokenizing diff and various exceptions for known issues
2017-10-09 10:02:13 +02:00
Joel Höner 4c841d85c6 Renamed `Capstone` -> `Zydis`
- Prevents name clashes with actual capstone disassembler implementation
2017-10-09 10:02:13 +02:00
Joel Höner 5338a0a85b Replace Capstone with Zydis
- While at it, added branch info logic to disassembler class
  - Thus reduce direct checks by mnemonic in GUI and analysis code
- Replaced direct disassembler struct access with disassembler class calls where trivially possible
- Removed workarounds for empty segment registers
- Temp. disabled `cbInstrCapstone` command
- Temp. disabled flag stuff in `QBeaEngine`
2017-10-09 10:02:13 +02:00
Duncan Ogilvie 103866eafe
DBG+EXE+GUI: fixed some more sonar warnings 2017-10-08 20:19:32 +02:00
Duncan Ogilvie 05c9223d0a
PROJECT: don't show usage info during sonarqube build 2017-10-08 18:48:36 +02:00
Duncan Ogilvie 32bce921f2
PROJECT: updated build.bat for sonar pull request analysis 2017-10-08 18:44:39 +02:00
Duncan Ogilvie cd9bbb1189
BRIDGE+LAUNCHER: fixed some more CRT warnings 2017-10-08 16:23:20 +02:00
Duncan Ogilvie 57235b2f24
DBG+EXE+LAUNCHER+BRIDGE: remove _CRT_SECURE_NO_WARNINGS 2017-10-08 16:16:20 +02:00
Duncan Ogilvie e6a6d789e6
PROJECT: update sonarqube build 2017-10-08 15:11:16 +02:00
Duncan Ogilvie 0c46401fa7
PROJECT: added SonarQube to build.bat 2017-10-08 14:57:00 +02:00
genuine bebc47b924 Show address with label in InfoBox
Address issue #1588
2017-10-05 17:25:56 +02:00
Duncan Ogilvie d121cd9dc2
DBG+LAUNCHER: fix exception handling in GetPeArch.h
Thanks to digitalboy for the report!
2017-10-05 17:08:34 +02:00
Danila Malyutin 8671ff2e57 fixup 2017-10-03 20:23:41 +02:00
Danila Malyutin 33024f5672 Fix standard conformance issues 2017-10-02 00:07:17 +02:00
Duncan Ogilvie c4cc5a5f86
PROJECT: add CONTRIBUTING.md 2017-10-01 14:29:32 +02:00
Duncan Ogilvie ba6e6dea63
DBG: full unicode support in ResolveShortcut 2017-09-30 14:30:40 +02:00
Duncan Ogilvie 1143621eb1
DBG: make sure the debugger is signaled as initialized before loading plugins
Fixes #1734
2017-09-30 13:01:24 +02:00
Duncan Ogilvie fcda76a470
DBG: fixed LibrarianEnableBreakpoint 2017-09-30 12:52:07 +02:00
torusrxxx 537b587f73 Fixing issues with memory map(closes #1720) 2017-09-16 17:55:40 +08:00
mrexodia 51c1b5f690
GUI: Don't freeze when calling BridgeResult::Wait() on the main ThreadClear
closes #1716
2017-09-12 00:36:34 +02:00
mrexodia ec66220dd5
GUI: don't select when changing the byte offset with ctrl+up/down
closes #1709
2017-09-11 17:58:34 +02:00
mrexodia 5e9ee7afc3
GUI: keep consistent when disabling summary (closes #1708) 2017-09-11 17:47:11 +02:00
roL 7627fce15c Tripleslash for scriptapi_misc functions 2017-09-11 15:00:30 +02:00
mrexodia ef6bf04fb0
DBG: find the plugin name for the currently-loading plugin name (thanks to testuser!) 2017-09-07 23:04:48 +02:00
torusrxxx 3879297c7a Fixed conditions in favourite tools 2017-09-06 12:40:47 +08:00
torusrxxx 1f2dd7a816 Fixed copy AVX register:32-bit app can use AVX 2017-09-06 12:30:30 +08:00
mrexodia 7db12dcd6e
GUI: copy in the same order as the view (closes #1712) 2017-09-06 03:56:46 +02:00
mrexodia 2d7c929c64
DBG: fixed a deadlock while unloading plugins
closes #1710
2017-09-06 03:50:46 +02:00
mrexodia 95d3a837bb
GUI: added back the remove all option in the BreakpointsView 2017-09-05 17:29:19 +02:00
mrexodia 1d47124ec3
GUI: don't check QueryProcessCookie per default
related: https://github.com/x64dbg/ScyllaHide/issues/32
2017-09-05 15:49:10 +02:00
mrexodia d8ad2e7f53
GUI: better clickable columns (thanks to ali56s for reporting!) 2017-09-04 22:57:49 +02:00
mrexodia 7c93a0ef48
DBG: QueryWorkingSetEx with GetProcAddress (restored XP support) 2017-09-04 22:57:49 +02:00
mrexodia 9cc8e779e9
DBG: some small improvements to plugin functions and added idle detection for time wasted 2017-09-04 22:57:48 +02:00
roL 3da4461a63 Tripleslash for DbgCmdExec, DbgCmdExecDirect 2017-09-04 22:47:42 +02:00
mrexodia 082bcc0937
Merge remote-tracking branch 'origin/PLMDebug' into development 2017-09-01 22:54:53 +02:00
mrexodia 4f67fcada7
GUI: fixed some small coverity issues 2017-09-01 22:54:23 +02:00
mrexodia 037504643b
DBG+GUI: option to query the working set before attempting to read a memory page
workaround for http://www.triplefault.io/2017/08/detecting-debuggers-by-abusing-bad.html
2017-09-01 22:53:50 +02:00
mrexodia 4104c0a004
GUI: formatting + fixed a warning 2017-09-01 18:52:06 +02:00
torusrxxx f3132e9315 use dynamic casting 2017-09-01 18:51:20 +02:00
torusrxxx 144051162d Switch reference tabs by forward/back mouse buttons 2017-09-01 18:51:20 +02:00
torusrxxx fa92a9c474 Add Xref for switch cases; Follow switch cases in CPU. 2017-09-01 13:58:33 +02:00
torusrxxx 09dd193d9f graph history;follow children or parent in graph 2017-09-01 13:58:33 +02:00
torusrxxx bf43f7eb97 graph for switch statements 2017-09-01 13:58:33 +02:00
Torusrxxx 690b048c7f breakpoint, memory and threads view support multi-select (#1697)
* breakpoint, memory and threads view support multi-select

* fixed

* use older breakpointsview

* fixed

* revert deps change

* command in reference view

* to-do

* fixed deps
2017-09-01 13:57:41 +02:00
Rajarshi Vaidya aka gmastergreatee 2b4a9bc9dc Fixes #1699 Arch-Indep-Registers (#1700)
* Arch-Indep-Registers Fix 1

* Run format.bat
2017-08-31 20:55:11 +02:00
torusrxxx 3f766fa8a6 shortcut to delete watch;fixed selection issue 2017-08-31 20:54:25 +02:00
torusrxxx 7d712b7a6e fixed watch view 2017-08-31 20:54:25 +02:00
mrexodia 80210eb9b0
LAUNCHER+DBG: add support for PID attaching + PLMDebug in the command line
closes #1698
2017-08-28 11:41:37 +02:00
mrexodia 948c40eb1a
GUI: allow multiple selection in BreakpointsView (#1697) 2017-08-26 16:37:22 +02:00
mrexodia d678ad1e82
DBG: fixed a warning on x64 about the cookie 2017-08-26 15:54:52 +02:00
mrexodia f7182c111e
GUI: fixed enabling all DLL breakpoints in BreakpointsView 2017-08-26 15:26:34 +02:00
mrexodia 95bfa7ec0e
GUI: use the correct index when displaying the disasm/summary columns in BreakpointsView
closes #1696
2017-08-26 13:10:14 +02:00
mrexodia 88fec2a1d3
DBG: correctly remove librarian breakpoints on exit + remove hwbp on detach 2017-08-25 13:18:13 +02:00
mrexodia fa2784792c
DBG+GUI: query the process cookie on startup (#489 #1418 #1412) 2017-08-25 13:17:14 +02:00
mrexodia da77f37c4f
DBG: moved tracing code out of debugger.cpp 2017-08-25 13:14:46 +02:00
mrexodia da9d298142
GUI: fixed a memory leak + uninitialized member in DisassemblerGraphView (closes #1695) 2017-08-25 13:04:36 +02:00
mrexodia f37406ff40
LAUNCHER: enable LargeAddressAware to fix 65535sect.exe 2017-08-25 13:03:40 +02:00
mrexodia e9d47b0925
GUI: format ComboBoxDialog 2017-08-25 13:03:07 +02:00
mrexodia 010a3bbf7e
DBG: better behaviour for "exhandlers" on XP 2017-08-25 13:02:37 +02:00
mrexodia 5d94936237
PROJECT: updated dependencies + setenv.bat to reflect the wiki 2017-08-25 09:54:35 +02:00
mrexodia 8d8fd3019a
PROJECT: clean up build.bat 2017-08-22 13:30:05 +02:00
Georgeto 16b40aab5b GUI: add auto completion to "Add exception breakpoint" dialog 2017-08-22 13:29:14 +02:00
torusrxxx c78ffc38f1 remove DR6/7 from label display 2017-08-22 13:28:43 +02:00
mrexodia 652c61f7f7
DBG+BRIDGE+GUI: warn when trying to render a graph with more than 5000 nodes
(closes #1321)
2017-08-21 15:13:02 +02:00
Georgeto c1c7910d8d GUI: fix building of BreakpointView context menu when no bp is selected 2017-08-21 13:57:37 +02:00
mrexodia 1c4607e25b
DBG: change ReadBaseRelocationTable to read the relocation directory from disk instead of memory 2017-08-21 00:44:21 +02:00
mrexodia 838b03e9d9
DBG: add ModEnum to remove various bottlenecks with module loading 2017-08-21 00:41:04 +02:00
mrexodia 25e0a1071d
GUI: use more ArchValue in the AppearanceDialog 2017-08-19 15:58:05 +02:00
mrexodia 9fe867e0e5
BRIDGE: documented Bridge* functions in bridgemain.h 2017-08-19 15:36:26 +02:00
Georgeto 451807f8ae GUI: Display and edit breakpoints in graph view (closes #1266) (#1688)
* GUI: working prototype for ActionHelperProxy
* GUI: fully implemented ActionHelperProxy
* GUI: display breakpoints in Graph view
* GUI: move breakpoint context menu into separate class
* GUI: add breakpoint context menu to graph view
2017-08-19 15:34:53 +02:00
mrexodia 2bd32aee32
DBG: fixed typo in pluginreload command 2017-08-18 00:08:37 +02:00
mrexodia ca296699b0
DBG: added plugreload command 2017-08-17 23:54:43 +02:00
Georgeto 8c797ef42d Fix "requires a narrowing conversion" error when compiling with vs2015 (#1687) 2017-08-17 13:06:58 +02:00
mrexodia a404f63960
DBG: fixed Script::Flags implementation 2017-08-14 16:24:29 +02:00
mrexodia 88aa0db41c
GUI: another small fix to BreakpointsView 2017-08-14 16:21:00 +02:00
mrexodia d5619a57e0
GUI: improve selection behavior when deleting the last breakpoint 2017-08-14 15:55:58 +02:00
Georgeto 6587cbc564 underline relocated bytes in disassembly view (#1683)
* DBG: add relocation info to module

* GUI: underline relocated bytes

* DBG: remove unnecessary wrapper function

* DBG: store relocations in sorted vector instead of set

* GUI: warn about patches in relocation regions (closes #263)
2017-08-14 00:17:47 +02:00
Antonio Prcela 84bbc5cf4a Small fixes an deletion of unnecessary stuff (#1684)
* Remove unnecessary if check.
If the above one is False, than this oen has to be true, since it can't be
anything else than smaller or equal to

* If it's bigger than zero, than it's also != -1
* Remove unused variable.
It just get's values assigned that are never used.
* Remove unused Macro and the calls to it
2017-08-13 22:57:52 +02:00
mrexodia 4982de948c
GUI: refactor StdTable to allow userdata (fixes #909) 2017-08-13 21:56:52 +02:00
mrexodia a64bdef223
DBG+GUI: minor fixes 2017-08-13 18:10:59 +02:00
mrexodia 91f955fa82
GUI: new BreakpointsView (closes #909) 2017-08-13 18:00:51 +02:00
mrexodia f484108fd7
DBG: added MemBpSize function 2017-08-13 17:17:37 +02:00
mrexodia 1b27b951ee
DBG+BRIDGE: added more detail in the BRIDGEBP structure (in the padding so backwards-compatible) 2017-08-13 17:17:15 +02:00
mrexodia b876d3b9f0
DBG: add memory breakpoint size (unimplemented) to breakpoint database 2017-08-13 16:27:55 +02:00
mrexodia 9fcfb5b39e
DBG: various improvements to the breakpoint api 2017-08-13 16:26:46 +02:00
mrexodia 3a9e05ee02
GUI: small improvements to StdTable and AbstractTableView 2017-08-13 16:26:11 +02:00
mrexodia 5e9db68c71
DBG: improved performance of valapifromstring 2017-08-13 16:25:38 +02:00
mrexodia 86b623b691
DBG: add module base to label list 2017-08-13 16:24:40 +02:00
mrexodia 0cd8078256
DBG: added EnumExceptions 2017-08-13 16:23:59 +02:00
mrexodia 864437cc5f
GUI: rewrite menu deletion/clearing 2017-08-11 05:34:37 +02:00
mrexodia d790ebff34
PROJECT: added sourceforge badge 2017-08-10 23:03:45 +02:00
mrexodia 6f76503b9f
GUI: fixed plugin menus in other dump tabs 2017-08-10 21:43:37 +02:00
mrexodia 20dff5b467
GUI: fixed a double delete for removed menu entries 2017-08-10 21:34:55 +02:00
mrexodia b79f1bd35b
DBG+GUI: implemented _plugin_menuremove and _plugin_menuentryremove 2017-08-10 20:25:18 +02:00
mrexodia d69e9726b1
DBG+GUI: properly implemented _plugin_menuclear 2017-08-10 20:00:33 +02:00
mrexodia 9b314ef740
DBG: separate menu entries from the menus 2017-08-10 19:07:20 +02:00
mrexodia a951d060bb
Revert "DBG: allow duplicate hEntry for _plugin_menuaddentry"
This reverts commit 42b9b0f9dc.
2017-08-10 18:50:27 +02:00
mrexodia c43b64cdec
BRIDGE+GUI: implement GuiMenuRemove 2017-08-10 18:46:29 +02:00
mrexodia 42b9b0f9dc
DBG: allow duplicate hEntry for _plugin_menuaddentry 2017-08-10 18:27:55 +02:00
mrexodia 92850bd12f
GUI: change default font for log to be valid on Windows 10 2017-08-10 17:57:38 +02:00
mrexodia fafb376946
GUI: fixed a focus issue with plugin dialogs 2017-08-10 07:56:46 +02:00
mrexodia e9cfedd722
DBG: fixed an invalid handle exception 2017-08-10 06:03:04 +02:00
mrexodia dbc6ceb3db
DBG: fixed warning on x64 2017-08-09 03:13:04 +02:00
mrexodia cf1f9fdd7c
PROJECT: updated asmjit (issue #1682) 2017-08-09 02:45:07 +02:00
mrexodia 2ff93e479a
DBG: set temporary labels for visited types 2017-08-09 02:41:00 +02:00
mrexodia 5a34b54fb2
DBG: show label of memory address in auto comments 2017-08-09 02:40:32 +02:00
mrexodia 8271b69f87
GUI: show label of memory address in CPUInfoBox 2017-08-09 02:40:02 +02:00
mrexodia f97439c9f5
DBG: introduce temp labels 2017-08-09 02:32:28 +02:00
mrexodia 5cb7917630
DBG+BRIDGE+GUI: added menu preparation plugin event 2017-08-08 01:39:04 +02:00
mrexodia caae4a9d6a
DBG: fixed a bug in _plugin_menuclear (now it no longer deletes the menu itself) 2017-08-08 01:17:25 +02:00
mrexodia afd18d870f
GUI: fixed creation of dll breakpoints with a space 2017-08-08 01:16:12 +02:00
mrexodia 192b35acde
GUI: change symbol menu 2017-08-07 20:06:11 +02:00
mrexodia 7ab339fa3b
DBG: various small improvements 2017-08-07 19:41:32 +02:00
Georgeto 7646747eca GUI: download symbols in CPU tab (#1680) 2017-08-07 19:38:34 +02:00
mrexodia ef0cbcf58f
GUI: fixed (artificial) compile error (closes #1678) 2017-08-03 16:39:16 +02:00
mrexodia 3ed658d42c
DBG: fixed (artificial) build error 2017-08-03 17:34:27 +02:00
mrexodia 875eaf9350
PROJECT: (hopefully) fixed build.bat 2017-08-03 17:30:08 +02:00
mrexodia a965c2b8a6
GUI: fixed dumb compile error in AssembleDialog 2017-08-03 16:51:18 +02:00
mrexodia 6f38e2b0f5
GUI: AA_EnableHighDpiScaling 2017-08-03 16:49:49 +02:00
mrexodia d2e8f8ab1c
GUI: temporarily remove keystone from AssembleDialog 2017-08-02 00:36:14 +02:00
mrexodia 9cdd399dde
DBG: added CFLAGS support in _scriptapi_register.h (thanks to krzywix) 2017-08-01 23:59:12 +02:00
mrexodia 43458b0881
DBG: also set pDebuggedBase and check hash on attach (fixes #1674) 2017-08-01 22:33:54 +02:00
mrexodia 6059511296
GUI: deprecate local help file + fixed release script 2017-08-01 19:23:15 +02:00
mrexodia 7530c01bf9
PROJECT: batch file to setup dependencies 2017-07-29 18:30:08 +02:00
mrexodia 048b1e0a6c
PROJECT: added dependencies submodule 2017-07-29 18:17:08 +02:00
mrexodia 3c9a24ec37
GUI: show segments better in CPUInfoBox 2017-07-29 17:59:09 +02:00
pointerrrr b758ea6e9d DBG: The log now indicates the name of the breakpoint set (closes #1613) (#1662) 2017-07-27 22:53:09 +02:00
Torusrxxx 3ff9122673 can enter floating point number (#1661) 2017-07-27 18:24:55 +02:00
Torusrxxx 754ef54968 can use rtu (#1660) 2017-07-27 18:24:01 +02:00
mrexodia 7aef027ebc
GUI: fixed a crash in the FlickerThread (closes #1651) 2017-07-25 16:19:06 +02:00
mrexodia db9f8c845b
DBG: remove explicit size for memset in command line 2017-07-25 13:39:23 +02:00
Georgeto 2c3a16fbb5 GUI: revalidate when toggling 'Keep Size' in AssembleDialog (#1648)
* GUI: revalidate when toggling 'Keep Size' in AssembleDialog

* GUI: remove code duplication
2017-07-25 13:39:29 +02:00
Matthijs Lavrijsen c64777e32a PNG compress icons of sizes >= 64x64 (#1646) 2017-07-25 12:55:08 +02:00
genuine_ 18979ef6e9 Fixed some unsafe code (#1647)
* Fix underflow of commandLine variable. (memset)

* Fix for integer inconsistencies

* fix for possible overflow at line 1841 of debugger.cpp. Offending code:

sprintf_s(command, "bp %p,\"DllMain (%s)\",ss", entry, modname);
2017-07-25 12:54:41 +02:00
mrexodia a5e37fe74f
GUI: exit confirmation dialog (closes #1645) 2017-07-23 23:11:47 +02:00
Torusrxxx a6e296054f fixed x96dbg (#1644)
* fixed x96dbg

* fixed
2017-07-09 20:12:23 +02:00
mrexodia 73a8a93cbe
DBG+LAUNCHER: fix #1635 (.NET files are now processed correctly) 2017-07-08 18:29:13 +02:00
mrexodia 4631fbfc0f
DBG: fixed various cppcheck warnings 2017-07-06 16:15:57 +02:00
Maksim Derbasov 66c006d703 Small code improvement (#1637)
* Check index before array access

* fix for va_list leaks

* mismatch in new-delete pair
2017-07-04 17:26:01 +02:00
mrexodia 189cd520f0
GUI: use layout for the color picker grid 2017-07-03 11:56:04 +02:00
mrexodia 6a4510ce3a
DBG: bpgoto now no longer refreshes the GUI if not breaking 2017-07-03 10:43:52 +02:00
mrexodia 68f897d595
GUI: re-did the AboutDialog with layouts 2017-07-03 06:14:59 +02:00
mrexodia 2f89d2a0e2
GUI: small improvements to MainWindow and AboutDialog 2017-06-30 19:40:02 +02:00
mrexodia 49b4070904
DBG+GUI: updated capstone_wrapper (fixes #1633) 2017-06-30 15:07:33 +02:00
mrexodia a2e245299a
DBG: gracefully break a trace when pausing 2017-06-30 14:41:44 +02:00
Torusrxxx a3a25e1695 don't restore window pos invisible; clean up msgbox (#1632)
* don't restore window pos invisible; clean up msgbox

* remembers more dialog position
2017-06-29 18:38:51 +02:00
mrexodia e5a614432f
DBG+GUI: small improvements to breakpoint log defaults 2017-06-29 15:45:52 +02:00
mrexodia a835571cc4
GUI: removed some redundant code from AboutDialog 2017-06-27 03:17:30 +02:00
mrexodia 2588f7dc3e
DBG: workaround for pausing certain applications that are stuck in NtUserGetMessage 2017-06-27 03:13:32 +02:00
mrexodia b8248630c2
GUI: updated AboutDialog 2017-06-27 03:13:06 +02:00
mrexodia 3d572966d2
GUI: fixed a bug with the BreakpointsViewTable and CIP highlighting 2017-06-27 00:14:23 +02:00
mrexodia 5747342938
GUI: escape unicode and ascii mnemonic characters 2017-06-25 03:00:48 +02:00
mrexodia 7a2e6eb40e
GUI: allow execution of favourite tools that require elevation 2017-06-25 03:00:47 +02:00
mrexodia 53841caab3
DBG: fixed a formatting problem in cbDebugLoadLib 2017-06-25 03:00:47 +02:00
ThunderCls ebd47a88a1 New about box dialog (#1618)
* New about box dialog

* Minor fixes
2017-06-21 15:54:21 +02:00
Matthijs Lavrijsen ca060c17c1 Replace undocumented.h with ntdll header and libs (#1620)
* Remove undocumented.h and replace it with header and .lib files for ntdll

* Replace ntdll function typedef + GetProcAddress combos with static imports
2017-06-21 15:43:23 +02:00
Torusrxxx 7f471c9768 Fixed issue with detached dumps (#1623) 2017-06-16 14:14:44 +02:00
mrexodia 3fe5b0a838
PROJECT: updated readme with AppVeyor status 2017-06-08 22:28:16 +02:00
mrexodia 2a73aed377
Merge branch 'development' of https://github.com/x64dbg/x64dbg into development 2017-06-07 04:26:53 +02:00
mrexodia 8ba0580626
DBG: fixed up the loadlib and freelib functions 2017-06-06 23:58:24 +02:00
ThunderCls 32748cab5b Fixes #1608 (#1612) 2017-06-01 07:40:07 +02:00
mrexodia 39b66f3b0f
DBG: switch default assembler engine to asmjit 2017-05-31 19:01:02 +02:00
mrexodia 9642d09bf2
EXE: don't ask for x64dbg.exe when not in WOW64 mode 2017-05-31 15:53:09 +02:00
mrexodia 32be2538dc
EXE+DBG: improved launcher (closes issue #1591) 2017-05-31 15:47:08 +02:00
mrexodia 9ddfa87789
GUI: fixed annoying focus issue when source debugging is enabled 2017-05-27 01:41:28 +02:00
ThunderCls 9944334614 Fixed wrong behavior when using search lists and changing layouts between mList and mSearchList (#1606) 2017-05-27 00:40:27 +02:00
mrexodia c9c0ca4c99
DBG+GUI: fixed issue #1601 (comments in scripts interfering with the log) 2017-05-26 20:35:16 +02:00
ThunderCls 5e77ad43e9 Closes #1597 (#1602) 2017-05-26 20:11:57 +02:00
Torusrxxx 544a6312d2 Defense against malicious "explorer.exe" (#1605) 2017-05-26 05:08:57 +02:00
mrexodia 2fd5cedd0d
remove some TitanEngine calls 2017-05-25 03:24:29 +02:00
mrexodia 9394b06c4d
DBG: removed unnecessary TitanEngine import 2017-05-23 19:40:21 +02:00
mrexodia ad700f9001
DBG: updated to yara 3.6.0 2017-05-23 19:09:59 +02:00
mrexodia 4f67087e55
DBG: better comments in shuntingYard 2017-05-22 19:33:56 +02:00
mrexodia 46e136f1b4
GUI: fixed a bug with disassembly and the encode map (closes issue #1595) 2017-05-17 01:16:51 +02:00
mrexodia 17b1fc7c01
DBG+GUI+BRIDGE: updated the floating point status/control registers with more descriptions 2017-05-16 14:40:23 +02:00
mrexodia 1d28f08fd3
GUI: AStyle 2017-05-15 23:37:41 +02:00
ThunderCls 24972c0278 Improved attach dialog and messages bps (#1589)
* Some minor cpu info box enhancements

* Switch to xrefs in InfoBox and some XrefBrowseDialog improvements

* Added search boxes and saving symbols splitters and columns layout

* Using .toULongLong for both platforms

* casting added

* Added option rva addresses in graph

* Improved attach dialog and messages bps
2017-05-15 23:35:15 +02:00
ThunderCls 5a19b434d4 Added option to show rva addresses in graph (#1587)
* Some minor cpu info box enhancements

* Switch to xrefs in InfoBox and some XrefBrowseDialog improvements

* Added search boxes and saving symbols splitters and columns layout

* Using .toULongLong for both platforms

* casting added

* Added option rva addresses in graph
2017-05-15 23:35:00 +02:00
Torusrxxx e050fb6ccf remembers dialog position (#1586) 2017-05-15 23:33:52 +02:00
ThunderCls 8829c09300 Switch to xrefs in InfoBox and some XrefBrowseDialog improvements (#1585)
* Some minor cpu info box enhancements

* Switch to xrefs in InfoBox and some XrefBrowseDialog improvements

* Added search boxes and saving symbols splitters and columns layout

* Using .toULongLong for both platforms

* casting added

* Added option rva addresses in graph
2017-05-15 23:32:31 +02:00
mrexodia 06db8b4856
DBG: more informative memory allocation error message + fixed bug in apienumexports and apienumimports 2017-05-15 23:22:04 +02:00
mrexodia cb2cb785ea
DBG+GUI: formatting + bigger disasm columns for string search 2017-05-11 06:18:32 +02:00
mrexodia 057eb125eb
GUI: fixed compile error 2017-05-09 21:53:56 +02:00
Torusrxxx 1b257deefc Don't lose data when clicking side bar (#1584) 2017-05-09 19:28:56 +02:00
ThunderCls bb0f582c9d Some minor cpu info box enhancements (#1583) 2017-05-09 19:27:34 +02:00
mrexodia ad2835248b
DBG: fixed a small typo 2017-05-09 04:09:01 +02:00
mrexodia 753d15028c
GUI: allow disabling of seasons 2017-05-09 03:15:48 +02:00
mrexodia 8979ef70b0
DBG: fixed intermodular calls (closes issue #900) 2017-05-05 18:56:38 +02:00
mrexodia 4d63bb63ac
DBG+GUI: updated capstone_wrapper 2017-05-05 18:09:01 +02:00
mrexodia 60382ae119
DBG: call DbgGetStringAt instead of disasmgetstringatwrapper 2017-05-05 18:09:01 +02:00
mrexodia c02a192fda
PROJECT: updated issues template 2017-05-05 18:09:01 +02:00
mrexodia 67b5c40370
BRIDGE+DBG: renamed ADDRINFO to BRIDGE_ADDRINFO 2017-05-05 18:09:00 +02:00
mrexodia f96cb7dd9d
DBG: conversion functions from local codepage 2017-05-05 18:09:00 +02:00
Torusrxxx 373cc2a6db fixing these words 2017-05-05 13:57:48 +00:00
mrexodia 1eed1efe4a
DBG: fixed a bug with memory caching in log strings 2017-05-04 10:22:22 +02:00
Torusrxxx 4b29afb980 Select "WM_COMMAND" per default (#1577) 2017-05-03 15:29:11 +02:00
mrexodia 6680096b86
DBG: fixed command line parsing (closes issue #1576) 2017-05-02 01:38:23 +02:00
mrexodia b725aa63c9
DBG+LAUNCHER: better command line forwarding and escaping 2017-05-01 21:40:29 +02:00
mrexodia 4fdf3084ae
DBG: fixed a crash when loading old database files (fixes #1573) 2017-05-01 20:51:23 +02:00
mrexodia 771103c27a
DBG: include refactor 2017-04-29 19:45:34 +02:00
mrexodia 906cbb74cf
DBG: improved include situation for debugger.h 2017-04-29 17:49:44 +02:00
mrexodia 1ac71a8e9f
DBG: fixed some kind of race condition from calling dbghelp (fixes issue #1571) 2017-04-29 17:19:42 +02:00
mrexodia 216e23716d
GUI: improved translation overhead in Configuration 2017-04-29 17:19:42 +02:00
Torusrxxx c991fc0c40 Warn the user about mismatch of database and executable (#1570) 2017-04-29 16:24:35 +02:00
mrexodia f4a571a547
DBG: fixed search in modules that have section gaps 2017-04-29 01:57:46 +02:00
Torusrxxx 5fbc8ae72f fixed 1278 (#1569) 2017-04-28 18:52:43 +02:00
mrexodia c36a5c75eb
DBG: allow changing of byte:[cip] and fs:[30] (closes issue #1558) 2017-04-28 01:18:54 +02:00
mrexodia 8814ac8310
DBG: greatly improved format string syntax 2017-04-27 16:58:40 +02:00
Torusrxxx a3506502f2 fixed #1566 (#1567) 2017-04-27 13:52:31 +02:00
mrexodia 771cf313a1
PROJECT: updated release file to include winconstants.txt 2017-04-25 09:07:22 +02:00
mrexodia daa05a171e
DBG: don't lose data if the program folder is not writable with 'Save Database to program directory' 2017-04-24 19:59:08 +02:00
mrexodia 039501b2fd
DBG: always store command line cache in x64dbg directory 2017-04-24 19:59:08 +02:00
Torusrxxx a1c79b5f6c Update LocalVarsView.cpp (#1563) 2017-04-24 19:58:51 +02:00
mrexodia c17bbc9653
GUI: small improvements to MessagesBreakpoints dialog 2017-04-24 02:40:58 +02:00
mrexodia e621614cf3
DBG: updated winconstants.txt 2017-04-24 02:33:45 +02:00
ThunderCls 45db5d78f4 WinProc Messages Breakpoints (#1562)
* Actions added to Handles/Windows table

- Enable/Disable window
- Follow classproc in disassembler
- Toggle bp in classproc
- Message bp in classproc (not implemented entry)

* WinProc Messages Breakpoints

- Messages breakpoints implemented in windows handles table
2017-04-24 02:33:17 +02:00
mrexodia 2fd7119088
DBG: fixed problems with list enumeration 2017-04-24 00:55:53 +02:00
mrexodia bea1a4391d
added more constants 2017-04-24 00:45:27 +02:00
mrexodia 90070ef1b3
DBG: added support for basic Windows constants (currently only window messages) 2017-04-23 22:13:11 +02:00
ThunderCls 33d482e74c Actions added to Handles/Windows table (#1561)
- Enable/Disable window
- Follow classproc in disassembler
- Toggle bp in classproc
- Message bp in classproc (not implemented entry)
2017-04-23 00:59:15 +02:00
mrexodia 5aaa585c96
DBG+GUI: improved window proc query code 2017-04-22 04:17:05 +02:00
mrexodia b45f19da5e
GUI: added windows proc query to window handle list (thanks to @ThunderCls) 2017-04-21 21:32:18 +02:00
mrexodia 8961c03a6a
GUI: fixed libpng warnings that trigger me 2017-04-21 14:36:13 +02:00
mrexodia f74cf54da9
GUI: fixed some bugs with the hotkey descriptions (thanks to lynnux) 2017-04-21 14:24:55 +02:00
Torusrxxx 2312ba0460 Local variables view improved (#1560) 2017-04-21 11:06:14 +02:00
mrexodia 16f6158477
GUI: data copy improvements (closed issue #1534) 2017-04-21 03:54:33 +02:00
mrexodia 3dca8fbd4f
GUI: restored the 'entire block' option for 'find command' (#1541) 2017-04-21 02:55:40 +02:00
mrexodia d7cd9c9ae7
GUI: added some more shortcuts in the dump 2017-04-21 02:42:33 +02:00
mrexodia 180e79ee2b
DBG+GUI: added option to go to previous/next reference 2017-04-21 02:42:32 +02:00
mrexodia b24b7939df
DBG+BRIDGE+GUI: added refsearch.count() and refsearch.addr() expression functions 2017-04-21 02:42:01 +02:00
mrexodia 271cba4f56
DBG+GUI: option to not show source line comments 2017-04-20 21:34:09 +02:00
mrexodia 9ea3154701
DBG+GUI: formatting + small fixes 2017-04-20 21:00:37 +02:00
kkthx a905656230 0x prefix for values, fixes #614 (#1557) 2017-04-20 20:45:23 +02:00
kkthx c9d7d15297 added string prefix, fixes #1027 (#1556) 2017-04-20 20:45:10 +02:00
Torusrxxx 8623ba4f8c local vars view (#1555) 2017-04-20 20:45:02 +02:00
mrexodia aa2a4afb0f
DBG+BRIDGE+GUI: more performance improvements related to GuiSetDebugState 2017-04-20 12:06:54 +02:00
mrexodia 09c80658ec
GUI: slight performance improvements with useless QString allocations 2017-04-20 10:55:06 +02:00
mrexodia 81fd6116b7
DBG+GUI: fixed inconsistent updating problems 2017-04-20 07:40:29 +02:00
mrexodia 82cff792cb
PROJECT+GUI: replaced float128 with ldconvert (closes issue #1241) 2017-04-20 01:58:29 +02:00
mrexodia 4c1fd6ca09
DBG: fixed a deadlock with handling of unknown breakpoints (closes issue #1546) 2017-04-19 21:57:20 +02:00
Better known as gordon-- 171eca3be6 Update StringUtil.cpp (#1552) 2017-04-19 21:48:26 +02:00
mrexodia 7a52b28c55
DBG+BRIDGE+GUI: plugin hotkeys 2017-04-14 08:03:52 +02:00
mrexodia d5e224a7a5
DBG: format function improvements 2017-04-14 00:33:02 +02:00
mrexodia 668ea4ef57
GUI: default filename for dumps in memory map (closes #1535) 2017-04-13 21:43:30 +02:00
mrexodia c02e3672c7
BRIDGE: added DbgEval function 2017-04-13 21:42:24 +02:00
mrexodia f2a759434d
GUI: simplified LogView address follow code 2017-04-13 17:18:23 +02:00
mrexodia 444c8dffc6
DBG: added thread suspend failed message in ThreadSuspendAll 2017-04-13 17:18:23 +02:00
Torusrxxx 5ddd4eadc0 internationalization issue fixed (#1536) 2017-04-12 15:22:43 +02:00
mrexodia 221ca3d583
GUI: improved symbol view import behaviour + better highlight dump follow events (closes #1530) 2017-04-12 06:28:28 +02:00
mrexodia caf6d0ceff
GUI: add module path hidden at the end of the module list in symbols view #1530 2017-04-12 05:37:00 +02:00
mrexodia 16a962ae3f
GUI: add newlines to DataCopyDialog for Delphi data (fixed issue #1527) 2017-04-12 05:28:28 +02:00
mrexodia 75f8afc620
DBG: better support for generic registers in scriptapi 2017-04-11 22:12:21 +02:00
mrexodia c3cff91b03
DBG: added generic registers to scriptapi 2017-04-11 21:06:17 +02:00
Torusrxxx 4b0292dacf fixed #1467 (#1532) 2017-04-11 16:54:00 +02:00
Torusrxxx 7e1eb2a8dc Add a comment for the newly allocated memory. This comment will show in the memory map. (#1531) 2017-04-11 12:41:35 +02:00
Torusrxxx cd6288d69f Fixing this mistake 2017-04-11 08:45:24 +00:00
mrexodia 5deef7360d
move option checking out of the loop 2017-04-11 00:38:53 +02:00
mrexodia 598fc65ea0
DBG+GUI: no longer override the section name in memory map with user comments 2017-04-11 00:20:21 +02:00
mrexodia 8afcb52e36
GUI: added plugins menu 2017-04-11 00:20:21 +02:00
torusrxxx e83989fcf2 Added register LastError, and allow modifying LastError in Registers view 2017-04-11 00:20:20 +02:00
torusrxxx 68f18feec7 added internal command to resolve #1525 2017-04-11 00:20:20 +02:00
torusrxxx 0ab8b66d85 Improved user experience on single-core CPU 2017-04-11 00:20:20 +02:00
mrexodia 449d04eec6
DBG+GUI: workaround for slow dbghelp functions (see #747) 2017-04-09 02:40:44 +02:00
mrexodia 701ab86942
GUI: fixed grammatical error 2017-04-08 15:18:28 +02:00
mrexodia cbe5130061
DBG: added DbgFunctions->GetCallStackEx 2017-04-08 15:16:38 +02:00
mrexodia 6cc5f4d849
DBG: no longer use ThreaderCreateRemoteThread 2017-04-08 15:16:38 +02:00
Torusrxxx 3fe18e784c Fixed (#1526)
* fixed a critical bug

* some tooltip about lock modes
2017-04-08 15:16:09 +02:00
mrexodia a7342da091
PROJECT: added clang-format config file (don't use this yet!) 2017-04-04 17:55:58 +02:00
mrexodia 532f2b0513
GUI: no longer support saving in JPG (closes issue #1516) 2017-04-04 17:55:57 +02:00
Torusrxxx 64773c8dd3 __fastcall enabled (#1519) 2017-04-04 05:39:59 +02:00
Torusrxxx 987594309c Respect encoding type for tooltips in dump (#1518) 2017-04-04 05:39:52 +02:00
mrexodia c6a24fe1a9
PROJECT: updated gitignore 2017-04-02 03:09:45 +02:00
Matthias Fetzer 5362923a8a Fixed links to Github profiles (#1512)
Fixed links to Github profiles. I think i fixed this once. This looks like a regression bug.
2017-03-30 11:33:32 +02:00
mrexodia 859e8630f7
PROJECT: fixed compile link 2017-03-29 23:37:57 +02:00
mrexodia 094e5fd122
GUI: fixed premature log truncation 2017-03-23 14:06:10 +01:00
mrexodia 7fbb9afb82
DBG: fixed out of bounds access when loading an empty script 2017-03-23 13:39:17 +01:00
mrexodia 3df04e55d9
DBG: added mod.rva and mod.offset expression functions 2017-03-20 09:08:31 +01:00
mrexodia 4c8b1e92dd
DBG+GUI: trace log file improvements 2017-03-20 08:51:01 +01:00
mrexodia af6bc45b2e
functions to get memory base/size/protect 2017-03-19 13:12:55 +01:00
Luca Marcelli dd0c4ff268 fixed link (#1505)
Fixed the link to the compile section
2017-03-19 12:11:48 +01:00
mrexodia 37de75450c
GUI: better flush log behavior 2017-03-19 10:41:08 +01:00
mrexodia 52b75cdd8b
DBG: workaround for issue #1501 2017-03-19 10:41:02 +01:00
mrexodia 3fe0242598
DBG: added _plugins_logprint 2017-03-19 10:41:02 +01:00
mrexodia a14c534282
DBG+GUI: minor improvements 2017-03-19 10:41:02 +01:00
Luca Marcelli de9f4b03bf Updated telegram & freenode badge (#1503)
updated badges for telegram and freenode to use shields.io. this will ensure that the resolution is correct on all devices.
2017-03-19 10:40:21 +01:00
Stanisław Halik c3554d2964 DBG: load symbols from local filesystem first (#1502) (#1504) 2017-03-19 08:45:32 +01:00
mrexodia e58bc13526
DBG+BRIDGE+GUI: nastry hack to force-flush the log on user commands 2017-03-18 16:45:33 +01:00
mrexodia 0a8091bc85
GUI: highlight all text on LineEditDialog 2017-03-17 13:52:06 +01:00
mrexodia ca0be798d9
Revert "St Patricks Day, March 17th, clover (32 & 64bit) icon (#1499)"
This reverts commit 91cb27e701.
2017-03-17 07:45:34 +01:00
mrexodia cb06e15d62
DBG: periodically update thread wait reasons #1470 2017-03-17 07:38:10 +01:00
mrexodia e7d8b8d5cd
DBG: added DbgAnalyzeFunction to get a function graph 2017-03-17 07:16:30 +01:00
mrexodia 0f94a5886a
GUI: add a gui for the trace log in SimpleTraceDialog 2017-03-17 06:59:37 +01:00
mrexodia 24cb79324e
DBG: added TraceSetLogFile command 2017-03-17 06:59:37 +01:00
mrexodia 8fa4dde358
GUI: slight allocation optimizations 2017-03-17 06:59:36 +01:00
fearless 91cb27e701 St Patricks Day, March 17th, clover (32 & 64bit) icon (#1499) 2017-03-16 21:44:59 +01:00
mrexodia d5e578ee6a
DBG+GUI+BRIDGE+PROJECT: updated AStyle and formatting 2017-03-16 03:32:09 +01:00
Matthijs Lavrijsen 033a495925 Initial support for compiling with Clang/C2 from VS2017 (Clang 3.8+) (#1498) 2017-03-16 03:13:04 +01:00
mrexodia 6d1db38613
DBG: properly fix the GetProcAddress crash 2017-03-14 11:18:47 +01:00
mrexodia 281ccdfb4c
DBG: intercept crash on GetProcAddress (thanks to parfetka!) 2017-03-14 10:47:36 +01:00
mrexodia f16c24b17c
GUI: recent files in ScriptView 2017-03-14 10:46:26 +01:00
mrexodia e267eedec0
GUI: move MRUList to a separate utility class 2017-03-14 10:31:59 +01:00
mrexodia c29aa34baa
GUI: option to edit script in ScriptView 2017-03-14 09:31:31 +01:00
mrexodia f7d3f7cb74
GUI: disassembly summary in graph 2017-03-14 09:12:24 +01:00
mrexodia f96a11fede
DBG: don't attempt to demangle C++ symbols in demanglePE32ExternCFunc 2017-03-14 09:11:02 +01:00
mrexodia 4e7a5656db
DBG: use previous context for retrieving comments 2017-03-14 08:15:32 +01:00
mrexodia 95b9579d56
DBG: workaround analysis on modules that don't have holes between sections 2017-03-14 08:14:51 +01:00
mrexodia fe4db70717
DBG+BRIDGE+GUI: highlight indirect calls in the graph + fixed shadow in certain situations 2017-03-14 08:13:39 +01:00
mrexodia 62b8e4fe11
DBG: delete the DLL loader on exit (closes issue #1496) 2017-03-14 06:24:54 +01:00
mrexodia 15f447cf94
GUI: highlight relevant registers of the current instruction in the RegistersView 2017-03-13 03:27:37 +01:00
mrexodia 65ddc96542
DBG+GUI: updated capstone_wrapper 2017-03-13 03:23:53 +01:00
mrexodia c758fa718b
DBG: no longer freeze on attach (by failing certain dbghelp functions if the lock cannot be acquired) 2017-03-12 21:14:06 +01:00
mrexodia 0ccb4eedb3
GUI: drastically improve log performance (especially when not visible) 2017-03-12 18:52:02 +01:00
mrexodia edf7760267
GUI: slightly improved pen style for selected block edges 2017-03-12 17:01:19 +01:00
mrexodia cdc19ac2c2
DBG: don't emit nop branches as branches in the graph 2017-03-12 16:56:49 +01:00
mrexodia e13c899a47
DBG+GUI: use ',' instead of '\1' to seperate commands 2017-03-12 06:54:18 +01:00
mrexodia c7c654c24b
DBG: implemented repeating variants of step commands 2017-03-12 06:51:46 +01:00
mrexodia 7295f356ee
GUI: fixed default button in HexEditDialog 2017-03-12 06:33:33 +01:00
mrexodia 955ef47b6d
DBG: improved run command to allow run to X 2017-03-12 05:52:58 +01:00
mrexodia 1ae30cef53
DBG+GUI: added error script command 2017-03-12 05:40:07 +01:00
mrexodia 8340cd5aab
GUI: fixed drawing issue in CPUStack with the callstack frame 2017-03-12 05:20:17 +01:00
mrexodia 3845676b98
DBG: added argument expression functions 2017-03-12 05:07:41 +01:00
mrexodia 0b70d9b391
DBG: simplify scriptinternalcmd and make scriptload a blocking call 2017-03-12 04:45:18 +01:00
mrexodia 595244bb29
GUI: icons for new options in graph view 2017-03-12 04:44:33 +01:00
mrexodia 80839d5c46
GUI: don't crash ScriptView when a script is still loaded on exit 2017-03-12 04:36:59 +01:00
mrexodia 4cb14b74a9
GUI: AStyle DisassemblerGraphView and ActionHelpers 2017-03-12 04:33:37 +01:00
mrexodia 00ddb31660
GUI: use TraceOverConditional for "return to user" #1489 2017-03-12 03:01:37 +01:00
mrexodia 45640e0bfe
DBG: improved wow64 step workaround (#1489) 2017-03-12 03:01:37 +01:00
mrexodia d153528481
DBG: added some expression functions 2017-03-12 03:01:37 +01:00
Torusrxxx ac4c5c2ed8 Change cursor to 👆 where appropriate in side bar and registers view (#1492)
* fixed a crash and enable user to dblclick on folding box

* fixed when eip is in the current function it cant select

* Change cursor to 👆 where appropriate

* update translations
2017-03-12 03:00:35 +01:00
karliss f45e2a73b3 Graph improvements (#1493)
* Fix graph toposorting.

* Prevent edge overlapping and improve routing.

* Prevent overlap when first section is vertical
* Fix range for edge_valid check
* Allow upside down L shape

* Hilight edges from selected block and allow doubleclick to zoom

* Add multiple layout modes.

* Reduce edge intersections.

Route edges in the order of blocks instead of random order from hashmap.

* Get rid of preprocessor abbuse in ActionHelper.

* Added layout selection to context menu.
2017-03-12 02:59:21 +01:00
Matthijs Lavrijsen 5cb699e60e Merge the OS compatibility element from exe/app.manifest into manifest.xml and remove app.manifest, as it was ignored during compilation (#1490) 2017-03-11 15:39:09 +01:00
mrexodia 5796891771
DBG: add support for customized string formatting (closes #1336) 2017-03-11 05:41:25 +01:00
mrexodia fa84346445
GUI: closes issue #1488 (invalid stack range when CSP is zero) 2017-03-11 05:12:17 +01:00
mrexodia bfd4cf74a8
DBG: removed deprecated '@' for memory location 2017-03-11 04:10:33 +01:00
mrexodia 62d3ac7d17
DBG: added expression functions for reference view 2017-03-11 03:53:11 +01:00
mrexodia 3b754f0791
BRIDGE+GUI: adjusted behavior for GuiReferenceGetCellContent 2017-03-11 03:51:55 +01:00
mrexodia 5715e1cc27
DBG: allow a title to be specified for refinit 2017-03-11 03:41:48 +01:00
mrexodia aaf610de54
DBG: show logged line in script info 2017-03-11 03:02:16 +01:00
mrexodia 2fd8803360
GUI: non-modal script error box 2017-03-11 02:47:23 +01:00
mrexodia 81dc667177
GUI: non-modal message box (#1416) 2017-03-11 02:34:02 +01:00
mrexodia 8d6783f91c
GUI: fixed some tabstops 2017-03-11 01:24:02 +01:00
mrexodia 2d605f18ea
DBG: demangle enumerated import symbols 2017-03-11 00:05:54 +01:00
mrexodia 5e0b1c2c61
GUI: fixed conflicting hotkey in symbol view 2017-03-10 23:57:24 +01:00
mrexodia 81bf2510e9
DBG: prevent possible overflow on race condition with varget 2017-03-10 23:52:48 +01:00
mrexodia b885e2ed4e
GUI: don't display xmm/ymm/st registers in the InfoBox (resolves issue #1476) 2017-03-10 23:23:47 +01:00
mrexodia 15bbdd84de
DBG: restore breakpoints when loading database (resolves issue #1479) 2017-03-10 23:11:51 +01:00
mrexodia 4bb5eb2dee
DBG: allow stirng formatting in labelset 2017-03-10 23:10:56 +01:00
mrexodia 448b6ac64c
DBG: refresh views in commentset 2017-03-10 23:09:36 +01:00
mrexodia 8803a50659
DBG: test for InstructionText in 'capstone' command 2017-03-10 23:08:35 +01:00
mrexodia 8e601c72bf
GUI: updated capstone_wrapper to remove RIP-relative text 2017-03-10 23:08:12 +01:00
mrexodia f66acfa410
DBG: possible cbExitThread crash 2017-03-10 21:31:19 +01:00
mrexodia e69b57600e
GUI: thick handle when splitter is collapsed (issue #1486) 2017-03-10 20:40:47 +01:00
Torusrxxx 65b1f5a4ac fix (#1487)
* fixed a crash and enable user to dblclick on folding box

* fixed when eip is in the current function it cant select

* Fix strange "Thread switched from 0" message when starting debuggee
2017-03-10 20:40:17 +01:00
mrexodia 92268d009d
DBG: removed unused disasmtext function 2017-03-06 17:25:08 +01:00
mrexodia 378a6c9637
DBG: added string formatting to findasm 2017-03-06 17:23:24 +01:00
Matthijs Lavrijsen 24b1ceb293 Update Win32/NTSTATUS error codes (#1483) 2017-03-04 20:29:45 +01:00
mrexodia c4841639e2
DBG+GUI: call stack improvements (closes pull request #1478) 2017-03-04 19:47:44 +01:00
mrexodia 9d71bd3b73
DBG: remove redundant SymEnumerateModules64 dbghelp import 2017-03-01 23:24:00 +01:00
mrexodia f71b7610b0
DBG: performance improvement with saving/loading databases 2017-02-28 23:21:42 +01:00
mrexodia 6e189010d2
DBG: cache file for the command line in the database (~2x performance improvement on big databases) 2017-02-28 05:42:29 +01:00
mrexodia aae9953c6d
DBG: fixed various crashes with very big labels in the call stack (they are now truncated instead, thanks to AlexAltea!) 2017-02-28 05:02:16 +01:00
mrexodia e63874c6bd
DBG: fixed some unclear behaviour and crashes in dbgsetcmdline 2017-02-28 05:00:54 +01:00
mrexodia 79fb2a1b47
GUI: improved the changeCommandLine option 2017-02-28 04:59:23 +01:00
mrexodia 01d46dd036
DBG+GUI: check if DEP is enabled before warning about operations on non-code pages 2017-02-26 22:42:52 +01:00
mrexodia 9a03f959e7
GUI: fixed CPUDump pointer tooltip on 64 bit 2017-02-26 21:11:19 +01:00
mrexodia 80b935ecf5
GUI: better CPUDump pointer tooltip 2017-02-26 07:25:21 +01:00
mrexodia 6329e9c989
GUI: various types of pointer highlighting (closes #175) 2017-02-26 07:11:55 +01:00
mrexodia ac0a0e3933
GUI: implemented byte highlighting (related to issue #175) 2017-02-26 05:07:20 +01:00
mrexodia 81edb1ecc4
GUI: fun byte color options in disassembly + trace record color + save full graph image (thanks to visitor42 from IRC!) 2017-02-26 04:06:12 +01:00
mrexodia ad34c79883
GUI: don't copy FPU registers when they are hidden (thanks to visitor42 on IRC!) 2017-02-26 01:38:47 +01:00
mrexodia df0c75ac03
DBG: support for symbol displacement (#1478) 2017-02-26 01:14:50 +01:00
mrexodia 2736885c09
DBG: improvement for issue #1475 (cache misses on thread creation when reading the stack) 2017-02-25 23:12:58 +01:00
mrexodia b438872319
DBG: drastically improved loop manipulation performance 2017-02-24 20:43:48 +01:00
mrexodia 9e30cc7c3e
DBG: improve range comparison functions 2017-02-24 19:48:00 +01:00
mrexodia fd17359f3d
GUI: fixed display of certain imm operands (closes #1448) 2017-02-24 19:47:26 +01:00
mrexodia 4f704b81bb
DBG+GUI: fixed some warnings 2017-02-24 19:39:32 +01:00
mrexodia 75e47ff75c
BRIDGE: fixed compilation on VS2012 2017-02-24 19:39:11 +01:00
mrexodia bf3ccd7e0b
DBG: significant memory usage improvements for database (~5x less memory used) 2017-02-24 19:38:48 +01:00
Matthijs Lavrijsen 71130601ee Add wait reason to threads list (#1470)
* Implement ThreadGetWaitReason

* Get the wait reason for all threads at once in ThreadGetWaitReason to limit the number of NtQuerySystemInformation calls to 1 per refresh
2017-02-22 19:30:18 +01:00
mrexodia 861686f91e
DBG: allow string formatting in the 'asm' command #1416 2017-02-21 19:52:09 +01:00
Torusrxxx ef2af9d631 √ Allow hiding local module name for memory addresses in the same page. (#1474) 2017-02-21 19:34:34 +01:00
Torusrxxx 54ac01ef66 fixed a crash and enable user to dblclick on folding box (#1473)
* fixed a crash and enable user to dblclick on folding box

* fixed when eip is in the current function it cant select
2017-02-21 19:33:58 +01:00
mrexodia 2268d364a7
GUI: allow decompiling from the graph (for non-contiguous ranges) 2017-02-18 22:48:45 +01:00
mrexodia c30932646e
GUI: correctly break on imports (dereference the address for the actual function address first) 2017-02-18 20:36:27 +01:00
mrexodia 6b3d1e71da
DBG: include the member name in struct visiting 2017-02-18 20:35:53 +01:00
mrexodia e83524461c
DBG: correctly enumerate imports as IAT addresses 2017-02-18 20:35:20 +01:00
mrexodia e760af25b2
GUI: correctly report function size to snowman (closes #1465) 2017-02-18 16:39:15 +01:00
changeofpace b4bc8546a8 Do not add breakpoint if SetBPX fails. (#1460)
* call SetBPX before BpNew in cbDebugSetBPX to prevent failed bps from being added to the bp map.

* revert previous change.  Call BpDelete if SetBPX failed.

* remove commented code.
2017-02-18 14:03:54 +01:00
Torusrxxx 1ae3b7d178 handles and windows view (#1417)
* handles and windows view

* use references view for heap, cleaned up

* fix #1424 use decimal pid and tid

* thread name in windows view

* fix something when not debugging

* heaps view hidden
2017-02-18 13:56:59 +01:00
mrexodia 146f6eee99
GUI: fixed labeling for "push x" in disassembly 2017-02-13 10:30:01 +01:00
mrexodia 8e0a779b20
DBG: correctly enforce reads/writes on page boundaries (closes #1446) 2017-02-05 20:45:06 +01:00
mrexodia 48df1c4c2c
DBG: updated savedata behavior 2017-02-05 20:31:17 +01:00
mrexodia 5a0a932524
DBG: slightly improved import parsing (#1455) 2017-02-05 20:16:47 +01:00
mrexodia 8788d66cf5
DBG: improved exinfo and capstone commands 2017-02-04 06:04:36 +01:00
mrexodia e4a651e453
PROJECT: issue template 2017-02-02 21:15:26 +01:00
mrexodia 003260c2dd
DBG: dont crash on strcpy_s when user-provided sizes 2017-01-31 16:08:10 +01:00
mrexodia f17d1756a6
GUI: close all source tabs on termination (closes #1443) 2017-01-30 18:08:05 +01:00
mrexodia c05bcd401a
BRIDGE: don't update patches in GuiUpdateAllViews (closes #1407) 2017-01-29 14:32:14 +01:00
mrexodia 3a9e74bfdf
GUI: ArchValue FS/GS for unusual highlighting of FS/GS 2017-01-28 21:18:24 +01:00
changeofpace 34948aacb2 treat fs / gs usage as unusual (#1440)
* added conditions for marking fs and gs usage as unusual tokens in tokenizeMemOperand and tokenizeRegOperand

* improved tokenizeRegOperand changes

* improved tokenizeMemOperand changes
2017-01-28 21:09:06 +01:00
changeofpace 3c42eb75fe added pattern option to search for -> all modules menu in disassembly view (#1441) 2017-01-28 14:41:30 +01:00
changeofpace 1a7e4c6a30 added &nbsp replace to addMsgToLogSlot (#1439) 2017-01-27 21:45:23 +01:00
changeofpace cc01ae09a0 fix MemRead to only return true if NumberOfBytesRead is equal to the requested read size (#1426)
* fix MemRead to only return true if NumberOfBytesRead is equal to the requested read size

* preserve Size arg value

* adjust readSize before page loop in MemRead
2017-01-18 22:42:45 +01:00
mrexodia 9213d8f117
GUI: not busy 2017-01-18 22:36:33 +01:00
changeofpace 5d36e73033 fixed multiple session process cookie bug when MemInitRemoteProcessCookie fails before brute-force loop (#1418) 2017-01-18 14:42:53 +01:00
changeofpace ae36e772fe Fixed random behavior when hiding / showing / reordering StdTable columns (#1421)
* fixed column ordering bug in ColumnReorderDialog

* resizing cursor bug is fixed.  adjusting order in edit dialog is broken.

* fixed column resizing bug
2017-01-18 14:42:42 +01:00
mrexodia 0b18f65653
DBG: don't clear patches unless the debuggee is terminating (fixes #1419) 2017-01-18 14:40:46 +01:00
mrexodia 233733eda9
DBG+GUI: updated capstone_wrapper 2017-01-18 14:16:16 +01:00
mrexodia 9118d7f9d8
DBG: various small improvements to the mov command 2017-01-10 20:30:54 +01:00
changeofpace 6c9eb3d6e3 Remote process cookie support for Windows XP/Vista/7 (#1412)
* added MemInitRemoteProcessCookie and memory.cpp global fallbackCookie

* changed sizeof arg for MemRead
2017-01-10 12:21:07 +01:00
mrexodia 415fe99871
DBG: support multiple string references in one instruction 2017-01-10 12:19:04 +01:00
mrexodia 9f7f649f7e
DBG+GUI: implemented trace switch condition 2017-01-10 12:14:01 +01:00
mrexodia 6f92218437
DBG: todo note 2017-01-10 10:35:50 +01:00
mrexodia 69a455d910
GUI: added boolean in settings dialog for the wow64 step workaround 2017-01-10 10:35:22 +01:00
mrexodia 0f4a5fa074
DBG: workaround for a bug/feature in WOW64 that breaks stepping 2017-01-10 10:34:51 +01:00
mrexodia ee3af0a2df
DBG+BRIDGE+GUI: fixed possible out-of-range access related to data disassembly 2017-01-10 10:16:49 +01:00
mrexodia 0767d74ef2
DBG+GUI: fixed various @coverity issues 2017-01-09 01:10:43 +01:00
mrexodia 94b2280e59
DBG: fixed memory leak with analyze_nukem 2017-01-08 23:43:55 +01:00
mrexodia 0c5a1a89f0
DBG: fixed restart as admin with spaces in the path 2017-01-08 23:32:58 +01:00
mrexodia db44e0b24d
DBG: updated TitanEngine (resolves issue #1190) thanks to @nmikhailov 2017-01-07 16:59:51 +01:00
mrexodia 37fe2150e9
GUI: properly fixed #1408 2017-01-06 11:34:43 +01:00
mrexodia 04a97b51d6
DBG: fixed default trace condition 2017-01-05 02:31:45 +01:00
mrexodia 9ec2056240
GUI: fixed minor issue with window title for the thread name edit dialog 2017-01-04 03:05:19 +01:00
mrexodia 42978d6359
DBG: fixed small spacing issue in window title 2017-01-04 03:04:07 +01:00
mrexodia 7a828861ad
GUI: more logical coloring for invalid instructions and don't allow highlighting of 'uncategorized' (colon) tokens 2017-01-03 23:37:43 +01:00
mrexodia b8cf80a32f
BRIDGE+DBG: added apis to access TEB/PEB 2017-01-03 23:36:57 +01:00
mrexodia 53f300b32a
DBG: SIZE_T -> duint 2017-01-03 15:28:49 +01:00
mrexodia f66028cbf2
DBG+GUI: updated capstone_wrapper (gracefully fixes #1378) 2017-01-03 15:27:16 +01:00
changeofpace 16f0c9871c fix incorrectly restored page protection for cross-boundary memory reads (#1406)
* added a VirtualQueryEx check to MemRead to prevent reads which span multiple memory regions

* replaced VirtualQueryEx check with code to calc # page reads based on base address
2017-01-02 20:44:07 +01:00
mrexodia 598b476132
DBG: further improved string detection heuristics 2017-01-02 13:36:42 +01:00
mrexodia 4ba4bcce1c
DBG: removed restrictive heuristic for string detection 2017-01-02 13:25:51 +01:00
mrexodia ad6b94cfd5
DBG: improvements to the string detection algorithm #1405 2017-01-02 03:54:56 +01:00
mrexodia 64daa5a1c0
GUI: (hopefully) fixed an annoying bug with very wide reference view columns 2017-01-02 03:15:30 +01:00
mrexodia b52e768b61
DBG: improved the disasmispossiblestring function 2017-01-02 03:14:57 +01:00
mrexodia f2f2255457
DBG: resolved #1407 (weird focus issues with patch dialog) 2017-01-02 03:12:45 +01:00
mrexodia 1379754c16
DBG: reverted change to string detection #1405 2017-01-01 15:55:44 +01:00
mrexodia 38a8ffce8c
GUI: improved stack usage in loadWindowSettings 2016-12-30 16:23:38 +01:00
mrexodia abab4cf52e
GUI: #aaa -> #aaaaaa 2016-12-30 15:52:58 +01:00
mrexodia a69fc07803
GUI: fixed argument widget for shadow store on x64 2016-12-29 19:17:43 +01:00
mrexodia e46e3cbe62
GUI: removed annoying borders (resolves #1373) 2016-12-29 02:12:11 +01:00
mrexodia 5e37953883
DBG: limit the maximum amount of exception to be skippable (resolves #1325 #1341) 2016-12-29 00:21:29 +01:00
mrexodia 48fa7fb72b
GUI: removed annoying status bar updates on disassembly selection changes 2016-12-29 00:19:21 +01:00
mrexodia 4b28e7d957
GUI: save cpu widget layout (#1122 #1230) 2016-12-28 23:55:43 +01:00
torusrxxx 90ec689131 vulunability 2016-12-28 11:56:40 +01:00
mrexodia 72a2da6c14
GUI: added asterisk for log link color because it cannot be applied to old contents #1399 2016-12-27 20:00:08 +01:00
mrexodia 74582ba0d1
GUI: only draw memory map contents when debugging #1399 2016-12-27 19:58:53 +01:00
mrexodia 8b4c784457
DBG+GUI+BRIDGE: added various menu manipulation functions for plugins 2016-12-26 12:44:03 +01:00
mrexodia e09c325090
DBG: unload all plugin callbacks before FreeLibrary (resolves #1397) 2016-12-26 12:07:23 +01:00
mrexodia ab8b57b503
LAUNCHER: fixed architecture emulation 2016-12-25 14:03:21 +01:00
mrexodia e295f56c9c
t push origin development Merge branch 'torusrxxx-patch00000055' into development 2016-12-25 12:27:17 +01:00
mrexodia 55377038b4
Merge branch 'patch00000055' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch00000055
# Conflicts:
#	src/gui/Src/Gui/CPUDisassembly.cpp
2016-12-25 12:26:43 +01:00
torusrxxx 2ca8f8f7f0 an old version of capstone_wrapper 2016-12-22 23:57:58 +08:00
torusrxxx 886d66da1c copy rich text 2016-12-22 23:53:56 +08:00
mrexodia 41648ee834
GUI: translate about 2016-12-22 15:07:57 +01:00
mrexodia 54a21d9730
GUI: fixed layout of PageMemoryRights #1390 2016-12-22 15:02:23 +01:00
mrexodia 74a0a9e592
GUI: option for permanently enabling the highlighting mode (possible intention of #1388?) 2016-12-20 17:18:44 +01:00
mrexodia b82f04311f
GUI: only save main window settings once 2016-12-19 23:34:33 +01:00
changeofpace ec25e22ecd Save / restore window position and size (#1385)
* main window size and position saving / restoring works.

* individual windows now save and restore their position and size

* switched from qsettings to using bridge settings
2016-12-19 23:28:02 +01:00
Torusrxxx bb66dd9536 customize color of log link (#1387) 2016-12-19 23:27:16 +01:00
mrexodia 9a5e2f94ea
GUI: fixed copy multiple lines 2016-12-19 23:25:21 +01:00
torusrxxx 9812b6a071 temporary 2016-12-19 14:26:55 +08:00
torusrxxx ddadc44e2e customize color of log link 2016-12-19 11:44:29 +08:00
mrexodia 1ebcb070ae
DBG: resolved issue #1383 (still print autocomments for constant values with 'Autocomment on CIP' enabled) 2016-12-17 17:03:30 +01:00
mrexodia 177ad66a42
GUI: fixed spelling mistake #1380 2016-12-17 12:30:48 +01:00
mrexodia 4f5f31bd74
DBG+GUI: nasty workaround for https://github.com/aquynh/capstone/issues/702 2016-12-16 19:33:04 +01:00
mrexodia 8849c7629a
Merge branch 'ThunderCls-development' into development 2016-12-16 14:30:28 +01:00
mrexodia 1d00a61ba2
Merge branch 'development' of https://github.com/ThunderCls/x64dbg into ThunderCls-development
Also made various cleanup changes
2016-12-16 14:30:04 +01:00
changeofpace cb09b548f7 removed code which set the active window to the closed tab in MHTabWidget::AttachTab (#1375) 2016-12-16 12:22:57 +01:00
Torusrxxx 84b1df9bf6 Highlight segment register from reg view (#1376) 2016-12-16 12:22:54 +01:00
ThunderCls 22108bd046 Load/Free Modules in Symbols window
- Added command "freelib" to free a module previously loaded
- Added menu entries for load/free modules in the symbols view
2016-12-14 00:23:00 -05:00
mrexodia 39010c8854
GUI: icon improvements 2016-12-14 02:39:44 +01:00
mrexodia 9b4d140eb4
Merge branch 'jossgray-development' into development 2016-12-13 19:55:05 +01:00
mrexodia c6a486a563
DBG+LAUNCHER: slight refactor of GetFileArchitecture to support certain edge cases 2016-12-13 19:54:43 +01:00
mrexodia 82492025bb
Merge branch 'development' of https://github.com/jossgray/x64dbg into jossgray-development 2016-12-13 19:09:27 +01:00
mrexodia 7bfd2b1a0f
DBG: thread entry symbolic address 2016-12-13 18:53:43 +01:00
mrexodia d37e75d126
DBG+LAUNCHER: fixed launcher with a working directory set 2016-12-13 18:53:43 +01:00
mrexodia 3545cbcb60
GUI: show log message on new command line 2016-12-13 18:53:40 +01:00
jossgray 9732d3e440 Fix failing to read IMAGE_NT_HEADERS when it is at an address greater than 0x1000. 2016-12-13 17:52:51 +00:00
ThunderCls 8da5df6c7e Disassembler copying and statusbar enhancements (#1363)
* Disassembler copying and statusbar enhancements

- Statusbar message update on disassembly data copy (Issue #1280)
- Extended info on statusbar (like in dump window) of selected
instructions in the disassembly window
- Copy multiselected Addreses(VA/RVA) in the disassembly window

* clipboard message translated

- "copied to clipboard" message in statusbar is translated and made
globally consistent

* translation
2016-12-13 13:44:30 +01:00
Torusrxxx fad8312bed fixed additional buttons on tab bar (#1367) 2016-12-13 13:25:02 +01:00
Xiaoyin Liu 7bb1198900 Use HTTPS for Microsoft symbol server URL (#1300)
Update Microsoft symbol server URL to https://msdl.microsoft.com/download/symbols. This is the default sympath in WinDbg 10.0.14321
2016-12-13 02:41:35 +01:00
mrexodia 72eae713db
DBG+BRIDGE+GUI: added various features to restart as admin 2016-12-13 02:11:40 +01:00
Torusrxxx f356ea5b2f Fix "Alt+;" on NULL can use this invisible command (#1365) 2016-12-12 17:21:43 +01:00
mrexodia 1d7a83053a
GUI: option to do case-insensitive regex search in SearchListView 2016-12-11 17:12:44 +01:00
mrexodia 29b28159b7
GUI: fixed race conditions in the optimized logging 2016-12-11 12:56:35 +01:00
mrexodia 518dcd30d4
GUI: fixed find window in AttachDialog 2016-12-11 12:40:16 +01:00
mrexodia 54f100a707
Merge branch 'lynnux-development' into development 2016-12-11 12:15:05 +01:00
mrexodia 115fee4890
GUI: use stable_sort in StdTable::reloadData 2016-12-11 12:14:26 +01:00
mrexodia d5dac02498
Merge branch 'development' of https://github.com/lynnux/x64dbg into lynnux-development 2016-12-11 09:29:34 +01:00
mrexodia c3110ff43b
Merge branch 'ThunderCls-development' into development 2016-12-11 09:28:40 +01:00
mrexodia 3738cff3b1
GUI: fixed small things + update colors on config change 2016-12-11 09:28:01 +01:00
mrexodia a61a6e96e0
Merge branch 'development' of https://github.com/ThunderCls/x64dbg into ThunderCls-development 2016-12-11 09:08:19 +01:00
changeofpace 4aca3cba64 added extra info prints for access violation exceptions for the exinfo command (#1361)
* added extra info prints for access violation exceptions for the exinfo command

* reverted to original ExceptionInformation loop in exinfo cmd.  added comments for access violation exceptions
2016-12-11 09:06:07 +01:00
changeofpace 901a25dd45 #1312 disable exinfo on exceptions (#1358)
* Added engine settings option to disable printing exinfo for every exception.

* fixed default tab
2016-12-11 09:05:15 +01:00
changeofpace d18daeefca set symbol log text to config log font. (#1357) 2016-12-11 09:04:52 +01:00
Torusrxxx 694d94cf1f config command (#1355)
* config command

* Find window in attach dialog

* attach to hidden process
2016-12-11 09:04:40 +01:00
ThunderCls b72a46ed75 Fixes
Fixes highlighted by @torusxxx
2016-12-08 22:10:16 -05:00
ThunderCls cf67222c49 Showing in breakpoints tab if EIP is on a bpx
This closes the issue #911
2016-12-08 18:51:26 -05:00
mrexodia f61509ad8b
DBG: also remove breakpoints on DbLoad 2016-12-07 22:34:44 +01:00
mrexodia 806cc1757a
DBG: fixed a bug with no specified find_size in findallmem 2016-12-07 22:30:58 +01:00
Cornel Punga 4510c594d9 Remove breakpoints from module when calling DbClear, resolves #1310 (#1352) 2016-12-07 22:22:14 +01:00
Torusrxxx 0adf24351d optimized logging speed (#1354)
* optimized logging speed

* fixed

* fixed
2016-12-07 22:21:38 +01:00
mrexodia db86648850
DBG: fixed issue #1350 (incorrect detection of unary operators) 2016-12-06 20:37:08 +01:00
lynnux aa6582b503 fix a sort bug 2016-12-06 16:01:57 +08:00
mrexodia fb1b59ce8e
GUI: some less repeating of getSymbolicName 2016-12-05 22:04:58 +01:00
Cornel Punga d55494b53f Add symbolic name of the breakpoint to be edited, resolves #1326 (#1346)
* Add symbolic name of the breakpoint to be edited

* Extend Follow in Disassembler button, extend Calculator window resolves #1347

* Created a distinct getSymbolicName function, resolves #1326
2016-12-05 21:48:53 +01:00
mrexodia 1a1d4e8bce
Merge branch 'development' of https://github.com/Nukem9/x64dbg into Nukem9-development 2016-12-05 21:15:20 +01:00
mrexodia 31d6823a30
Merge branch 'patch0000004e' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch0000004e 2016-12-05 21:13:19 +01:00
mrexodia c680cadfde
DBG: added CB_VALFROMSTRING and CB_VALTOSTRING 2016-12-05 21:09:44 +01:00
lynnux 5ec5a17fc9 better 2016-12-03 10:07:42 +08:00
lynnux 727c0656ef better 2016-12-03 10:06:02 +08:00
lynnux 4736b30042 better code 2016-12-02 15:38:38 +08:00
lynnux 4b4e1fe42d make selection line don't change when search text has changed. 2016-12-02 15:38:13 +08:00
lynnux ccc020aaf0 Merge branch 'development' of https://github.com/x64dbg/x64dbg into development 2016-12-02 15:24:28 +08:00
Nukem e1bf22fdc9 Intercept more functions for crashdumps 2016-12-02 02:07:07 -05:00
mrexodia 7e9eed4c7f
GUI: icon for virtual modules 2016-12-01 20:39:47 +01:00
mrexodia 8c1b9ccd3f
GUI: close BridgeResult event handle 2016-12-01 10:10:09 +01:00
mrexodia 6f51d06d88
DBG: various improvements with types #1305 2016-12-01 08:24:59 +01:00
mrexodia 87b029c732
DBG: small sprintf optimization 2016-12-01 08:24:29 +01:00
mrexodia ae76c9d87d
GUI: don't busy wait for BridgeResult (much faster now) 2016-12-01 08:23:54 +01:00
mrexodia 2305b3a6c2
DBG+GUI: fixed some small issues with types #1309 #1305 2016-11-30 21:23:55 +01:00
mrexodia 5e2ab487a9
DBG: fixed ParseTypes reload error #1305 2016-11-30 11:19:28 +01:00
lynnux bda465c4b9 Merge branch 'development' of https://github.com/x64dbg/x64dbg into development 2016-11-30 10:24:21 +08:00
Torusrxxx 884013b187 max length for breakpoint condition (#1306)
* max length for breakpoint condition

* Warn if duplicate label or label "a", and fix selection bg in XMM register not in default SIMD mode
2016-11-29 16:25:34 +01:00
mrexodia 98da939bf4
DBG+BRIDGE: api to get useful process/thread information 2016-11-29 00:53:08 +01:00
mrexodia 12ee743c2c
GUI: fixed issue #1299 (crash when clicking on the sidebar when out of range of the instruction buffer) 2016-11-29 00:30:29 +01:00
mrexodia 9ec84f292f
EXE: LarseAddressAware 2016-11-28 11:25:00 +01:00
Torusrxxx f6b82cf79e limits on label length and comment length, and follow DR registers via dblclick (#1301) 2016-11-28 11:22:58 +01:00
mrexodia 0d27aeb160
GUI: option for UTF16 log redirection 2016-11-27 16:06:47 +01:00
mrexodia e72cff052a
GUI: http://utf8everywhere.org 2016-11-27 14:59:16 +01:00
mrexodia 39b8bf43f7
GUI: no BOM in redirect log 2016-11-27 13:34:21 +01:00
mrexodia 799efc4f31
DBG+BRIDGE+GUI: add (theoretical) support for big endian types 2016-11-27 02:02:45 +01:00
mrexodia da21b3d0b1
DBG: changed ArchValue to macro 2016-11-27 01:00:08 +01:00
mrexodia 526671c44c
DBG: allow loading of 32/64 bit specific types from JSON 2016-11-27 00:58:05 +01:00
mrexodia de1951e9ca
DBG+BRIDGE+GUI: initial version of struct viewer 2016-11-27 00:51:24 +01:00
mrexodia 59f944a090
GUI: fixed small coloring bugs (thanks @ThunderCls!) 2016-11-26 21:28:02 +01:00
mrexodia f44c9fa705
DBG+BRIDGE+GUI: basics of type display GUI working 2016-11-26 20:03:37 +01:00
mrexodia 457b4bd68b
GUI: UTF-8 log redirect 2016-11-26 20:02:13 +01:00
mrexodia 67b14b49be
GUI: StructWidget colors 2016-11-26 16:29:57 +01:00
mrexodia 6558b29628
initial StructWidget 2016-11-26 16:29:56 +01:00
mrexodia 4020845985
GUI: more customization with graph colors 2016-11-26 16:09:24 +01:00
mrexodia 693c22176d
DBG: properly handle arrays in ParseTypes 2016-11-26 12:36:32 +01:00
mrexodia b7ff75abec
DBG: resolved issue #635 #1193 #775 #514 #1273 (cannot get module filename) 2016-11-25 20:44:36 +01:00
mrexodia 688b9fbea5
DBG: full path of debuggee log statement 2016-11-25 19:30:42 +01:00
mrexodia b21672a335
DBG: tr.hitcount alias 2016-11-24 19:41:05 +01:00
mrexodia b89fdcd3c1
DBG+BRIDGE+GUI: make single loops show properly 2016-11-22 21:54:39 +01:00
mrexodia e4efed3eaf
DBG: added loop commands 2016-11-22 21:09:59 +01:00
mrexodia 9d3d77d8fb
DBG: removed useless ParseType error 2016-11-22 21:09:52 +01:00
mrexodia d248d916b7
DBG: (fucking) finally finished layered loop implementation 2016-11-22 21:09:52 +01:00
Torusrxxx ec14fb5813 Show suspected call stack frame, and fix a bug (#1282)
* show suspected call stack frame

* log hyperlink never works on 32-bit platform

* update

* Party in call stack view
2016-11-22 19:03:57 +01:00
mrexodia 1bf7b1298b
PROJECT: updated .gitignore for VS2017 + format btparser 2016-11-22 09:38:31 +01:00
mrexodia eea599b0ac
DBG: very hacky type parser working 2016-11-22 00:10:21 +01:00
mrexodia 943aa09b4f
DBG: added the LoadTypes command 2016-11-21 10:16:54 +01:00
mrexodia 910319a576
DBG: add the ability to load types from a json file. 2016-11-21 10:16:38 +01:00
mrexodia 6856990cc1
DBG: added FileHelper::GetFileName 2016-11-21 10:16:05 +01:00
mrexodia 45ddde5707
DBG: explicitly handle null types in scmp 2016-11-21 09:36:26 +01:00
mrexodia 6b1c60d18c
GUI: fixed log string 2016-11-20 21:43:20 +01:00
mrexodia 22bf07bf96
DBG: allow arbitrary pointer depth 2016-11-20 21:42:43 +01:00
mrexodia af49e5fe6f
GUI: insert wildcard in HexEdit instead of zero 2016-11-20 17:41:50 +01:00
mrexodia 61aef59e87
GUI: enable search in current function menu 2016-11-20 13:35:43 +01:00
Torusrxxx 6f4fd60a8f Comment on memory map (#1275) 2016-11-20 11:18:57 +01:00
mrexodia 54b5347296
DBG: fix unary operators (closes issue #1276) 2016-11-19 20:47:37 +01:00