1
0
Fork 0

Compare commits

...

3888 Commits

Author SHA1 Message Date
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