1
0
Fork 0
Commit Graph

2335 Commits

Author SHA1 Message Date
RaMMicHaeL 75987325fb Remember navigation source in graph history (#1766)
* Remember navigation source in graph history

If you follow a jump or a call, and click on '-', you don't go back to the jump or the call (as in the regular CPU view), but to a previous, non-relevant command in the graph. This commit tries to fix this.

* Update DisassemblerGraphView.cpp

* Update DisassemblerGraphView.cpp
2017-10-18 22:48:57 +02:00
Alexandros Naskos f519f322da Added setting that controls MaxModuleSize. (#1765)
* Added spinbox that controls maximum module name size in the disassembler settings.

* Restored settings dialog default tab index to zero.
2017-10-18 22:47:43 +02:00
Torusrxxx 390bf4c5ca Trace recording (#1736)
* run trace file format
* record opcode
* Successfully recorded sample run trace
* fixed order of thread id and opcode
* use capstone in run trace
* Revised format;Stop tracing when stop debug;Changed ext name
* trace browser(draft)
* Lower bound
* Lower bound
* implemented more funcitons in trace file reader
* Initial trace browser
* trace browser works for single-page traces
* fixed page fault
* Multi-selection, fixed page faults
* copy disassembly
* resize columns
* address label;follow in disassembly
* highlight
* history,comment,breakpoint in trace view
* stricter validation to prevent buffer overflow
* MAX_MEMORY_OPERANDS=32
* fixing bug in memory access count
* Temporary info menu to view registers & memory
* assumed to fix thread id bug
* live update trace view
* Fixed a bug with registers recording (similar to thread id bug)
* Search for constant in trace file
* Fixed bugs with memory operands recording
* File header for trace file; Auto update trace viewer
* fix x64dbg_translations.pro
* Default filename for trace; Start trace from trace view
* Switch to Qt JSON
* Copy selection, file offset and RVA; recent files
* Properly implement MRU menu
* shortcut for tracing
* Fix file names with comma
* added interaction with tab closing
* change default directory for trace file
* fix minor issue
2017-10-16 20:00:26 +02:00
Torusrxxx 9959278863 Properly exit x64dbg 2017-10-15 16:18:48 +02:00
Duncan Ogilvie f85cea6bcd
GUI: change multi-selection hotkeys (#1743)
closes #1762
closes #1761
2017-10-14 19:46:47 +02:00
Duncan Ogilvie f6590e6465
DBG: fixed a typo 2017-10-14 17:31:11 +02:00
Atvaark c44c1f7fc6 GUI: add multiselect hotkeys to StdTable
This allows selecting multiple rows in e. g. the Breakpoints view
without having to use the mouse.

New hotkeys:
- Select all: (ctrl+a)
- Select first row (ctrl+home)
- Select last row (ctrl+end)
- Expand selection upwards (shift+up)
- Expand selection downwards (shift+down)
2017-10-14 17:26:39 +02:00
Duncan Ogilvie d6ca58efd1
DBG: fixed another problem with Zydis 2017-10-14 15:42:02 +02:00
Duncan Ogilvie 6f7af9b8da
DBG: fixed various small issues with Zydis
ping @athre0z
2017-10-14 00:32:34 +02:00
Duncan Ogilvie c9e17df1c0
DBG+LAUNCHER: correctly handle mixed mode executables
fixes #1758
2017-10-13 23:38:53 +02:00
torusrxxx 8cf9f63bac Fixing #1752 2017-10-13 19:43:33 +02:00
Joel Höner c5c3358c52 Add range checks for operand access (fixes #1750) (#1751)
* DBG: added range checks to operand access
- previously, some instructions could trigger the `DebugBreak` path in `Zydis::operator[]`
* GUI: removed redundant semicolon
2017-10-10 21:01:59 +02:00
Duncan Ogilvie 9d692efbdf
PROJECT: AStyle 2017-10-09 23:42:23 +02:00
Duncan Ogilvie d365b5a590
GUI: fixed a typo in capstone_gui 2017-10-09 23:15:00 +02:00
Joel Höner 77c6e951f0 zydis_wrapper: Cleaned up branch types
- Remove unused semantic groups
- Improve handling of “far” in tokenizer
2017-10-09 10:02:13 +02:00
Joel Höner 8741e94bdb zydis_wrapper: Final touch
- Comment out diff code in GUI
- Enable optimization
- A few more whitelist entries in the diff code
- A few fixes in the old tokenizer to be consistent with the new one in diffs
- Remove LICENSE and README now that the wrapper is part of the x64dbg core repo
2017-10-09 10:02:13 +02:00
Joel Höner 5b1cf81f55 zydis_wrapper: Fixed x32 build 2017-10-09 10:02:13 +02:00
Joel Höner 3fca5c9191 Ported & renamed `cbInstrCapstone` 2017-10-09 10:02:13 +02:00
Joel Höner 16942049b3 QBeaEngine: Implemented reg & flag info again 2017-10-09 10:02:13 +02:00
Joel Höner af0ff55df3 zydis_wrapper: Better compliance with style-guide
- Removed underscores
- Removed redundant “zy” prefix
- Executed `AStyleWhore` (sorreh, I use git on my macOS host, can’t put it into pre-commit-hook)
2017-10-09 10:02:13 +02:00
Joel Höner ca9401fdb7 Moved “zydis_wrapper” into root repo
- Instead, we directly use Zydis as a submodule now
2017-10-09 10:02:13 +02:00
Joel Höner da0d4415e3 Print “far” token, support RTM instructions
- Also, more whitelist entries for the CS-Zydis diff
2017-10-09 10:02:13 +02:00
Joel Höner 0711ac09df Added CS vs Zydis diff code & various fixes
- Fixed various porting bugs in the Zydis `CapstoneTokenizer`
- Added Capstone vs Zydis tokenizing diff and various exceptions for known issues
2017-10-09 10:02:13 +02:00
Joel Höner 4c841d85c6 Renamed `Capstone` -> `Zydis`
- Prevents name clashes with actual capstone disassembler implementation
2017-10-09 10:02:13 +02:00
Joel Höner 5338a0a85b Replace Capstone with Zydis
- While at it, added branch info logic to disassembler class
  - Thus reduce direct checks by mnemonic in GUI and analysis code
- Replaced direct disassembler struct access with disassembler class calls where trivially possible
- Removed workarounds for empty segment registers
- Temp. disabled `cbInstrCapstone` command
- Temp. disabled flag stuff in `QBeaEngine`
2017-10-09 10:02:13 +02:00
Duncan Ogilvie 103866eafe
DBG+EXE+GUI: fixed some more sonar warnings 2017-10-08 20:19:32 +02:00
Duncan Ogilvie cd9bbb1189
BRIDGE+LAUNCHER: fixed some more CRT warnings 2017-10-08 16:23:20 +02:00
Duncan Ogilvie 57235b2f24
DBG+EXE+LAUNCHER+BRIDGE: remove _CRT_SECURE_NO_WARNINGS 2017-10-08 16:16:20 +02:00
genuine bebc47b924 Show address with label in InfoBox
Address issue #1588
2017-10-05 17:25:56 +02:00
Duncan Ogilvie d121cd9dc2
DBG+LAUNCHER: fix exception handling in GetPeArch.h
Thanks to digitalboy for the report!
2017-10-05 17:08:34 +02:00
Danila Malyutin 8671ff2e57 fixup 2017-10-03 20:23:41 +02:00
Danila Malyutin 33024f5672 Fix standard conformance issues 2017-10-02 00:07:17 +02:00
Duncan Ogilvie ba6e6dea63
DBG: full unicode support in ResolveShortcut 2017-09-30 14:30:40 +02:00
Duncan Ogilvie 1143621eb1
DBG: make sure the debugger is signaled as initialized before loading plugins
Fixes #1734
2017-09-30 13:01:24 +02:00
Duncan Ogilvie fcda76a470
DBG: fixed LibrarianEnableBreakpoint 2017-09-30 12:52:07 +02:00
torusrxxx 537b587f73 Fixing issues with memory map(closes #1720) 2017-09-16 17:55:40 +08:00
mrexodia 51c1b5f690
GUI: Don't freeze when calling BridgeResult::Wait() on the main ThreadClear
closes #1716
2017-09-12 00:36:34 +02:00
mrexodia ec66220dd5
GUI: don't select when changing the byte offset with ctrl+up/down
closes #1709
2017-09-11 17:58:34 +02:00
mrexodia 5e9ee7afc3
GUI: keep consistent when disabling summary (closes #1708) 2017-09-11 17:47:11 +02:00
roL 7627fce15c Tripleslash for scriptapi_misc functions 2017-09-11 15:00:30 +02:00
mrexodia ef6bf04fb0
DBG: find the plugin name for the currently-loading plugin name (thanks to testuser!) 2017-09-07 23:04:48 +02:00
torusrxxx 3879297c7a Fixed conditions in favourite tools 2017-09-06 12:40:47 +08:00
torusrxxx 1f2dd7a816 Fixed copy AVX register:32-bit app can use AVX 2017-09-06 12:30:30 +08:00
mrexodia 7db12dcd6e
GUI: copy in the same order as the view (closes #1712) 2017-09-06 03:56:46 +02:00
mrexodia 2d7c929c64
DBG: fixed a deadlock while unloading plugins
closes #1710
2017-09-06 03:50:46 +02:00
mrexodia 95d3a837bb
GUI: added back the remove all option in the BreakpointsView 2017-09-05 17:29:19 +02:00
mrexodia 1d47124ec3
GUI: don't check QueryProcessCookie per default
related: https://github.com/x64dbg/ScyllaHide/issues/32
2017-09-05 15:49:10 +02:00
mrexodia d8ad2e7f53
GUI: better clickable columns (thanks to ali56s for reporting!) 2017-09-04 22:57:49 +02:00
mrexodia 7c93a0ef48
DBG: QueryWorkingSetEx with GetProcAddress (restored XP support) 2017-09-04 22:57:49 +02:00
mrexodia 9cc8e779e9
DBG: some small improvements to plugin functions and added idle detection for time wasted 2017-09-04 22:57:48 +02:00
roL 3da4461a63 Tripleslash for DbgCmdExec, DbgCmdExecDirect 2017-09-04 22:47:42 +02:00
mrexodia 082bcc0937
Merge remote-tracking branch 'origin/PLMDebug' into development 2017-09-01 22:54:53 +02:00
mrexodia 4f67fcada7
GUI: fixed some small coverity issues 2017-09-01 22:54:23 +02:00
mrexodia 037504643b
DBG+GUI: option to query the working set before attempting to read a memory page
workaround for http://www.triplefault.io/2017/08/detecting-debuggers-by-abusing-bad.html
2017-09-01 22:53:50 +02:00
mrexodia 4104c0a004
GUI: formatting + fixed a warning 2017-09-01 18:52:06 +02:00
torusrxxx f3132e9315 use dynamic casting 2017-09-01 18:51:20 +02:00
torusrxxx 144051162d Switch reference tabs by forward/back mouse buttons 2017-09-01 18:51:20 +02:00
torusrxxx fa92a9c474 Add Xref for switch cases; Follow switch cases in CPU. 2017-09-01 13:58:33 +02:00
torusrxxx 09dd193d9f graph history;follow children or parent in graph 2017-09-01 13:58:33 +02:00
torusrxxx bf43f7eb97 graph for switch statements 2017-09-01 13:58:33 +02:00
Torusrxxx 690b048c7f breakpoint, memory and threads view support multi-select (#1697)
* breakpoint, memory and threads view support multi-select

* fixed

* use older breakpointsview

* fixed

* revert deps change

* command in reference view

* to-do

* fixed deps
2017-09-01 13:57:41 +02:00
Rajarshi Vaidya aka gmastergreatee 2b4a9bc9dc Fixes #1699 Arch-Indep-Registers (#1700)
* Arch-Indep-Registers Fix 1

* Run format.bat
2017-08-31 20:55:11 +02:00
torusrxxx 3f766fa8a6 shortcut to delete watch;fixed selection issue 2017-08-31 20:54:25 +02:00
torusrxxx 7d712b7a6e fixed watch view 2017-08-31 20:54:25 +02:00
mrexodia 80210eb9b0
LAUNCHER+DBG: add support for PID attaching + PLMDebug in the command line
closes #1698
2017-08-28 11:41:37 +02:00
mrexodia 948c40eb1a
GUI: allow multiple selection in BreakpointsView (#1697) 2017-08-26 16:37:22 +02:00
mrexodia d678ad1e82
DBG: fixed a warning on x64 about the cookie 2017-08-26 15:54:52 +02:00
mrexodia f7182c111e
GUI: fixed enabling all DLL breakpoints in BreakpointsView 2017-08-26 15:26:34 +02:00
mrexodia 95bfa7ec0e
GUI: use the correct index when displaying the disasm/summary columns in BreakpointsView
closes #1696
2017-08-26 13:10:14 +02:00
mrexodia 88fec2a1d3
DBG: correctly remove librarian breakpoints on exit + remove hwbp on detach 2017-08-25 13:18:13 +02:00
mrexodia fa2784792c
DBG+GUI: query the process cookie on startup (#489 #1418 #1412) 2017-08-25 13:17:14 +02:00
mrexodia da77f37c4f
DBG: moved tracing code out of debugger.cpp 2017-08-25 13:14:46 +02:00
mrexodia da9d298142
GUI: fixed a memory leak + uninitialized member in DisassemblerGraphView (closes #1695) 2017-08-25 13:04:36 +02:00
mrexodia f37406ff40
LAUNCHER: enable LargeAddressAware to fix 65535sect.exe 2017-08-25 13:03:40 +02:00
mrexodia e9d47b0925
GUI: format ComboBoxDialog 2017-08-25 13:03:07 +02:00
mrexodia 010a3bbf7e
DBG: better behaviour for "exhandlers" on XP 2017-08-25 13:02:37 +02:00
Georgeto 16b40aab5b GUI: add auto completion to "Add exception breakpoint" dialog 2017-08-22 13:29:14 +02:00
torusrxxx c78ffc38f1 remove DR6/7 from label display 2017-08-22 13:28:43 +02:00
mrexodia 652c61f7f7
DBG+BRIDGE+GUI: warn when trying to render a graph with more than 5000 nodes
(closes #1321)
2017-08-21 15:13:02 +02:00
Georgeto c1c7910d8d GUI: fix building of BreakpointView context menu when no bp is selected 2017-08-21 13:57:37 +02:00
mrexodia 1c4607e25b
DBG: change ReadBaseRelocationTable to read the relocation directory from disk instead of memory 2017-08-21 00:44:21 +02:00
mrexodia 838b03e9d9
DBG: add ModEnum to remove various bottlenecks with module loading 2017-08-21 00:41:04 +02:00
mrexodia 25e0a1071d
GUI: use more ArchValue in the AppearanceDialog 2017-08-19 15:58:05 +02:00
mrexodia 9fe867e0e5
BRIDGE: documented Bridge* functions in bridgemain.h 2017-08-19 15:36:26 +02:00
Georgeto 451807f8ae GUI: Display and edit breakpoints in graph view (closes #1266) (#1688)
* GUI: working prototype for ActionHelperProxy
* GUI: fully implemented ActionHelperProxy
* GUI: display breakpoints in Graph view
* GUI: move breakpoint context menu into separate class
* GUI: add breakpoint context menu to graph view
2017-08-19 15:34:53 +02:00
mrexodia 2bd32aee32
DBG: fixed typo in pluginreload command 2017-08-18 00:08:37 +02:00
mrexodia ca296699b0
DBG: added plugreload command 2017-08-17 23:54:43 +02:00
Georgeto 8c797ef42d Fix "requires a narrowing conversion" error when compiling with vs2015 (#1687) 2017-08-17 13:06:58 +02:00
mrexodia a404f63960
DBG: fixed Script::Flags implementation 2017-08-14 16:24:29 +02:00
mrexodia 88aa0db41c
GUI: another small fix to BreakpointsView 2017-08-14 16:21:00 +02:00
mrexodia d5619a57e0
GUI: improve selection behavior when deleting the last breakpoint 2017-08-14 15:55:58 +02:00
Georgeto 6587cbc564 underline relocated bytes in disassembly view (#1683)
* DBG: add relocation info to module

* GUI: underline relocated bytes

* DBG: remove unnecessary wrapper function

* DBG: store relocations in sorted vector instead of set

* GUI: warn about patches in relocation regions (closes #263)
2017-08-14 00:17:47 +02:00
Antonio Prcela 84bbc5cf4a Small fixes an deletion of unnecessary stuff (#1684)
* Remove unnecessary if check.
If the above one is False, than this oen has to be true, since it can't be
anything else than smaller or equal to

* If it's bigger than zero, than it's also != -1
* Remove unused variable.
It just get's values assigned that are never used.
* Remove unused Macro and the calls to it
2017-08-13 22:57:52 +02:00
mrexodia 4982de948c
GUI: refactor StdTable to allow userdata (fixes #909) 2017-08-13 21:56:52 +02:00
mrexodia a64bdef223
DBG+GUI: minor fixes 2017-08-13 18:10:59 +02:00
mrexodia 91f955fa82
GUI: new BreakpointsView (closes #909) 2017-08-13 18:00:51 +02:00
mrexodia f484108fd7
DBG: added MemBpSize function 2017-08-13 17:17:37 +02:00
mrexodia 1b27b951ee
DBG+BRIDGE: added more detail in the BRIDGEBP structure (in the padding so backwards-compatible) 2017-08-13 17:17:15 +02:00
mrexodia b876d3b9f0
DBG: add memory breakpoint size (unimplemented) to breakpoint database 2017-08-13 16:27:55 +02:00
mrexodia 9fcfb5b39e
DBG: various improvements to the breakpoint api 2017-08-13 16:26:46 +02:00
mrexodia 3a9e05ee02
GUI: small improvements to StdTable and AbstractTableView 2017-08-13 16:26:11 +02:00
mrexodia 5e9db68c71
DBG: improved performance of valapifromstring 2017-08-13 16:25:38 +02:00
mrexodia 86b623b691
DBG: add module base to label list 2017-08-13 16:24:40 +02:00
mrexodia 0cd8078256
DBG: added EnumExceptions 2017-08-13 16:23:59 +02:00
mrexodia 864437cc5f
GUI: rewrite menu deletion/clearing 2017-08-11 05:34:37 +02:00
mrexodia 6f76503b9f
GUI: fixed plugin menus in other dump tabs 2017-08-10 21:43:37 +02:00
mrexodia 20dff5b467
GUI: fixed a double delete for removed menu entries 2017-08-10 21:34:55 +02:00
mrexodia b79f1bd35b
DBG+GUI: implemented _plugin_menuremove and _plugin_menuentryremove 2017-08-10 20:25:18 +02:00
mrexodia d69e9726b1
DBG+GUI: properly implemented _plugin_menuclear 2017-08-10 20:00:33 +02:00
mrexodia 9b314ef740
DBG: separate menu entries from the menus 2017-08-10 19:07:20 +02:00
mrexodia a951d060bb
Revert "DBG: allow duplicate hEntry for _plugin_menuaddentry"
This reverts commit 42b9b0f9dc.
2017-08-10 18:50:27 +02:00
mrexodia c43b64cdec
BRIDGE+GUI: implement GuiMenuRemove 2017-08-10 18:46:29 +02:00
mrexodia 42b9b0f9dc
DBG: allow duplicate hEntry for _plugin_menuaddentry 2017-08-10 18:27:55 +02:00
mrexodia 92850bd12f
GUI: change default font for log to be valid on Windows 10 2017-08-10 17:57:38 +02:00
mrexodia fafb376946
GUI: fixed a focus issue with plugin dialogs 2017-08-10 07:56:46 +02:00
mrexodia e9cfedd722
DBG: fixed an invalid handle exception 2017-08-10 06:03:04 +02:00
mrexodia dbc6ceb3db
DBG: fixed warning on x64 2017-08-09 03:13:04 +02:00
mrexodia 2ff93e479a
DBG: set temporary labels for visited types 2017-08-09 02:41:00 +02:00
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