1
0
Fork 0

Compare commits

...

3727 Commits

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