Commit Graph

490 Commits

Author SHA1 Message Date
ballessay
a562d5b0b6 Fix webserver deadlock
Removes the ability to stop the webserver, because 1. it's needed for
the graph views to work 2. multiple start/stop calls could lead to a
deadlock, because =h- was waiting for input (^C)

Since =h& is used the server manager class doesn't need to be a QThread
2017-05-13 19:40:53 +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
ballessay
44d1b0454f Update radare submodule to current master 2017-05-13 19:14:17 +02:00
Florian Märkl
9e729e56cd Minor cleanups 2017-05-06 15:41:16 +02:00
Florian Märkl
b4f1a77a14 CMake: Move finding radare2 using pkg-config to FindRadare2.cmake 2017-05-06 15:41:16 +02:00
Florian Märkl
adcaccc447 Remove broken default value for -A 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
416ed82149 Merge pull request #158 from hteso/minimap
minimap minor fixes
2017-04-29 10:19:11 +02:00
Alvaro Muñoz
4bf55a7b62 minimap minor fixes 2017-04-29 10:18:19 +02:00
Alvaro
34ae84123e Merge pull request #157 from hteso/minimap
Add minimap to graph view
2017-04-29 00:29:31 +02:00
Alvaro Muñoz
512f6134aa Add minimap to graph view 2017-04-29 00:27:41 +02:00
ballessay
fd80443b7e cmake: Use pkg-config for non-windows 2017-04-28 20:50:57 +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
Florian Märkl
f0b905c779 Add -Wall to CMake 2017-04-28 16:32:41 +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
8c8ca6b9a4 Fix missing function names in CommentsWidget 2017-04-27 21:16:09 +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
9931d6f484 Adapt MainWindow to refactored widgets
- Use new DockWidget interface as much as possible
- Remove unused/unneeded code
- Make more members private
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
ballessay
ff348e0f1a Add new helper functions 2017-04-26 22:59:03 +02:00
ballessay
a5224bb7f6 Use existing public function 2017-04-26 22:59:03 +02:00
ballessay
e72976ff55 Move default parameter to h 2017-04-26 22:59:03 +02:00
ballessay
3bdb0b2aba Fix compiler and cppcheck warnings 2017-04-26 22:59:03 +02:00
ballessay
b32fd4cef2 Remove banned.h from widgets
The banned string is only used once so define it there.
2017-04-26 22:59:03 +02:00
ballessay
354dcf574f Fix warnings
- Use QChar to compare QString elements
- dashboard.ui: no zorder for spacer
2017-04-26 22:59:03 +02:00
ballessay
a7b70dbf8f Add shortcut to refresh visible DockWidgets
+ Fix some warnings
2017-04-26 22:59:03 +02:00
ballessay
e968479be1 Initialize all members 2017-04-26 22:59:03 +02:00
ballessay
85f84aac83 Fix warnings
- Same parameter name in h/cpp
2017-04-26 22:59:03 +02:00
C. Balles
fdd7c10953 Merge pull request #145 from kazarmy/entry0-addr-gt-7bytes
Start at entry0 even if entry0 addr > 7 bytes
2017-04-25 01:03:35 +02:00
Khairul Kasmiran
be3f1e0a32 Start at entry0 even if entry0 addr > 7 bytes 2017-04-24 14:49:35 +08:00
Alvaro Muñoz
4572fec9b3 call init() to draw graph after loading index.html 2017-04-23 01:47:02 +02:00
Alvaro Muñoz
78737c3f7b Fix graph not updated when changing function and theme switch 2017-04-23 01:29:57 +02:00
Christian Balles
aa20044766 qmake: Use QT_ARCH to switch 32/64 bit
Makes it possible to switch the build arch depending on the Qt kit not
the hosts arch.
2017-04-20 20:17:56 +02:00
Christian Balles
c578629121 qmake: Use pkgconfig feature
Instead of using r2 to get the lib and include paths use the builtin
qmake feature for pkgconfig. Still needs a tweak to work with
sys/user.sh installations.
2017-04-20 20:17:56 +02:00
mrexodia
ec7f4c2e89
update iaito_win32 for 1.4.0 2017-04-20 19:51:15 +02:00
mrexodia
47edd7c3a5
radare2 1.4.0 4b77cb2 2017-04-19 11:03:33 +02:00