1
0
Fork 0
Commit Graph

2388 Commits

Author SHA1 Message Date
Herzeh c2057f7f9e SearchViewList : Code refactoring + When you select a text and press Backspace/Delete it removes the text and if you press a character key it'll replace that selected text with the key 2015-12-24 18:20:58 +01:00
Herzeh 9f6d7101fe SearchViewList : Fixes a bug where clicking in a search box before typing anything would result in the previous strange behavior (cursor gets set at the end of the text after typing 2 letters) 2015-12-24 15:17:09 +01:00
Herzeh 3aea6c865d Added back GuiDisplayWarning which confused me since i used it for two reasons (one reason of the reasons doesn't exist anymore)...basically im a retard
CPUSideBar : Added arrows showing up when there is a jmp with a register (say jmp eax) and the address in the register is within the current module
2015-12-23 23:43:27 +01:00
Herzeh def33ac44b AbstractTableView : Renamed repaint() to updateViewport() which is less confusing imo (since whenever i saw repaint() i thought it was QAbstractScrollArea repaint() where actually it was a member function)
CPUDisassembly : Removed all the explicit calls to repaint() which are in fact not needed
BreakpointsView : Same as for CPUDisassembly
CPUSideBar : Same as for CPUDisassembly
2015-12-23 21:56:47 +01:00
Herzeh 239983a311 CPUSideBar : Fixed small bug that would crash the debugger
BreakpointsView : Added Enable/Disable All for Software BPs + Fixed breakpoints view not being updated after modifying a BP (enable/remove/disable, etc..)
2015-12-23 20:12:59 +01:00
Herzeh c78ede593a CPUDisassembly : replacing repaint() with update() forces to call repaint explicitely when a custom action is done
CPUSideBar : Added a tooltip when hovering over the dots/bullets to tell what their current color mean
Bridge : Removed GuiDisplayWarning, no longer used/needed
2015-12-23 19:03:56 +01:00
Herzeh 3a9ef35db8 CalculatorDialog/WordEditDialog : Fixed expression validation not working due to not setting a callback on textChange 2015-12-23 16:13:30 +01:00
Herzeh 3a89a56377 AbstractTableView : Replacing repaint() calls to update() which allows for Qt to do optimizations (i.e merging multiple paint events into one, see http://doc.qt.io/qt-4.8/qwidget.html#paintEvent ). This yields faster stepping in visually in the disassembly widget (tested on my high end pc) 2015-12-23 15:31:14 +01:00
mrexodia ecea1bbe69 DBG: removed redundant TitanEngine import 2015-12-20 04:55:05 +01:00
mrexodia 8c0a28b35f DBG: unicode fap + display full path in memory map (extensible with an option later) 2015-12-20 04:34:31 +01:00
mrexodia 5b57e2a6c9 PROJECT: more formatting (please use install.bat for pre-commit formatting hook) 2015-12-19 04:20:42 +01:00
mrexodia a004fdd19d DBG: resolved issue #463 (bugs in the database reset most software breakpoints on restart). 2015-12-19 04:17:53 +01:00
Nukem 8e7690d00a DBG: Fix a few out-of-bounds bugs 2015-12-18 15:30:44 -05:00
mrexodia 8e34d10712 DBG: do not auto-set breakpoints on module load if their oldbytes don't match + update oldbytes when a breakpoint is enabled. 2015-12-17 17:18:04 +01:00
Nukem 7171334e1a DBG: Minor enum fix from merge 2015-12-17 00:03:23 -05:00
Nukem 50b3026ff1 EXE: Alert user about CRT exceptions in release mode
Also force a crashdump if abort() or invalid_parameter() is called
2015-12-17 00:01:45 -05:00
Duncan Ogilvie 37b5ea5f2e Merge pull request #453 from Herz3h/Herz3hDev
I didn't check all the code, but I trust you to fix the potential issues you created 😄
2015-12-16 11:49:09 +01:00
Nukem 58d85f5b40 EXE: Ignore more exceptions (#459) 2015-12-14 17:06:23 -05:00
Herzeh 941f46db96 CommandLineEdit : Added ability to autocomplete when pressing TAB. Either an item is selected in the suggestion list and its put in the lineEdit, or a command is in the lineEdit and pressing tab allows to loop through previous suggestions. 2015-12-13 13:33:03 +01:00
Herzeh fd71ff6689 SymbolView : Minor fix to properly remove character at virtualCursorPosition-1 2015-12-12 00:59:06 +01:00
Herzeh 2e390f7329 AbstractTableView: Fixed a bug where asking for tableOffset to be by the end of a section would not give expected result 2015-12-12 00:50:28 +01:00
Nukem b64a428218 DBG: Fix #457 2015-12-10 17:19:51 -05:00
Nukem 5887ac8ae2 GUI: Fix use-after-free 2015-12-10 17:18:01 -05:00
Herzeh f163bf9368 Fixed a small bug where if you assemble an instruction and it is not a branch or doesn't point to memory, it would show the Non-Executable warning message 2015-12-10 21:28:39 +01:00
Herzeh 736e99ff56 AssembleDialog : Changed the instruction validation when Keep Size is enabled to be checked with a ValidateExpressionThread
ValidateExpressionThread : Added a method to see the callback when expression has changed to make it more generic
2015-12-10 21:19:08 +01:00
Herzeh 4c08df508b SymbolView : Removed the setFocus on the moduleList because it's set when program is loaded, and when typing something it goes through event handler of the SearchListView even tho it's not the selected tab 2015-12-10 19:13:03 +01:00
Herzeh bb03b284a2 AssembleDialog : Small fix, assembled instruction would give wrong size because it didn't take current instruction address into account for relative addressing. 2015-12-10 13:16:00 +01:00
Herzeh 9b8bcc70ec CPUDisassembly : Removed some code that was repeated from DisassembleAt function
Added a warning when user tries to assemble an instruction thats points to Non-executable memory and DEP is enabled
2015-12-10 02:12:01 +01:00
Herzeh 87fc0de91c Added searching for references for Command/Constant/Strings/Calls either in Current Region/Current Module/All Modules 2015-12-07 17:13:43 +01:00
Herzeh 1c51bd4125 SymbolView : Fixed cursor bug where clicking in the searchbox and typing would position cursor at the end after typing 2 characters.
SymbolView : Fixed a minor bug where pressing Enter even though no executable was loaded would show the diassembly dialog. This happened aswell when moduleList/functionList was empty.
2015-12-07 02:19:37 +01:00
Herzeh b36bfed6f2 Fix : Reverted back DbgSymbolEnum Signature to default to keep SDK compatibility. Added DbgSymbolEnumFromCache to use Cache first if found.
Dbg + SymbolView : Added import symbols per module. Gets cached in memory after being retrieved first time.
CPUDump : Small sprintf format fix.
2015-12-06 22:30:30 +01:00
Herzeh 09756946c6 CPUDisassembly : Added Label address, when on a JMP/Call instruction to label the target address directly
DBG : Added local memory cache for symbols to avoid having to reload symbols using SymEnumSymbols each time which seems to add some delay (mostly noticed on kernel32.dll for the ones i tested)
2015-12-05 03:09:24 +01:00
Herzeh 149b3c5c23 Added AssembleDialog with "Keep Size" checkbox to check give feedback to the user about the length of the instruction he's typing/vs the one to replace 2015-12-03 19:53:08 +01:00
Herzeh 5e647ecea7 Added option to save/load MainWindow tab orders with a setting in the Misc tab in the settingsDialog 2015-12-03 01:29:12 +01:00
Herzeh 4407f93bc2 Minor fix : no need to free a null json object... 2015-12-02 23:32:32 +01:00
Herzeh 94801d2004 CPUDump : Added menu option "Save To a File" to save selection to a file using the savedata command already implemented 2015-12-02 17:43:15 +01:00
Herzeh 5819f3c536 Minor fix : propagate mouseMoveEvent to HexDump to keep multiple data selection still possible 2015-12-02 17:14:48 +01:00
Herzeh 92ee286ca7 CPUDump : Added Tooltip when hovering over an address that is a pointer and show the value at the address pointed by that ptr. 2015-12-02 17:06:42 +01:00
Herzeh c152a420e6 DBG/GUI : Added back setfreezestack command to lock the stack with ability to freely scroll in the stack when its frozen without it resetting back to first selection (hard to explain lol)
GUI : When pressing +/- (Goto->Previous/Next) in Disassembly widget, window title gets updated accordingly to display the module we are in.
Minor fix in command line save/load : free the json object used
2015-12-02 15:42:11 +01:00
Herzeh 941b93f5c0 Missing files for command lines argument save/load 2015-12-01 22:25:32 +01:00
Herzeh bd4d4c5370 DBG : Added option to save/load command line arguments into the database.
GUI : Symbols tab, when searching a module and getting no result, function widget gets cleared.
2015-12-01 19:20:31 +01:00
Nukem 072d75ee43 DBG: List memory-mapped files in the memory view 2015-11-29 01:41:59 -05:00
Nukem 292c04c963 PROJECT: Fix release.bat 2015-11-28 17:06:00 -05:00
Nukem a829080b1e DBG: Move exception define 2015-11-28 16:56:21 -05:00
Nukem 95c100f12f GUI: Fix the word input box resetting the cursor position 2015-11-28 16:45:08 -05:00
mrexodia 3dde12e3a6 GUI: fixed a bug with sorting in the ThreadView (the currently active thread would change if you sorted) 2015-11-28 19:26:02 +01:00
mrexodia 0a54341512 DBG+GUI: fixed various warnings + fixed up some gui tabstops and weird things 2015-11-28 19:05:25 +01:00
Duncan Ogilvie 051ad5a302 Merge pull request #449 from Herz3h/Herz3hDev
Herz3h dev
2015-11-28 18:40:27 +01:00
Herzeh 84d1feeb33 CPUDump : Ability to go Previous and Next dump address, just like you can do in disassembly. Either through Goto menu or +/- shortcuts 2015-11-28 18:34:27 +01:00
Herzeh fbb116ba87 Added : Pressing Escape in Symbols tab (either in module or function list) will clear the search box
CPUMultiDump : Fixed issue tab names not being displayed properly after being detached
2015-11-28 15:18:42 +01:00