Commit Graph

1386 Commits

Author SHA1 Message Date
karliss
d49caae37b Fix Disassembly widget focus detection. (#1720) 2019-08-28 14:37:52 +02:00
Florian Märkl
13e18f77de
Refactor Decompiled Code Structure (#1717) 2019-08-27 17:27:39 +02:00
Florian Märkl
448350c83d
Fix Segfault after changing Decompiler (Fix #1705) (#1715) 2019-08-23 22:06:44 +02:00
karliss
0aa91c328c Common behaviour for lists with items that have address (#1700) 2019-08-19 15:35:25 +02:00
karliss
cd2dbc4a29 Restore cursor after making empty selection. (#1714) 2019-08-19 08:23:42 +03:00
karliss
f50fecc57b Add context menu entries for target address (#1712)
* Refactor "used here" logic.
* Add menu for showing instruction target.
2019-08-14 21:47:30 +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
d3f91a5ed6
Add context menu to PseudocodeWidget (#1702) 2019-08-07 14:38:22 +03:00
Florian Märkl
9c1f4e6a34
Use Graphviz as Target (#1701) 2019-08-04 00:13:21 +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
karliss
2f0c0ddc23 Graphviz based graph layout (#1691) 2019-08-03 15:10:44 +02:00
karliss
1fd06a26c5 Fix out of bounds memory access. (#1697) 2019-08-03 13:18:05 +03:00
xarkes
148c7aa9e9
Fixed file name display in new file dialog (#1675) 2019-07-31 13:21:01 +02:00
karliss
a5dc85c3c5
Graph edge highlight (#1693)
* Highlight edges to and from current block in graph.
2019-07-30 21:35:00 +03:00
karliss
64d0d6b00d Allow returning to top level in sdb widget. (#1696) 2019-07-29 07:56:23 +03:00
karliss
5dc5fe1cee
Fix memory leak in sdbListKeys. (#1695) 2019-07-29 00:42:25 +03:00
Florian Märkl
329a9b6da1
Update r2 and Fix for /c -> /a change (#1689) 2019-07-24 21:21:25 +02:00
Adam Zambrzycki
a6e03d4195 Fix ClassesWidget sorting by vtable offset (#1686)
* Fix ClassesWidget sorting by vtable offset
* Force showing base above methods
2019-07-24 09:14:14 +02:00
karliss
c2a7fd85a4
Transfer zoom events from overview to main graph. (#1685) 2019-07-22 22:28:11 +03:00
Florian Märkl
9dd3b2f2f3
Use bundled radare2 as ExternalProject in cmake (#1674) 2019-07-22 21:18:14 +02:00
Paul I
ae1c1a741c Add CUTTER_DEPS_DIR option 2019-07-21 16:09:07 +02:00
Florian Märkl
39a9266be1
Don't use scr.html in CommandTask (#1683) 2019-07-21 13:57:57 +02:00
karliss
239fde50be
Fix arrow offset when scrolling with arrows or zooming in. (#1677) 2019-07-20 16:10:49 +03: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
Jovany Leandro G.C
914b35e637 Update lib_radare2.pri
Override PREFIX= from command 'qmake PREFIX='
2019-07-19 10:16:13 +02: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
karliss
6ee6b41786 Use more specific stylesheet selecters. (#1668)
Prevents unintend application of style to internal subwidgets.
2019-07-18 09:05:29 +03:00
xarkes
f830fc17fb Updated DisasWidget zoom shortcuts
Now the shortcuts are consistent with the GraphView widget.
2019-07-17 09:23:14 +02:00
Florian Märkl
dee24b861d Remember last selected Decompiler 2019-07-17 09:08:26 +02:00
Florian Märkl
26dce4c7b9 Add Plugin Interface for Decompilers 2019-07-17 09:08:26 +02:00
xarkes
fc9bbe1432 Remove old radare2 configuration variable (#1665) 2019-07-16 20:34:10 +02:00
Kārlis Seņko
d78e43a403 Adjust arrow offset calculation. 2019-07-16 18:47:26 +02:00
Florian Märkl
4487564f7d
Add a generic Decompiler interface and remove pdc (#1659) 2019-07-15 14:08:44 +02:00
adikso
736d3e1f1d Add scrolling to DisassemblyWidget left panel 2019-07-15 09:13:17 +02:00
ITAYC0HEN
4b9a4ff2e2 Make penSizePix thinner 2019-07-13 10:54:37 +02:00
Unknown
77a7710daf Improve arrow widget 2019-07-13 10:54:37 +02:00
xarkes
33dca54176 First implementation of new disassembly widget 2019-07-13 10:54:37 +02:00
Itay Cohen
243b10adae Bump cutter to 1.8.4 (#1651) 2019-07-13 10:52:40 +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
c7d582f00a
Add Loading ~/.cutterrc (#1644) 2019-07-11 12:32:56 +02:00
Florian Märkl
78ff1459c9
Fix Qt 5.13 deprecations (#1641) 2019-07-09 20:55:07 +02:00
xarkes
68a864ee0a Fix r2dec detection (#1640) 2019-07-09 00:53:27 +03:00
Florian Märkl
a7a7bad6d9
Cleanup Remnants of Widget Actions (#1637) 2019-07-04 20:51:44 +02:00
fcasal
2ac1455642 Rename dialog text is now preselected (#1635) 2019-07-03 08:52:06 +02:00
Florian Märkl
2feb8d1280 Version 1.8.3 2019-07-01 22:26:38 +02:00
Itay Cohen
d8b53421cd Disable asm.movlea by default (#1630) 2019-06-30 11:48:25 +02:00
Itay Cohen
4e0d899f68
fix asm.describe typo (#1629) 2019-06-29 19:38:43 +03:00
karliss
552021c38d
Move graph header to GraphWidget. (#1628)
* prevents layout problems
* fix header change when doubleclicking in unsynchronized function
2019-06-29 09:28:35 +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
Itay Cohen
f712038de4 Case Insensitive ASM search + Update radare2 submodule (#1612) 2019-06-23 10:29:44 +02:00
optizone
8138a43923 Disable modification buttons for builtin color themes (#1615) 2019-06-21 18:27:21 +03:00
optizone
594896c06f Fix crash on theme edition (#1614) 2019-06-20 16:28:35 +02:00
Florian Märkl
6762f4c153
Fix Console Font for some Platform Themes (#1610) 2019-06-19 13:49:29 +02:00
karliss
dba42e7cd8 Don't raise unsynced widgets. (#1609) 2019-06-19 00:59:24 +02:00
Florian Märkl
c96c72a147 Remove Memory Widget Pointers and Toggle Actions 2019-06-18 20:24:17 +02:00
Florian Märkl
ede98df6ac Fix initial objectName for Memory Widgets 2019-06-18 20:24:17 +02:00
Florian Märkl
0c3b7e7f07 Fix saved unsync list 2019-06-18 20:24:17 +02:00
optizone
06aceaf9b1 Refactor Layout Save and Restore Feature (#1538)
#1515
2019-06-18 15:02:41 +02:00
karliss
bb80cbd862 Use correct character width for hexwidget (#1607) 2019-06-18 10:34:30 +02:00
Florian Märkl
e5370d171d
Fix def. Cutter specific Colors for Custom Themes (#1606) 2019-06-17 19:42:17 +02:00
karliss
69748d064c Improve hex selection painting and right click behavior. (#1602)
* Improve hex selection painting and right click behavior.

* Do not remove selection when right clicking outside selection
* Indicate active hex widget side by painting selection differently

* Add horizontal padding and indicate partial selection.
2019-06-17 15:13:34 +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
Itay Cohen
a3657f913b
Combine Set-As menu items (#1601) 2019-06-12 10:08:15 +03:00
Charles Ellis
d59ea03f87 Remove default Shiboken2 executable in qmake proj (#1600) 2019-06-11 09:57:20 +02:00
Itay Cohen
f9f8e90ac6
Improve Graph Overview Fill and node Colors (#1596) 2019-06-05 14:28:05 +03:00
Itay Cohen
c141eb34cc
Implement Seek to start/end of function Shortcuts (#1589)
* fix ctrl+'+' to zoom in`

* Add '^' and '$' shortcuts
2019-05-30 11:41:14 +03:00
Itay Cohen
53756f29d2
Sync hex.pairs eval to "Bytes as pairs" in Hexdump (#1586)
* Sync hex.pairs eval
2019-05-29 09:25:23 +03:00
rrockru
adf28e4362 Added natural registers sorting in RegistersWidget (#1591) 2019-05-27 10:55:09 +03:00
karliss
6c76c85c97 Fix memory leaks found by ASAN. (#1590) 2019-05-26 13:12:23 +03:00
Itay Cohen
14665cbe8a
make the shadow selection wider in hex (#1584) 2019-05-25 10:02:20 +03:00
optizone
31838a3a35 Basic Block Highlight (#1533) 2019-05-23 18:22:31 +02:00
karliss
214e6f4264 Hide duplicate and cross-function edges. (#1582) 2019-05-23 12:52:56 +02:00
karliss
75146d63f9 Update hex side panel only when visible. (#1578)
Fixes #1528
2019-05-23 12:44:28 +02:00
Itay Cohen
1e4f933733 Fix PNG iCCP errors (#1583) 2019-05-23 11:34:09 +02:00
karliss
9a42b3cdd2 Fix QToolbutton color and offset in light theme. (#1579) 2019-05-23 08:03:16 +03:00
karliss
63bf1864d0 Remove tab style modifications in native style sheet. (#1565) 2019-05-23 07:40:53 +03:00
Florian Märkl
a6f4ac2dd3
Lock Core in CutterCore::loadScript() (#1581) 2019-05-22 13:29:26 +02:00
Florian Märkl
5390a7d173
Bump to Version 1.8.2 (#1568) 2019-05-20 21:14:35 +02:00
Florian Märkl
c0b359cb65
Keep Console Font on Theme Change (#1567) 2019-05-20 21:06:25 +02:00
Florian Märkl
29aed93bc9
Remove vertical padding in QMenuBar in Light Theme (#1566) 2019-05-20 20:53:25 +02:00
Florian Märkl
3cef904843
Update r2 and fix r_free (#1564)
* Update radare2 to 3.5.1

* Use r_mem_free() instead of r_free()
2019-05-20 20:35:56 +02:00
karliss
15a4d37a1c Remove unnecesarry native theme modifications. (#1562) 2019-05-20 19:33:22 +02:00
Florian Märkl
b9ada358ad
Fix ColorThemeEditDialog.h Include Guard (#1563) 2019-05-19 23:21:42 +02:00
Florian Märkl
90f71085d7
Fix some Warnings (#1561) 2019-05-19 22:11:09 +02:00
optizone
822034b392 Improve Color Theme Copy Feature (#1560) 2019-05-19 19:29:01 +02:00
Florian Märkl
2012637922
Add Settings and Color Theme Versioning (#1557) 2019-05-19 17:34:06 +02:00
Florian Märkl
d32e3fa20f
Enable Console Completion only on Tab (#1558) 2019-05-19 16:24:06 +02:00
Florian Märkl
7e8eb9c393
Disable Up/Down in Console during Completion (#1554) 2019-05-19 14:45:49 +02:00
karliss
c0f4f458ed Take in to account selected instruction when moving view offset. (#1551) 2019-05-19 13:27:15 +03: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
051eb3aaf3
Save Console Wrap in QSettings (#1550) 2019-05-17 19:48:59 +02:00
Florian Märkl
2352477805
Fix HexWidget ShortcutContext (#1549)
Fixes Ctrl+C not working anywhere else.
2019-05-17 18:40:45 +02:00
Florian Märkl
db4dcb5964
Fix XrefsDialog Preview Font (#1548) 2019-05-17 14:19:47 +02:00
xarkes
2734ff026a Code cleanup (#1535) 2019-05-17 13:40:50 +02:00
Florian Märkl
ef22f20548
Fix non-integer Font Metrics in Graph (#1545) 2019-05-17 13:00:54 +02:00
karliss
ff0f15605b
Fix io plugin listing. (#1544) 2019-05-17 10:09:10 +03:00