Commit Graph

398 Commits

Author SHA1 Message Date
NIRMAL MANOJ C
f2a867ca28
Xref for function variables in disassembly view (#2297) 2020-07-28 22:49:50 +03:00
karliss
249ad7ad0e
Don't use @a: for listing cpus. (#2307)
For some architectures like 8051 doing @a: has sideeffects.
2020-07-21 14:08:35 +03:00
karliss
e14d0d8ef6
Update r2 to 4.5 and fix renamed configuration variables. (#2288) 2020-07-20 15:47:48 +03:00
karliss
e5d7bd660a
Add more graph widgets (#2273)
* Add generic r2 graph.
* Add Callgraph widgets
* Add more graphviz layouts.
* Fix some edge cases in graphGridLayout that were more likely to appear in callgraphs
* Refactor the code moving some of the logic out of disassemblyGraphWidget making it more reusable
2020-07-16 11:05:10 +03:00
itayc0hen
ca84c3d1dc Bye bye RenameDialog 2020-07-15 17:36:25 +03:00
karliss
8c52627312
Graph optimize placment (#2255)
Add optional placement optimization pass which tries to push everything together and ignores the grid.
2020-07-03 20:09:37 +03:00
Surendrajat
7736088ea9
Expose asm.reloff.flags in Preferences (#2244) 2020-06-16 13:54:36 +03:00
karliss
e28ee3bebd
Add options for tweaking graph layout. (#2246)
* Fix overview refresh when switching layout.
2020-06-16 13:43:45 +03:00
Surendrajat
498d2076c8
Expose asm.reloff in configuration (#2243)
* Expose asm.reloff in configuration
2020-06-11 19:43:32 +03:00
karliss
76773eadd6
Reduce amount of warnings (#2233)
* Deal with QT depracated warnings
2020-06-06 19:02:24 +03:00
Ali Raheem
7127f0e556
Fix mismatch closing parenthesis (#2232) 2020-06-04 06:41:55 +03:00
tobigrimm
cd6fc26ed1
Cmdline option to open a file in write mode (#2216)
* Added an option to directly enable write mode via -w/--writemode to the command line option parser
2020-05-28 14:33:19 +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
NIRMAL MANOJ C
1181f7ff5c
Cutter RC Editor - Part B (basic editor) (#2162) 2020-05-20 23:38:20 +03:00
karliss
ca7b3a623d
Detect when native theme's darkness doesn't match color theme. (#2176) 2020-05-04 12:49:40 +03:00
itayc0hen
f789337f45 Rename OpenFileDialog to MapFileDialog 2020-04-08 00:10:31 +03:00
itayc0hen
1f41983923 Use cmdRaw and cmdRawAt in ColorThemeEditDialog 2020-03-25 19:12:18 +02:00
itayc0hen
a47dcb26f9 Use cmdRaw and cmdRawAt in XrefsDialog 2020-03-25 19:12:18 +02:00
itayc0hen
647978260a Use cmdRaw and cmdRawAt in WriteCommandsDialog 2020-03-25 19:12:18 +02:00
itayc0hen
87b9741767 Use cmdRaw and cmdRawAt in NewFileDialog 2020-03-25 19:12:18 +02:00
itayc0hen
932318b407 Use cmdRaw and cmdRawAt in EditVariablesDialog 2020-03-25 19:12:18 +02:00
itayc0hen
07a5b4a748 Use cmdRaw and cmdRawAt in CommentsDialog 2020-03-25 19:12:18 +02:00
NIRMAL MANOJ C
5fb7fa5b99
fixed - a word not clearly was not clearly visible in preferences-debug (#2106) 2020-03-21 19:45:35 +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
NIRMAL MANOJ C
d12aae2ac0
Add scaling and background transparency options to graph export (#2089) 2020-03-09 22:59:03 +02:00
Itay Cohen
a327a33c3e
Add configuration description getter to improve Initial Analysis dialog (#2088)
* Implement configuration description getter

* Use helper function and remove trimming
2020-03-08 18:27:47 +02:00
Itay Cohen
c93681649b
Change column oreder in xrefs (#2068) 2020-02-28 10:37:07 +02:00
Florian Märkl
e38ff14bac
Add -B option for Base Address (#2074) 2020-02-27 20:12:49 +01:00
Itay Cohen
cf65c0304a
Fix themes in welcome dialog (#2043) 2020-02-01 15:06:45 +02:00
karliss
1ae78655fa
Simplify and move Plugin context menu gui code out of core. (#2039) 2020-01-31 11:13:28 +01:00
karliss
63ae6e665e
Make user plugin path in settings a link. (#2034)
Closes #1793
2020-01-25 21:26:41 +02:00
Itay Cohen
e3f7036de7
Improve default line-width values on graph (#2026) 2020-01-23 13:09:47 +02:00
Itay Cohen
1c39aa6d41 Add asm.flags.real to preferences and enable by default (#2014) 2020-01-21 11:00:38 +01:00
Florian Märkl
a9ed742cad
Update radare2 and fix Cutter for it (#2017) 2020-01-15 20:19:24 +01:00
karliss
b3776a6b73
Set zoom factor when opening appearance settings. (#2003) 2020-01-11 00:02:28 +02:00
Itay Cohen
653cefc2b1
set Style tab to default view (#1986) 2020-01-04 20:43:05 +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
int_13h
7fdd8117a9 added a ';' delimiter and responsive dialog box (#1983) 2020-01-02 10:03:04 +02:00
int_13h
12c1d2c5ab Show multiple instructions in edit->bytes dialog
closes #1940
2020-01-01 15:39:27 +02:00
Florian Märkl
58b44893f9
Add -F command line option to specify Format (#1946) 2019-12-19 13:59:15 +01:00
Properrr
78c6e651c8 Define string of length N in address (#1915)
* Implemented "setString" submenu for the Disasm widget
2019-12-18 16:26:51 +02:00
karliss
6b2433e986 Increase input field size when resizing NativeDebugDialog. (#1930) 2019-12-16 00:16:11 +02:00
yossizap
519cd5dabd Add debug dialogs (#1903) 2019-12-14 16:44:57 +02:00
itayc0hen
c15cac1cba Make labels selectable by mouse 2019-12-14 16:44:57 +02:00
itayc0hen
a02753f866 Auto-select text in EditInstructionDialog 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
karliss
55017f6ba0 Replace hardcoded system plugin directories with list from Qt. (#1814) 2019-12-12 08:35:25 +01:00
xarkes
9929694314
Added a temporary fix to allow backslashes names (#1899) 2019-12-08 08:08:44 +01:00
Florian Märkl
d0da81b592 Disable asm.lines and asm.bytes in XRefs Preview (Fix #1339) (#1893) 2019-11-30 12:39:23 +02:00
karliss
524b27fabb
Change focus order in SetToDataDialog. (#1873) 2019-11-05 00:16:00 +02:00
Florian Märkl
4906e2b80b
Call MainWindow::initUI in Constructor (#1872) 2019-11-04 17:40:54 +01:00
xarkes
cae07d15db Refactored qhelpers AbstractItemView item select (#1850) 2019-10-20 14:59:10 +03:00
xarkes
723c1ea33d Automatically select the first line of xref (#1849) 2019-10-19 14:18:58 +03:00
Sergei Z
f64972fda2 Show bytes has been renamed and moved (#1841)
* Show bytes has been renamed and moved
2019-10-14 14:24:32 +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
optizone
59161e633f Add search color option feature + sort color options by name (#1803) 2019-10-01 10:39:59 +03:00
Itay Cohen
2589e713fd
Improve about dialog (#1799)
* Improve about dialog
2019-09-30 14:33:24 +03:00
karliss
8287e426ba
Graph export without graphviz (#1773) 2019-09-19 08:19:50 +03:00
Óscar Carrasco
e7ead2e1b6 Fix "ta" commands after radare2 command refactoring #1774 (#1775)
* Fix "ta" commands after radare2 command refactoring #1774

* update radare2 submodule
2019-09-15 14:41:12 +03:00
xarkes
1d1e2af9c3
Fixed TypeWidget font to monospace. (#1755)
Also the tab width was set to 4 chars.
2019-09-07 16:26:25 +02:00
karliss
6fe473948b
Select highlighted variable in EditVariablesDialog if possible. (#1727) 2019-09-04 19:39:33 +03: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
karliss
468100c52d Don't interpret data as code in xrefs from table. (#1710) 2019-08-11 21:42:15 +03: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
xarkes
148c7aa9e9
Fixed file name display in new file dialog (#1675) 2019-07-31 13:21:01 +02:00
karliss
6c40191cce
Rewrite raise memory widget functionality (#1654)
* Seperate seek from seeking and changing focused widget.
* Change memory widget priorities
* Add Show in context menu
2019-07-19 22:21:12 +03:00
xarkes
b4f7f1a232 Added QtVersion inside AboutDialog 2019-07-18 22:24:32 +02:00
Adam Zambrzycki
d22769ee9c Unify preferences layouts (#1670)
* Unify preferences layout
2019-07-18 23:02:13 +03: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
fcasal
2ac1455642 Rename dialog text is now preselected (#1635) 2019-07-03 08:52:06 +02:00
Itay Cohen
4e0d899f68
fix asm.describe typo (#1629) 2019-06-29 19:38:43 +03: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
8138a43923 Disable modification buttons for builtin color themes (#1615) 2019-06-21 18:27:21 +03:00
Itay Cohen
5fb2c8ac6f
Implement Editing and Viewing of Types in the Types Widget (#1597)
* Implemet Edit and View for types
* Rename LoadNewTypes to TypesInteraction
2019-06-13 09:22:20 +03: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
optizone
31838a3a35 Basic Block Highlight (#1533) 2019-05-23 18:22:31 +02:00
Florian Märkl
b9ada358ad
Fix ColorThemeEditDialog.h Include Guard (#1563) 2019-05-19 23:21:42 +02:00
optizone
822034b392 Improve Color Theme Copy Feature (#1560) 2019-05-19 19:29:01 +02:00
karliss
1aabddc3f6 Make code compatible with QT 5.9 (#1553)
* Make code compatible with QT 5.9, Ubuntu 18.04.

* Fix high dpi scaling in ColorThemeListView.
2019-05-19 13:24:24 +03:00
Florian Märkl
db4dcb5964
Fix XrefsDialog Preview Font (#1548) 2019-05-17 14:19:47 +02:00
karliss
ff0f15605b
Fix io plugin listing. (#1544) 2019-05-17 10:09:10 +03:00
Philip Nelson
c95d6bd174 Added advanced options aao and avrr to the initial options dialog (#1513) 2019-05-10 19:47:08 +03:00
karliss
cda24bfc53
Seperate Widget showing grid of bytes from rest of the hexdump panel. (#1504)
* Seperate Widget showing grid of bytes from rest of the hexdump panel.
2019-05-10 14:15:57 +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
karliss
1d4bd7ee7f Show recent files ordered by opening time. (#1462) 2019-04-17 11:02:06 +03:00
optizone
fd4b4b623a Improve project choose page (#1451) 2019-04-16 11:31:02 +02:00
Florian Märkl
436c2ee89c
Fallback to current offset in LinkTypeDialog (#1458) 2019-04-15 13:14:46 +02:00
xarkes
5b0ef4c445 Removed max bbsize analysis option (#1424) 2019-04-14 12:36:13 +03:00
ncyellow
ae35ac9d08 Minor Header Optimizations (#1429)
1. remove unnecessary includes. compile optimization
2. add more const for getter functions
2019-04-06 14:04:55 +02:00
Paul I
5477054d5e
R2PluginsDialog: Sort plugins by name in ascending order (#1431) 2019-04-06 13:45:15 +03:00
Itay Cohen
158ed7a656
Make plugins path selectable and bold (#1422) 2019-04-04 22:30:27 +03: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
d0540d7655 Get color for optimization (#1404)
* small optimization function getColorFor
2019-03-30 09:13:01 +03:00
Florian Märkl
41af189312
Update radare2 and adapt Cutter (#1406)
* Update radare2 and adapt Cutter

* Fix QByteArray creation in CutterCore::assemble()
2019-03-29 18:11:41 +01: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