1
0
Fork 0
Commit Graph

2217 Commits

Author SHA1 Message Date
mrexodia 5a34b54fb2
DBG: show label of memory address in auto comments 2017-08-09 02:40:32 +02:00
mrexodia 8271b69f87
GUI: show label of memory address in CPUInfoBox 2017-08-09 02:40:02 +02:00
mrexodia f97439c9f5
DBG: introduce temp labels 2017-08-09 02:32:28 +02:00
mrexodia 5cb7917630
DBG+BRIDGE+GUI: added menu preparation plugin event 2017-08-08 01:39:04 +02:00
mrexodia caae4a9d6a
DBG: fixed a bug in _plugin_menuclear (now it no longer deletes the menu itself) 2017-08-08 01:17:25 +02:00
mrexodia afd18d870f
GUI: fixed creation of dll breakpoints with a space 2017-08-08 01:16:12 +02:00
mrexodia 192b35acde
GUI: change symbol menu 2017-08-07 20:06:11 +02:00
mrexodia 7ab339fa3b
DBG: various small improvements 2017-08-07 19:41:32 +02:00
Georgeto 7646747eca GUI: download symbols in CPU tab (#1680) 2017-08-07 19:38:34 +02:00
mrexodia ef0cbcf58f
GUI: fixed (artificial) compile error (closes #1678) 2017-08-03 16:39:16 +02:00
mrexodia 3ed658d42c
DBG: fixed (artificial) build error 2017-08-03 17:34:27 +02:00
mrexodia 875eaf9350
PROJECT: (hopefully) fixed build.bat 2017-08-03 17:30:08 +02:00
mrexodia a965c2b8a6
GUI: fixed dumb compile error in AssembleDialog 2017-08-03 16:51:18 +02:00
mrexodia 6f38e2b0f5
GUI: AA_EnableHighDpiScaling 2017-08-03 16:49:49 +02:00
mrexodia d2e8f8ab1c
GUI: temporarily remove keystone from AssembleDialog 2017-08-02 00:36:14 +02:00
mrexodia 9cdd399dde
DBG: added CFLAGS support in _scriptapi_register.h (thanks to krzywix) 2017-08-01 23:59:12 +02:00
mrexodia 43458b0881
DBG: also set pDebuggedBase and check hash on attach (fixes #1674) 2017-08-01 22:33:54 +02:00
mrexodia 6059511296
GUI: deprecate local help file + fixed release script 2017-08-01 19:23:15 +02:00
mrexodia 3c9a24ec37
GUI: show segments better in CPUInfoBox 2017-07-29 17:59:09 +02:00
pointerrrr b758ea6e9d DBG: The log now indicates the name of the breakpoint set (closes #1613) (#1662) 2017-07-27 22:53:09 +02:00
Torusrxxx 3ff9122673 can enter floating point number (#1661) 2017-07-27 18:24:55 +02:00
Torusrxxx 754ef54968 can use rtu (#1660) 2017-07-27 18:24:01 +02:00
mrexodia 7aef027ebc
GUI: fixed a crash in the FlickerThread (closes #1651) 2017-07-25 16:19:06 +02:00
mrexodia db9f8c845b
DBG: remove explicit size for memset in command line 2017-07-25 13:39:23 +02:00
Georgeto 2c3a16fbb5 GUI: revalidate when toggling 'Keep Size' in AssembleDialog (#1648)
* GUI: revalidate when toggling 'Keep Size' in AssembleDialog

* GUI: remove code duplication
2017-07-25 13:39:29 +02:00
Matthijs Lavrijsen c64777e32a PNG compress icons of sizes >= 64x64 (#1646) 2017-07-25 12:55:08 +02:00
genuine_ 18979ef6e9 Fixed some unsafe code (#1647)
* Fix underflow of commandLine variable. (memset)

* Fix for integer inconsistencies

* fix for possible overflow at line 1841 of debugger.cpp. Offending code:

sprintf_s(command, "bp %p,\"DllMain (%s)\",ss", entry, modname);
2017-07-25 12:54:41 +02:00
mrexodia a5e37fe74f
GUI: exit confirmation dialog (closes #1645) 2017-07-23 23:11:47 +02:00
Torusrxxx a6e296054f fixed x96dbg (#1644)
* fixed x96dbg

* fixed
2017-07-09 20:12:23 +02:00
mrexodia 73a8a93cbe
DBG+LAUNCHER: fix #1635 (.NET files are now processed correctly) 2017-07-08 18:29:13 +02:00
mrexodia 4631fbfc0f
DBG: fixed various cppcheck warnings 2017-07-06 16:15:57 +02:00
Maksim Derbasov 66c006d703 Small code improvement (#1637)
* Check index before array access

* fix for va_list leaks

* mismatch in new-delete pair
2017-07-04 17:26:01 +02:00
mrexodia 189cd520f0
GUI: use layout for the color picker grid 2017-07-03 11:56:04 +02:00
mrexodia 6a4510ce3a
DBG: bpgoto now no longer refreshes the GUI if not breaking 2017-07-03 10:43:52 +02:00
mrexodia 68f897d595
GUI: re-did the AboutDialog with layouts 2017-07-03 06:14:59 +02:00
mrexodia 2f89d2a0e2
GUI: small improvements to MainWindow and AboutDialog 2017-06-30 19:40:02 +02:00
mrexodia 49b4070904
DBG+GUI: updated capstone_wrapper (fixes #1633) 2017-06-30 15:07:33 +02:00
mrexodia a2e245299a
DBG: gracefully break a trace when pausing 2017-06-30 14:41:44 +02:00
Torusrxxx a3a25e1695 don't restore window pos invisible; clean up msgbox (#1632)
* don't restore window pos invisible; clean up msgbox

* remembers more dialog position
2017-06-29 18:38:51 +02:00
mrexodia e5a614432f
DBG+GUI: small improvements to breakpoint log defaults 2017-06-29 15:45:52 +02:00
mrexodia a835571cc4
GUI: removed some redundant code from AboutDialog 2017-06-27 03:17:30 +02:00
mrexodia 2588f7dc3e
DBG: workaround for pausing certain applications that are stuck in NtUserGetMessage 2017-06-27 03:13:32 +02:00
mrexodia b8248630c2
GUI: updated AboutDialog 2017-06-27 03:13:06 +02:00
mrexodia 3d572966d2
GUI: fixed a bug with the BreakpointsViewTable and CIP highlighting 2017-06-27 00:14:23 +02:00
mrexodia 5747342938
GUI: escape unicode and ascii mnemonic characters 2017-06-25 03:00:48 +02:00
mrexodia 7a2e6eb40e
GUI: allow execution of favourite tools that require elevation 2017-06-25 03:00:47 +02:00
mrexodia 53841caab3
DBG: fixed a formatting problem in cbDebugLoadLib 2017-06-25 03:00:47 +02:00
ThunderCls ebd47a88a1 New about box dialog (#1618)
* New about box dialog

* Minor fixes
2017-06-21 15:54:21 +02:00
Matthijs Lavrijsen ca060c17c1 Replace undocumented.h with ntdll header and libs (#1620)
* Remove undocumented.h and replace it with header and .lib files for ntdll

* Replace ntdll function typedef + GetProcAddress combos with static imports
2017-06-21 15:43:23 +02:00
Torusrxxx 7f471c9768 Fixed issue with detached dumps (#1623) 2017-06-16 14:14:44 +02:00
mrexodia 2a73aed377
Merge branch 'development' of https://github.com/x64dbg/x64dbg into development 2017-06-07 04:26:53 +02:00
mrexodia 8ba0580626
DBG: fixed up the loadlib and freelib functions 2017-06-06 23:58:24 +02:00
ThunderCls 32748cab5b Fixes #1608 (#1612) 2017-06-01 07:40:07 +02:00
mrexodia 39b66f3b0f
DBG: switch default assembler engine to asmjit 2017-05-31 19:01:02 +02:00
mrexodia 9642d09bf2
EXE: don't ask for x64dbg.exe when not in WOW64 mode 2017-05-31 15:53:09 +02:00
mrexodia 32be2538dc
EXE+DBG: improved launcher (closes issue #1591) 2017-05-31 15:47:08 +02:00
mrexodia 9ddfa87789
GUI: fixed annoying focus issue when source debugging is enabled 2017-05-27 01:41:28 +02:00
ThunderCls 9944334614 Fixed wrong behavior when using search lists and changing layouts between mList and mSearchList (#1606) 2017-05-27 00:40:27 +02:00
mrexodia c9c0ca4c99
DBG+GUI: fixed issue #1601 (comments in scripts interfering with the log) 2017-05-26 20:35:16 +02:00
ThunderCls 5e77ad43e9 Closes #1597 (#1602) 2017-05-26 20:11:57 +02:00
Torusrxxx 544a6312d2 Defense against malicious "explorer.exe" (#1605) 2017-05-26 05:08:57 +02:00
mrexodia 2fd5cedd0d
remove some TitanEngine calls 2017-05-25 03:24:29 +02:00
mrexodia 9394b06c4d
DBG: removed unnecessary TitanEngine import 2017-05-23 19:40:21 +02:00
mrexodia ad700f9001
DBG: updated to yara 3.6.0 2017-05-23 19:09:59 +02:00
mrexodia 4f67087e55
DBG: better comments in shuntingYard 2017-05-22 19:33:56 +02:00
mrexodia 46e136f1b4
GUI: fixed a bug with disassembly and the encode map (closes issue #1595) 2017-05-17 01:16:51 +02:00
mrexodia 17b1fc7c01
DBG+GUI+BRIDGE: updated the floating point status/control registers with more descriptions 2017-05-16 14:40:23 +02:00
mrexodia 1d28f08fd3
GUI: AStyle 2017-05-15 23:37:41 +02:00
ThunderCls 24972c0278 Improved attach dialog and messages bps (#1589)
* Some minor cpu info box enhancements

* Switch to xrefs in InfoBox and some XrefBrowseDialog improvements

* Added search boxes and saving symbols splitters and columns layout

* Using .toULongLong for both platforms

* casting added

* Added option rva addresses in graph

* Improved attach dialog and messages bps
2017-05-15 23:35:15 +02:00
Torusrxxx e050fb6ccf remembers dialog position (#1586) 2017-05-15 23:33:52 +02:00
ThunderCls 8829c09300 Switch to xrefs in InfoBox and some XrefBrowseDialog improvements (#1585)
* Some minor cpu info box enhancements

* Switch to xrefs in InfoBox and some XrefBrowseDialog improvements

* Added search boxes and saving symbols splitters and columns layout

* Using .toULongLong for both platforms

* casting added

* Added option rva addresses in graph
2017-05-15 23:32:31 +02:00
mrexodia 06db8b4856
DBG: more informative memory allocation error message + fixed bug in apienumexports and apienumimports 2017-05-15 23:22:04 +02:00
mrexodia cb2cb785ea
DBG+GUI: formatting + bigger disasm columns for string search 2017-05-11 06:18:32 +02:00
mrexodia 057eb125eb
GUI: fixed compile error 2017-05-09 21:53:56 +02:00
Torusrxxx 1b257deefc Don't lose data when clicking side bar (#1584) 2017-05-09 19:28:56 +02:00
ThunderCls bb0f582c9d Some minor cpu info box enhancements (#1583) 2017-05-09 19:27:34 +02:00
mrexodia ad2835248b
DBG: fixed a small typo 2017-05-09 04:09:01 +02:00
mrexodia 753d15028c
GUI: allow disabling of seasons 2017-05-09 03:15:48 +02:00
mrexodia 8979ef70b0
DBG: fixed intermodular calls (closes issue #900) 2017-05-05 18:56:38 +02:00
mrexodia 4d63bb63ac
DBG+GUI: updated capstone_wrapper 2017-05-05 18:09:01 +02:00
mrexodia 60382ae119
DBG: call DbgGetStringAt instead of disasmgetstringatwrapper 2017-05-05 18:09:01 +02:00
mrexodia 67b5c40370
BRIDGE+DBG: renamed ADDRINFO to BRIDGE_ADDRINFO 2017-05-05 18:09:00 +02:00
mrexodia f96cb7dd9d
DBG: conversion functions from local codepage 2017-05-05 18:09:00 +02:00
Torusrxxx 373cc2a6db fixing these words 2017-05-05 13:57:48 +00:00
mrexodia 1eed1efe4a
DBG: fixed a bug with memory caching in log strings 2017-05-04 10:22:22 +02:00
Torusrxxx 4b29afb980 Select "WM_COMMAND" per default (#1577) 2017-05-03 15:29:11 +02:00
mrexodia 6680096b86
DBG: fixed command line parsing (closes issue #1576) 2017-05-02 01:38:23 +02:00
mrexodia b725aa63c9
DBG+LAUNCHER: better command line forwarding and escaping 2017-05-01 21:40:29 +02:00
mrexodia 4fdf3084ae
DBG: fixed a crash when loading old database files (fixes #1573) 2017-05-01 20:51:23 +02:00
mrexodia 771103c27a
DBG: include refactor 2017-04-29 19:45:34 +02:00
mrexodia 906cbb74cf
DBG: improved include situation for debugger.h 2017-04-29 17:49:44 +02:00
mrexodia 1ac71a8e9f
DBG: fixed some kind of race condition from calling dbghelp (fixes issue #1571) 2017-04-29 17:19:42 +02:00
mrexodia 216e23716d
GUI: improved translation overhead in Configuration 2017-04-29 17:19:42 +02:00
Torusrxxx c991fc0c40 Warn the user about mismatch of database and executable (#1570) 2017-04-29 16:24:35 +02:00
mrexodia f4a571a547
DBG: fixed search in modules that have section gaps 2017-04-29 01:57:46 +02:00
Torusrxxx 5fbc8ae72f fixed 1278 (#1569) 2017-04-28 18:52:43 +02:00
mrexodia c36a5c75eb
DBG: allow changing of byte:[cip] and fs:[30] (closes issue #1558) 2017-04-28 01:18:54 +02:00
mrexodia 8814ac8310
DBG: greatly improved format string syntax 2017-04-27 16:58:40 +02:00
Torusrxxx a3506502f2 fixed #1566 (#1567) 2017-04-27 13:52:31 +02:00
mrexodia daa05a171e
DBG: don't lose data if the program folder is not writable with 'Save Database to program directory' 2017-04-24 19:59:08 +02:00
mrexodia 039501b2fd
DBG: always store command line cache in x64dbg directory 2017-04-24 19:59:08 +02:00
Torusrxxx a1c79b5f6c Update LocalVarsView.cpp (#1563) 2017-04-24 19:58:51 +02:00
mrexodia c17bbc9653
GUI: small improvements to MessagesBreakpoints dialog 2017-04-24 02:40:58 +02:00
ThunderCls 45db5d78f4 WinProc Messages Breakpoints (#1562)
* Actions added to Handles/Windows table

- Enable/Disable window
- Follow classproc in disassembler
- Toggle bp in classproc
- Message bp in classproc (not implemented entry)

* WinProc Messages Breakpoints

- Messages breakpoints implemented in windows handles table
2017-04-24 02:33:17 +02:00
mrexodia 2fd7119088
DBG: fixed problems with list enumeration 2017-04-24 00:55:53 +02:00
mrexodia 90070ef1b3
DBG: added support for basic Windows constants (currently only window messages) 2017-04-23 22:13:11 +02:00
ThunderCls 33d482e74c Actions added to Handles/Windows table (#1561)
- Enable/Disable window
- Follow classproc in disassembler
- Toggle bp in classproc
- Message bp in classproc (not implemented entry)
2017-04-23 00:59:15 +02:00
mrexodia 5aaa585c96
DBG+GUI: improved window proc query code 2017-04-22 04:17:05 +02:00
mrexodia b45f19da5e
GUI: added windows proc query to window handle list (thanks to @ThunderCls) 2017-04-21 21:32:18 +02:00
mrexodia 8961c03a6a
GUI: fixed libpng warnings that trigger me 2017-04-21 14:36:13 +02:00
mrexodia f74cf54da9
GUI: fixed some bugs with the hotkey descriptions (thanks to lynnux) 2017-04-21 14:24:55 +02:00
Torusrxxx 2312ba0460 Local variables view improved (#1560) 2017-04-21 11:06:14 +02:00
mrexodia 16f6158477
GUI: data copy improvements (closed issue #1534) 2017-04-21 03:54:33 +02:00
mrexodia 3dca8fbd4f
GUI: restored the 'entire block' option for 'find command' (#1541) 2017-04-21 02:55:40 +02:00
mrexodia d7cd9c9ae7
GUI: added some more shortcuts in the dump 2017-04-21 02:42:33 +02:00
mrexodia 180e79ee2b
DBG+GUI: added option to go to previous/next reference 2017-04-21 02:42:32 +02:00
mrexodia b24b7939df
DBG+BRIDGE+GUI: added refsearch.count() and refsearch.addr() expression functions 2017-04-21 02:42:01 +02:00
mrexodia 271cba4f56
DBG+GUI: option to not show source line comments 2017-04-20 21:34:09 +02:00
mrexodia 9ea3154701
DBG+GUI: formatting + small fixes 2017-04-20 21:00:37 +02:00
kkthx a905656230 0x prefix for values, fixes #614 (#1557) 2017-04-20 20:45:23 +02:00
kkthx c9d7d15297 added string prefix, fixes #1027 (#1556) 2017-04-20 20:45:10 +02:00
Torusrxxx 8623ba4f8c local vars view (#1555) 2017-04-20 20:45:02 +02:00
mrexodia aa2a4afb0f
DBG+BRIDGE+GUI: more performance improvements related to GuiSetDebugState 2017-04-20 12:06:54 +02:00
mrexodia 09c80658ec
GUI: slight performance improvements with useless QString allocations 2017-04-20 10:55:06 +02:00
mrexodia 81fd6116b7
DBG+GUI: fixed inconsistent updating problems 2017-04-20 07:40:29 +02:00
mrexodia 82cff792cb
PROJECT+GUI: replaced float128 with ldconvert (closes issue #1241) 2017-04-20 01:58:29 +02:00
mrexodia 4c1fd6ca09
DBG: fixed a deadlock with handling of unknown breakpoints (closes issue #1546) 2017-04-19 21:57:20 +02:00
Better known as gordon-- 171eca3be6 Update StringUtil.cpp (#1552) 2017-04-19 21:48:26 +02:00
mrexodia 7a52b28c55
DBG+BRIDGE+GUI: plugin hotkeys 2017-04-14 08:03:52 +02:00
mrexodia d5e224a7a5
DBG: format function improvements 2017-04-14 00:33:02 +02:00
mrexodia 668ea4ef57
GUI: default filename for dumps in memory map (closes #1535) 2017-04-13 21:43:30 +02:00
mrexodia c02e3672c7
BRIDGE: added DbgEval function 2017-04-13 21:42:24 +02:00
mrexodia f2a759434d
GUI: simplified LogView address follow code 2017-04-13 17:18:23 +02:00
mrexodia 444c8dffc6
DBG: added thread suspend failed message in ThreadSuspendAll 2017-04-13 17:18:23 +02:00
Torusrxxx 5ddd4eadc0 internationalization issue fixed (#1536) 2017-04-12 15:22:43 +02:00
mrexodia 221ca3d583
GUI: improved symbol view import behaviour + better highlight dump follow events (closes #1530) 2017-04-12 06:28:28 +02:00
mrexodia caf6d0ceff
GUI: add module path hidden at the end of the module list in symbols view #1530 2017-04-12 05:37:00 +02:00
mrexodia 16a962ae3f
GUI: add newlines to DataCopyDialog for Delphi data (fixed issue #1527) 2017-04-12 05:28:28 +02:00
mrexodia 75f8afc620
DBG: better support for generic registers in scriptapi 2017-04-11 22:12:21 +02:00
mrexodia c3cff91b03
DBG: added generic registers to scriptapi 2017-04-11 21:06:17 +02:00
Torusrxxx 4b0292dacf fixed #1467 (#1532) 2017-04-11 16:54:00 +02:00
Torusrxxx 7e1eb2a8dc Add a comment for the newly allocated memory. This comment will show in the memory map. (#1531) 2017-04-11 12:41:35 +02:00
Torusrxxx cd6288d69f Fixing this mistake 2017-04-11 08:45:24 +00:00
mrexodia 5deef7360d
move option checking out of the loop 2017-04-11 00:38:53 +02:00
mrexodia 598fc65ea0
DBG+GUI: no longer override the section name in memory map with user comments 2017-04-11 00:20:21 +02:00
mrexodia 8afcb52e36
GUI: added plugins menu 2017-04-11 00:20:21 +02:00
torusrxxx e83989fcf2 Added register LastError, and allow modifying LastError in Registers view 2017-04-11 00:20:20 +02:00
torusrxxx 68f18feec7 added internal command to resolve #1525 2017-04-11 00:20:20 +02:00
torusrxxx 0ab8b66d85 Improved user experience on single-core CPU 2017-04-11 00:20:20 +02:00
mrexodia 449d04eec6
DBG+GUI: workaround for slow dbghelp functions (see #747) 2017-04-09 02:40:44 +02:00
mrexodia 701ab86942
GUI: fixed grammatical error 2017-04-08 15:18:28 +02:00
mrexodia cbe5130061
DBG: added DbgFunctions->GetCallStackEx 2017-04-08 15:16:38 +02:00
mrexodia 6cc5f4d849
DBG: no longer use ThreaderCreateRemoteThread 2017-04-08 15:16:38 +02:00
Torusrxxx 3fe18e784c Fixed (#1526)
* fixed a critical bug

* some tooltip about lock modes
2017-04-08 15:16:09 +02:00
mrexodia 532f2b0513
GUI: no longer support saving in JPG (closes issue #1516) 2017-04-04 17:55:57 +02:00
Torusrxxx 64773c8dd3 __fastcall enabled (#1519) 2017-04-04 05:39:59 +02:00
Torusrxxx 987594309c Respect encoding type for tooltips in dump (#1518) 2017-04-04 05:39:52 +02:00
mrexodia 094e5fd122
GUI: fixed premature log truncation 2017-03-23 14:06:10 +01:00
mrexodia 7fbb9afb82
DBG: fixed out of bounds access when loading an empty script 2017-03-23 13:39:17 +01:00
mrexodia 3df04e55d9
DBG: added mod.rva and mod.offset expression functions 2017-03-20 09:08:31 +01:00
mrexodia 4c8b1e92dd
DBG+GUI: trace log file improvements 2017-03-20 08:51:01 +01:00
mrexodia af6bc45b2e
functions to get memory base/size/protect 2017-03-19 13:12:55 +01:00
mrexodia 37de75450c
GUI: better flush log behavior 2017-03-19 10:41:08 +01:00
mrexodia 52b75cdd8b
DBG: workaround for issue #1501 2017-03-19 10:41:02 +01:00
mrexodia 3fe0242598
DBG: added _plugins_logprint 2017-03-19 10:41:02 +01:00
mrexodia a14c534282
DBG+GUI: minor improvements 2017-03-19 10:41:02 +01:00
Stanisław Halik c3554d2964 DBG: load symbols from local filesystem first (#1502) (#1504) 2017-03-19 08:45:32 +01:00
mrexodia e58bc13526
DBG+BRIDGE+GUI: nastry hack to force-flush the log on user commands 2017-03-18 16:45:33 +01:00
mrexodia 0a8091bc85
GUI: highlight all text on LineEditDialog 2017-03-17 13:52:06 +01:00
mrexodia ca0be798d9
Revert "St Patricks Day, March 17th, clover (32 & 64bit) icon (#1499)"
This reverts commit 91cb27e701.
2017-03-17 07:45:34 +01:00
mrexodia cb06e15d62
DBG: periodically update thread wait reasons #1470 2017-03-17 07:38:10 +01:00
mrexodia e7d8b8d5cd
DBG: added DbgAnalyzeFunction to get a function graph 2017-03-17 07:16:30 +01:00
mrexodia 0f94a5886a
GUI: add a gui for the trace log in SimpleTraceDialog 2017-03-17 06:59:37 +01:00
mrexodia 24cb79324e
DBG: added TraceSetLogFile command 2017-03-17 06:59:37 +01:00
mrexodia 8fa4dde358
GUI: slight allocation optimizations 2017-03-17 06:59:36 +01:00
fearless 91cb27e701 St Patricks Day, March 17th, clover (32 & 64bit) icon (#1499) 2017-03-16 21:44:59 +01:00
mrexodia d5e578ee6a
DBG+GUI+BRIDGE+PROJECT: updated AStyle and formatting 2017-03-16 03:32:09 +01:00
Matthijs Lavrijsen 033a495925 Initial support for compiling with Clang/C2 from VS2017 (Clang 3.8+) (#1498) 2017-03-16 03:13:04 +01:00
mrexodia 6d1db38613
DBG: properly fix the GetProcAddress crash 2017-03-14 11:18:47 +01:00
mrexodia 281ccdfb4c
DBG: intercept crash on GetProcAddress (thanks to parfetka!) 2017-03-14 10:47:36 +01:00
mrexodia f16c24b17c
GUI: recent files in ScriptView 2017-03-14 10:46:26 +01:00
mrexodia e267eedec0
GUI: move MRUList to a separate utility class 2017-03-14 10:31:59 +01:00
mrexodia c29aa34baa
GUI: option to edit script in ScriptView 2017-03-14 09:31:31 +01:00
mrexodia f7d3f7cb74
GUI: disassembly summary in graph 2017-03-14 09:12:24 +01:00
mrexodia f96a11fede
DBG: don't attempt to demangle C++ symbols in demanglePE32ExternCFunc 2017-03-14 09:11:02 +01:00
mrexodia 4e7a5656db
DBG: use previous context for retrieving comments 2017-03-14 08:15:32 +01:00
mrexodia 95b9579d56
DBG: workaround analysis on modules that don't have holes between sections 2017-03-14 08:14:51 +01:00
mrexodia fe4db70717
DBG+BRIDGE+GUI: highlight indirect calls in the graph + fixed shadow in certain situations 2017-03-14 08:13:39 +01:00
mrexodia 62b8e4fe11
DBG: delete the DLL loader on exit (closes issue #1496) 2017-03-14 06:24:54 +01:00
mrexodia 15f447cf94
GUI: highlight relevant registers of the current instruction in the RegistersView 2017-03-13 03:27:37 +01:00
mrexodia 65ddc96542
DBG+GUI: updated capstone_wrapper 2017-03-13 03:23:53 +01:00
mrexodia c758fa718b
DBG: no longer freeze on attach (by failing certain dbghelp functions if the lock cannot be acquired) 2017-03-12 21:14:06 +01:00
mrexodia 0ccb4eedb3
GUI: drastically improve log performance (especially when not visible) 2017-03-12 18:52:02 +01:00
mrexodia edf7760267
GUI: slightly improved pen style for selected block edges 2017-03-12 17:01:19 +01:00
mrexodia cdc19ac2c2
DBG: don't emit nop branches as branches in the graph 2017-03-12 16:56:49 +01:00
mrexodia e13c899a47
DBG+GUI: use ',' instead of '\1' to seperate commands 2017-03-12 06:54:18 +01:00
mrexodia c7c654c24b
DBG: implemented repeating variants of step commands 2017-03-12 06:51:46 +01:00
mrexodia 7295f356ee
GUI: fixed default button in HexEditDialog 2017-03-12 06:33:33 +01:00
mrexodia 955ef47b6d
DBG: improved run command to allow run to X 2017-03-12 05:52:58 +01:00
mrexodia 1ae30cef53
DBG+GUI: added error script command 2017-03-12 05:40:07 +01:00
mrexodia 8340cd5aab
GUI: fixed drawing issue in CPUStack with the callstack frame 2017-03-12 05:20:17 +01:00
mrexodia 3845676b98
DBG: added argument expression functions 2017-03-12 05:07:41 +01:00
mrexodia 0b70d9b391
DBG: simplify scriptinternalcmd and make scriptload a blocking call 2017-03-12 04:45:18 +01:00
mrexodia 595244bb29
GUI: icons for new options in graph view 2017-03-12 04:44:33 +01:00
mrexodia 80839d5c46
GUI: don't crash ScriptView when a script is still loaded on exit 2017-03-12 04:36:59 +01:00
mrexodia 4cb14b74a9
GUI: AStyle DisassemblerGraphView and ActionHelpers 2017-03-12 04:33:37 +01:00
mrexodia 00ddb31660
GUI: use TraceOverConditional for "return to user" #1489 2017-03-12 03:01:37 +01:00
mrexodia 45640e0bfe
DBG: improved wow64 step workaround (#1489) 2017-03-12 03:01:37 +01:00
mrexodia d153528481
DBG: added some expression functions 2017-03-12 03:01:37 +01:00
Torusrxxx ac4c5c2ed8 Change cursor to 👆 where appropriate in side bar and registers view (#1492)
* fixed a crash and enable user to dblclick on folding box

* fixed when eip is in the current function it cant select

* Change cursor to 👆 where appropriate

* update translations
2017-03-12 03:00:35 +01:00
karliss f45e2a73b3 Graph improvements (#1493)
* Fix graph toposorting.

* Prevent edge overlapping and improve routing.

* Prevent overlap when first section is vertical
* Fix range for edge_valid check
* Allow upside down L shape

* Hilight edges from selected block and allow doubleclick to zoom

* Add multiple layout modes.

* Reduce edge intersections.

Route edges in the order of blocks instead of random order from hashmap.

* Get rid of preprocessor abbuse in ActionHelper.

* Added layout selection to context menu.
2017-03-12 02:59:21 +01:00
Matthijs Lavrijsen 5cb699e60e Merge the OS compatibility element from exe/app.manifest into manifest.xml and remove app.manifest, as it was ignored during compilation (#1490) 2017-03-11 15:39:09 +01:00
mrexodia 5796891771
DBG: add support for customized string formatting (closes #1336) 2017-03-11 05:41:25 +01:00
mrexodia fa84346445
GUI: closes issue #1488 (invalid stack range when CSP is zero) 2017-03-11 05:12:17 +01:00
mrexodia bfd4cf74a8
DBG: removed deprecated '@' for memory location 2017-03-11 04:10:33 +01:00
mrexodia 62d3ac7d17
DBG: added expression functions for reference view 2017-03-11 03:53:11 +01:00
mrexodia 3b754f0791
BRIDGE+GUI: adjusted behavior for GuiReferenceGetCellContent 2017-03-11 03:51:55 +01:00
mrexodia 5715e1cc27
DBG: allow a title to be specified for refinit 2017-03-11 03:41:48 +01:00
mrexodia aaf610de54
DBG: show logged line in script info 2017-03-11 03:02:16 +01:00
mrexodia 2fd8803360
GUI: non-modal script error box 2017-03-11 02:47:23 +01:00
mrexodia 81dc667177
GUI: non-modal message box (#1416) 2017-03-11 02:34:02 +01:00
mrexodia 8d6783f91c
GUI: fixed some tabstops 2017-03-11 01:24:02 +01:00
mrexodia 2d605f18ea
DBG: demangle enumerated import symbols 2017-03-11 00:05:54 +01:00
mrexodia 5e0b1c2c61
GUI: fixed conflicting hotkey in symbol view 2017-03-10 23:57:24 +01:00
mrexodia 81bf2510e9
DBG: prevent possible overflow on race condition with varget 2017-03-10 23:52:48 +01:00
mrexodia b885e2ed4e
GUI: don't display xmm/ymm/st registers in the InfoBox (resolves issue #1476) 2017-03-10 23:23:47 +01:00
mrexodia 15bbdd84de
DBG: restore breakpoints when loading database (resolves issue #1479) 2017-03-10 23:11:51 +01:00
mrexodia 4bb5eb2dee
DBG: allow stirng formatting in labelset 2017-03-10 23:10:56 +01:00
mrexodia 448b6ac64c
DBG: refresh views in commentset 2017-03-10 23:09:36 +01:00
mrexodia 8803a50659
DBG: test for InstructionText in 'capstone' command 2017-03-10 23:08:35 +01:00
mrexodia 8e601c72bf
GUI: updated capstone_wrapper to remove RIP-relative text 2017-03-10 23:08:12 +01:00
mrexodia f66acfa410
DBG: possible cbExitThread crash 2017-03-10 21:31:19 +01:00
mrexodia e69b57600e
GUI: thick handle when splitter is collapsed (issue #1486) 2017-03-10 20:40:47 +01:00
Torusrxxx 65b1f5a4ac fix (#1487)
* fixed a crash and enable user to dblclick on folding box

* fixed when eip is in the current function it cant select

* Fix strange "Thread switched from 0" message when starting debuggee
2017-03-10 20:40:17 +01:00
mrexodia 92268d009d
DBG: removed unused disasmtext function 2017-03-06 17:25:08 +01:00
mrexodia 378a6c9637
DBG: added string formatting to findasm 2017-03-06 17:23:24 +01:00
mrexodia c4841639e2
DBG+GUI: call stack improvements (closes pull request #1478) 2017-03-04 19:47:44 +01:00
mrexodia 9d71bd3b73
DBG: remove redundant SymEnumerateModules64 dbghelp import 2017-03-01 23:24:00 +01:00
mrexodia f71b7610b0
DBG: performance improvement with saving/loading databases 2017-02-28 23:21:42 +01:00
mrexodia 6e189010d2
DBG: cache file for the command line in the database (~2x performance improvement on big databases) 2017-02-28 05:42:29 +01:00
mrexodia aae9953c6d
DBG: fixed various crashes with very big labels in the call stack (they are now truncated instead, thanks to AlexAltea!) 2017-02-28 05:02:16 +01:00
mrexodia e63874c6bd
DBG: fixed some unclear behaviour and crashes in dbgsetcmdline 2017-02-28 05:00:54 +01:00
mrexodia 79fb2a1b47
GUI: improved the changeCommandLine option 2017-02-28 04:59:23 +01:00
mrexodia 01d46dd036
DBG+GUI: check if DEP is enabled before warning about operations on non-code pages 2017-02-26 22:42:52 +01:00
mrexodia 9a03f959e7
GUI: fixed CPUDump pointer tooltip on 64 bit 2017-02-26 21:11:19 +01:00
mrexodia 80b935ecf5
GUI: better CPUDump pointer tooltip 2017-02-26 07:25:21 +01:00
mrexodia 6329e9c989
GUI: various types of pointer highlighting (closes #175) 2017-02-26 07:11:55 +01:00
mrexodia ac0a0e3933
GUI: implemented byte highlighting (related to issue #175) 2017-02-26 05:07:20 +01:00
mrexodia 81edb1ecc4
GUI: fun byte color options in disassembly + trace record color + save full graph image (thanks to visitor42 from IRC!) 2017-02-26 04:06:12 +01:00
mrexodia ad34c79883
GUI: don't copy FPU registers when they are hidden (thanks to visitor42 on IRC!) 2017-02-26 01:38:47 +01:00
mrexodia df0c75ac03
DBG: support for symbol displacement (#1478) 2017-02-26 01:14:50 +01:00
mrexodia 2736885c09
DBG: improvement for issue #1475 (cache misses on thread creation when reading the stack) 2017-02-25 23:12:58 +01:00
mrexodia b438872319
DBG: drastically improved loop manipulation performance 2017-02-24 20:43:48 +01:00
mrexodia 9e30cc7c3e
DBG: improve range comparison functions 2017-02-24 19:48:00 +01:00
mrexodia fd17359f3d
GUI: fixed display of certain imm operands (closes #1448) 2017-02-24 19:47:26 +01:00
mrexodia 4f704b81bb
DBG+GUI: fixed some warnings 2017-02-24 19:39:32 +01:00
mrexodia 75e47ff75c
BRIDGE: fixed compilation on VS2012 2017-02-24 19:39:11 +01:00
mrexodia bf3ccd7e0b
DBG: significant memory usage improvements for database (~5x less memory used) 2017-02-24 19:38:48 +01:00
Matthijs Lavrijsen 71130601ee Add wait reason to threads list (#1470)
* Implement ThreadGetWaitReason

* Get the wait reason for all threads at once in ThreadGetWaitReason to limit the number of NtQuerySystemInformation calls to 1 per refresh
2017-02-22 19:30:18 +01:00
mrexodia 861686f91e
DBG: allow string formatting in the 'asm' command #1416 2017-02-21 19:52:09 +01:00
Torusrxxx ef2af9d631 √ Allow hiding local module name for memory addresses in the same page. (#1474) 2017-02-21 19:34:34 +01:00
Torusrxxx 54ac01ef66 fixed a crash and enable user to dblclick on folding box (#1473)
* fixed a crash and enable user to dblclick on folding box

* fixed when eip is in the current function it cant select
2017-02-21 19:33:58 +01:00
mrexodia 2268d364a7
GUI: allow decompiling from the graph (for non-contiguous ranges) 2017-02-18 22:48:45 +01:00
mrexodia c30932646e
GUI: correctly break on imports (dereference the address for the actual function address first) 2017-02-18 20:36:27 +01:00
mrexodia 6b3d1e71da
DBG: include the member name in struct visiting 2017-02-18 20:35:53 +01:00
mrexodia e83524461c
DBG: correctly enumerate imports as IAT addresses 2017-02-18 20:35:20 +01:00
mrexodia e760af25b2
GUI: correctly report function size to snowman (closes #1465) 2017-02-18 16:39:15 +01:00
changeofpace b4bc8546a8 Do not add breakpoint if SetBPX fails. (#1460)
* call SetBPX before BpNew in cbDebugSetBPX to prevent failed bps from being added to the bp map.

* revert previous change.  Call BpDelete if SetBPX failed.

* remove commented code.
2017-02-18 14:03:54 +01:00
Torusrxxx 1ae3b7d178 handles and windows view (#1417)
* handles and windows view

* use references view for heap, cleaned up

* fix #1424 use decimal pid and tid

* thread name in windows view

* fix something when not debugging

* heaps view hidden
2017-02-18 13:56:59 +01:00
mrexodia 146f6eee99
GUI: fixed labeling for "push x" in disassembly 2017-02-13 10:30:01 +01:00
mrexodia 8e0a779b20
DBG: correctly enforce reads/writes on page boundaries (closes #1446) 2017-02-05 20:45:06 +01:00
mrexodia 48df1c4c2c
DBG: updated savedata behavior 2017-02-05 20:31:17 +01:00
mrexodia 5a0a932524
DBG: slightly improved import parsing (#1455) 2017-02-05 20:16:47 +01:00
mrexodia 8788d66cf5
DBG: improved exinfo and capstone commands 2017-02-04 06:04:36 +01:00
mrexodia 003260c2dd
DBG: dont crash on strcpy_s when user-provided sizes 2017-01-31 16:08:10 +01:00
mrexodia f17d1756a6
GUI: close all source tabs on termination (closes #1443) 2017-01-30 18:08:05 +01:00
mrexodia c05bcd401a
BRIDGE: don't update patches in GuiUpdateAllViews (closes #1407) 2017-01-29 14:32:14 +01:00
mrexodia 3a9e74bfdf
GUI: ArchValue FS/GS for unusual highlighting of FS/GS 2017-01-28 21:18:24 +01:00
changeofpace 34948aacb2 treat fs / gs usage as unusual (#1440)
* added conditions for marking fs and gs usage as unusual tokens in tokenizeMemOperand and tokenizeRegOperand

* improved tokenizeRegOperand changes

* improved tokenizeMemOperand changes
2017-01-28 21:09:06 +01:00
changeofpace 3c42eb75fe added pattern option to search for -> all modules menu in disassembly view (#1441) 2017-01-28 14:41:30 +01:00
changeofpace 1a7e4c6a30 added &nbsp replace to addMsgToLogSlot (#1439) 2017-01-27 21:45:23 +01:00
changeofpace cc01ae09a0 fix MemRead to only return true if NumberOfBytesRead is equal to the requested read size (#1426)
* fix MemRead to only return true if NumberOfBytesRead is equal to the requested read size

* preserve Size arg value

* adjust readSize before page loop in MemRead
2017-01-18 22:42:45 +01:00
mrexodia 9213d8f117
GUI: not busy 2017-01-18 22:36:33 +01:00
changeofpace 5d36e73033 fixed multiple session process cookie bug when MemInitRemoteProcessCookie fails before brute-force loop (#1418) 2017-01-18 14:42:53 +01:00
changeofpace ae36e772fe Fixed random behavior when hiding / showing / reordering StdTable columns (#1421)
* fixed column ordering bug in ColumnReorderDialog

* resizing cursor bug is fixed.  adjusting order in edit dialog is broken.

* fixed column resizing bug
2017-01-18 14:42:42 +01:00
mrexodia 0b18f65653
DBG: don't clear patches unless the debuggee is terminating (fixes #1419) 2017-01-18 14:40:46 +01:00
mrexodia 233733eda9
DBG+GUI: updated capstone_wrapper 2017-01-18 14:16:16 +01:00
mrexodia 9118d7f9d8
DBG: various small improvements to the mov command 2017-01-10 20:30:54 +01:00
changeofpace 6c9eb3d6e3 Remote process cookie support for Windows XP/Vista/7 (#1412)
* added MemInitRemoteProcessCookie and memory.cpp global fallbackCookie

* changed sizeof arg for MemRead
2017-01-10 12:21:07 +01:00
mrexodia 415fe99871
DBG: support multiple string references in one instruction 2017-01-10 12:19:04 +01:00
mrexodia 9f7f649f7e
DBG+GUI: implemented trace switch condition 2017-01-10 12:14:01 +01:00
mrexodia 6f92218437
DBG: todo note 2017-01-10 10:35:50 +01:00
mrexodia 69a455d910
GUI: added boolean in settings dialog for the wow64 step workaround 2017-01-10 10:35:22 +01:00
mrexodia 0f4a5fa074
DBG: workaround for a bug/feature in WOW64 that breaks stepping 2017-01-10 10:34:51 +01:00
mrexodia ee3af0a2df
DBG+BRIDGE+GUI: fixed possible out-of-range access related to data disassembly 2017-01-10 10:16:49 +01:00
mrexodia 0767d74ef2
DBG+GUI: fixed various @coverity issues 2017-01-09 01:10:43 +01:00
mrexodia 94b2280e59
DBG: fixed memory leak with analyze_nukem 2017-01-08 23:43:55 +01:00
mrexodia 0c5a1a89f0
DBG: fixed restart as admin with spaces in the path 2017-01-08 23:32:58 +01:00
mrexodia db44e0b24d
DBG: updated TitanEngine (resolves issue #1190) thanks to @nmikhailov 2017-01-07 16:59:51 +01:00
mrexodia 37fe2150e9
GUI: properly fixed #1408 2017-01-06 11:34:43 +01:00