1
0
Fork 0
Commit Graph

2335 Commits

Author SHA1 Message Date
lynnux 679aa23340 fix filter search bug in symbolview, and avoid double call setSingleSelection 2017-11-14 16:04:25 +01:00
lynnux e5cd1813ef let goto file offset dialog has a init value of current selected address 2017-11-14 16:03:50 +01:00
fearless dbb6e7e322 Added context menu icons for reference view (#1808)
* Added context menu icons for reference view

* Add context menu icons to source view

* Upload context menu icons

* Upload context menu icons

* Update stdtable to include copy item icon for columns in copy menu
2017-11-14 16:02:49 +01:00
Duncan Ogilvie ca27de0dd7
DBG: remove custom formatter hooks and use new zydis setting instead 2017-11-14 16:00:55 +01:00
Duncan Ogilvie 63ec6d4648
GUI: add a fake menu for modules 2017-11-14 16:00:55 +01:00
Duncan Ogilvie d1edce0872
DBG: small improvement to Handle class
By @torusrxxx
2017-11-14 16:00:55 +01:00
Duncan Ogilvie 4db8d02cf4
DBG: show operand visibility in Zydis command 2017-11-14 16:00:54 +01:00
torusrxxx 3096f0dbba
Add warning to follow in dis bc tracing dont support ASLR;add TID & LastErr 2017-11-14 16:00:54 +01:00
HefrPidge 36003e3abe
GUI: sortable memory map headers for type and protections 2017-11-14 16:00:54 +01:00
torusrxxx 062dee26f6
fix crashes in trace viewer when pressing hotkeys 2017-11-08 17:12:20 +08:00
Torusrxxx 4cf0844255 Browse dialog and goto dialog support auto-complete (#1738)
* Browse dialog and goto dialog supports auto-complete
* don't use unicode string size
* Auto complete only when expression is valid symbol name
* use dbgfunctions for better flexibility and performance
* buffer last auto complete
* disable auto completion
2017-11-07 20:24:51 +01:00
torusrxxx 3116b3dde0 fixed NTSTATUS name 2017-11-07 20:24:01 +01:00
torusrxxx 01e5caf75b removed upper part check in NTSTATUS 2017-11-07 20:24:01 +01:00
torusrxxx 79e335277e lazy load mnemonic data and save 3MB memory 2017-11-07 20:24:01 +01:00
torusrxxx 990bccfffc add mem.isstring() 2017-11-07 20:24:01 +01:00
torusrxxx e6297423f9 Add NTSTATUS fmt;show str in locals tab;fix div by 0 in data copy dlg. 2017-11-07 20:24:01 +01:00
Mack Stump d67031a089 DBG: remove \\n replacement in string formatting 2017-11-07 20:23:25 +01:00
Joel Höner 15b0e73ba0 DGB: fix disp+imm printing in “zydis” command 2017-11-07 20:22:15 +01:00
Joel Höner a19b603620 GUI: fix printing of operands with non-standard size 2017-11-07 20:22:15 +01:00
fearless 2207ad9311 Added context menu icons for thread view (#1796)
* Added context menu icons for thread view

* Added thread setname icon
2017-11-05 00:51:41 +01:00
Bálint Faragó 6d45928375 GUI: add shortcuts for search in current module 2017-11-04 21:26:15 +01:00
Bálint Faragó 5e67d7ae45 GUI: minimize changes for struct in lambda MSVC 2017 compile fix 2017-11-04 21:25:46 +01:00
Bálint Faragó ecd1a3d576 GUI: small compile fixes for MSVC 2017 2017-11-04 21:25:46 +01:00
Bálint Faragó d2102e20ed GUI: handle highlighting segment registers in RegistersView 2017-11-04 21:25:26 +01:00
torusrxxx b767d39b3e cannot paste when clipboard is empty 2017-11-04 21:25:03 +01:00
torusrxxx 0985f490ef Copy hash 2017-11-04 21:24:40 +01:00
Alexandros Naskos 2f5d1135c6 Overriding a non global hotkey by a non global hotkey now asks user for confirmation 2017-11-04 21:23:49 +01:00
Duncan Ogilvie 7e3a045c4b
PROJECT: don't keep trying to compile the Zydis wrapper 2017-11-04 20:57:40 +01:00
Duncan Ogilvie ae20041edb
DBG: proper workaround for 0x prefix in GUI
also closes #1792
2017-11-04 18:08:44 +01:00
Duncan Ogilvie 4870eebd87
DBG: correctly handle imports by ordinal
closes #1795
2017-11-04 16:34:52 +01:00
Duncan Ogilvie 8c04e7b272
DBG: fix a copy&paste bug in the Zydis wrapper 2017-11-03 14:09:13 +01:00
Duncan Ogilvie f14633f20a
GUI: fix weird looking uppercase 0X 2017-11-02 22:29:47 +01:00
Duncan Ogilvie 9c639ddc5f
DBG: small improvements to winerror format function 2017-10-30 00:35:54 +01:00
Duncan Ogilvie 2f26a80b78
DBG+BRIDGE+GUI: deprecate DbgGetRegDump 2017-10-29 02:18:06 +02:00
torusrxxx ec0555dc0d
Added winerror format function and show help message for last error in reg view 2017-10-28 02:52:13 +02:00
Mattiwatti d5582c6a1f - DbgGetRegDumpEx(): copy lastStatus NTSTATUS name if requested struct size is >= sizeof(REGDUMP_V2)
- RegistersView: replace usages of REGDUMP with REGDUMP_V2 to access LastStatus register
2017-10-28 02:47:49 +02:00
Mattiwatti 8c9b11ecc9 Remove LastStatus from THREADALLINFO to preserve plugin compatibility 2017-10-28 02:47:49 +02:00
Mattiwatti 1e639585db GUI changes for TEB->LastStatusValue:
- RegistersView: add LastStatus entry to REGISTER_NAME enum
- RegistersView: add modifiable LastStatus pseudo-register under LastError with the human-readable NTSTATUS name
2017-10-28 02:47:49 +02:00
Mattiwatti 6f1b6b77bb dbg changes for TEB->LastStatusValue:
- Add LASTSTATUS struct
- Add LastStatus members to REGDUMP and THREADALLINFO
- Add ThreadGetLastStatus()/ThreadGetLastStatusTEB()
- Make "laststatus" a supported pseudo-register in isregister() / getregister() / setregister() similar to "lasterror"
- _dbg_getregdump(): copy the full name of the last NTSTATUS value
- ThreadGetList(): add the last status value to the thread list for each thread
- TraceRecordManager: account for the size change of REGDUMP to keep REGDUMPWORD the same size
2017-10-28 02:47:49 +02:00
Mattiwatti 8f0f83bdf3 ntdll.h: Update PEB and TEB structs for Windows 10 RS3, and correct offset of TEB->LastStatusValue on x86 2017-10-28 02:47:49 +02:00
Mattiwatti 787b86cd1f Add DbgGetRegDumpEx to bridge API
Public SDK changes:
- Add LASTSTATUS struct
- Add REGDUMP_V2 struct with LASTSTATUS member
- Add DbgGetRegDumpEx(REGDUMP* regdump, size_t size);

Internal changes:
- Change typedef of _dbg_getregdump to add a size parameter
- Make DbgGetRegDump() pass sizeof(REGDUMP) to _dbg_getregdump to preserve existing behaviour. DbgGetRegDumpEx() forwards the size that was passed to it
2017-10-27 00:02:39 +02:00
torusrxxx 0fbb1aa056 Don't add autocomments on "mov edi,edi"(#1775) 2017-10-26 00:43:54 +02:00
Duncan Ogilvie 0762182973
DBG: implement DLL breakpoints directly in x64dbg 2017-10-25 21:58:01 +02:00
Joel Höner a514176750 Add tokenizer support for pointer operands (#1781)
* Add tokenizer support for pointer operands
* Fixed pointer operand width calculation
2017-10-25 21:45:00 +02:00
Torusrxxx 466d5e9173 Update cmd-misc.cpp 2017-10-25 11:21:44 +00:00
Torusrxxx db5c3e23af Update cmd-misc.cpp 2017-10-25 11:16:01 +00:00
Duncan Ogilvie ecbea6d9d8
GUI: fix Sonar issues 2017-10-22 17:07:45 +02:00
Torusrxxx c102670c3f Update TraceBrowser.cpp 2017-10-21 14:17:38 +00:00
Duncan Ogilvie 33844079ee
DBG+GUI: update zydis 2017-10-18 23:44:36 +02:00
torusrxxx 9a2cb20682 enhancement to run until return 2017-10-18 22:49:06 +02:00
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