1
0
Fork 0
Commit Graph

91 Commits

Author SHA1 Message Date
Duncan Ogilvie 85e96353cb
DBG+BRIDGE+GUI: put in the title whether x64dbg is elevated or not 2019-01-20 20:43:39 +01:00
Duncan Ogilvie 09fe1e379d BRIDGE: fix incorrect message being sent in some GuiMenuXXX functions
closes #2027
2018-09-13 12:56:10 +02:00
Duncan Ogilvie 8c169ae2ed
DBG+BRIDGE+GUI: fix source loading 2018-07-01 19:28:06 +02:00
Duncan Ogilvie 62cd2bb915
BRIDGE: fix truncation crash in DbgGetLabelAt 2018-07-01 19:28:02 +02:00
Duncan Ogilvie 70b3149599
WIP: new symbol gui mostly working 2018-07-01 19:28:02 +02:00
Duncan Ogilvie b07611387f
GUI: implement initial version of ZehSymbolTable
beware of race conditions, but it appears to kinda work
2018-07-01 19:27:51 +02:00
Duncan Ogilvie 2f26a80b78
DBG+BRIDGE+GUI: deprecate DbgGetRegDump 2017-10-29 02:18:06 +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 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
Duncan Ogilvie cd9bbb1189
BRIDGE+LAUNCHER: fixed some more CRT warnings 2017-10-08 16:23:20 +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
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
mrexodia c43b64cdec
BRIDGE+GUI: implement GuiMenuRemove 2017-08-10 18:46:29 +02:00
mrexodia 5cb7917630
DBG+BRIDGE+GUI: added menu preparation plugin event 2017-08-08 01:39:04 +02:00
mrexodia 67b5c40370
BRIDGE+DBG: renamed ADDRINFO to BRIDGE_ADDRINFO 2017-05-05 18:09:00 +02:00
mrexodia b24b7939df
DBG+BRIDGE+GUI: added refsearch.count() and refsearch.addr() expression functions 2017-04-21 02:42:01 +02:00
mrexodia aa2a4afb0f
DBG+BRIDGE+GUI: more performance improvements related to GuiSetDebugState 2017-04-20 12:06:54 +02:00
mrexodia 7a52b28c55
DBG+BRIDGE+GUI: plugin hotkeys 2017-04-14 08:03:52 +02:00
mrexodia c02e3672c7
BRIDGE: added DbgEval function 2017-04-13 21:42:24 +02: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 e7d8b8d5cd
DBG: added DbgAnalyzeFunction to get a function graph 2017-03-17 07:16:30 +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 3b754f0791
BRIDGE+GUI: adjusted behavior for GuiReferenceGetCellContent 2017-03-11 03:51:55 +01:00
mrexodia c05bcd401a
BRIDGE: don't update patches in GuiUpdateAllViews (closes #1407) 2017-01-29 14:32:14 +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 b8cf80a32f
BRIDGE+DBG: added apis to access TEB/PEB 2017-01-03 23:36:57 +01:00
mrexodia 8b4c784457
DBG+GUI+BRIDGE: added various menu manipulation functions for plugins 2016-12-26 12:44:03 +01:00
mrexodia 72eae713db
DBG+BRIDGE+GUI: added various features to restart as admin 2016-12-13 02:11:40 +01:00
mrexodia 98da939bf4
DBG+BRIDGE: api to get useful process/thread information 2016-11-29 00:53:08 +01:00
mrexodia f44c9fa705
DBG+BRIDGE+GUI: basics of type display GUI working 2016-11-26 20:03:37 +01:00
mrexodia b89fdcd3c1
DBG+BRIDGE+GUI: make single loops show properly 2016-11-22 21:54:39 +01:00
Torusrxxx c1f15b2794 decode function offset in stack (#1243)
* decode function offset in stack

* fix issue 1242

* remove untranslatable thing
2016-11-14 08:25:11 +01:00
mrexodia 8ef2e4d990
DBG+BRIDGE: resolved issue #1231 (gui not updated) 2016-11-08 08:58:05 +01:00
mrexodia 0911f1fbd5
BRIDGE+GUI: added GuiProcessEvents export 2016-10-29 18:43:06 +02:00
mrexodia ea66b8bd51
BRIDGE: changed signature of DbgMemRead and DbgMemWrite 2016-10-22 15:46:44 +02:00
mrexodia 9138a3410e
BRIDGE+DBG+GUI: basics of analysis plugins 2016-10-18 17:28:08 +02:00
Torusrxxx d0c755e3f8 issue 858 (#1173)
* issue 858

* don't pass selection length to the plugin
2016-10-18 17:26:19 +02:00
mrexodia 98d04b2a78
DBG+GUI+BRIDGE: allow menu items to be checkable 2016-10-17 17:32:01 +02:00
mrexodia 3b6f710884
BRIDGE+GUI: implemented GuiGetActiveView (issue #917, #927) 2016-09-29 19:37:33 +02:00
mrexodia 0e6d8e29eb
BRIDGE: GuiSelectInMemoryMap 2016-09-09 08:47:05 +02:00
Torusrxxx bdefeea0ad Use a critical section to guard the GuiTranslateText (#1011)
* Translate some strings and export memiscodepage.

* fixed memory leaks in watch view

* warn the user if the breakpoint is not executable

* use dbgfunctions

* remove unused exports

* fix

* fix

* guard translate function with critical section

* DeleteCriticalSection
2016-08-26 17:10:57 +02:00
torusrxxx ae32f5dce0 some fixes 2016-08-23 12:35:12 +08:00
torusrxxx 740684100c Thread Safe 2016-08-23 10:46:25 +08:00
torusrxxx 15ca3cfbed use critical section to reduce race condition 2016-08-21 17:42:05 +08:00
torusrxxx 3282b0d4ea Translate the DBG (initial work) 2016-08-21 12:49:18 +08:00
Torusrxxx 97e99ce7f7 more functions&commands to enable/disable log,add favourite tools and fold disassembly for plugins&scripts. (#895) 2016-07-28 09:36:41 +02:00
mrexodia b0aba0be5c
DBG+BRIDGE+GUI: don't reload graph when graphing inside currently-browsed function 2016-07-21 02:53:41 +02:00
Duncan Ogilvie 8c1981361a Revert "Added ability to roughly measure UI latency; code to try and maintain that latency at <50ms" (#859) 2016-07-17 14:42:23 +02:00
jdavidberger 85e147a6ab Added ability to roughly measure UI latency; code to try and maintain that latency at <50ms (#834)
* Removed extraneous assert

* Added additional protection to prevent the QT message queue from getting too far behind

* Fixed #503 sorting on thread id, number

* Added the ability to multi-select in symbols view so you can set all breakpoints that match a search

* Added command history from #839

* Modifications to breakpoint properties now update the breakpoint UI explicitly. Relevant for plugins, command line BP calls

* Fixed display issue when selecting more than one page on CPU page

* Fixed issue where last sent debug state was occasionally wrong. This required making all async entries into GuiSetDebugState run on the same thread; so it should have marginal performance gains too.

* Modified getdbgevents to be a 64 bit counter which doesn't reset. Adjusted TimeWastedCounter to match; added two optional modes

* Previous edit to log view broke it -- if you clicked on the screen, text would insert there. movecursor is needed on both sides

* Made it possible to select multiple modules and search them all at once.
2016-07-17 12:55:19 +02:00