Commit Graph

332 Commits

Author SHA1 Message Date
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
Tim Siebels
bbf424a950 Do not display deleted files as recent files (#15) 2017-09-29 09:59:03 +02:00
xarkes
f3448fa886 Removed forgotten cutter binary 2017-09-29 00:06:43 +02:00
Tim Siebels
3ccafcaef3 Move loading binary into thread (#13)
Reduce pressure on the main thread
2017-09-29 00:04:57 +02:00
Tim Siebels
5178046df2 Use human readable byte sizes for previous sessions 2017-09-28 22:10:02 +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
Tim Siebels
715e81e3cd Fix CMake build (#8)
for some reason I do not understand, this is necessary for AUTOUIC
to be able to recognize the file.
2017-09-27 21:46:38 +02:00
Maijin
9b4668ff02 Rename iaito -> cutter 2017-09-26 10:32:03 +02:00
Maijin
9257294727 Fix more iaito -> cutter 2017-09-25 19:51:49 +02:00
xarkes
821602eabd Renamed Iaito to Cutter 2017-09-25 14:55:41 +02:00
xarkes
5b9e6ea661 Updated r2 version (#213) 2017-09-23 15:37:44 +02:00
Alexandr Filatov
15bdbef4a0 Add tr() to visible strings; fix #119 (#209)
* Add tr() to visible strings; close #119
2017-09-09 11:36:15 +02:00
N. Fontenot
f3aba5fdd0 Add icon to the build system output. (#208)
* Add icon to the build system output.
Make newly externally visible icon globally unique.
Compensate for this change in the .desktop and in the AppImage.
2017-09-02 22:48:41 +02:00
xarkes
b64fd5ad11 Fix travis build 2017-09-02 12:06:00 +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
xarkes
6f42504246 Fix build on linux 2017-09-01 10:45:09 +02:00
Sergi Àlvarez i Capilla
3a1d27a67f Fix build with QT Creator (#193)
* Fix build with QT Creator
* Only clobber includes on unix
* Update r2 submodule
2017-08-31 19:51:45 +02:00
Tennn
142f0941c4 fix small warning (#202)
* 111

2222

* fix small warning

* remove

remove
2017-08-31 19:44:11 +02:00
xarkes
a71f2a8b27 Fix #114 (#205) 2017-08-31 19:43:46 +02:00
sergiodmn - kms
76bc053a8c Analysis Menu-Cursor changes Issue #124 (#189)
* Add relro in the dashboard #105
2017-07-24 13:05:28 +02:00
Florian Märkl
6c8adef74b Trigger CMake reconfigure if iaito.pro changes and disallow in-source builds. (#184)
* Trigger CMake reconfigure if iaito.pro changes

* Disallow in-source builds with CMake

* CMake: move disallowing in source build to separate script
2017-07-17 14:04:32 +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
Daniel Molkentin
76f3cc07fc Allow opening read-only files (e.g. system binaries) (#196) 2017-07-11 18:41:58 +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
e7f6cdcd8a
fixed a deadlock (updated r2) 2017-06-04 16:54:33 +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
ballessay
1e35b1768c Use custom qmake parameter for AppImage
Install files for AppImage if a custom qmake parameter is supplied, not
by abusing PREFIX.

Add new paramter to .travis.yml
2017-05-22 23:59:29 +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
Hugo Teso
1cf395d7b9 Rmoved bold font from options Dialog 2017-05-18 11:09:05 +02:00
Siddharth Sharma
43cd49bc5d Fix Qt include headers in source files: code cleanup pass 1 2017-05-14 20:03:31 +02:00
ballessay
d6b766f7b4 Fix webserver failure in appimage
The radare webserver is looking for http.root or http.homeroot which
wasn't included in the appimage, so the webserver failed to start.

Since sys/install.sh seems to just symlinks a lot of files in
/usr/share/radare2 cp -Lr the folder.

Additionally modify the http.root if an AppImage environment is detected.
2017-05-14 02:09:27 +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
23c92ac77c Rename file according to class name 2017-05-13 19:40:53 +02:00
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
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 Muñoz
4bf55a7b62 minimap minor fixes 2017-04-29 10:18:19 +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
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
C. Balles
d29625a8cb Create unique project name (#134)
- new helper function
- initialize members
- removed unused functions
- cleanup
2017-04-18 12:03:47 +02:00
Florian Märkl
3ac59f02f5 Add QRCore::cmdj, Use iij to fix crash when import name contains spaces (#133)
* Fix crash when import name contains spaces

* QRCore::cmdj, Get imports with iij
2017-04-18 10:33:35 +02:00
ballessay
6262e08381 Add custom astylerc
Adds iaito.astylerc based on CONTRIBUTING.md
2017-04-14 04:06:49 +02:00
Hugo Teso
4fc12173d0 Merge toolbar fix 2017-04-13 10:13:49 +02:00
Hugo Teso
d451d9ecc6 Temporary workaround for black toolbar. Fixes #132 2017-04-13 10:13:01 +02:00
Hugo Teso
c0bc070aa4 Merge Mini graph fixes 2017-04-12 19:07:00 +02:00
Hugo Teso
3caafc437e Fixed dark theme mini graph background 2017-04-12 19:06:29 +02:00
Florian Märkl
5d46610721 CMake: Parse iaito.pro to get filenames 2017-04-12 18:52:28 +02:00
Duncan Ogilvie
eae419ef3b compile and work on qt 5.6 (this needs testing!) (#123)
* compile and work on qt 5.6 (this needs testing!)

* updated travis

* updated r2

* sync submodules wtf

* updated CMake files
2017-04-12 18:49:01 +02:00
Hugo Teso
5efc51d307 Improved options dialog 2017-04-12 17:02:35 +02:00
Hugo Teso
00f3c1baee Fixed disasm context menu actions 2017-04-12 16:26:57 +02:00
Hugo Teso
7e7c6aad85 Removed some scrollbars. Small fix in disasm navigation 2017-04-12 14:07:43 +02:00
Hugo Teso
e857437949 Should fix #127. Though I notice no difference. 2017-04-12 12:29:06 +02:00
radare
e73cb0454a Fix null deref in on_actionXrefs 2017-04-12 12:27:06 +02:00
Hugo Teso
3d85370ff9 Fixed #129. Refactorized the sections dock 2017-04-12 12:16:43 +02:00
Hugo Teso
a1a663ca4b Merge branch 'master' of https://github.com/hteso/iaito 2017-04-12 10:32:02 +02:00
Hugo Teso
36e6bc2ec6 More fixes for #94 2017-04-12 10:31:23 +02:00
Florian Märkl
32b3e91c15 Update CMakeLists.txt 2017-04-12 10:30:36 +02:00
Hugo Teso
fb1437e4c1 Fixes #94. Hexdump navigation 2017-04-12 10:27:08 +02:00
Hugo Teso
e8a48a4a86 Slight performance improvement when seeking and fix graph load issue 2017-04-11 13:41:44 +02:00
Hugo Teso
e402e7c1b9 Added warning on anal levels 2017-04-10 14:54:23 +02:00
Hugo Teso
4b4fdef868 Changed anal options description 2017-04-10 14:39:38 +02:00
mrexodia
3b147a00bb
beautified analysis dialog (https://i.imgur.com/HN2S5in.gif) 2017-04-10 14:22:18 +02:00
mrexodia
e18899b9c8
removed some junk code #121 2017-04-10 14:12:42 +02:00
mrexodia
400f6be164
restore the 'responsive' functionality (closes issue #97) 2017-04-10 12:25:55 +02:00
Hugo Teso
bee9d28683 Closes #117. Feel free to change text for a better one 2017-04-10 11:31:34 +02:00
mrexodia
24fd1577e2
minor interface improvements 2017-04-09 22:36:38 +02:00
mrexodia
b12f665668
format ****(seed) 2017-04-09 21:55:06 +02:00
mrexodia
b91ea94543
code improvements to RCoreLocked 2017-04-09 20:42:45 +02:00
mrexodia
0dc64f8eac
Revert "Workaround for Qt5.8 WebEngine (#92)"
This reverts commit 08e6e4d13c.
2017-04-09 20:33:33 +02:00
xpahos
08e6e4d13c Workaround for Qt5.8 WebEngine (#92) 2017-04-09 19:13:31 +02:00
Duncan Ogilvie
5390cff320 updated r2 to 5ec6cde4 (#108)
* updated r2 to 5ec6cde4 (this fixes heap corruption and null pointer dereferences while starting iaito)

* fix build (no need to update iaito_win32 because no changes were made to the api)
2017-04-09 19:12:36 +02:00
ballessay
aa01212053 Fix issue #103: refresh disam on CTRL+r
Adds a QShortcut to refresh the disasm editor. To make this work the
default parameter of the slot MemoryWidget::refreshDisasm() had to be
defined in the header/at declaration point, else the connect failed.
2017-04-09 19:10:22 +02:00
ballessay
fa62c667ca Fix issue #102: changed defaults
Defaults now:
- asm.tabs=5
- asm.bbline=true
2017-04-09 19:10:13 +02:00
ballessay
c3426e2e3e Set correct parent from the start
Remove the unset parent parameter and use the MainWindow as parent
instead.
2017-04-09 19:10:02 +02:00
ballessay
2bd0283e4b Allow local/qrc content to access remote content 2017-04-09 19:10:02 +02:00
Sergi Àlvarez i Capilla
b7c3929d5e Fix null deref (#101)
* Fix null deref when QStringList is empty

* Indent memory widget
2017-04-09 19:09:52 +02:00
Joxean
7c63a67575 Fix many warnings and remove waste code (#81)
* Fixed a lot of warnings and removed waste code

* Fixed more warnings and removed more waste code

* restore XrefsDialog::updateLabels

This function is used in memorywidget.cpp
2017-04-09 19:09:35 +02:00
mrexodia
95ca3d5d5b
compile with MSVC again (this partially screws up 72893373, and issue #97) 2017-04-09 17:39:56 +02:00
mrexodia
17feb1e84a
safe code improvements related to eventFilter 2017-04-09 17:30:16 +02:00
C. Balles
0c69988f83 Fix sidebar crash (#99)
* Fix crash on invalid asm/hex

Added nullptr checks because the called functions can (and will)
return NULL

* Call disassemble when hex2asm is clicked

* Change order on != comparison

* Fix missing whitspace
2017-04-09 04:49:16 +02:00
Hugo Teso
728933732e Fixes #97. Responsiveness stopped working with some PR 2017-04-07 18:04:00 +02:00
Hugo Teso
bfe44eb725 Fixes #98. Codegraphics bar with dark theme. 2017-04-07 17:34:24 +02:00
Alvaro Muñoz
28aa884354 Merge branch 'master' of github.com:hteso/iaito into contextmenu 2017-04-06 23:56:32 +02:00
Alvaro Muñoz
610ab0d7de Refactor II + init work for context menu 2017-04-06 23:55:40 +02:00
Hugo Teso
8e9d152f46 Fixes #84 by moving cursor to pointer position on right-click 2017-04-06 13:23:43 +02:00
Hugo Teso
ba8f60fe56 Fixes #3 and other related issues 2017-04-06 12:14:28 +02:00
C. Balles
5032c9104d qmake cleanup (#43)
* cleanup: get the include and lib path from r2

* clean up of the main project file

* check if r2 is available

* corrected r2 binary name m(

* qmake error if libr not found

Because the project won't build if r2 or the paths are not found emit
an error

* removed comments and unused variable

* Add 'make install' for AppImage

* Use 'make install' in travis build
2017-04-06 10:29:36 +02:00
Hugo Teso
c14f3beaeb Fixed theme restore at start up 2017-04-05 16:29:01 +02:00
Hugo Teso
d790ad69df Sync switch theme with graph view. Still has bugs 2017-04-05 16:03:36 +02:00
Alvaro Muñoz
f656bea94b Load colors from css 2017-04-05 15:02:54 +02:00
Hugo Teso
de2eff13ff Fixed focus issue after seeking around 2017-04-05 12:10:22 +02:00
Hugo Teso
a40cd098a6 Closes #75 2017-04-05 11:35:19 +02:00
mrexodia
133058aa30 display full r2 git version in AboutDialog 2017-04-05 11:08:05 +02:00