Duncan Ogilvie
1191ee08c6
Add minor zydis improvements from #2362
2023-03-02 09:47:13 +01:00
Duncan Ogilvie
e56b91e2a1
Merge branch 'dont_break_on_SetThreadName' into development
...
# Conflicts:
# src/dbg/thread.cpp
# src/gui/Src/Gui/SettingsDialog.ui
2023-03-02 09:39:42 +01:00
Duncan Ogilvie
3a6c0b1a7a
Improve wording of the settings a bit
2023-03-02 08:53:25 +01:00
Duncan Ogilvie
bd95d241bb
Fix a potential DOS and bypass for SetThreadName breakpoints
2023-03-02 08:52:58 +01:00
Duncan Ogilvie
db5b9224f8
Change the option name and use disassembly selection instead of CIP
2023-03-02 08:17:03 +01:00
Niklas Betten
31d88698ec
New Option to Show Path of Debuggee in Title:
...
Under the GUI settings we find the new option 'Set Long Window Path'.
If this is enabled instead of the normal Window Title with current thread, the full path is shown instead
2023-02-28 20:00:24 +01:00
Duncan Ogilvie
73021964ae
Disable caching in DbgMemRead
2023-02-24 04:27:17 +01:00
Duncan Ogilvie
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
not6
5555d977d4
Fix and improve "Show PID/TID in HEX" feature ( #2987 )
2022-12-06 11:36:10 +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
d3859a417e
Align the section size by page size instead of SectionAlignment
2022-12-02 01:11:55 +01:00
justanotheranonymoususer
5f04a5eb14
Use common undecorate flags
2022-11-26 16:19:28 +02:00
not6
9d7cc256eb
Update module.cpp
...
Closes #2971
2022-11-17 04:08:05 +01:00
ζeh Matt
338cb80197
Cleanup documentation for Script::Misc
2022-10-17 16:23:57 +03: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
420ef52aea
Add a workaround for a bad module in memory map
...
Closes #2931
2022-10-03 21:42:08 +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
bc88c85377
Use the page address instead of the module name for sections
...
This fixes an issue where two modules with the same name are confused
Closes #2933
2022-09-18 19:55:10 +02:00
Owerosu
7de0e994dd
Fix undecorated label display when it comes from exported symbols.
2022-09-17 17:27:42 +02:00
Duncan Ogilvie
1de3253cbd
Add option to disable ASLR + fix race condition with breakpoints
...
Closes #1764
Closes #2716
2022-09-10 01:15:09 +02:00
Duncan Ogilvie
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