1
0
Fork 0

Compare commits

...

3630 Commits

Author SHA1 Message Date
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 29bb559aa6
Merge pull request #2899 from gmh5225/Branch_fix_veh
Using build number instead of magic number
2022-07-04 15:35:54 +02:00
Duncan Ogilvie 98f8f9af93
Merge pull request #2901 from eltimen/references-multiselect
Add ability to set breakpoints on multiple selected lines in the References tab
2022-07-04 15:35:01 +02:00
eltio 6a5ff0467c Add ability to set breakpoints on multiple selected lines in the References tab 2022-07-03 11:14:30 +03:00
eltio 8171b8138c Fix array out of bounds in SearchListView::eventFilter
The value of QKeyEvent::text() can be empty for modifier keys such as Ctrl, Shift, ...
2022-07-03 11:13:49 +03:00
gmh5225 5284c82d2e
Using build number instead of magic number 2022-07-02 01:20:38 +08:00
Duncan Ogilvie 56eef9553e
Merge pull request #2897 from vrrmin/patch-1
Typo in Breakpoints.cpp
2022-06-30 17:01:13 +02:00
Vermin a40c81e1bd
Update Breakpoints.cpp 2022-06-30 16:41:15 +02:00
Duncan Ogilvie 2d18cc3bad More improvements to the StructWidget 2022-06-22 00:08:20 +02:00
Duncan Ogilvie 13f4c8919d Do not break on the load event for ntdll
This is nonsensical because the event is fake and the context doesn't match reality at this point. It is also impossible to interact with the context.
2022-06-21 15:15:18 +02:00
Duncan Ogilvie ea52c7ae26 Refresh all views after visiting a type 2022-06-21 15:13:46 +02:00
Duncan Ogilvie f37b56c18d Improve the StructWidget more (save columns, performance improvements) 2022-06-20 01:53:34 +02:00
Duncan Ogilvie b7402c2fb9 Log the thread parameter and refactor SymGetSymbolicName 2022-06-19 21:20:09 +02:00
Duncan Ogilvie 2fe1ceedec Improve type visiting
No longer create temporary labels for types without a valid pointer
Prefix pointers with struct/union for readability
2022-06-19 21:08:33 +02:00
Duncan Ogilvie f62a75953a Highlight keywords in the StructWidget 2022-06-19 21:07:01 +02:00
Duncan Ogilvie d869248e91 Add support for strings in the command bar and formatting
Closes #2882
2022-06-19 01:47:05 +02:00
Duncan Ogilvie bae4243d81 Improve TEB/Stack information in the memory map 2022-06-19 00:30:32 +02:00
Duncan Ogilvie d87675a22f Refactor the findallusermem and findallsysmem commands into findallmem 2022-06-15 19:57:55 +02:00
Duncan Ogilvie ca2a96ed5c
Merge pull request #2880 from rezaf28/development
Add "All User Modules","All System Modules" To RMB
2022-06-15 19:57:07 +02:00
Duncan Ogilvie ff8c39015a
Merge pull request #2834 from Montycarlo/add-log-color
Extra Log method for HTML
2022-06-15 16:28:37 +02:00
Josh Brown ef747733ac changed printf html to puts html 2022-06-13 04:13:56 -07:00
Duncan Ogilvie 601e2d1175 Add an option for different High DPI scaling
Closes #2884
Closes #2876
Closes #2819
Closes #492
Closes #2801
Closes #2876
2022-06-12 16:36:13 +02:00
Duncan Ogilvie 1656256f58
Merge pull request #2881 from gmh5225/Branch_fix_dpi
Using SetProcessDpiAwarenessContext instead of QTAPI on Win10 above 1703
2022-06-12 14:31:54 +02:00
gmh5225 8b74e7cc4e
Fix type 2022-06-07 19:58:15 +08:00
gmh5225 670746737d
Simplifying the code 2022-06-07 19:31:20 +08:00
gmh5225 7fe1381fc4
AStyle format 2022-06-07 18:25:51 +08:00
gmh5225 0887e68641
Fix type 2022-06-07 18:09:00 +08:00
gmh5225 0d2c5b2c91
Fix type 2022-06-07 18:06:34 +08:00
gmh5225 25ef085966
Using SetProcessDpiAwarenessContext instead of QTAPI on Win10 above 1703 2022-06-07 17:56:15 +08:00
Reza Feizi e7cfeb9555
Update x64dbg.cpp 2022-06-06 15:21:32 +04:30
Reza Feizi cad6bef879
Update reference.h 2022-06-06 15:21:11 +04:30
Reza Feizi 1f79228dc8
Update reference.cpp 2022-06-06 15:20:55 +04:30
Reza Feizi b2cebf60cb
Update cmd-searching.cpp 2022-06-06 15:17:44 +04:30
Reza Feizi f8d4559c7c
Add "All User Modules","All System Modules" To RMB 2022-06-06 08:44:04 +04:30
Josh Brown b9e503d8ef Added dprintf_args_untranslated_html which will add unescpated HTML to LogView 2022-05-27 18:36:45 -07:00
Duncan Ogilvie f451111a2b Update ldconvert (ASLR+DEP+No TLS)
Thanks to https://twitter.com/sum_catnip for pointing it out!
2022-05-25 18:38:25 +02:00
Duncan Ogilvie c7aeda7965 Print the NTSTATUS name next to the process exit code
See #2874
2022-05-18 12:35:25 +02:00
Duncan Ogilvie 101f4ae569 Add bytes to the CalculatorDialog and refactor
Thanks to @Rat431 for the idea, see #2872
2022-05-14 20:18:22 +02:00
Duncan Ogilvie d77f2d9b09 Switch to LLVMDemangle for symbol demangling
Thanks to @Khangaroo for the bug report!
2022-05-14 16:04:28 +02:00
Duncan Ogilvie ac0cf910a4 Change the order of symbol enumeration to be more natural 2022-05-14 14:38:18 +02:00
Duncan Ogilvie a031e037a4 Clarify some menu options 2022-05-14 14:38:01 +02:00
Duncan Ogilvie 89963dfc1a Improve expression function support 2022-04-11 00:56:47 +02:00
Duncan Ogilvie ba12bb6eba
Merge pull request #2857 from torusrxxx/patch000000d5
Add detach and exit to exit dialog
2022-03-26 14:09:43 +01:00
torusrxxx 0d3cc433e2
Use F2 to toggle window proc breakpoint 2022-03-26 20:13:37 +08:00
torusrxxx 01dba2c707
Add detach and exit to exit dialog 2022-03-26 19:48:17 +08:00
Duncan Ogilvie 78b77fa333
Merge pull request #2849 from mobile46/patch-1
Fix for printable characters
2022-03-24 10:46:20 +01:00
Duncan Ogilvie af07ddfa7a
Merge pull request #2850 from torusrxxx/patch000000d3
Remember some window settings, copy old value, UI enhancement
2022-03-24 10:45:44 +01:00
Duncan Ogilvie 2219a4019e
Merge pull request #2852 from torusrxxx/patch000000d4
Add "Ignore First-Chance" button to ignore all exceptions
2022-03-17 17:49:33 +01:00
torusrxxx 05cf6a2b0d
Add "Ignore First-Chance" button to ignore all exceptions 2022-03-17 23:27:00 +08:00
torusrxxx 10c26e783b
Remember some window settings, copy old value, UI enhancement 2022-03-16 23:59:13 +08:00
Mobile46 626bbf0909
Fix for printable characters 2022-03-12 19:20:23 +03:00
torusrxxx a6313b45f5
Modified Simplified Chinese readme 2022-03-02 22:47:39 +08:00
fairycn 4a7269f81b
Add readme Simplified Chinese document
Translated from the readme.md file
2022-02-27 08:35:24 +08:00
Duncan Ogilvie 612b95b430 Some minor changes 2022-02-24 15:06:23 +01:00
Duncan Ogilvie a216adb21c Improve constant searching algorithm to match non sign-extended values too
Closes #2824
2022-02-24 15:02:01 +01:00
Duncan Ogilvie 048825e30a
Merge pull request #2817 from rajkumarananthu/feature_search_in_log
Adding search action in LogView
2022-02-24 14:44:50 +01:00
Duncan Ogilvie 07d60083bb Improve ASCII string detection algorithm
Closes #2835
2022-02-24 14:40:42 +01:00
谭九鼎 952257670f Use https for links (#2839)
# Conflicts:
#	CONTRIBUTING.md
2022-02-24 14:40:32 +01:00
谭九鼎 c89877707c
Use https for links (#2839)
* Use https for links

* change subdomain back to http
2022-02-24 14:36:50 +01:00
Rajkumar Ananthu 9dddf68b83 Updating the search in log feature changes as per the review comments
- Ran the format.bat on the changes
- Using ConfigColor() instead of QColor
- Implementing the search similar to notepad find(find, find next, find previous).
2022-02-21 19:35:22 +05:30
Duncan Ogilvie 3370207f03 Add some more unusual instructions 2022-02-14 23:35:46 +01:00
Duncan Ogilvie 80d6f6002c Allow dumping consecutive selected memory ranges 2022-02-14 23:35:22 +01:00
Duncan Ogilvie bc94635cef
Merge pull request #2822 from SirHerpDerp/asmdlg_opcode_pos
AssembleDialog - OpCode to newline
2022-02-14 19:10:43 +01:00
Duncan Ogilvie 72af1d2d35 Translate opcode bytes label 2022-02-14 18:44:42 +01:00
Josh Brown d32d44258f Add [color@#aaaaaa] block formatter for log 2022-02-11 23:22:44 -08:00
torusrxxx 2d78e115fe
fixed mnemonic brief not shown 2022-01-21 16:44:38 +08:00
Duncan Ogilvie e2f3c4a26e Make all child dialogs respect the DarkTitleBar setting 2022-01-19 01:12:15 +01:00
John d4a2e9ffd4
opcodes to newline in AsmDlg
put the genereted OpCode (AssembleDialog) to a new line so for optical purposes so it does not look squeezed
2022-01-18 15:34:00 +01:00
Duncan Ogilvie 30ce2fe778 Fix a bunch of error on /std:c++latest
Closes #2820
2022-01-17 10:18:54 +01:00
Duncan Ogilvie 58de91b229 Automatically sync with gitee 2022-01-14 15:46:52 +01:00
Torusrxxx fddef539c4
Fixed blurry disassembly text (#2819) 2022-01-13 03:21:08 +00:00
Rajkumar Ananthu 1b6289eaa4 Adding search action in LogView
To increase flexibility for user to search for a pattern
inside the log instead of copying to some other tool.
2022-01-06 12:50:06 +05:30
Duncan Ogilvie bd2638f662 Fix undefined behavior in new getAutoComment function 2022-01-05 13:01:00 +01:00
Duncan Ogilvie c66bf1689a Improve rich text painting rendering performance (hopefully) 2022-01-05 13:01:00 +01:00
Duncan Ogilvie caaf241467 Actually allow enabling the new string algorithm 🤦‍♂️ 2022-01-05 01:52:21 +01:00
Duncan Ogilvie 59f19f54b2 Fix VEH/VCH enumeration on Windows 10
Closes #2814
2022-01-04 08:43:19 +01:00
Duncan Ogilvie 1b09ed07a6 Fix a bug with Shift+3 in the ShortcutEdit (thanks gzfuqun!) 2022-01-03 06:58:46 +01:00
Duncan Ogilvie f0712b4988 Use relative paths for submodules 2022-01-03 06:58:04 +01:00
Duncan Ogilvie b4fc237823 Only use the new string detection algorithm in certain code pages 2022-01-03 05:20:09 +01:00
Duncan Ogilvie f2ab218eb1 Prioritize labels over strings in the dump address view 2022-01-03 04:41:34 +01:00
Duncan Ogilvie a43d7b2e19 Fix Ctrl+Shift+Tab in ShortcutEdit #2176 2022-01-03 04:11:42 +01:00
Duncan Ogilvie e0b350358e Fix Ctrl+N 2022-01-03 04:11:42 +01:00
Duncan Ogilvie c77b899840 Improve Handle wrapper class 2022-01-03 04:11:42 +01:00
Duncan Ogilvie 16d3b5ea2b Allow the chd command without arguments to reset the current directory 2022-01-03 04:11:42 +01:00
Duncan Ogilvie 56c6233baa Simplify wow64 check 2022-01-03 04:11:42 +01:00
Duncan Ogilvie f0dc28020d
Merge pull request #2807 from torusrxxx/patch000000d0
Add support for printing floating point numbers in XMM/YMM
2022-01-01 20:03:48 +01:00
torusrxxx bbfd31970c Fixed precision of printing double pointer 2022-01-01 16:44:21 +01:00
Duncan Ogilvie 831cba592f
Merge pull request #2810 from torusrxxx/patch000000d2
copy and paste breakpoint conditions
2022-01-01 16:40:02 +01:00
Duncan Ogilvie bee655771c
Merge pull request #2808 from torusrxxx/patch000000d1
Add autocomment for conditional breakpoint
2021-12-28 22:00:31 +01:00
torusrxxx 9ae281de20
copy and paste breakpoint conditions 2021-12-28 22:56:50 +08:00
torusrxxx 8309cedcf3
fixed comments added twice 2021-12-26 17:39:08 +08:00
torusrxxx 3817686d95
Add autocomment for breakpoint 2021-12-26 17:24:00 +08:00
torusrxxx d7d9e95272
Add support for printing floating point numbers in XMM/YMM 2021-12-25 17:36:29 +08:00
Duncan Ogilvie