1
0
Fork 0
Commit Graph

361 Commits

Author SHA1 Message Date
Duncan Ogilvie 6407b2b063
GUI: further improve performance of reference searching
Fixes #2287
2020-02-11 00:57:14 +01:00
Duncan Ogilvie aac246b27f
GUI: improve performance of ReferenceView API
closes issue #2281
2020-02-10 03:10:31 +01:00
Duncan Ogilvie 1de5313e58
GUI: make more methods thread-safe in SearchListView and StdSearchListView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie dbb1f57148
GUI: some TODO comments for AbstractTableView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie a75cc25710
GUI: make more methods thread safe in AbstractTableView 2020-02-10 02:35:28 +01:00
Duncan Ogilvie 479ea5eec6
GUI: minor improvements to AbstractTableView 2020-02-10 02:35:04 +01:00
Duncan Ogilvie 063ce31ec6
DBG+GUI: improve disassembly navigation
closes #1226
2020-01-16 15:49:52 +01:00
Duncan Ogilvie 62ada1d4ca
GUI: ctrl+alt+left/right from the dump now work in the disassembly 2020-01-08 01:34:49 +01:00
Duncan Ogilvie f70d780219
GUI: show weird selections in the GUI 2020-01-08 01:34:49 +01:00
Duncan Ogilvie b4a03a8009 GUI: make GUI_REF_SETROWCOUNT synchronous 2019-11-26 13:26:35 +01:00
Duncan Ogilvie 14201568cf GUI: do not automatically update dump if the memory and view didn't change 2019-10-31 15:28:41 +01:00
Duncan Ogilvie 67341fe997 GUI: std::move to reduce allocations 2019-10-31 15:28:41 +01:00
Duncan Ogilvie f57d69f91e GUI: add a timer to SearchListView to properly deal with millions of entries 2019-07-02 15:57:21 +02:00
Duncan Ogilvie 021ea4f743 GUI: properly encapsulate mSearchBox in SearchListView 2019-07-02 14:55:01 +02:00
Duncan Ogilvie bf413de6de
GUI: better sorting behavior in the HandlesView
closes #2195
2019-06-26 20:25:47 +02:00
Duncan Ogilvie d969087bed
GUI: refactor StdSearchListView to allow passing a custom StdTableSearchList 2019-06-19 00:12:32 +02:00
Duncan Ogilvie 34318e3f7e
GUI: introduce AbstractTableView::getCellColor 2019-06-19 00:12:32 +02:00
franco martinelli 32c8e33c64 Removed backtab key substitution
Fixing issue #2176
2019-06-16 14:03:25 +02:00
Duncan Ogilvie 1c023053ca
GUI: rename repaintGui signal to updateDisassembly 2019-04-29 01:43:21 +02:00
Duncan Ogilvie 9b602ee27b GUI: setup copy menu for SourceView 2019-04-09 15:51:46 +02:00
Bálint Faragó 50580782e2 GUI: fix merge error in Disassembly.cpp 2018-11-04 23:14:04 +01:00
Bálint Faragó 806e09671c Remove Zydis-Capstone diff logic comment block 2018-11-04 23:14:04 +01:00
Bálint Faragó a3b5812908 GUI: rename CapstoneTokenizer to ZydisTokenizer 2018-11-04 23:14:04 +01:00
Duncan Ogilvie 744ccc5305 GUI: change bNoDisassemblyPopup to bDisassemblyPopupEnabled for clarity 2018-10-29 13:36:35 +01:00
torusrxxx 9d585036b9
Don't use Qt wheel scrolling 2018-10-13 21:02:54 +08:00
torusrxxx 64db2ce66b
No popups for some views 2018-10-13 17:13:00 +08:00
torusrxxx 594319a654
Refactored old disassembly popup in CPUDisassembly 2018-10-13 16:56:19 +08:00
torusrxxx 707cd444ae
Moved disassembly popup to AbstractTableView and added its support in StdTable 2018-10-13 16:36:05 +08:00
torusrxxx 6705ce1af3
Disassembly popup in references 2018-10-12 23:09:36 +08:00
torusrxxx f6216e2102
Add ctrl/alt modifiers to dump 2018-08-12 18:44:50 +08:00
torusrxxx ea3943cf0a
const functions 2018-08-07 20:57:24 +08:00
torusrxxx 0baa39c207
Use keys to select in dump 2018-08-07 17:31:40 +08:00
Duncan Ogilvie 32b400b834
GUI: correctly show address column in search list view 2018-07-01 19:28:07 +02:00
Duncan Ogilvie 34279ebf08
GUI: fix performance bottleneck with Qt signals 2018-07-01 19:28:04 +02:00
Duncan Ogilvie 0bf7bd10ef
GUI: fix ReferenceView signals not being called correctly 2018-07-01 19:28:04 +02:00
Duncan Ogilvie 05378fabb2
GUI: add copy header VA to disassembly menu 2018-07-01 19:28:03 +02:00
Duncan Ogilvie 408b6eeff9
GUI: don't filter symbol list when not necessary 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 aec262b88a
GUI: remove unused ColumnCompare class from StdTable 2018-07-01 19:27:54 +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 f68b830069
GUI: fix some weird includes 2018-07-01 19:27:51 +02:00
Duncan Ogilvie 7c30c5993b
GUI: introduce an additional AbstractStdTable layer to prepare for the new symbol view 2018-07-01 19:27:51 +02:00
Duncan Ogilvie 83005bdcda
GUI: remove sorting related functionality from AbstractTableView 2018-07-01 19:27:50 +02:00
Duncan Ogilvie 607c5a94e6 GUI: refactor formatOpcodeString + fix underline of relocations 2018-07-01 19:04:38 +02:00
Duncan Ogilvie 67e095efb5 GUI: don't add same thing to the history twice 2018-07-01 19:04:38 +02:00
Duncan Ogilvie 3a2ce72dd2 rename curByte1 to curByte 2018-07-01 19:04:38 +02:00
torusrxxx 40c00a4d01 fixed relocations 2018-07-01 19:04:38 +02:00
torusrxxx 4cbf8ac7f1 Restore old code for patch&relocation 2018-07-01 19:04:38 +02:00
torusrxxx 606d3cec2e Added patches and relocations 2018-07-01 19:04:38 +02:00
torusrxxx 6c472a34e4 fixed problem with immediates 2018-07-01 19:04:38 +02:00
torusrxxx 712bd6f78a test 2018-07-01 19:04:38 +02:00
torusrxxx b59798db6f minor enhancements about SymbolView&breakpointcpp&SearchListView 2018-06-19 18:51:36 +02:00
Duncan Ogilvie e5f950308a
PROJECT: remove capstone 2018-03-04 22:35:01 +01:00
Duncan Ogilvie 49167e92c6
DBG+GUI: fix many application verifier issues 2018-03-04 22:04:37 +01:00
Duncan Ogilvie 289a6b1911
GUI: mnemonic help and brief now work better with prefixes 2018-02-24 12:43:48 +01:00
aikuimail e8e7112cf5 GUI: swich bettween ASCII and UNICODE column in Address mode
closes issue #1880
2018-02-08 01:22:33 +01:00
Duncan Ogilvie 3e510440d2
GUI: don't try reading the first byte of a memory region in HexDump 2017-12-28 23:26:13 +01:00
Duncan Ogilvie 0f1916cc2e
GUI: fix cip not displaying correctly in the reference view 2017-12-18 02:02:35 +01:00
Duncan Ogilvie 4eb0fb6b88
GUI: autocompletion works much nicer now
#1738
2017-11-17 16:46:18 +01:00
Duncan Ogilvie 233a2670d2
GUI: replace backtab with Shift+Tab in ShortcutEdit 2017-11-17 14:42:49 +01:00
lynnux 5b7696219e Tab switch using history stack (#1807)
* add OpenViewsWindow
* almost done for history view switch
* rename the class
* add icon in history popup window
* astyle format
* add config TabSwitchUseHistory, default disable history tab switch
* remove no used code
* add shortcuts for the stuff
* rename HistoryViewsPopupWindow to MultiItemsSelectWindow, for further common use
* GUI: some small style adjustments
* GUI: change default hotkeys for ViewNextTab
2017-11-17 14:40:08 +01:00
lynnux 679aa23340 fix filter search bug in symbolview, and avoid double call setSingleSelection 2017-11-14 16:04:25 +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
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
Duncan Ogilvie ecbea6d9d8
GUI: fix Sonar issues 2017-10-22 17:07:45 +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 f85cea6bcd
GUI: change multi-selection hotkeys (#1743)
closes #1762
closes #1761
2017-10-14 19:46:47 +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
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 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
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
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 09dd193d9f graph history;follow children or parent in graph 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
mrexodia ca296699b0
DBG: added plugreload command 2017-08-17 23:54:43 +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 3a9e05ee02
GUI: small improvements to StdTable and AbstractTableView 2017-08-13 16:26:11 +02:00
mrexodia ef0cbcf58f
GUI: fixed (artificial) compile error (closes #1678) 2017-08-03 16:39:16 +02:00
mrexodia 875eaf9350
PROJECT: (hopefully) fixed build.bat 2017-08-03 17:30:08 +02:00
mrexodia 9642d09bf2
EXE: don't ask for x64dbg.exe when not in WOW64 mode 2017-05-31 15:53:09 +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
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 180e79ee2b
DBG+GUI: added option to go to previous/next reference 2017-04-21 02:42:32 +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 221ca3d583
GUI: improved symbol view import behaviour + better highlight dump follow events (closes #1530) 2017-04-12 06:28:28 +02:00
mrexodia 8fa4dde358
GUI: slight allocation optimizations 2017-03-17 06:59:36 +01:00
mrexodia d5e578ee6a
DBG+GUI+BRIDGE+PROJECT: updated AStyle and formatting 2017-03-16 03:32:09 +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
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
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