1
0
Fork 0
Commit Graph

3258 Commits

Author SHA1 Message Date
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 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 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 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
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 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 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
justanotheranonymoususer 5f04a5eb14
Use common undecorate flags 2022-11-26 16:19:28 +02:00
not6 c70aeb0359
Add relative path support to launcher (#2977) 2022-11-23 13:20:33 +01:00
not6 9d7cc256eb
Update module.cpp
Closes #2971
2022-11-17 04:08:05 +01: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 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
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
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 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