1
0
Fork 0
Commit Graph

3258 Commits

Author SHA1 Message Date
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 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
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 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 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
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
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 205b21ab2c Slightly improve code readability 2023-05-12 01:12:49 +02: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
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