Commit Graph

190 Commits

Author SHA1 Message Date
Itay Cohen
592c050617
Improve warning for multiple x-refs causing unexpected behavior (#2236)
* Improve warning for multiple x-refs causing unexpected behavior
2020-06-07 11:39:58 +03:00
karliss
76773eadd6
Reduce amount of warnings (#2233)
* Deal with QT depracated warnings
2020-06-06 19:02:24 +03:00
karliss
54ecc33ca9
Rewrite part of graph layout code (#2207)
* Rewrite node placement and edge routing parts of graph layout code
* Document the high level structure of layout algorithm
* Tighter layout and less edge crossings
* Better worst case memory and CPU usage
2020-06-03 18:36:44 +03:00
karliss
1e9b82839e
Add documentation for TempConfig. (#2221) 2020-05-31 09:20:54 +03:00
karliss
0ea5d6fa4b
Add UI for managing layouts (#2211)
* Add dialog for deleting and renaming layouts.

* Add documentation.

Co-authored-by: Itay Cohen
2020-05-24 01:12:32 +03:00
Itay Cohen
6f75fa1a71
Add menu options for changing IO mode (#2187) 2020-05-23 14:41:12 +03:00
karliss
3545f059f1
Rewrite layout management code (#2172)
* Use QDockWidget::toggleViewAction instead of custom solution.
* Improve new dock placement.
2020-05-22 14:49:34 +03:00
fcasal
26cafecc4e
Add emu.str to be saved in settings (#2205) 2020-05-18 21:10:47 +03:00
karliss
cd85582164
Don't do e- when resetting settings. (#2180) 2020-05-07 12:05:09 +02:00
karliss
ca7b3a623d
Detect when native theme's darkness doesn't match color theme. (#2176) 2020-05-04 12:49:40 +03:00
karliss
b69dff0fcd
Add commandline option for disabling stdout redirection (#2144)
* Add option for disabling stdout and stderr redirection.
* Add command line option description to documentation.
2020-04-17 15:02:44 +03:00
itayc0hen
b735cb6f23 Use cmdRaw and cmdRawAt in Configuration.cpp 2020-03-25 19:12:18 +02:00
itayc0hen
6bd0d78b73 Use cmdRaw and cmdRawAt in ColorThemeWorker 2020-03-25 19:12:18 +02:00
itayc0hen
cccbf62ec0 Use cmdRaw and cmdRawAt in AnalTask 2020-03-25 19:12:18 +02:00
optizone
e50eddb8cd
Implement some of w? commands in HexWidget (#1854)
* Implement write commands in hex widget 
* Add cmdRawAt and seekSilent
* Document patching context menu

Co-authored-by: itayc0hen
Co-authored-by: Kārlis Seņko
2020-03-19 11:36:36 +02:00
karliss
c4d7d649f1
Add installing to CMake (#2084) 2020-03-15 14:43:42 +01:00
NIRMAL MANOJ C
d12aae2ac0
Add scaling and background transparency options to graph export (#2089) 2020-03-09 22:59:03 +02:00
Hye Sung Jung
57b5879593 fix spelling errors (#2036) 2020-01-28 10:02:17 +02:00
Itay Cohen
1c39aa6d41 Add asm.flags.real to preferences and enable by default (#2014) 2020-01-21 11:00:38 +01:00
karliss
c645cbee01
Refresh monospace font after it gets reset by style or font change. (#2002) 2020-01-08 00:03:25 +02:00
karliss
90c7bfab1e
Breakpoint editor dialog (#1975)
* Add breakpoint dialog for editing breakpoint properties
* Allow editing breakpoint using context menu from breakpointWidget and disassembly menu.
2020-01-04 20:05:49 +02:00
Itay Cohen
4e84d1b502 Highlight Breakpoints and PC in decompiler (#1948) 2019-12-19 18:58:30 +01:00
yossizap
64371bb07a Fix formatBytecount's sizes (#1928)
This caused a crash (ref #1925) when seek was set to UT64_MAX.
2019-12-15 09:44:43 +02:00
yossizap
f284f9d209 Stdin redirection for locally debugged processes (#1892) 2019-12-14 16:44:57 +02:00
yossizap
49d58b3624 gdbserver and windbg remote debugging support (#1874)
* Added remote debugging
2019-12-14 16:44:57 +02:00
Itay Cohen
7a34cf2024
Improve seek backward and outside of function in Decompiler widget (#1916)
* Improve seek backward and outside of function
* Improve seekToReference
2019-12-14 14:57:36 +02:00
Itay Cohen
a50a8939ef Adding Adikso's Midnight Theme (#1895) 2019-12-08 10:57:42 +01:00
Florian Märkl
a4e0308e84
Update radare2 and fix Cutter for it (#1890) 2019-11-27 11:49:44 +01:00
Leopold Kozioł
41f532ed7b Add instruction highlight in graph view (#1879) 2019-11-17 20:44:10 +02:00
xarkes
cae07d15db Refactored qhelpers AbstractItemView item select (#1850) 2019-10-20 14:59:10 +03:00
Jochen Bauer
b81eed7f22 Replacing all QRegExp with QRegularExpression (#1820)
* Replacing all QRegExp with QRegularExpression
2019-10-13 17:59:12 +03:00
Wesley King
83b1ce2c49 Add common zoom action for widgets using font from configuration (#1813) 2019-10-12 08:50:10 +03:00
karliss
b11ba240d2
Improve compatibility with cmake 3.5 and QT 5.5-5.11. (#1805) 2019-10-06 20:35:44 +03:00
karliss
23561f4337 Add addressable item context menu to stack widget (#1779)
* Use addresableItemContextMenu in stack widget.
* Show hexwidget when seeking to stack.
2019-09-25 17:18:30 +03:00
karliss
75e98cb05d Update R2Task.cpp (#1790) 2019-09-25 16:00:43 +02:00
karliss
567f852c3a
Common behaviour for lists with items that have address part 2 (#1718)
* Seperate addressable item list widget from ListDockWidget.
* Convert ResourceWidget, strings widget, flags widget, search widget, MemoryMapWidget, xrefs dialog
* Don't silently overwrite comment in add comment action.
2019-09-02 00:30:25 +03:00
Itay Cohen
fa759dd660
Increase asm.tabs indention 2019-09-01 17:51:42 +03:00
Florian Märkl
86473e3465 Decompiler Auto-Refresh (#1724)
* Implement Decompiler Auto-Refresh
2019-09-01 12:06:54 +03:00
Florian Märkl
81f7169379
Fix Main Task Synchronization (#1723) 2019-08-30 17:31:30 +02:00
Florian Märkl
76b9354673
Make Decompilation asynchronous (#1721) 2019-08-28 19:01:12 +02:00
Florian Märkl
13e18f77de
Refactor Decompiled Code Structure (#1717) 2019-08-27 17:27:39 +02:00
karliss
0aa91c328c Common behaviour for lists with items that have address (#1700) 2019-08-19 15:35:25 +02:00
Itay Cohen
330795a650
Improve InitialOptionsDialog and modify UI terminology for analysis (#1669)
* Define CommandDescription struct

* Refactor InitialOptionsDialog to to work with CommandDescription

* Clean InitialOptionsDialog UI
2019-08-04 00:58:41 +03:00
Florian Märkl
39a9266be1
Don't use scr.html in CommandTask (#1683) 2019-07-21 13:57:57 +02:00
Florian Märkl
dee24b861d Remember last selected Decompiler 2019-07-17 09:08:26 +02:00
xarkes
fc9bbe1432 Remove old radare2 configuration variable (#1665) 2019-07-16 20:34:10 +02:00
Florian Märkl
4487564f7d
Add a generic Decompiler interface and remove pdc (#1659) 2019-07-15 14:08:44 +02:00
Florian Märkl
7c605e3fed
Make Syntax Highlighter react to Theme Changes (#1650) 2019-07-12 15:37:19 +02:00
Florian Märkl
7017c8a323
Sync PseudocodeWidget with Seek (#1648) 2019-07-12 10:57:07 +02:00
Florian Märkl
db3c34a9cd
Use KSyntaxHighlighting (#1645) 2019-07-11 15:21:54 +02:00
Florian Märkl
78ff1459c9
Fix Qt 5.13 deprecations (#1641) 2019-07-09 20:55:07 +02:00
Itay Cohen
d8b53421cd Disable asm.movlea by default (#1630) 2019-06-30 11:48:25 +02:00
Itay Cohen
5758ffcafb
Initial refactoring and improvement for Assembly Options Dialog (#1627)
* set asm.refptr default to false
* Cleanup of AsmPreferences
* Use a single slot to handle boolean checkboxes
2019-06-29 08:09:51 +03:00
optizone
06aceaf9b1 Refactor Layout Save and Restore Feature (#1538)
#1515
2019-06-18 15:02:41 +02:00
Florian Märkl
e5370d171d
Fix def. Cutter specific Colors for Custom Themes (#1606) 2019-06-17 19:42:17 +02:00
optizone
228d3a454a Interface theme and theme features refactoring (#1598)
* init commit

* use hex

* delete obsolete code

* alpha channel feature update

* enhance pattern painting

* remove useless code

* add comment
2019-06-12 20:46:07 +03:00
Itay Cohen
f9f8e90ac6
Improve Graph Overview Fill and node Colors (#1596) 2019-06-05 14:28:05 +03:00
optizone
31838a3a35 Basic Block Highlight (#1533) 2019-05-23 18:22:31 +02:00
Florian Märkl
ef22f20548
Fix non-integer Font Metrics in Graph (#1545) 2019-05-17 13:00:54 +02:00
Florian Märkl
e48392a1e0 Make gui.dataoffset color adapt to Native 2019-05-16 14:57:18 +02:00
Florian Märkl
72eab68be1
Revert "Fix layout save and restore feature (#1515)" (#1537)
This reverts commit 2ba9e170c5.
2019-05-15 20:45:16 +02:00
optizone
2ba9e170c5
Fix layout save and restore feature (#1515) 2019-05-14 23:30:10 +03:00
optizone
089be2b87c refactor theme edit feature (#1461)
Refactor Theme Editor
2019-05-01 19:15:33 +03:00
Itay Cohen
1d20129a0a
Light Theme (#1486)
* Implement Light Them for Cutter
2019-04-27 20:58:44 +03:00
xarkes
5b0ef4c445 Removed max bbsize analysis option (#1424) 2019-04-14 12:36:13 +03:00
Florian Märkl
177e436a2e Use Args List to start Crash Handler 2019-04-11 20:27:03 +02:00
Florian Märkl
4673a23f05 Crash Message Rewording 2019-04-10 13:33:35 +02:00
Florian Märkl
5add53cbf8 Start Crash Handler detached 2019-04-10 13:33:35 +02:00
optizone
c2deabee5d Use forked process to handle crashes (#1443) 2019-04-09 21:33:13 +02:00
Florian Märkl
1cb314d674
Add crash handling system using Breakpad (#1439) 2019-04-09 09:44:44 +02:00
Paul I
3d454cdaa0 Use Python stable ABI >= 3.5 (#1426) 2019-04-08 22:07:35 +02:00
karliss
103decedd6 Take pixel ratio into account for graph cache. (#1405)
* Take pixel ratio into account for graph cache.
2019-04-03 11:55:39 +03:00
ncyellow
fbe9aea7d1 Xrefs select top item (#1401)
* closes #1363
select top item from refs or xrefs
2019-03-27 22:40:54 +02:00
xarkes
5bde1c3e8c Renamed asm.bbline to asm.bb.line (#1400) 2019-03-26 22:40:41 +03:00
Florian Märkl
1710829267
Remove Jupyter Integration (#1398)
* Remove Jupyter Integration

Replaced by https://github.com/radareorg/cutter-jupyter

* Remove duplicate vars in .appveyor.yml
2019-03-25 21:43:00 +01:00
Florian Märkl
76bcac8aa7
Delete all PySide2 QObjects before Py_Finalize() (#1386) 2019-03-24 13:11:54 +01:00
Paul I
40452c9826
Some micro optimizations (#1346) 2019-03-23 13:54:34 +03:00
Florian Märkl
9f582b3e03 Use QVersionNumber for Version Comparison 2019-03-18 21:42:46 +01:00
xarkes
3b87389d07
Removed stackptr because the result is meaningless (#1285) 2019-03-14 11:03:15 +01:00
Itay Cohen
1af9195e21
Replace red syntax highlighting with blueish color (#1261)
* remove bolding
* change highlight color from red to blueish
2019-03-10 15:09:02 +02:00
Itay Cohen
8b7d795a15
Add configurable graph overview node color (#1259) 2019-03-10 09:53:06 +02:00
optizone
3fed97ad86 Auto update check (#1235)
* init commit

* bug fix

* call slot of null object bug fix

* delete extra disconnect() func

* change api and add doc

* run astyle

* some improvements

* memory leak fix

* add check on start checkbox

* add checkbox to about page

* serve version check reply using lambda instead of slot

* fix grammar mistakes

* more docs

* save some lines

* change button text

* astyle

* change message text

* dont use QApplication pointer as a parent for network manager

* proper deletion of QNetworkReply*

* VersionChecker -> UpdateWorker

* windows dll hack

* after rebase fix

* some improvements

* better determination of arch

* more docs

* improvements

* add UpdateWorker::showUpdateDialog

* remove odd condition

* more improvements

* fix windows bug

* make dialog non-blocking

* change text in download progress dialog

* bug fix

* remove debug conditions

* change docs format
2019-03-09 14:11:39 +01:00
Itay Cohen
d46ff14a21
Start using "gui.navbar.seek" color instead of "gui.navbar.err" to show seek cursor (#1244)
* fix navbar to use seek

* honor navbar.seek

* honor navbar.seek in Sections widget

* fix typo
2019-03-07 07:26:26 +02:00
xarkes
003d0d3c26
Modified documentation format (#1240) 2019-03-06 21:30:39 +01:00
Florian Märkl
1f4339bed2
Fix Jupyter (#1223)
* Call PyErr_Print() in QtResImport()

* Fix Jupyter
2019-02-27 14:54:47 +01:00
xarkes
ab27e09b91 Splitted Cutter.h and moved everything in core (#1201)
Sometimes it is not necessary to include the whole Cutter.h file
Hence, it's been splitted so you can include only what you require
E.g. #include "core/CutterCommon.h" to have access to the common types
2019-02-22 17:50:45 +01:00
Florian Märkl
5313017c54 Fix Segfault when jupyter is not installed 2019-02-21 22:57:26 +01:00
Florian Märkl
d1f5da9946 Init Python before RCore 2019-02-21 22:57:26 +01:00
xarkes
a93c5e225f Added a BasicBlock highlighting API 2019-02-21 22:57:26 +01:00
Florian Märkl
acca40b978 Include and meson fixes
Fix QDir include in PythonManager

Fix cassert include

Fix assert include in PluginManager.cpp
2019-02-21 22:57:26 +01:00
Florian Märkl
f5fb9f364f Fix segfault when CutterCore is destructed 2019-02-21 22:57:26 +01:00
Florian Märkl
f945ebf9ae Add enable_python option to meson 2019-02-21 22:57:26 +01:00
Florian Märkl
2be8ec8456 Generate Bindings in QMake
Fix typesystem-paths
2019-02-21 22:57:26 +01:00
xarkes
436842222e Modified some APIs for more consistence
Correct null check after create_cutter_plugin()

Fix cutter.core()
2019-02-21 22:57:26 +01:00
Florian Märkl
950f24eaf3 Fix build without Python 2019-02-21 22:57:26 +01:00
Florian Märkl
40274e4bf4 Kill CutterPythonPlugin and use Bindings instead
Simplify CutterPlugin Interface

Pull Python Plugin Metadata from class vars

Also kill cutter_plugin.py

Fix Python Plugin Module Loading
2019-02-21 22:57:26 +01:00
Florian Märkl
986041380c Add PluginManager 2019-02-21 22:57:26 +01:00
Florian Märkl
23115d7b1c Generate Bindings for CutterCore in CMake
Refactor CMakeLists.txt for bindings

Fix for CUTTER_ENABLE_JUPYTER=OFF
2019-02-21 22:57:26 +01:00
Florian Märkl
1c98a1c42e Partially fix shutting down Python 2019-02-21 22:57:26 +01:00
Florian Märkl
74a201ecba Move everything Jupyter related out of PythonManager
Fix importing cutter in Python
2019-02-21 22:57:26 +01:00