Commit Graph

754 Commits

Author SHA1 Message Date
Itay Cohen
bd8243f24f Removed old Dark Theme, and replace it with the "Dark Grey" (#549)
* Remove old dark theme, and replace it with the "Dark Grey"

* Fixed comments
2018-06-22 17:57:26 +02:00
xarkes
b8e876ad9c
Made a quick open file dialog (#543) 2018-06-20 11:24:28 +02:00
mauronz
da2c4770fc Fix references to pkg-config in lib_radare2.pri for Unix (#540)
* Fix references to pkg-config in lib_radare2.pri for Unix
2018-06-19 16:16:22 +02:00
dok
db76bffbe3 widgets/disasm: Add shortcuts to change font-size
Add two shortcut for changing the font-size in the Disassembly window:
CTRL+PLUS : increase font size
CTRL+MINUS: decrease font size

Issue: #298
2018-06-17 17:41:35 +02:00
jcaesar
81aa85e461 Add appstream XML file (#536) 2018-06-12 15:03:01 +02:00
xarkes
2264353507 Reset settings do not modify architecture 2018-06-09 12:14:03 +02:00
fcasal
e8b024042b Added widget to view register values (#509)
* Added backtrace info
* Make stack printing arch agnostic
* Split into registers/stack/backtrace widgets
* hide table idxs in stacktable
* backtrace table header has register name instead of generic PC/SP
* imports cleanup
* add sorting to stack table
* add Qheaderview import
* Added button to set registers
* added color to recently changed register
* reorganized Windows tab and added stacking to debug widgets
2018-06-06 13:05:20 +02:00
Florian Märkl
14cfe74324 Use QSharedPointer for AsyncTask 2018-05-28 16:19:04 +02:00
Florian Märkl
7777707062 Remove Progress UI from OptionsDialog 2018-05-27 22:10:23 +02:00
Florian Märkl
39eee858e6 Fix Memory Bug in AsyncTaskDialog 2018-05-27 21:57:37 +02:00
Florian Märkl
5dbaefb176 Exit AnalTask if interrupted 2018-05-27 21:49:14 +02:00
Florian Märkl
4ce04c4f95 Refactor Analysis Options 2018-05-27 21:38:19 +02:00
Florian Märkl
f09d32bd3d Interrupt AsyncTask from AsyncTaskDialog 2018-05-27 18:45:30 +02:00
Florian Märkl
3e8b76138c Use AsyncTaskDialog for initial Analysis 2018-05-27 18:03:29 +02:00
Florian Märkl
896925736f Add Timer to AsyncTask 2018-05-27 16:51:33 +02:00
Florian Märkl
6dd71958e2 Add AsyncTaskDialog 2018-05-27 16:51:33 +02:00
Florian Märkl
68e57f536f Fix CMake build for Qt 5.11 2018-05-27 16:38:08 +02:00
Florian Märkl
7117846b3e Use AsyncTask for initial analysis 2018-05-26 20:17:01 +02:00
Florian Märkl
790dd4868e Add AsyncTask 2018-05-26 20:17:01 +02:00
Florian Märkl
49dabaab71 Optimize seekChanged in FunctionsModel #498 2018-05-25 20:55:05 +02:00
fcasal
0cea9e3287 Multiple graph/disasm/hexdump widgets and independent seeks (#504) 2018-05-25 16:30:59 +02:00
Florian Märkl
c4a4cb8a25 Fix Graph Local Check 2018-05-24 18:58:57 +02:00
Florian Märkl
e642406192 Replace DisassemblerGraphView::sent_seek with connect/disconnect 2018-05-24 18:58:57 +02:00
rrreeezzz
b857e724e8 Add a panel for zignatures #463 (#505) 2018-05-24 17:37:37 +02:00
Florian Märkl
cd776c24ef Avoid calling triggerRaisePrioritizedMemoryWidget() on every command 2018-05-24 15:42:27 +02:00
Florian Märkl
1ee7061c72 Remove unnecessary pass Statements 2018-05-24 10:41:01 +02:00
xarkes
2391b4eff6 Updated radare2 2018-05-24 08:21:12 +02:00
fcasal
7fdfad32f7 Added headers widget (#499) 2018-05-21 19:34:41 +02:00
Xaltonon
55be4efb8c Graph improvements (#500)
* Add antialiasing to graphview
* Make panning speed up/slow down with current zoom
* Made scrolling proportional to zoom level
2018-05-21 19:33:46 +02:00
Itay Cohen
8ac598f992 Fixed x-refs to Address (#495) 2018-05-14 17:21:59 +02:00
xarkes
24941611fe
g++ fix (#491) 2018-05-13 21:38:53 +02:00
Xaltonon
a04c633655 Replace placeholder icons in preferences window with SVGs (#493) 2018-05-13 20:59:33 +02:00
Itay Cohen
fad76ecddb Disable align to 0 of HexdumpWidget, highlight current seek (FIX #64) (#492)
* Disable align to 0 of HexdumpWidget, highlight current seek

Disabled the alginment to `0x???????0` and made the current seek the first column.
Added color to highlight the current seek address.

* fixed camelCase

* Fixed camelCase#2
2018-05-13 16:43:38 +02:00
Xaltonon
21400952f2 Add tree-structured config dialog (#489) 2018-05-13 09:52:49 +02:00
Xaltonon
58226dda0e Add forward/back functionality to mouse buttons (#490)
* Add forward/back functionality to mouse buttons
* Prevent other widgets from stealing mouseclicks for buttons 4 & 5
2018-05-13 09:50:01 +02:00
fcasal
4b148d74de Added ctrl+wheel zoom in graph view (#484) 2018-05-10 16:08:03 +02:00
xarkes
43b147c6eb Added message box when r_core_file_open fails 2018-05-08 22:44:53 +02:00
fcasal
8ab3a3664c Fixed switching between views in same offset (#483) 2018-05-08 20:09:05 +02:00
xarkes
73d395c2be Fix -B default value 2018-05-07 17:16:51 +02:00
xarkes
923a7e888c A bit of AnalThread cleaning 2018-05-05 15:20:36 +02:00
rrreeezzz
53a7d5a959 Button grayed out if no signatures/version info available #474 (#481) 2018-05-05 14:58:26 +02:00
Itay Cohen
eef5022469 Add entropy to Section widget (#480) 2018-05-05 12:11:44 +02:00
Itay Cohen
31c7289726 Fixed Entropy and baddr on Dashboard view (#479) 2018-05-04 12:50:57 +02:00
Paul I
bebc2ec36d More c++11 (#478)
* Replace 0 and Q_NULLPTR with nullptr
* Use c++11 foreach
2018-05-04 09:58:32 +02:00
fcasal
c4d7dd3383 Added copy address feature in graph/disasm (#476) 2018-05-03 09:53:01 +02:00
Paul I
a30ac22056 Refactor SectionsWidget to use Model/View archictecture (#475) 2018-05-03 09:52:30 +02:00
Paul I
fd829986af Refactor SymbolsWidget to use Model/View architecture (#473) 2018-05-02 14:06:31 +02:00
fcasal
df251dd514 Added new dark grey theme (#471) 2018-05-02 08:02:24 +02:00
fcasal
c0a3ec4481 Reordered related option (#470) 2018-05-01 21:54:51 +02:00
Paul I
41d2fdc690 Refactor CommentsWidget to use Model/View architecture (#469)
Add QuickFilter panel to CommentsWidget
2018-05-01 20:54:34 +02:00
rrreeezzz
f5f2c4702e Add a button "Version Information" in Dashboard (iVj) #317 (#468) 2018-05-01 20:53:14 +02:00
Paul I
e97c22f214 Windows dist: move r2 related data to <radare2> subdir (#466)
* Update radare2
* Windows dist: move r2 related data to <radare2> subdir
2018-04-30 22:03:31 +02:00
Paul I
eeec725b94 Little hack to distribute precompiled cutter_*.py files (#465) 2018-04-30 11:45:02 +02:00
Itay Cohen
5e4dff9639 Load radare script from Options Dialoh (#464)
* Initial implementation of radare script loading from OptionsDialog
* Fixed and removed redundant function
2018-04-30 08:39:48 +02:00
Paul I
d58e69d411 Add QuickFilter to RelocsWidget (#452) 2018-04-24 20:40:40 +02:00
xarkes
a815f8f182 Fixed actionSearch issue 2018-04-24 10:43:11 +02:00
xarkes
e0cb52fa2c Cutter 1.4 release 2018-04-23 19:47:32 +02:00
xarkes
09058ead57 Use default font values 2018-04-23 19:30:41 +02:00
rrreeezzz
756ebec512 Delete project with pop-up confirmation (#451) 2018-04-23 09:54:24 +02:00
Paul I
0ae021f9a1 Check QModelIndex/column before processing double click event (#450) 2018-04-23 09:54:06 +02:00
Paul I
09bfc9f3d0 Add QuickFilter panel for ImportsWidget and ExportsWidget (#449) 2018-04-23 09:53:35 +02:00
Florian Märkl
5f9018f5b9 Fix Error when shutting down Jupyter 2018-04-21 12:13:36 +02:00
Florian Märkl
9be6dba2c2 Temporarily disable Analysis after opening a file (Fix #446) 2018-04-20 14:34:32 +02:00
xarkes
45763f88b5 Fix some font size 2018-04-18 17:14:54 +02:00
rrreeezzz
6642f60f75 Add information about register used in a function #381 (#442)
* Add information about register used in a function #381
2018-04-18 11:13:08 +02:00
Florian Märkl
1e81aafb37 Use r_sys_prefix() for AppImage and macOS AppBundle (Fix #432) 2018-04-16 21:36:55 +02:00
Florian Märkl
6934d785f4 Limit Disassembly scrolling from 0 and RVA_MAX 2018-04-15 19:06:05 +02:00
Florian Märkl
b8594e3bf5 Remove White Border from Console Input 2018-04-15 15:42:20 +02:00
Florian Märkl
dc871ca8a1 Revert "Added Zip to cmake Fix #433"
This reverts commit abfb29d5c8.
2018-04-13 17:25:03 +02:00
Florian Märkl
73848d26e7 Fix initial Hexdump Loading with Limits 2018-04-13 16:48:10 +02:00
Florian Märkl
1c58e2706c Limit Hexdump Scrolling from 0 to RVA_MAX 2018-04-13 14:21:39 +02:00
Florian Märkl
d3b8bcb62a Fix blank lines when scrolling up Hexdump 2018-04-13 11:36:30 +02:00
Florian Märkl
2af51a1af0 Fix Hexdump Scroll Up Loading 2018-04-13 11:29:11 +02:00
Florian Märkl
839ec9fffe Fix seeking to anything but Adresses in Omnibar 2018-04-13 10:55:54 +02:00
Abdel-Rahman A
c79106ef84 Use Core() everywhere (#440) 2018-04-12 08:33:30 +02:00
Abdel-Rahman A
05fe4e60ea RelocsWidget: Change from QTableView to QTreeView (#439) 2018-04-12 08:33:03 +02:00
Abdel-Rahman A
e1f17db235 Refactor ImportsWidget to a view and a model (#438)
* Refactor ImportsWidget to a view and a model
* Remove unused delegate
2018-04-12 08:32:31 +02:00
fcasal
7181c81a2b Added /v search ability and usage hints in the box (#435) 2018-04-11 11:55:37 +02:00
xarkes
d263778ad2 Radare2 update 2018-04-11 11:44:01 +02:00
xarkes
abfb29d5c8 Added Zip to cmake Fix #433 2018-04-11 11:19:07 +02:00
rrreeezzz
997b68ac38 Add more information in Function Panel #382 (#436)
* Add more information in Function Panel #382
* Fix sort
* Fix calltype
* Fix build dir
2018-04-10 20:34:11 +02:00
Paul I
ec8d54b597 Remove cutter_win32 dir (#430) 2018-04-05 10:05:00 +02:00
xarkes
6f14b3c0e3 Added cutter.refresh() to jupyter API 2018-04-04 16:30:30 +02:00
Abdel-Rahman A
c8fdf4b193 Use qhelpers::adjustColumns in all widgets (#423) 2018-04-01 10:25:31 +02:00
xarkes
459aaf482f Fix multiple poping DisassemblyWidget 2018-03-30 18:23:59 +02:00
xarkes
d4903c0f3d Pseudo fix for #422 2018-03-28 11:25:40 +02:00
xarkes
8afc02dd4e Hexdump and Pseudocode widgets colors Fix #410 2018-03-25 19:34:25 +02:00
David Roman
87ee023235 Add dir.projects cutter setting (#416) 2018-03-25 18:58:34 +02:00
int 0x80
0ecc0ed113 Allow to run Cutter without any file opened #404 (#419)
* Allow to run Cutter without any file opened #404
2018-03-25 14:36:14 +02:00
xarkes
152503a936 Segfault fix 2018-03-25 13:21:07 +02:00
Abdel-Rahman A
5001d395af Refactor RelocsWidget to a model and a view (#418) 2018-03-25 12:57:55 +02:00
Florian Märkl
adb311a122 Move default AsmOptions code to Configuration and shorten it (#415)
* Correct asm.cmtright to asm.cmt.right
* Add asm.flgoff to Disassembly Options
* Add Configuration::get/setConfig
2018-03-22 09:42:54 +01:00
Florian Märkl
0cc1f23826 Add --keep-one-line-blocks to astyle 2018-03-21 23:10:52 +01:00
xarkes
3cd71f75e1 Changing coding style 2018-03-21 21:33:40 +01:00
Paul I
b14be4acb2 Some little fixes (#411) 2018-03-20 21:44:00 +01:00
int 0x80
bba02f4b9d Add a button Certificate in Dashboard (iCj) Fixes #316 (#409)
* Add a button Certificate in Dashboard (iCj) #316
2018-03-17 20:26:51 +01:00
Nics
c4e8a1c178 Small refactor for the widgets of Cutter (#405)
* Small refactor for the widgets of Cutter

This refactor include the following :

* Creation of a new class
Creation of a new class, named CutterWidget, that inherits from QDockWidget and
is used to represent all of the widgets of the main window.
The goal of this class is to regroup all the behaviour shared by the widgets of
Cutter.

For example : in the constructor, instructions corresponding of those
present in the macro **ADD_DOCK** (in MainWindow.cpp) are executed.
This was made because I think that the macro **ADD_DOCK** which is used
to construct the widgets does not take advantage of the object structure.

* Ensure that every widget has a parent
Some widgets were created using the constructor QDockWidget, but using
**nullptr** (default) as argument, thus they haven't got any parent.

The constructor of a CutterWidget takes as argument the MainWindow and an
action (optional) and calls the constructor of QDockWidget with the main
window as argument. This is valid under the assumption that it is mandatory
for every widget to have the main window as a parent.

* Constructors removal
The constructors of some widgets are not used anywhere and does not seem not
fullfill any current usecase. They were removed.

* Renaming CutterWidget to CutterDockWidget
2018-03-16 22:46:57 +01:00
Florian Märkl
98ea17c85a Make CUTTER_ENABLE_* individual vars in qmake 2018-03-16 18:37:38 +01:00
fcasal
0a252bda7b Added rop gadget search (#403) 2018-03-16 10:07:41 +01:00
Mohd Shahril
8a71d1bb07 SectionsWidget - remove unnecessary dot checking (#392) 2018-03-13 14:53:53 +01:00