Commit Graph

217 Commits

Author SHA1 Message Date
Florian Märkl
e62d731783 Hexdump scroll 2017-11-17 16:12:51 +01:00
Florian Märkl
c74c743f79 Implement HexdumpWidget::refresh() 2017-11-17 10:42:57 +01:00
Florian Märkl
c0248c8bf6 HexdumpWidget: visible lines calculation 2017-11-17 10:42:57 +01:00
Florian Märkl
bde54511a9 Prepare HexdumpWidget 2017-11-17 10:42:57 +01:00
Properrr
f75b630f0c Fixed #98 Rename in a non-function (#105) 2017-11-08 17:17:24 +04:00
Florian Märkl
adef80e9e8 Remove cursorAddress, Fix current function display (#103) 2017-11-07 21:11:33 +08:00
twz
da68aa9889 Refresh DisassembyWidget on AsmOptionsChange (fix #96) (#102)
handle asmOptionsChanged signal
2017-11-07 12:16:49 +04:00
xarkes
7c8e0b708c Fix #93 + cleaning 2017-11-05 16:08:17 +01:00
Florian Märkl
54344fd259 Fix FunctionsWidget sorting (#91) 2017-11-04 19:28:02 +04:00
Florian Märkl
46bf0761bb Dynamic Memory Widget Priority (#86)
* Memory Widget priority from last user-selected widget

* CutterCore::raisePrioritizedMemoryWidget signal

* Space shortcut to switch between Disassembly/Graph

* Set default memory widget priority to Disassembly
2017-11-04 19:46:29 +08:00
Florian Märkl
0b5a351d5f Default Layout (#84)
* Basic default layout
* Workaround to set default widths for QDockWidgets
* AStyle
2017-11-03 21:22:54 +04:00
Properrr
bfed7d43ed Add ';' shortcut for "Add comment" (#78)
* Add ';' shortcut for "Add comment"
2017-11-03 15:31:20 +04:00
Florian Märkl
9dc51b9801 DisassemblyWidget (#80)
* Fix scrolling down in DisassemblyWidget

* DisassemblyWidget backwards scrolling

* DisassemblyWidget with custom scrolling

* Temporarily fix HexdumpWidget resizing like crazy

* Decouple DisassemblyWidget scrolling from seek

* DisassemblyWidget resizing

* DisassemblyWidget cursor from seek position

* Seek by DisassemblyWidget click

* Better up scrolling in DisassemblyWidget

* DisassemblyWidget: do not always seek, better bottomOffset

* DisassemblyWidget: avoid flicker, retain selection over lines, fix last line selection

* Update DisassemblyWidget on comment change

* Cleanup DisassemblyWidget scrolling code
2017-11-02 10:48:32 +04:00
xarkes
638956b41b Removed warnings 2017-10-24 10:18:16 +02:00
xarkes
d24f049e65 Pseudo fix disassembly scrolling 2017-10-22 15:55:42 +02:00
xarkes
d2c50a803c Added colors to DisassemblyWidget 2017-10-22 12:21:44 +02:00
xarkes
3c6f735832 Fix #70 and Fix #72 2017-10-22 09:31:30 +02:00
xarkes
df59a96094 Fix #71 2017-10-22 08:49:53 +02:00
Florian Märkl
c73d9a0678 Projects Management (#66)
* Add TabWidget to NewFileDialog
* Project loading from NewFileDialog
* Projects dir in NewFileDialog
* Add SaveProjectDialog
* Make SaveProjectDialog work, refactor project saving and Notepad
* Add shortcut for Save
* Fix notes loading
* Sort projects in NewFileDialog
* Implement selecting projects dir in SaveProjectDialog
* Fix QAbstractButton include
2017-10-21 21:20:10 +02:00
xarkes
5e2223978d Shortcuts fixes 2017-10-16 21:00:47 +02:00
Duncan Ogilvie
e3e070d094 Remove cutter win32 (#58)
* remove cutter_win32
* build without compile errors
* temporary workaround for sdb problems (now compiles again at least)
* totally not a hack to get sdb working
seriously, don't do this but it works
2017-10-15 21:19:48 +02:00
Florian Märkl
ff080c1d3c Remove QtWebEngine (Fix #60)
* Remove QML QtWebEngine dependency

* Remove Web graphs from Dashboard

* Remove web graphs from SidebarWidget

* Remove web mini graph from PreviewWidget

* Remove all remaining html and QtWebEngine dependencies

* Update docs/Compiling-with-CMake.md after QtWebEngine removal

* Remove QtWebEngine from Travis
2017-10-15 13:40:20 +02:00
xarkes
65835f0dc9 Small refactor 2017-10-15 13:38:28 +02:00
xarkes
1ca9b06519 First try with colors 2017-10-15 12:06:14 +02:00
xarkes
34ef34c581 Added comments to graph view 2017-10-14 13:00:23 +02:00
xarkes
48e9767a66 Removed RadareWebServer (useless) 2017-10-14 11:45:11 +02:00
xarkes
e54b0ee106 Updated Configuration model + Added Font selection 2017-10-14 11:35:49 +02:00
xarkes
84d63ef363 Code cleaning 2017-10-13 15:56:47 +02:00
Florian Märkl
12e64cf052 Breakup MemoryWidget (#51)
* Add SidebarWidget from disassembly sidebar

* Remove disassembly sidebar from MemoryWidget

* Add HexdumpWidget from MemoryWidget

* Remove Hexdump from MemoryWidget

* Make PreviewWidget from MemoryWidget

* Some cleanup

* Rename DisassemblyView to DisasseblyWidget
2017-10-13 15:56:47 +02:00
xarkes
b4867cadef Moved disassembly view to its own class 2017-10-13 15:56:47 +02:00
xarkes
7b3d5ea7a7 Fix graph double click 2017-10-12 14:35:30 +02:00
xarkes
822d088f52 Fix graph jump color 2017-10-12 14:14:36 +02:00
xarkes
d53fd621c5 Moved graph from MemoryWidget to MainWindow
(Broke other dock windows -- not refreshed)
2017-10-11 13:22:30 +02:00
xarkes
a70001bf59 Merged disassembly and graph right click 2017-10-10 12:17:05 +02:00
xarkes
93195999d8 Made CutterCore singleton 2017-10-09 20:09:35 +02:00
xarkes
781ceedf9c dos2unix DisassemblerGraphView.cpp 2017-10-09 11:38:57 +02:00
xarkes
925eb15c9b Some refactoring 2017-10-03 20:38:34 +02:00
xarkes
4e9d0d0dc1 Added appveyor build (#29) 2017-10-03 14:42:31 +02:00
pancake
d764dd9cf5 Add "Disasm Options" context menu in the Memory Widget 2017-10-03 10:50:07 +02:00
Tim Siebels
2ba3d923a2 %p is only meant for pointers, use %x for hex (#34)
and fix initialization order while at it
2017-10-02 18:26:07 +02:00
Tim Siebels
bafad96bf3 Camel Case all the files (#32)
fixes #30
2017-10-02 18:18:40 +02:00
Tim Siebels
b8bd62efe2 Use unique_ptr for ui objects (#31) 2017-10-02 11:41:28 +02:00
xarkes
b1d26f63ce Removed debug infos 2017-10-02 00:28:59 +02:00
xarkes
5bd79506ac Removed old web graph view 2017-10-02 00:25:33 +02:00
xarkes
83608be332 Renamed files to CamelCase 2017-10-01 21:16:38 +02:00
Tim Siebels
1f0aede403 Improve codebase (#20) 2017-10-01 20:08:12 +02:00
Florian Märkl
675ca69976 Add more options in the menu and loading 2017-10-01 18:03:06 +02:00
Florian Märkl
808da402da Disassembly Options Dialog (#21)
* Add AsmOptionsDialog
* Add bbline to AsmOptionsDialog, properly handle defaults
* Remove now redundant asm options from right click and menu
2017-10-01 16:36:40 +02:00
Tim Siebels
ffa52bd3e8 Fix pessimizing move (#19)
moving a return value generally is unnecessary, as it prevents return value optimization.

The standard defines, that (named) return value optimization, i.e. copy elision
is only possible when returning a value from a non-volatile automatic object
or when it's a temporary that has not been bound to a reference.
(N)RVO is not possible when wrapping it with std::move, because the compiler
is not allowed to do copy elision from arbitrary function calls.

I think this was the intended purpose of this code. Also, it is cleaner.
2017-10-01 15:55:47 +02:00
Tim Siebels
7f71cace8e Mark functions as override where possible (#18) 2017-10-01 15:55:38 +02:00
xarkes
25a4d06697 Added new graph view (WIP)
* This known unstable just a PoC
2017-09-30 13:13:05 +02:00
Florian Märkl
97ee9f17b6 Implement forcing format in OptionsDialog 2017-09-29 13:32:53 +02:00
Florian Märkl
98206fbddd Add asm.cpu and pdb loading to OptionsDialog (#6)
* asm.cpu in OptionsDialog, Fix asm.os
* PDB in OptionsDialog
2017-09-27 22:23:18 +02:00
xarkes
821602eabd Renamed Iaito to Cutter 2017-09-25 14:55:41 +02:00
xarkes
7e493f6cb4 Warning removing 2017-09-02 10:46:48 +02:00
xarkes
2e79090a11 More friendly asm syntax changing 2017-09-02 10:17:48 +02:00
xarkes
c07f486920 Added option to display address Fix#113 2017-09-01 15:03:35 +02:00
sergiodmn - kms
6dd0bd1c6a Entrypoints panel Issue Fix #77 (#192)
* Panel to list entrypoints Issue #77

* Panel to list entrypoints Issue #77

* Fix build error
2017-07-13 20:49:12 +02:00
Florian Märkl
6ed212a4ef Add flag in disassembly context menu, changes in disassembly refreshing (#197)
* Prepare Add Flag
* Flag Dialog
* MainWindow::globalSeekTo() signal
* Load more disassembly in refresh if necessary
2017-07-11 13:05:42 +02:00
Hanzō Hattori
771eccc125 Renaming QRCore and QRDisasm to IaitoRCore and IaitoRDisasm (#187)
* Renaming QRCore and QRDisasm to IaitoRCore and IaitoRDisasm

* Included AStyle formatting changes
2017-07-02 13:11:02 +02:00
Florian Märkl
6d90a98a6f Replace all icons with SVGs and add Iconic License (#183)
* Replace all icons with SVGs

* Add Iconic License
2017-06-15 11:53:10 +02:00
pancake
d033b52875 Fix minor issues introduced recently 2017-06-09 10:40:27 +02:00
Florian Märkl
3f8f904ebd Some more X-Ref changes (#185)
X shortcut for X-Refs in MemoryWidget
2017-06-09 00:40:43 +02:00
pancake
9954f31a32 Fix undefined dereference in JSON decoding for relro 2017-06-09 00:28:42 +02:00
sergiodmn
5931097b66 Add relro in the dashboard #105 2017-06-08 05:54:06 +02:00
Florian Märkl
f35ce99495 Fix XrefsDialog, X-Refs in Sidebar from JSON 2017-06-08 05:53:40 +02:00
Florian Märkl
132cebf8a1 Refactor XrefsDialog 2017-06-08 05:53:40 +02:00
Florian Märkl
af39658da7 XRefs from JSON Commands 2017-06-08 05:53:40 +02:00
mrexodia
2e4c088eab
AStyle 2017-06-03 14:27:23 +02:00
Hugo Teso
b7e9afc140 Added refresh to menu, omnibar and sidebar 2017-05-26 10:52:17 +02:00
Hugo Teso
d565c76483 Fixed asm bb sepparation spacy/bbline 2017-05-19 15:25:48 +02:00
Hugo Teso
eb661fa9fc Added Exports to omnibar actions 2017-05-19 09:49:33 +02:00
Florian Märkl
5d91e3c884 Add ExportsWidget, Double Click in ImportsWidget (#174)
* Add QRCore::getAllExports()

* Add ExportsWidget

* ImportsWidget double click
2017-05-19 09:45:26 +02:00
Hugo Teso
117d547570 Improved functions filter show/hide 2017-05-18 14:17:51 +02:00
Hugo Teso
a3adfab8c3 Fixed omnibar Esc shortcut 2017-05-18 12:20:53 +02:00
Hugo Teso
f662360524 Added show/hide shortcut to functions filter 2017-05-18 12:18:17 +02:00
Siddharth Sharma
43cd49bc5d Fix Qt include headers in source files: code cleanup pass 1 2017-05-14 20:03:31 +02:00
Florian Märkl
d2df03ee62 Fix Projects, Some restructuring of OptionsDialog (#165)
* Add Settings, Project Management

* Re-enable -A argument

* Fix loading notes from project
2017-05-13 20:09:36 +02:00
ballessay
6ffb18e6e4 Fix crash in hexdump, issue #163
To prevent recursive calls to hexScrolled block the signals of the
verticalScrollBars of the QTextEdit widgets.
2017-05-13 19:26:13 +02:00
Florian Märkl
9e729e56cd Minor cleanups 2017-05-06 15:41:16 +02:00
Florian Märkl
4e4797511b Use QAbstractItemModel in FlagsWidget 2017-05-06 15:41:16 +02:00
Florian Märkl
6f16a5a95e Get more things from JSON commands and some other things (#161)
* Flags and Flagspaces from JSON

* Sections from JSON

* Change -a option to -A with default value 3.

* Move Plugin name fetching out of QRCore::getList, Enable manual setting of Arch and Bits in OptionsDialog
2017-05-03 11:09:57 +02:00
Alvaro Muñoz
4bf55a7b62 minimap minor fixes 2017-04-29 10:18:19 +02:00
ballessay
4fea009a97 Add basic completion and command history 2017-04-28 19:49:01 +02:00
ballessay
bdd308d183 Close completer popup on clear 2017-04-28 19:49:01 +02:00
ballessay
a8418e3b53 Use ConsoleWidget in MainWindow
- Replace the MainWidget console handling with the new custom Widget
- Rename some functions
- Fix cppcheck warnings (non reference parameters)
2017-04-28 19:49:01 +02:00
ballessay
6731032495 Add ConsoleWidget
Moved the existing console functionality to a separate widget for easier
extension
2017-04-28 19:49:01 +02:00
Alvaro Muñoz
0062ff424e Fox missing args and vars in graph view and theme switch 2017-04-28 18:19:00 +02:00
ballessay
f586ab2d4e Fix new warnings
- Fix compiler and cppcheck warning
- format with astyle
2017-04-28 15:40:14 +02:00
Florian Märkl
ebe33ffe8e Refactor FunctionsWidget, new features and much more (#149)
* Add RFunction struct and get functions from json

* Fix QRCore::cmdj

* Add Analysis command line argument

* Replace MainWindow::current_address with cursur address

* Use Cursor Address in MemoryWidget, Change some more String addresses to RVA

* FunctionsWidget cleanup

* Use QTreeView in FunctionsWidget

* Re-enabled Nested Functions Widget

* Nested Functions Tree View with Model

* FunctionsWidget font, only one function highlighted

* Removed explicit font sizes

* FunctionsWidget re-enabled sorting and context menu

* FunctionWidget Quick Filter

* FunctionsWidget show decoration for imports

* QRCore lists refactoring, Imports Icon

* FunctionModel: Fix emitting dataChanged

* Fix some smaller things

* Fixes and cleanups

* Raise MemoryDock on seek from Omnibar

* FunctionsWidget: Remove margins

* FunctionWidget: Restore correct Tooltip font

* FunctionsWidget: import icon in separate column
2017-04-28 15:09:40 +02:00
pancake
a0e5cd2d34 Fix null-deref in disassembler 2017-04-28 12:47:55 +02:00
ballessay
a9b5f40702 Initialize OmniBar again
+ cleanup of the OmniBar class
2017-04-27 21:16:09 +02:00
ballessay
dd39666654 Remove duplicate branches 2017-04-26 22:59:03 +02:00
ballessay
d45c253f9f PieView: Add reset function
On treeWidget->clear() non of the the existing functions got called so
the total doubled with every refresh
2017-04-26 22:59:03 +02:00
ballessay
06e82c8421 Clear layout before adding more widgets 2017-04-26 22:59:03 +02:00
ballessay
ab28142ec5 Use Q_FUNC_INFO for message 2017-04-26 22:59:03 +02:00
ballessay
312cc9b912 AStyle format 2017-04-26 22:59:03 +02:00
ballessay
ad0de05654 Additional parameters for adjustColumns
- Add columnCount and padding parameter
- Remove unnecessary functions
2017-04-26 22:59:03 +02:00
ballessay
6f2607fc3c Use DockWidget base class
- DockWidgets inherit from base class and implement the interface
- Move setup/refresh code from MainWindow to widgets
- Remove unused/uneeded members
- Use helper functions
- Fix compiler/cppcheck warnings
- Cleanup headers
2017-04-26 22:59:03 +02:00
ballessay
8e542d40fe Add base class for DockWidgets 2017-04-26 22:59:03 +02:00