1
0
Fork 0
Commit Graph

2973 Commits

Author SHA1 Message Date
Duncan Ogilvie ab0e9a932b Fix compilation on Visual Studio 2015 Update 3 and later
Closes #2445
2020-09-20 20:07:10 +02:00
Duncan Ogilvie 5a0caf0be0 Show current debug engine in the version string 2020-09-20 19:59:59 +02:00
Duncan Ogilvie 6518994beb GUI: simplify GUI for specifying system breakpoint scripts
Thanks to Matti, Brit and JustMagic for help!
2020-09-18 21:45:49 +02:00
Duncan Ogilvie d24c278d2b DBG: allow loading different debug engines 2020-09-14 20:07:30 +02:00
Duncan Ogilvie 54051bdcd1 improve code and fix bugs 2020-09-14 20:06:01 +02:00
torusrxxx c5c55de12f changed example font, added MODULEPARTY enum 2020-09-14 20:06:01 +02:00
torusrxxx e36ca4c982 fixed show/hide FPU bug 2020-09-14 20:06:01 +02:00
torusrxxx df47a27d14 Fix double hotkey D 2020-09-14 20:06:01 +02:00
torusrxxx 6c5ac3aa90 Example Text in ApperanceDialog 2020-09-14 20:06:01 +02:00
torusrxxx 01989be2fb Highlight user modules 2020-09-14 20:06:01 +02:00
torusrxxx 351aa627ce Restore Alt+T hotkey(#2397) 2020-09-14 20:06:01 +02:00
torusrxxx 50dd82252a Fixed bugs with Alt+G and GuiFocusView 2020-09-14 20:06:01 +02:00
torusrxxx 9a869936f0 Add setting to disable enter auto repeat 2020-09-14 19:31:15 +02:00
lyflow 6a02c7863b Fetch mCmdHistory on an empty mCmdLineEdit 2020-09-14 19:31:15 +02:00
torusrxxx 1f0577ff68 mnemonic help in trace and graph, bookmark in graph 2020-09-14 19:24:42 +02:00
morsisko 392d46bf8c GUI: Fixed memory leak in CPUDump and SerachListView 2020-09-14 19:19:23 +02:00
torusrxxx 982f8735e9 Don't override user font when using dark theme (#2422 #2426) 2020-09-14 19:19:11 +02:00
torusrxxx 30cc864ed8 Export trace CSV 2020-08-26 15:39:47 +02:00
torusrxxx b20d75189e Export table CSV 2020-08-26 15:39:47 +02:00
torusrxxx 70453e01b1 memory content in trace info box 2020-08-26 15:33:43 +02:00
torusrxxx c8e3a66fda Save columns in trace 2020-08-26 15:31:35 +02:00
Duncan Ogilvie 81b5b518fd DBG: fix format function unregister copy paste error 2020-08-16 04:37:37 +02:00
torusrxxx af539e345e tweak shortcut configuration for Ctrl+C (#2110) 2020-08-16 00:29:29 +02:00
torusrxxx ea8941ba0a add shortcut to copy line and etc 2020-08-16 00:29:29 +02:00
morsisko db439380aa ZYDIS: Fixed IsBranchGoingToExecute for LOOPxx instructions 2020-08-07 14:04:17 +02:00
morsisko 49516b2c6b GUI: Make LOOP conditional instruction, fixes #2366 2020-08-07 14:04:17 +02:00
torusrxxx 89af17f380
Fix timer leaks 2020-08-06 11:10:58 +08:00
torusrxxx c0684f923d Set a small delay for appearance of disassembly popup 2020-08-05 21:28:03 +02:00
torusrxxx c2c0f75434 some minor improvements for copy file offset and table scrolling 2020-08-05 21:28:03 +02:00
Duncan Ogilvie d0eaef34e3 GUI: fix missing checkboxes in dark theme 2020-08-05 21:25:52 +02:00
morsisko de237b816f GUI: Capturing registers by reference instead of by copy in TraceWidget.cpp 2020-08-04 21:11:54 +02:00
justanotheranonymoususer 6ba36edbf0 Set InstructionHighlightColor to white 2020-08-02 13:53:00 +02:00
Torusrxxx e169fd8b44
Fixed a buffer overflow vulnerability 2020-07-29 02:06:38 +00:00
Duncan Ogilvie 0329302c25 GUI: fix bug if you execute msgyn and then an error 2020-07-29 02:20:28 +02:00
Duncan Ogilvie 2f27a26e43 DBG: fix StringUtils::Trim 2020-07-29 02:20:28 +02:00
Duncan Ogilvie bcf4182cbe GUI: more minor style fixes (thanks to JustMagic) 2020-07-29 02:19:04 +02:00
Duncan Ogilvie 99174a3733 GUI: change default highlight color
closes #2402
2020-07-29 02:19:04 +02:00
Duncan Ogilvie 0355f2fd07
Merge pull request #2405 from torusrxxx/patch0000009c
make graph detachable again
2020-07-29 02:12:32 +02:00
torusrxxx 448d1fbfbc Updated string searching algorithm to support string in any language 2020-07-29 02:10:54 +02:00
justanotheranonymoususer 93209c76e7 Maybe fix this time: Set default hotkey for "Set Conditional Breakpoint" 2020-07-29 01:52:37 +02:00
torusrxxx 6234abbed8
Set window focus when toggling with graph detached 2020-07-26 17:46:58 +08:00
torusrxxx 210329b3e1
make graph detachable again 2020-07-26 17:32:04 +08:00
torusrxxx 3239b790f6 Follow source operand 2020-07-25 13:08:52 +02:00
Michael cd91d863ad
Changed default double-click behavior to follow jumps and calls in disassembly and stack widgets (#2398) 2020-07-24 16:09:09 +02:00
justanotheranonymoususer 6ad3a5b558 ActionEditBreakpoint fix 2020-07-22 21:50:12 +02:00
justanotheranonymoususer 78552f540f ActionEditBreakpoint fix 2020-07-22 21:50:12 +02:00
torusrxxx eaf11a2292 Press ENTER : Follow memory operand in dump/stack 2020-07-22 21:48:25 +02:00
Duncan Ogilvie b7f8432c57 GUI: fix compilation on 32-bit 2020-07-22 21:47:22 +02:00
Duncan Ogilvie eeef3f698a GUI: AStyle 2020-07-22 21:47:22 +02:00
torusrxxx 35c6516df9 Cache disassembly in trace file reader 2020-07-22 21:47:22 +02:00
torusrxxx 220e1d0902 Functions/Loops/Jumps in trace viewer 2020-07-22 21:47:22 +02:00
torusrxxx fdf0df9845 Painting trace record in trace browser 2020-07-22 21:47:22 +02:00
torusrxxx fb312d7169 Update infobox when selection in graph changes 2020-07-22 21:47:22 +02:00
torusrxxx a72cfd710f hide overview widget now, set appropriate splitter sizes 2020-07-22 21:47:22 +02:00
torusrxxx e046b86901 Implement infobox in trace browser 2020-07-22 21:47:22 +02:00
torusrxxx b0c2702a10 Fixed trace update after close file 2020-07-22 21:47:22 +02:00
torusrxxx f58a925d89 Introduce TraceRegisters 2020-07-22 21:47:22 +02:00
torusrxxx bd178e2b35 minor enhancement to trace file reader 2020-07-22 21:47:22 +02:00
torusrxxx 37d0729795 Graph in CPU view 2020-07-22 21:47:22 +02:00
torusrxxx aa0863689d Introduce CPURegistersView and TraceWidget 2020-07-22 21:47:22 +02:00
Duncan Ogilvie 0bc216f84f THEME: minor theme fixes 2020-07-12 01:45:41 +02:00
Duncan Ogilvie af31d9d9aa BRIDGE: remove a bunch of useless return std::move(...) 2020-07-11 21:41:19 +02:00
Duncan Ogilvie ff1d5bd565 BRIDGE: fix an oopsie 2020-07-11 20:50:39 +02:00
Duncan Ogilvie 3676f1ab75 DBG: fix some edge cases related to MAX_PATH 2020-07-11 18:44:14 +02:00
Duncan Ogilvie 84274382e4 DBG: remove default exception skip limit 2020-07-11 18:29:28 +02:00
Duncan Ogilvie c1f9882727 GUI: optimize performance of CommandLineEdit::autoCompleteAddCmd 2020-07-11 18:29:28 +02:00
Duncan Ogilvie ec6c5aa160 GUI: disable some debug output in release mode 2020-07-11 18:29:28 +02:00
Duncan Ogilvie 4cdd63384f BRIDGE: optimizations in Utf8Ini 2020-07-11 18:29:28 +02:00
Duncan Ogilvie f5355bd7ae GUI: fix weird font refresh issue 2020-07-11 18:28:25 +02:00
Duncan Ogilvie e0d736eb2a GUI: allow customization of background flicker color 2020-07-11 18:28:25 +02:00
Duncan Ogilvie f597c23ffa GUI: only import the [Colors] and [Fonts] section of the theme INI 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 917ada57b5 THEME: credits and custom colors 2020-07-11 18:28:25 +02:00
Duncan Ogilvie f24db88726 GUI: working style selection 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 9f342fe31c GUI: delete some unused color settings 2020-07-11 18:28:25 +02:00
Duncan Ogilvie ca6166d100 GUI: change the way highlighting works 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 0f37a07114 GUI: minor improvements to the AppearanceDialog 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 1c6ba593a0 fix compilation for vs2013 2020-07-11 18:28:25 +02:00
JustasMasiulis b0e813697e minor forced element styling removals 2020-07-11 18:28:25 +02:00
JustasMasiulis fa9f634cf9 TimeWastedCounter styling removed 2020-07-11 18:28:25 +02:00
JustasMasiulis 5565a8d601 LogStatusLabel styling removed 2020-07-11 18:28:25 +02:00
JustasMasiulis 292a137e92 DebugStatusLabel styling rework 2020-07-11 18:28:25 +02:00
JustasMasiulis c5e64b42a2 CPU info scrollbars and button styling removed 2020-07-11 18:28:25 +02:00
JustasMasiulis b0dd282d92 ShortcutEdit styling rework 2020-07-11 18:28:25 +02:00
JustasMasiulis 7c7b2ef2d5 AbstractTableView styling removed 2020-07-11 18:28:25 +02:00
Duncan Ogilvie 4608de37b7 PROJECT: simplify launcher code even further 2020-07-09 20:42:02 +02:00
Duncan Ogilvie 6cf28d32e6 LAUNCHER: Simplify installation process
Thx to Jonas for helping me with the zone data
2020-07-09 20:19:55 +02:00
Duncan Ogilvie 5d00c40382 GUI: implement Disassembly menu in dump 2020-07-09 18:27:39 +02:00
Duncan Ogilvie 5c8476b6b4 GUI: refactor disassembleAt slot to make CPUDisassembly independent 2020-07-09 18:27:39 +02:00
morsisko 156b604c46 GUI: Format code of BackgroundFlickerThread 2020-07-09 18:26:07 +02:00
morsisko 3e81b2449f GUI: Changed implemenation of getDumpAttention in CPUMultiDump, implemented idea from #1794 2020-07-09 18:26:07 +02:00
morsisko a5d1997024 GUI: Added getAttention method to CPUDump 2020-07-09 18:26:07 +02:00
morsisko 5b425753bf GUI: Added BackgroundFlickerThread class 2020-07-09 18:26:07 +02:00
torusrxxx d0002c0d0d Add previously undocumented AnimateInterval to settings; Remove AnimateInterval restrictions; Fix a bug on GuiOpenTraceFile 2020-07-05 16:02:52 +02:00
torusrxxx be725d82e1 fix "Trace already active" after "ticnd ())" 2020-07-04 02:48:21 +02:00
Jack Reez a5bd8f1dcc DBG: Fixed DLL breakpoints.
DLL breakpoints can now be enabled/disabled/removed!
2020-07-04 02:45:22 +02:00
Duncan Ogilvie 7b4b40b34b 1984
https://twitter.com/TwitterEng/status/1278733305190342656
2020-07-03 21:57:48 +02:00
Duncan Ogilvie 647af648ef GUI: default shortcut for set conditional breakpoint
https://github.com/x64dbg/x64dbg/pull/2370
2020-06-25 21:44:03 +02:00
Jack Reez 829235659f DBG: Added memory breakpoint's types in BpToBridge conversion.
Fixes: Memory breakpoints summary always shows type as access for all types.
@BreakPointView.
2020-06-25 21:35:33 +02:00
Jack Reez ed1eab39e8 GUI: Added option to enable/disable branch disassembly popup. 2020-06-22 14:10:53 +02:00
morsisko 95315402f1 DBG: added new command showref that shows the references tab 2020-06-22 14:08:45 +02:00
morsisko 761af58705 BRIDGE+GUI: added new function GuiShowReferences 2020-06-22 14:08:45 +02:00
Duncan Ogilvie fdc2edba4e GUI: highlight volatile registers for a call in the registers view 2020-06-18 17:41:14 +02:00
Duncan Ogilvie d73d4058df DBG: fix oversight in instruction counting algorithm 2020-06-04 18:59:37 +02:00
Duncan Ogilvie f698ecb52e GUI: flatten the Copy -> Symbolic Name menu 2020-06-04 18:27:02 +02:00
Duncan Ogilvie 20e7826295 GUI: minor textual improvements for new XMM display changes 2020-06-04 17:59:28 +02:00
torusrxxx 040e087bf1 Uppercase registers in trace view 2020-06-04 17:50:45 +02:00
torusrxxx cbd1b2f37f fixed a bug when updating disassembler config in trace viewer 2020-06-04 17:50:45 +02:00
torusrxxx 1b53fcd618 Keep highlighted token highlighted 2020-06-04 17:50:45 +02:00
torusrxxx f35e24fe9f Add support for x87 registers in CPUInfoBox 2020-06-04 17:50:45 +02:00
torusrxxx 0afdb47ecc print SYSCALL instruction unusual 2020-06-04 17:50:45 +02:00
torusrxxx 5589c7e769 Fix formatting vaddps ymm0,ymm0,ymm0; Fix goto index 0 in trace 2020-06-04 17:50:45 +02:00
torusrxxx 4f46db22a9 XMM registers in info box 2020-06-04 17:50:45 +02:00
torusrxxx bd381d72c6 Move XMM formatting to StringUtils 2020-06-04 17:50:45 +02:00
torusrxxx fd4d691928 Merge MMX registers with x87 registers in registers view 2020-06-04 17:50:45 +02:00
torusrxxx 6348cb5728 Using QBeaEngine to pass vector element type info 2020-06-04 17:50:45 +02:00
torusrxxx b058db685c Add some comments and small fixes to trace browser 2020-06-04 17:50:45 +02:00
torusrxxx 82ba40e6ec Show XMM floating-point value in info box 2020-06-04 17:50:45 +02:00
Duncan Ogilvie 6f5e786a54 DBG: improve function analysis and introduce loop analysis
Thanks to DefCon42 for help on the backedge algorithm!
2020-06-04 17:26:47 +02:00
Duncan Ogilvie 5ab09dae92 DBG: add parent in function API to support function chunks 2020-06-04 17:26:47 +02:00
Duncan Ogilvie bb49270921 DBG: show progress in status bar when downloading symbols 2020-06-04 17:26:47 +02:00
Duncan Ogilvie 23d788734a GUI: fix displaying of certain loop/argument configurations 2020-06-04 17:26:47 +02:00
Duncan Ogilvie 7bdec6f195 GUI: implement context menus for adding/deleting loops 2020-06-04 17:26:47 +02:00
Duncan Ogilvie b9b8e52c4e DBG: improve loop API 2020-06-04 17:26:42 +02:00
Duncan Ogilvie 2b9fc285c8 DBG: minor fixes with iterators and erasing 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 10da0d4654 DBG: allow setting temporary labels from the labelset command 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 6293b90aff DBG: add dbdecompress helper command 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 430ea53876 BRIDGE: allow optional parameters for DbgLoopGet 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 9c3e5ec5ff DBG: truncate labels in LabelGet 2020-06-04 17:25:50 +02:00
Duncan Ogilvie 33403df92b DBG: improve working set mitigation 2020-06-04 17:25:50 +02:00
Duncan Ogilvie d2f19c334d DBG: properly truncate the page info 2020-06-04 17:25:50 +02:00
Jack Reez 193eb52ef5 GUI: Some icons updated.
2 Icons added && 2 Icons changed.
2020-06-03 11:50:06 +02:00
Jack Reez 484d9289bb GUI: Sanitizing input expression before assemble.
BUG: When assembling an instruction, if we copy and paste an instruction from somewhere with whitspaces [ \r\n] it results in invalid parsing in asmjit engine selected and throws an error as "Error writing to memory".

SCENARIO: Copy and pacste an instruction from a text editor with a newline prefix to the assemble dialog and try to assemble.
If there is newline in the prefix the validation don't even care about the expression after the newline prefix.
2020-06-03 11:49:57 +02:00
Torusrxxx 6043dcf5a6
Allow stopping run trace when not debugging (#2326) 2020-05-15 12:31:12 +00:00
Duncan Ogilvie 5507b46dc4 DBG: error message improvement in cbDebugPause + minor project fixes 2020-05-09 22:40:45 +02:00
Serhii Suprun 7b2e62ccd2 added two new columns to trace browser with values of changed registers and memory 2020-04-29 23:29:22 +02:00
Duncan Ogilvie 8dd8026d55
DBG: remove a check that has been proven stable in MemoryReadSafePage 2020-04-28 00:25:50 +02:00
Duncan Ogilvie 1d5766e8bc
DBG: not not force RIP to the ExceptionAddress for EXCEPTION_BREAKPOINT 2020-04-28 00:25:04 +02:00
Duncan Ogilvie 0763064b70
DBG: fix more complex union scenarios 2020-04-27 13:20:37 +02:00
Duncan Ogilvie b1c0eee865
DBG: fix an issue with unions in the type system 2020-04-27 12:58:28 +02:00
Duncan Ogilvie e0b92786f0
DBG: move InitDLLDebugW out of TitanEngine 2020-04-25 22:14:06 +02:00
Duncan Ogilvie 434ef31a05
PROJECT: minor fixes in vcproj files 2020-04-25 22:14:05 +02:00
Duncan Ogilvie 3e8b9682bf
GUI: save entire block preference 2020-04-20 11:42:13 +02:00
Duncan Ogilvie 2bd139d89f
DBG: fix regression related to hardware breakpoint storage 2020-04-12 18:02:40 +02:00
Duncan Ogilvie c139a94c08
GUI: add simple 'Find references to region' in memory map 2020-04-10 03:58:43 +02:00
Duncan Ogilvie 99f7d096a8
DBG: refresh the gui in some previously untested scenarios 2020-04-02 00:16:47 +02:00
Duncan Ogilvie 3a253248e5
DBG: finally properly implement setBpActive for hardware breakpoints 2020-04-02 00:16:47 +02:00
Duncan Ogilvie 9c6710094e
GUI: don't allow inactive breakpoints to be enabled/disabled 2020-04-02 00:16:47 +02:00
Duncan Ogilvie 6f92c63ce2
DBG: fix some potential bugs when disabling/deleting hardware breakpoints 2020-04-02 00:16:46 +02:00
Duncan Ogilvie 3308fbfc22
GUI: always delete breakpoints by identifier if possible 2020-04-02 00:16:46 +02:00
Duncan Ogilvie 5a6817680a
DBG: change order of breakpoint name and custom breakpoint identifier syntax in BpGet 2020-04-02 00:16:46 +02:00
Duncan Ogilvie d2c62e69c2
DBG: move DbLoad from cbCreateProcess to before entering the debug loop
fixes #2296
2020-02-23 16:24:23 +01:00
Duncan Ogilvie 6745514e31
DBG: improvements to initialization script experience 2020-02-23 16:01:29 +01:00
Duncan Ogilvie 6407b2b063
GUI: further improve performance of reference searching
Fixes #2287
2020-02-11 00:57:14 +01:00
Duncan Ogilvie 1774ba1f89
DBG: call reference update less frequently 2020-02-10 03:10:35 +01:00
Duncan Ogilvie aac246b27f
GUI: improve performance of ReferenceView API
closes issue #2281
2020-02-10 03:10:31 +01:00
Duncan Ogilvie 1de5313e58
GUI: make more methods thread-safe in SearchListView and StdSearchListView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie dbb1f57148
GUI: some TODO comments for AbstractTableView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie a75cc25710
GUI: make more methods thread safe in AbstractTableView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie 992e6d2374
GUI: introduce MethodInvoker utility 2020-02-10 02:35:21 +01:00
Duncan Ogilvie 472a8160dd
DBG: CloseHandle on the AeDebug event 2020-02-10 02:35:13 +01:00
Duncan Ogilvie 479ea5eec6
GUI: minor improvements to AbstractTableView 2020-02-10 02:35:04 +01:00
Duncan Ogilvie 063ce31ec6
DBG+GUI: improve disassembly navigation
closes #1226
2020-01-16 15:49:52 +01:00
Duncan Ogilvie e20cd71549
DBG: fix a race condition with a cached context in _dbg_getregdump
closes #2248
2020-01-16 15:25:48 +01:00
Duncan Ogilvie d3ee95d6ba
GUI: fix a bug in the LineEditDialog, where not editing the text made the text look empty for the user
closes #2273
2020-01-15 21:40:35 +01:00
Duncan Ogilvie f7f7a2f463
DBG: attempt to undecorate more symbols based on other prefixes
closes #2268
2020-01-08 01:39:49 +01:00
Duncan Ogilvie 6cab250906
GUI: double click in trace browser now follows in disassembly 2020-01-08 01:34:50 +01:00
Duncan Ogilvie 3925d4281a
GUI: improve disassembly reference menu 2020-01-08 01:34:50 +01:00
Duncan Ogilvie 62ada1d4ca
GUI: ctrl+alt+left/right from the dump now work in the disassembly 2020-01-08 01:34:49 +01:00
Duncan Ogilvie f70d780219
GUI: show weird selections in the GUI 2020-01-08 01:34:49 +01:00
Duncan Ogilvie ebf3db1095
DBG: add forgotten CBSELCHANGED in pluginload 2020-01-08 01:34:49 +01:00
Duncan Ogilvie 9d3775b98d
BRIDGE: refresh memory view and trace browser in GuiUpdateAllViews 2020-01-08 01:34:49 +01:00
Duncan Ogilvie 293d54f9d9
GUI: improve 'go to' menu in DisassemblerGraphView 2020-01-08 01:34:38 +01:00
Duncan Ogilvie dcc77c5071
GUI: fix bug in the graph view where debugge exit doesnt clear the state 2020-01-08 01:34:02 +01:00
Duncan Ogilvie b4a03a8009 GUI: make GUI_REF_SETROWCOUNT synchronous 2019-11-26 13:26:35 +01:00
Duncan Ogilvie 537c4e42d5 GUI: do not show reload+edit menus when loading script from clipboard 2019-11-26 13:26:35 +01:00
Duncan Ogilvie b6b1cce7ba DBG: force a terminating command at the end of a script 2019-11-26 13:26:35 +01:00
now-raymond ec451897a5 DBG: Fix function boundary computation when getting x64 stack frames
RUNTIME_FUNCTION range: [BeginAddress, EndAddress)

Old code:
Find `func` where:
`func.BeginAddress <= rva <= func.EndAddress`

New code:
Find `func` where:
`func.BeginAddress <= rva < func.EndAddress`
2019-11-26 13:26:15 +01:00
Duncan Ogilvie 824100eea8
DBG: implement memcpy command 2019-11-13 01:13:06 +01:00
Duncan Ogilvie b23c0dfe37
DBG: remove leading whitespace when loading script to correctly handle tabs 2019-11-12 23:55:56 +01:00
Duncan Ogilvie fae8434284
DBG: fix a buffer overflow in a terrible 5-year old API
Thanks to dudeme for finding a reliable way to reproduce this!
2019-11-12 23:55:23 +01:00
mappzor b0ba7d40e1 Fixed #2228 (#2244)
* Fixed #2228
2019-11-11 22:15:46 +01:00
Duncan Ogilvie e2a20266d1
DBG: close #2245
fix by lynnux
2019-11-10 23:15:29 +01:00
Duncan Ogilvie c65f65f3b1
DBG: better script cleanup 2019-11-05 00:55:22 +01:00
Duncan Ogilvie eca2f7f99a
DBG: refactor scripting functionality to allow executing script branches in the GUI 2019-11-05 00:33:32 +01:00
Duncan Ogilvie 8577c58f68
GUI: fix small bug introduced by #2243 2019-11-05 00:29:20 +01:00
Duncan Ogilvie e7f342f914
GUI: allow command history in ScriptView 2019-11-05 00:09:10 +01:00
Duncan Ogilvie c41d8b7b64
GUI: add HistoryLineEdit support in LineEditDialog 2019-11-05 00:08:45 +01:00
Duncan Ogilvie 5141ddce95
GUI: only flush the log when it is visible 2019-11-04 20:45:27 +01:00
Duncan Ogilvie 6d6df1ff6f
DBG: stop skipping exceptions when pausing on certain debug events 2019-11-04 20:45:27 +01:00
Duncan Ogilvie 3fc1bdebc9
DBG: remove some unused functionality related to pausing 2019-11-04 20:45:26 +01:00
mappa 52af639cc4 Enhanced LogView performance 2019-11-04 20:38:56 +01:00
Duncan Ogilvie 6da9fc8b42
GUI: limit log buffer to 100mb 2019-11-02 02:49:42 +01:00
Duncan Ogilvie 03c5406b4b DBG+EXE: compile on latest Visual Studio 2019 without MFC 2019-10-31 15:31:23 +01:00
Duncan Ogilvie 0023930790 DBG+GUI: fix underflow in zydis 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 14201568cf GUI: do not automatically update dump if the memory and view didn't change 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 362b2d7260 GUI: use const QString & in Configuration for performance 2019-10-31 15:28:41 +01:00
Duncan Ogilvie bdfb65fc7a GUI: remove useless functions from MemoryPage 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 67341fe997 GUI: std::move to reduce allocations 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 3efe95135b DBG: improve savedata command 2019-10-31 15:27:51 +01:00
Bálint Faragó 5b92e85cb4 GUI: fix Follow From context menu in CallStackView 2019-10-31 15:19:04 +01:00
Bálint Faragó e0e977c88a DBG: try querying the process cookie before adding breakpoints 2019-10-31 15:18:27 +01:00
Bálint Faragó 16d9e5a777 DBG: do not add breakpoints to query process cookie when attaching 2019-10-31 15:18:27 +01:00
Bálint Faragó 44c9d81e60 DBG: fix invalid handle exception on terminating attach after run 2019-10-31 15:17:23 +01:00
Bálint Faragó 894ce7842d DBG: remove duplicate variable and single cycle loop in advanced analysis 2019-10-31 15:17:05 +01:00
Bálint Faragó e975fc813d DBG: verify that the decoded instruction or data reference fits into the memory range 2019-10-31 15:17:05 +01:00
Matthaeus Puehringer 382231eff8 DBG: reject wildcard only patterns
closes #2212
2019-10-23 12:22:48 +02:00
Duncan Ogilvie dfa6cef3b5
GUI: fix some more weirdness with saving/restoring tab order 2019-10-20 00:03:11 +02:00
Duncan Ogilvie 26d60547f2
GUI: fix TabOrder error for plugins that add tabs 2019-10-14 00:31:31 +02:00
Duncan Ogilvie 83e1705985
DBG: sync mnemdb with the latest idaref 2019-10-12 16:00:04 +02:00
Austin Richards aa19e3e6f4 GUI: Added label to appearance dialog font tab to denote that system font update requires app restart to take effect. 2019-10-12 15:57:54 +02:00
pxf_god 2952170189 DBG: fix call stack on x64 2019-10-12 15:41:29 +02:00
Duncan Ogilvie 31443c2c78
DBG: allow various more advanced pattern finding techniques
closes #2197
2019-09-01 17:28:48 +02:00
Duncan Ogilvie 12cf712ec2
DBG: add bswap format function 2019-09-01 17:28:43 +02:00
Duncan Ogilvie 8e2fb7f0b7
DBG: use patterntransform in the find command
see #2197
2019-09-01 15:45:29 +02:00
Duncan Ogilvie 249d5382c1
DBG: update patterntransform to reject invalid patterns 2019-09-01 15:44:28 +02:00
Duncan Ogilvie d50675ca02
DBG: fix some edge cases with page protections in the memory map 2019-08-23 00:48:20 +02:00
Duncan Ogilvie 2c37afcc9e
DBG: truncate copy data in DISASM_INSTR
closes #2028
2019-08-23 00:48:19 +02:00
Duncan Ogilvie d6b27324f4 DBG: fix bugfix
closes #2206
2019-08-22 17:50:30 +02:00
Duncan Ogilvie bbc93a9426 DBG: improve symbol handling 2019-08-22 17:21:37 +02:00
Duncan Ogilvie c6e3441819 GUI: don't follow patch in disasm and dump when toggling 2019-08-22 11:33:04 +02:00
Duncan Ogilvie 7212e853fb DBG: better heuristics for detecting the debuggee did not terminate after 10 seconds 2019-08-19 15:39:13 +02:00
Duncan Ogilvie 8a07bd2d7e
DBG+GUI: implement auto completion for exports in goto dialog
closes #1987
2019-08-17 17:38:58 +02:00
Duncan Ogilvie 593b5f1752
DBG: fix out of bounds access in valapifromstring
closes #2190
2019-08-17 16:30:23 +02:00
Duncan Ogilvie de2d930d8f
DBG+GUI: add transparent exception stepping option 2019-08-17 12:19:08 +02:00
Austin Richards 3bad6cb6dc GUI: Added Implemented color (orange/cyan) directional differentiation for sidebar jumps.
Existing configurations will use their color for forwards, and orange for backwards.
2019-08-11 10:33:31 +02:00
Duncan Ogilvie 60e1dff147
DBG: fix signature verification for PDB v2.0 and improve symbol log
closes #2193
2019-08-09 20:55:59 +02:00
Duncan Ogilvie f57d69f91e GUI: add a timer to SearchListView to properly deal with millions of entries 2019-07-02 15:57:21 +02:00
Duncan Ogilvie ab9f2d2f80 GUI: fixed some minor undefined behavior 2019-07-02 14:56:05 +02:00
Duncan Ogilvie 021ea4f743 GUI: properly encapsulate mSearchBox in SearchListView 2019-07-02 14:55:01 +02:00
Duncan Ogilvie bf413de6de
GUI: better sorting behavior in the HandlesView
closes #2195
2019-06-26 20:25:47 +02:00
Duncan Ogilvie d17852b63b DBG: fix a weird bug where dll breakpoints could not be deleted in certain cases 2019-06-25 21:17:45 +02:00
Duncan Ogilvie 0b7d840b60
DBG+BRIDGE+GUI: fix bugs and add Graph+Memory Map+Symbol Module plugin menus 2019-06-22 16:44:45 +02:00
Duncan Ogilvie fc9f9a52fd
BRIDGE+GUI: GuiExecuteOnGuiThreadEx 2019-06-22 15:05:59 +02:00
Duncan Ogilvie 3dc120d623
GUI: refactor BridgeResult and fix a bunch of bugs in the process 2019-06-22 13:29:27 +02:00
Duncan Ogilvie c345647e85
DBG: allow plugstop to indicate FreeLibrary should not be called 2019-06-22 13:22:58 +02:00
Duncan Ogilvie 7114c71fe3
DBG: trim debug strings before showing them 2019-06-22 13:22:29 +02:00
Duncan Ogilvie 3c5a1ad13a
DBG: fix _plugin_menuentrysetvisible 2019-06-21 16:39:03 +02:00
Duncan Ogilvie 17d8f8ea45
GUI: remove snowman 2019-06-21 16:38:12 +02:00
Duncan Ogilvie bb2a369ce8
DBG: add colors and column to indicate symbol load status
closes #2185
2019-06-19 00:12:43 +02:00
Duncan Ogilvie cc30f105de
DBG: implement DbgFunctions()->ModSymbolStatus 2019-06-19 00:12:43 +02:00
Duncan Ogilvie 80d84e7108
DBG: implement symunload command 2019-06-19 00:12:38 +02:00
Duncan Ogilvie d969087bed
GUI: refactor StdSearchListView to allow passing a custom StdTableSearchList 2019-06-19 00:12:32 +02:00
Duncan Ogilvie 34318e3f7e
GUI: introduce AbstractTableView::getCellColor 2019-06-19 00:12:32 +02:00
Duncan Ogilvie 728f0eaa8d
DBG: fix various issues pointed out by Visual Studio code analysis 2019-06-19 00:12:31 +02:00
Duncan Ogilvie d62f7f431c
disable warnings for dbghelp.h 2019-06-19 00:12:31 +02:00
franco martinelli 32c8e33c64 Removed backtab key substitution
Fixing issue #2176
2019-06-16 14:03:25 +02:00
Duncan Ogilvie 0a77a1cb00 DBG: add expression functions for exception information 2019-06-13 13:17:15 +02:00
Duncan Ogilvie 1e075142a5 DBG: add symload command to manually load a PDB 2019-06-12 16:51:19 +02:00
Duncan Ogilvie 4ce5b0baec Fix other minor things 2019-05-19 18:09:34 +02:00
franco martinelli 23968f11d9 Iterating QMap with ranged for. Inlined renderShortcuts. Save button now has default focus
Using ranged for instead of iterators.
Inlined renderShortcuts since it was used only once
Adjusted layout of shortcuts Ui
2019-05-19 18:09:34 +02:00
franco martinelli 59ddfa63a8 Added action filter box
Added shortcut copyline
Added shortcut binding for copyline
2019-05-19 18:09:34 +02:00
Matt 72d76bb9bc Add GetExports and GetImports to the module scripting API. 2019-05-09 20:46:13 +02:00
Zhang Li 4273fce56e Fix export name is not parsed correctly 2019-05-09 20:45:04 +02:00
Duncan Ogilvie dcbe4e17c9
GUI: save script type when restarting 2019-05-02 15:29:18 +02:00
Duncan Ogilvie b244c8177f DBG: removed sortedlru
closes #2124
2019-04-30 15:27:47 +02:00
Duncan Ogilvie c664ad1b4a DBG: add dis.iscallsystem expression function 2019-04-30 15:05:36 +02:00
Duncan Ogilvie 2cbafa369d DBG: add mod.isexport expression function 2019-04-30 15:05:36 +02:00
Duncan Ogilvie 4c08468c46
GUI: update the source view if the disassembly updates 2019-04-29 01:43:21 +02:00
Duncan Ogilvie 1c023053ca
GUI: rename repaintGui signal to updateDisassembly 2019-04-29 01:43:21 +02:00
Mattiwatti 36741fdaf8 Fix ThreadGetSuspendCount if the suspend count limit is reached
Use a better method of querying the suspend count on Windows >= 8.1 that doesn't involve suspending and resuming
2019-04-28 21:24:59 +02:00
Zhang Li 1874da8657 Fix export name parsing 2019-04-28 16:40:21 +02:00
Duncan Ogilvie 425a531535
DBG: fix use after free derp
closes #2149
2019-04-22 11:45:38 +02:00
Mattiwatti ed5d085fa3 Fix compilation in VS2019 2019-04-17 19:34:00 +02:00
Duncan Ogilvie 1d9df16898 DBG: fix missing module name in symbol log and implement source mapping 2019-04-17 19:30:59 +02:00
Duncan Ogilvie d13b2eefe1 GUI: better handling of xbegin tokenizing 2019-04-17 18:10:19 +02:00
Duncan Ogilvie 6bc16f8bac PROJECT: remove and ignore vcxproj.user files 2019-04-12 17:51:56 +02:00
Duncan Ogilvie 51f53ee886 GUI: implement all the missing SourceView features from before 2019-04-12 17:50:38 +02:00
Duncan Ogilvie 4af8ff6174 DBG: (performance) improvements to SymbolSourceDIA 2019-04-12 16:51:37 +02:00
Duncan Ogilvie 9b602ee27b GUI: setup copy menu for SourceView 2019-04-09 15:51:46 +02:00
Duncan Ogilvie 2a3bc1d667 GUI: implement \t correctly in SourceView 2019-04-09 15:51:46 +02:00
Duncan Ogilvie deef25ba42 GUI: implement follow in disassembler + go to line in SourceView 2019-04-09 15:51:45 +02:00
Duncan Ogilvie 61020f7701 GUI: rewrite SourceView to work on 2gb+ files 2019-04-09 15:51:45 +02:00
Duncan Ogilvie b67b5ebb23 GUI: improve TraceFileSearch (now also searches r8-r15 on x64) 2019-04-09 15:51:45 +02:00
Duncan Ogilvie 3b8469ba55 DBG: print rex info in Zydis command 2019-04-09 15:47:22 +02:00
Duncan Ogilvie 386e242645
DBG+GUI: removed yara 2019-04-06 13:18:16 +02:00
Duncan Ogilvie 7d727d014d
GUI: remove entropy view 2019-04-06 13:18:10 +02:00
Duncan Ogilvie 41978f961c
DBG: show full command line near 'Process Started' log entry 2019-04-06 12:40:51 +02:00
Duncan Ogilvie ee411b0c30
DBG: some more improvements to safely reading the PE info 2019-04-06 12:40:50 +02:00
torusrxxx 6f60175506
Fix a minor problem with trace browser (#2138) 2019-03-28 21:53:05 +08:00
dl471 f3e0a4e1e1 Scroll to keep selected register in view 2019-03-22 12:54:03 +01:00
dl471 21d03ce395 Clean up control flow of arrow key logic 2019-03-22 12:54:03 +01:00
dl471 8253a842e4 Add arrow key movements for x64 registers 2019-03-22 12:54:03 +01:00
dl471 54bd25be73 Add arrow key movements for remaining FPU registers 2019-03-22 12:54:03 +01:00
dl471 9d1c72fd4b Arrow key movements for middle group of FPU registers 2019-03-22 12:54:03 +01:00
dl471 c669c3491f Add arrow key movements for first set of FPU registers 2019-03-22 12:54:03 +01:00
dl471 115b90db35 Add arrow movements for rest of non-FPU registers 2019-03-22 12:54:03 +01:00
dl471 2815ca25b0 Add arrow key movements for flag registers 2019-03-22 12:54:03 +01:00
dl471 02129b5942 Account for up/down keys in register view 2019-03-22 12:54:03 +01:00
dl471 39880b1892 Add ability to move between general purpose registers with arrow keys 2019-03-22 12:54:03 +01:00
dl471 e68720777d Add struct and map for relative register positions 2019-03-22 12:54:03 +01:00
Mattiwatti 6e18613e37 DBG: ReadExportDirectory: put upper bound on the number of imports 2019-03-17 19:46:33 +01:00
Mattiwatti e38adf1265 DBG: AddressOfNameOrdinals is WORD[], not DWORD[] 2019-03-17 19:46:33 +01:00
Mattiwatti c54c96816e DBG: ReadExportDirectory: do bounds checks on all export dir entries before indexing into arrays
Fixes #2105 (second case/malware sample)
2019-03-17 19:46:33 +01:00
Mattiwatti e36779d7a4 DBG: more robust validation of PE directory sizes 2019-03-17 19:46:33 +01:00
raiseman c325ccd2cd Graph breakpoints fix (#2137)
* graph breakpoints fix
* removed "beta"
2019-03-07 21:59:07 +01:00
raiseman 62c6d40725 zoom overview fix 2019-03-05 23:03:45 +01:00
dl471 435b208427 Fix filename bug in patch menu 2019-03-05 23:01:11 +01:00
Duncan Ogilvie 7d53b1ae08
DBG: fix potential crashes in GetModuleInfo 2019-01-20 22:41:26 +01:00
Duncan Ogilvie 661360bc68
GUI: fix duplicate &p in PatchDialog 2019-01-20 20:45:58 +01:00
Duncan Ogilvie 9f5ce5041d
DBG: fix a mistake in MemUpdateMap
closes #2101
2019-01-20 20:45:47 +01:00