Commit Graph

1216 Commits

Author SHA1 Message Date
Vanellope
b25afecc2c Graph Overview (#1120)
Added a Graph Overview
2019-01-24 18:13:04 +01:00
Florian Märkl
fc534df099
Fix CutterCore::getAllRelocs() for RBTree (#1135)
* Fix CutterCore::getAllRelocs() for RBTree

* Update r2 submodule for RBTree C++ fix
2019-01-22 16:35:44 +01:00
xarkes
2d2d4d3346 Release bump 2019-01-21 22:29:42 +01:00
xarkes
f18a22f81d
Fixed about dialog text (#1126) 2019-01-21 22:26:22 +01:00
a1ext
73cf41b81e Translations deployment for MAC & Linux has fixed (#1119)
* Translations load refactoring

* Translations: Added MAC support

* Translations: fixed getting of translation folders

* Fixed code style, documented some methods
2019-01-20 19:00:23 +02:00
Itay Cohen
04ed78444d Fix overlap qlabel and icon in WelcomeDialog (#1123) 2019-01-20 13:14:19 +01:00
Florian Märkl
f917921d49
Fix r2 injection in FunctionsWidget tooltip (#1122) 2019-01-20 12:51:02 +01:00
Florian Märkl
d74d30e10f
Fix CutterSeekable isSynchronized() and signal on de-syncing (#1121)
Also fixes incorrect "(unsynced)" in the graph widget's title.
2019-01-20 12:19:51 +01:00
xarkes
5a97fd496e
Updated translations module (#1118) 2019-01-19 22:16:50 +01:00
Itay Cohen
0fb8a91105 Implement Welcome Dialog (#1116) 2019-01-19 21:54:02 +01:00
xarkes
25b8243f8f Improved xref widget performances (#1112)
* Improved xref widget performances

Removed call to afij that could be very slow.

* Deleted destructor definition

It is bydefault defined in QObject derived
classes so since it's empty we should better ommit it

* Use pd-- and readd destructor
2019-01-16 13:50:27 +02:00
Paul I
00c0994fb5 Replace R_FREE() with r_mem_free() 2019-01-16 12:13:00 +01:00
xarkes
fdf619a762 Moved CutterSeekable to common directory
It used to be in widgets for no reason, it is
just a regular class that is commonly used by some
widgets.
2019-01-15 08:21:35 +01:00
Paul I
c9d5fee987 Add USE_LIB_MAGIC check 2019-01-15 08:21:03 +01:00
a1ext
1a748903e4 Fixed DisassemblyWidget's eventFilter crash (#1111)
* Fixed DisassemblyWidget's eventFilter crash (usage of a non-initialized member before assignment)

* Alignment fix, just to trigger appveyor build
2019-01-15 08:48:30 +02:00
xarkes
3c27c62b2d Fix Graph refresh 2019-01-14 18:50:20 +01:00
xarkes
b27cd39ddc Added RefreshDeferrer to emulation widgets 2019-01-14 18:50:20 +01:00
xarkes
c345981af9 Readded more widgets 2019-01-14 18:50:20 +01:00
xarkes
06da378362 Readded SectionWidget with RefreshDeferrer 2019-01-14 18:50:20 +01:00
Florian Märkl
0ebe1cf728 Fix some minor issues and leaks 2019-01-14 18:50:20 +01:00
Florian Märkl
bbd5ad6b38 Document RefreshDeferrer 2019-01-14 18:50:20 +01:00
Florian Märkl
9ef971263f Fix DisassemblyWidget refreshing 2019-01-14 18:50:20 +01:00
Florian Märkl
d651a0d8be Add createReplacingRefreshDeferrer for convenience 2019-01-14 18:50:20 +01:00
Florian Märkl
b8c92a460d Add RefreshDeferrer 2019-01-14 18:50:20 +01:00
Florian Märkl
3728f977a2 Split isVisibleToUser and refreshing in Dock Widgets 2019-01-14 18:50:20 +01:00
xarkes
f4c720cffa WIP First PoC to draw only visible after seek 2019-01-14 18:50:20 +01:00
fcasal
7f80f96c55 Fixes #1050 (#1107) 2019-01-14 09:17:10 +01:00
Adam Zambrzycki
d05fdd3d44 Add 'Copy' context menu option to graph view (#1097) 2019-01-14 09:16:10 +01:00
xarkes
b0bb1f0610
Fixed many warnings in DisassemblerGraphView (#1103)
Most of them were qreal to integer precision
loss, so I added static_cast to remove the
warnings.
2019-01-13 15:40:37 +01:00
xarkes
f385cf26d5 Refactored CutterSeekableWidget to CutterSeekable (#1099)
This commit refactors the CutterSeekableWidget class
and adds some documentation.
2019-01-13 16:20:07 +02:00
Itay Cohen
bdc684769f
Enforce LTR layout (#1102) 2019-01-12 21:44:23 +02:00
Paul I
c378c7d6f3 Add missing #ifdef checks (#1096) 2019-01-12 16:43:51 +01:00
Itay Cohen
3666c97178 Highlight program counter in Navbar widget (#1095)
Highlight program counter in navbar and add navbar cursor
colors to native theme configuration.
2019-01-12 10:02:07 +01:00
Florian Märkl
f189fb423c
Remove Fallback for afcf in Graph Header (#1090)
since afcf now works for all functions in r2 this is not needed anymore and will greatly improve performance
2019-01-10 15:49:31 +01:00
Paul I
8d92f92025 Wrap Python API 2019-01-09 19:24:37 +01:00
a1ext
9aec148218 FunctionsWidget: tooltip data retrieving optimized (print limited number of instructions instead of printing the whole function) (#1088) 2019-01-09 07:45:07 +02:00
a1ext
78fe3eb3c1 Removed useless information from tooltip and removed very slow data retrieving with afij (#1087)
Now tooltip will show Disasm Preview and Highlights
2019-01-08 14:23:17 +02:00
Vanellope
975fd77116 Adjust size of each section in the address maps of Section Widget (#1086) 2019-01-07 12:43:44 +02:00
Itay Cohen
2ccf58f0a6
Improve XREF window size and locations (#1049) 2019-01-02 21:58:02 +02:00
Itay Cohen
4505d187c4
Set Analysis configuration before executing Analysis commands (#1048)
* Set analysis configurations defined by the user before executing the
analysis commands (fixes #1047)

* Remove (probably) unnecessary lines which reset settings determined by
the user
2019-01-02 15:40:46 +02:00
Vanellope
8e76a9aca5 Click and Seek implemented for the address maps in the Section Widget (#1046)
* Touch and Seek implemented, not yet refactoring

* Done
2018-12-30 17:13:27 +01:00
Itay Cohen
42149f826c
Make Plugin window bigger for readability (#1044) 2018-12-28 09:31:15 +01:00
xarkes
6a5804f3d5 Set default IO to file:// (#1042) 2018-12-27 23:26:59 +01:00
xarkes
63e0d0b779
Cutter 1.7.3 release 2018-12-26 13:00:18 +01:00
xarkes
3e922a89e7
Added release script and appdata.xml (#1028) 2018-12-26 11:52:25 +01:00
Florian Märkl
9a3844f5d1 Kill SidebarWidget 2018-12-25 00:08:19 +01:00
Florian Märkl
8241b09e80 Fix Logo Color for Dark Theme 2018-12-24 17:05:30 +01:00
Florian Märkl
97cacd15f4 Fix Graph Refreshing 2018-12-24 13:49:17 +01:00
Florian Märkl
ae7bac506f Make Console Execute Button consistent with ToolBar 2018-12-21 22:24:52 +01:00
Florian Märkl
6a667790be Set highlightPC for native dark 2018-12-21 22:24:52 +01:00
Florian Märkl
2ffcccd41e Make DebugToolbar into DebugActions 2018-12-21 22:24:52 +01:00
Florian Märkl
55f634dbf1 Disable NSRequiresAquaSystemAppearance 2018-12-21 22:24:52 +01:00
Florian Märkl
350825849b Automatically switch colors if Native Theme is Dark 2018-12-21 22:24:52 +01:00
Florian Märkl
e57c2fb941 Add Dark Native Colors 2018-12-21 22:24:52 +01:00
Florian Märkl
99b1fde47d Cleanup EditVariablesDialog (#1007)
Originally SetFunctionVarTypes
2018-12-19 09:39:23 +01:00
Itay Cohen
c8d8e667fb Right click -> Select block in hexdump widget (#1006)
* jamieb22 modifications and some sanity checks
* improve warning color
* Fix writeable hexdump
* more sanity checks
2018-12-18 18:26:38 +01:00
Itay Cohen
ea5dc6e594
Improve highlight colors (#1003) 2018-12-16 09:07:25 +02:00
Itay Cohen
ab42756729
Fix SIGSEGV on Sections widget (#1004) 2018-12-16 09:06:17 +02:00
Vanellope
16ad5c9220 Only one close button should be shown for PE-Bear thingy. (#993)
* Only one close button should be shown for the AddrMaps in the Section Widget
2018-12-13 13:24:56 +01:00
nullableVoidPtr
984681700b Fixed build.sh constantly updating r2 and added *BSD support (#994)
* Fixed build.sh constantly updating r2 and added *BSD support
2018-12-13 13:23:03 +01:00
Itay Cohen
4026ea11a1 Fix out of bounds crash in Theme selector (#998)
* Fix out of bounds crash in Theme selectors
2018-12-12 18:10:29 +01:00
Itay Cohen
ed621e55a8 Closing #929 | Color functions at offset 0x00 in the Imports widget (#992)
* Color function at offset 0. Closing #929
2018-12-11 19:23:01 +01:00
xarkes
7ce1790fcf
Fix meson version to 0.48.2; updated Qt to 5.10.1 (#996) 2018-12-11 19:22:45 +01:00
a1ext
636057bd53 MAC Build: new package UI design (thanks to @ITAYC0HEN) (#986)
* MAC Build: new package UI design (thanks to @ITAYC0HEN)

* MAC Build: fixed path bar absence
2018-12-04 07:38:16 +02:00
Itay Cohen
efc15cd24a
add context menu seperator (#982) 2018-12-03 17:16:17 +02:00
Itay Cohen
33339a00df
improve selection colors (#976) 2018-12-03 13:45:49 +02:00
Paul I
3fa101d9ee StringsWidget: add shortcuts for QuickFilter (#973) 2018-11-29 23:59:34 +02:00
a1ext
48c34699af Fixes #965 - Fail to duplicate color theme on windows. (#970)
Fixes bug with color change
Performed small refactoring of AppearanceOptionsWidget, ColorSchemeFileSaver
2018-11-29 09:39:58 +02:00
a1ext
200a6949d2 Fixed Dashboard file name displaying: due to utf8 json serialization in radare2 has been fixed, we don't need encoding kludge anymore (#969) 2018-11-28 22:15:53 +01:00
Paul I
3096d24998 [WIP] Some cleanup (#958)
* Some cleanup

* Some more

* Some more

* Some more
2018-11-27 00:34:34 +02:00
fcasal
33d16dda3e Add xref shortcut to Strings Widget (#858) 2018-11-26 19:54:39 +01:00
Vanellope
26d985c9dc Toggle the address maps in the Section Widget (#959)
* Toggle the addr maps in the Section Widget

* Icon transform done.

* Refactoring
2018-11-26 13:09:35 +02:00
a1ext
379567e80c MAC Build: fixed problem when you cannot open Cutter on MacOS due to missing Frameworks (#957) 2018-11-23 17:36:43 +01:00
Vanellope
58fcd70fd2 Centerize the indicator in the address maps in the Section Widget when seek changed (#956) 2018-11-23 09:21:49 +02:00
Vanellope
b606ece545 Fixed Section Widget PE-Bear like (#955) 2018-11-22 10:49:38 +02:00
a1ext
3fb67c9eac Fixes #950 (#951)
`tr` evaluates at the early start even before `QCoreApplication` is instantiated and appropriate translators are set
related with commit a92fc9b
2018-11-21 07:42:37 +01:00
Levente Polyak
350375afce workaround jupyter exception accessing out of bounds argv (#949)
Under certain circumstances the internal argument parser tries
to determine the program name via sys.arv[0], however the way
we run Cutter and the jupyter integration does not guarantee
that argv is set at all, leading to an exception which avoids
a proper startup.
2018-11-20 22:17:30 +02:00
Paul I
30e6498a2c JSON parsing optimization: use static QLatin1String as keys (#947) 2018-11-20 08:45:42 +01:00
Sajjad Pourali
5dd15f821c Fix build error in MacOS with clang (#946) 2018-11-19 08:45:04 +01:00
Paul I
54022a19db Add section comboBox to StringsWidget (#938) 2018-11-17 20:17:16 +01:00
ICEBERG98
1bd7e13192 Fix issue #935 (#941)
* Add Documentation To Headers

* Add refresh after import PDB

* fixed previous error at Line 889 in MainWindow.cpp
2018-11-17 12:10:44 +02:00
Itay Cohen
b17656632c
Implement Set As String (#940) 2018-11-16 23:27:07 +02:00
Florian Märkl
a3188ed028 Properly handle Task Deletion #703 2018-11-12 16:37:33 +01:00
Vanellope
54ea5f014e PE-Bear like interface is supported in the Section Widget (#916)
* basic layout prototyping done

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Initial commit for the current seek point indicator

* WIP

* A bit of refactoring

* Indicator moves along with the ratio of the address in the section

* Done with this feature for now. Need to fix redrawing the graph issue

* Prevent the duplicated drawings of the items on the graphics scene

* Quite a bit of refactoring

* Refactoring done.

* Add Header

* Added a bit more features and also some refactoring

* Everything should be done now for the comments

* Indicator should move along with the seeks
2018-11-12 10:22:28 +02:00
optizone8
5a62bd6dc7 relevant themes(#816) and delete improvement (#846)
* change constants to enum

* code improvements

* remove redundant lambda usage

* add themes

* bug fix

* bug fix 2

* first start bug fix

* big refactoring

* merge conflict fixes

* removes debug information
2018-11-11 14:11:50 +02:00
Florian Märkl
bd82f2cf45 Update Seek from ConsoleWidget only if it has changed 2018-11-11 12:35:20 +01:00
Florian Märkl
5a03a07e1b Simplify SidebarWidget::setFcnName() to not use S 2018-11-11 12:16:27 +01:00
Paul I
87026dfe28 Bundle r2dec on Appveyor (#913)
Thanks :)
2018-11-10 13:10:26 +01:00
Duck Deux
b01de2d724 Allow multi selection of entries in QTreeView widgets (#903) 2018-11-10 10:17:52 +01:00
xarkes
a92fc9b83e
Changed not synced to unsynced (#911) 2018-11-08 23:20:49 +01:00
xarkes
ab133706f5
Fixed MacOS start script (#909) 2018-11-06 15:49:14 +01:00
xarkes
b1e9db15fc
Various code cleaning (#907) 2018-11-05 22:51:27 +01:00
fcasal
55728e12b8 Update seek after console tasks finishes (#883) 2018-11-04 16:48:02 +01:00
dmknght
af9c5be37e Correct "Rename function" in menu (#904) 2018-11-03 17:00:19 +01:00
a1ext
313e8b17cd Fix of commit dd4a566408 (#901)
Problem was that QSetting were initialized before application/organization name is set
2018-11-02 18:49:15 +02:00
a1ext
84b70215ce DisassemblyWidget: fixed extra characters highlighting (#899) 2018-11-02 10:34:15 +01:00
a1ext
b95620907a Related to #865 issue (#900)
Wrong path separators have been used. The fix makes them consistent and correspond the Operating System.
2018-11-02 08:48:17 +02:00
xarkes
3f76ee000c
Code cleaning (#898) 2018-11-01 23:23:01 +01:00
Adam Zambrzycki
4434e146bf Fix highlight stick out fix (#896) 2018-11-01 18:00:19 +02:00
xarkes
8ff2a88199
Added translations submodule (#895)
* Added translations module

* Updated translation files and submodule
2018-10-31 19:10:31 +01:00
optizone8
dd4a566408 Added translations (#848) 2018-10-31 17:07:52 +01:00
Itay Cohen
ec254b1d24
Fix tabs max-width (#893) 2018-10-31 14:48:49 +02:00
a1ext
ce66fe98b0 Windows&Unicode - build scripts. Fixes #589 (#890)
* Fixes #589
Build scripts were updated
Fixed utf8 file path displaying in Dashboard widget

* Fixed meson build
2018-10-30 15:02:01 +01:00
xarkes
1387ea40e9
Fixed some tr call messages to ease translation (#886) 2018-10-30 08:42:43 +01:00
Adam Zambrzycki
e219b8daba Fix sticking out highlighting on graph (#881) 2018-10-27 18:36:14 +02:00
Adam Zambrzycki
ca1fb52bb7 Add try again option for write error dialog (#880)
* Add try again option for write error dialog
2018-10-27 17:55:22 +02:00
xarkes
cf43ac9d90
Typos, translations, and style fixing (#879) 2018-10-25 23:22:34 +02:00
Florian Märkl
d51a674d5d Temporarily disable macOS Mojave Dark Mode in Info.plist (Fix #772) (#878) 2018-10-25 23:02:35 +02:00
Itay Cohen
3706f13f0a Use constants cbegin and cend (#876) 2018-10-24 12:05:36 +02:00
Itay Cohen
02ce3cb731 Implement the "Search in" feature (#873) 2018-10-23 23:08:02 +02:00
Itay Cohen
08107fdc67 make text in About Dialog selectable (#871) 2018-10-23 09:09:56 +02:00
Rune Tynan
3400314cd2 Change edit dialog to allow no preview (#869)
* Change edit dialog to allow no preview

* AStyle fixes

* More style fixes, forgot some files
2018-10-23 08:06:26 +03:00
Paul
528adf429a Fix segfault in EditFunctionMenu (#868) 2018-10-23 00:31:50 +02:00
Michael Wiarda
f0fc9fc5e3 Disable the debug window menu outside Debug/Emulation mode (resolves #859) (#860)
The debug windows menu is now grayed out if not in Debug/Emulation mode.
2018-10-22 20:06:30 +02:00
Paul
899d64c6f8 Edit Function Menu/Dialog (#528) (#765)
* button added, dialog todo

* WIP EditFunctionDialog

* dialog retrieving function parameters, but not yet setting them

* minor fixups, ok button not working

* wire everything up and add calling convention selection

* fixup Cutter.pro
2018-10-22 12:16:55 +03:00
Ankur Saini
04148a6834 Minor Changes to Hexdump Widget (#863)
* Minor Changes to Hexdump Widget

* Some changes to side view

* Minor change to placeholder text
2018-10-21 20:07:02 +03:00
Florian Märkl
4167b3828f Fix exit() calls in CutterApplication constructor 2018-10-21 19:03:47 +02:00
tushar khurana
3347104cf1 Enable colors for ConsoleWidget (#823) 2018-10-21 16:53:38 +02:00
Vanellope
ac64bbface Segments implemented (#851)
* Segments implemented

* Not util anymore but common

* Fixed the strings to be shown as the headers better

* Quick Filter functionality is supported on both Section and Segment Widget

* QuickFilter should basically be on but for some widgets, they should be off
2018-10-20 21:20:06 +03:00
xarkes
d3572b9eb5
Updated Appstream metadata file and desktop name (#854) 2018-10-20 10:10:00 +02:00
xarkes
989555872e
Changed Cutter.sh to Cutter for macos (Fixes #787) (#853)
* Changed Cutter.sh to Cutter for macos (Fixes #787)
2018-10-19 01:36:31 +02:00
Ankur Saini
d5513c66dc Added Close and Reopen button to HexWidget SideView (#852) 2018-10-18 21:36:46 +02:00
Florian Märkl
d4a77d9c97 Rename src/utils to src/common 2018-10-17 15:24:56 +02:00
Florian Märkl
a13a620017 Clean up some unused things 2018-10-17 09:47:47 +02:00
Itay Cohen
0567114b09
Bye bye "General Settings", welcome "Appearance" (#837)
* Bye bye "General Settings", welcome "Appearance"

* Fix Windows header

* fix typo
2018-10-17 10:30:56 +03:00
Vanellope
842dda45bd Adding a header to the DisassemblyWidget to show the function prototype (#771)
* Adding a header to the DisassemblyWidget to show the function prototype

* Moving the afcf headerLabel functionality to the GraphWidget

* In middle of implementation

* In middle

* syntax highlighter added

* Implementation done.

* Fixed the changes that were not necessary.
2018-10-16 17:49:26 +03:00
icebp
4b454e086e create keyboard shortcuts for widgets (solve #733) (#819)
* Add shift-F12 shortcut for strings widget.

* change strings shortcut to use global map

* add Shift-I shortcut for Imports

* add Shift-E shortcut for Exports

* add Shift-G shortcut for Graph view

* add widgets shortcuts map file

* update widget checkboxes when using shortcuts
2018-10-16 09:25:09 +03:00
Itay Cohen
25b4301906
Minor fixes to function-widget's tooltip (#836) 2018-10-16 09:20:44 +03:00
a1ext
9118deebf3 Fixed #807 - Function summary displaying in tooltip (#831)
* Fixed #807 - Function summary displaying has bad disasm preview formatting (-monospace font)

* FunctionsWidget: tooltip has made less transparent, hardcoded constants utilization refactored, replaced raw command with json'ed one, added some space between paragraphs in tooltip (thanks to @ITAYC0HEN's advice)
2018-10-15 21:54:52 +02:00
Ankur Saini
3dc71c90d2 Added Context Menu to Strings Widget (#817)
* Added Context Menu to Strigns Widget

* Fixed slot getting called twice without Qt::UniqueConnection
2018-10-15 11:06:15 +02:00
a1ext
781235ba87 Fixed #795 (#829)
Thanks! Resolves #795
2018-10-15 07:11:47 +03:00
Adam Zambrzycki
4dda930410 Fix non-mono font token highlighting on graph (#825) 2018-10-14 17:44:49 +02:00
a1ext
ff4bbb9aa0 Fixed commit c8f02fd - logic bug with close window flag (#826) 2018-10-14 17:43:15 +02:00
Florian Märkl
bd600ee737 Remove isForbidden() 2018-10-13 19:06:26 +02:00
optizone8
2105b1fba2 improve option desctiption displaying (#814) 2018-10-12 15:23:37 +02:00
Florian Märkl
a9c09339cf Fix Command Line Args when skipping InitialOptionsDialog 2018-10-12 13:24:08 +02:00
Florian Märkl
705735c150 Update r2 submodule with ptrace-wrap 2018-10-12 13:15:16 +02:00
Florian Märkl
d625681391 Fix standardR2ThemesLocationPath 2018-10-12 12:52:18 +02:00
Florian Märkl
a73492a718 Fix asm.var.sub* fetching in AsmOptionsWidget 2018-10-12 11:02:28 +02:00
a1ext
ea1080f412 [Fix] Fixed issue #805 - wrong handling of Close button in Save Project dialog which had a Discard meaning (#806) 2018-10-12 10:08:04 +03:00
NieGrzegorz
ac4beedbd7 Don't show the "Load Options" dialog when choosing "Don't open any file" (#800)
* Don't show the "Load Options" dialog when choosing "Don't open any file" #712

* Load option only if skipOptionsDialog flag isn't set
2018-10-11 16:04:57 +03:00
Ankur Saini
7c37d3413f Fixed an extra empty row inside Vertical View in Function Widget (#797)
* Fixed an extra empty row inside Vertical View in Function Widget

* Should use full column name inside Vertical view
2018-10-11 15:05:47 +03:00
optizone8
8bf4058499 runtime crash fix (#799)
* folders mess fix

* improvements

* remove dot and dotdot from search list

* array bound check
2018-10-11 14:35:59 +03:00
Vanellope
c18912b74c Indicator that tells a command is being executed is implemented. (#789)
* Indicator that tells a command is being executed is implemented.
2018-10-10 20:09:07 +02:00
smhaziq
7c7cb4083c Add status bar and display items count (#779)
* Add status bar and display items count
2018-10-10 14:34:46 +02:00
Paul I
8d3e8a65e1 Remove useless begin-/end-ReloadModel methods (#793) 2018-10-10 13:33:55 +02:00
optizone8
cd4b86fa69 WIP: Color scheme feature (#709)
* shiny commit
* removes extra displaying of custom schemes
2018-10-10 11:37:24 +02:00
Ankur Saini
b298ce8325 Added extra function information to function widget (#788)
* Added Extra Information to Functions Widget
* Sorting enabled through recently added columns in Functions Widget
2018-10-10 08:41:16 +02:00
a1ext
6398df6880 [NewFileDialog] filling recent projects list at startup has been added (#785) 2018-10-09 12:18:59 +03:00
Vanellope
116ffddb6a Remove an inappropriate line (#775)
* Remove a dispensable function
* fix for a comment
2018-10-09 01:04:18 +02:00
xarkes
25e45c8ca2
Changed default theme to Cutter (#780) 2018-10-08 09:20:46 +02:00
xarkes
c9db0c47f6
Bump version (2) (#778) 2018-10-07 23:33:01 +02:00
xarkes
b3aca0810b
Version bump (#777) 2018-10-07 22:45:47 +02:00
xarkes
a98354f402
Hide debug plugins IO (#767) 2018-10-05 18:42:54 +02:00
Itay Cohen
005fd53193
fix redundent code (#763) 2018-10-04 18:33:19 +03:00
Itay Cohen
d3766fab12 Improve icon sizes and colors (#762) 2018-10-04 14:37:12 +01:00
smhaziq
d0b5f135b2 Fix Ctrl-F in Flag widget (#759)
* Fixed Ctrl-F in Flags widget
2018-10-04 09:51:22 +02:00
fcasal
dfa803966c Add colors to debug toolbar and string translation (#758)
* Added colors to debug toolbar icons

* Translate debug toolbar strings
2018-10-04 09:15:27 +03:00
mandlebro
d96150528d Debug toolbar update 2018-10-03 22:16:57 +02:00
mandlebro
bc72c53d01 Removed dr from debug start 2018-10-03 22:16:57 +02:00
mandlebro
0562c377fb Enable asm.flags in emulation 2018-10-03 22:16:57 +02:00
mandlebro
ad9d3ccb5f Enable continue in emulation 2018-10-03 22:16:57 +02:00
fcasal
cb173aa616 Attach update (#603)
* Handle process detaching
* List procs wth current filename in separate table;
* Refresh proc list every second
* Fixed restarting debug executable check
* Update r2
* Added option to break esil execution on invalid instructions (#597)
* Added continue until call in esil
* Remove set registers button
* Reordered backtrace widget columns
2018-10-03 22:16:57 +02:00
fcasal
08245a8694 Adds step out funcionality (#598)
* Added step out functionality to toolbar and its shortcut
* Remove step out button when emulating
2018-10-03 22:16:57 +02:00
jamieb122
be4144babe afvn/afvt support via context menu (#708)
* Added ability to re-type local vars in Dissassembly Widget.  Can re-type to any loaded structs, types or enums
* afvn support via context menu
2018-10-03 22:10:53 +02:00
Florian Märkl
0e4930c603
Fix macOS builds and disable QtWebEngine for builds (Fix #689, Fix #629) (#748)
* Fix Info.plist and disable QtWebEngine for builds

* Add CFBundleShortVersionString to Info.plist
2018-10-02 12:54:23 +02:00
xarkes
ec815195cf
Astyle pass (cleaning) (#739) 2018-09-30 22:00:53 +02:00
xarkes
0aace76065
Make default mode being zen (#732)
* Make default mode being zen
* Added imports widgets
* Make dashboard default
2018-09-30 22:00:44 +02:00
xarkes
c3d029e5aa
Keep graph priority if the graph is empty (#734) 2018-09-30 19:46:36 +02:00
xarkes
484cc63214
Disabled QtWebEngine by default. (#728) 2018-09-28 09:40:55 +02:00
Itay Cohen
91a5d9a6d6
add Filename to Title (#726) 2018-09-27 14:16:07 +03:00
Itay Cohen
50e786cbf0
fix editable hex widget (#725) 2018-09-27 12:56:03 +03:00
xarkes
d6a39b127b
Temporary fix for #703 (#724) 2018-09-27 10:24:47 +02:00
Itay Cohen
23757da471 Fix Drag and Drop issue at Windows (#723) 2018-09-27 09:50:06 +02:00
Itay Cohen
95f4d0fbc4
RefreshAll after executing an r2 script (#722) 2018-09-26 22:05:32 +03:00
xarkes
4e71b61a8b
Do not delete running tasks (#721) 2018-09-26 15:48:57 +02:00
fcasal
ce54e4ea8f Remove unneeded menu (#720) 2018-09-26 14:43:37 +02:00
Florian Märkl
96bf32b86a Fix CutterCore::loadScript() for sleeping 2018-09-23 21:58:02 +02:00
Florian Märkl
5c52991cd8 Update r2 and use R_PERM flags 2018-09-22 19:05:54 +02:00
Adam Zambrzycki
6fe3681871 Fix instruction preview dialog (#714) 2018-09-21 23:44:14 +02:00
Florian Märkl
f6955e4eab Fix Jump Tables (Fix #574) 2018-09-20 16:50:54 +02:00
Florian Märkl
4a3435f2bf Add Qt Network to CMake 2018-09-17 15:13:13 +02:00
Vasco Franco
387138908b Write operation failure dialog (#695)
* Write operation failure dialog
* Option to reopen the file in write mode after write failure
2018-09-14 19:20:54 +02:00
optizone8
a40c1ce4bf Add update check(#684) (#704)
* Add update check(#684)
2018-09-13 08:32:14 +02:00
Florian Märkl
6f85616538 Better xref address descriptions 2018-09-11 11:59:28 +02:00
Rune Tynan
a6a8d5a760 Add instruction preview to the bytes edit dialog (#696) 2018-09-09 19:55:13 +02:00
Florian Märkl
e3896dd01f Fix #400 - Support r2dec 2018-09-08 09:32:40 +02:00
Vasco-jofra
f7d1ce8771 fix segfault when pressing f or t in graph mode without a defined func 2018-09-08 09:13:20 +02:00
Vasco Franco
9501ecf38c update offset at startup (#681) 2018-09-06 19:32:12 +02:00
Paul I
ebc9b3e8bb Use RC_ICONS for icon (#677) 2018-09-06 09:26:19 +02:00
xarkes
2e97d3fa5a
Added icon for Windows (Fix #670) (#674)
* Added icon for Windows

* Fix resource file
2018-09-05 18:53:57 +02:00
fcasal
95a7d5f210 Fix #252 - select all lines with the selected offset (#673) 2018-09-05 14:47:09 +02:00
xarkes
66dcaea5bb
Initialize python home before calling any python primitive (#672) 2018-09-05 08:27:33 +02:00
xarkes
c6260b5dcb
Rename macro for travis (#671) 2018-09-05 07:46:40 +02:00
fcasal
590f9fb7b9 Add objectName to Sections widget 2018-09-02 11:23:28 +02:00
Paul I
ef0cb8074e Restore menus for MainWindow 2018-09-01 18:23:02 +02:00
Paul I
ebce2f1ac0 Kill PieChart (#661)
Kill PieChart (Fix #653)
2018-08-27 13:19:30 +02:00
Paul I
f5edf6f213 Add Core()->message() (#658)
* Add Core()->message()

* Remove MainWindows::addOutput

* Use qDebug() for debug messages

* Add message() to PythonApi

* MainWindow: Replace Core() calls
2018-08-27 13:16:48 +02:00
Florian Märkl
239a4bb620
CutterConfig.h (#663)
* Configure CutterConfig.h

* Configure CutterConfig.h in cmake

* Configure CutterConfig.h with meson
2018-08-26 20:37:11 +02:00
Florian Märkl
f3dba964d2 Use qtmaind.lib for debug builds with meson on Windows 2018-08-26 15:24:19 +02:00
Paul I
c6787fd58d Export graph as SVG, PDF, PNG... Fix #242
Export graph as SVG, PDF, PNG... Fix #242
2018-08-25 20:54:23 +02:00
Florian Märkl
ec2807a897 Fix Companion Script 2018-08-25 13:51:50 +02:00
Florian Märkl
d510897ad1 Version 1.7.1 2018-08-25 12:53:09 +02:00
Paul I
5342651e67 Add 'Export as code' feature (#657) 2018-08-25 00:36:15 +02:00
xarkes
9316ff8e92
Fixed #643 empty strings panel (#655) 2018-08-24 18:06:07 +02:00
xarkes
c2fb4ad2fe
Updated radare2 submodule (#652) 2018-08-23 18:44:26 +02:00
Zlatan
4782ac0945 Specify require for QT (#646)
Just a line of code to bloc people when he tries to compile with QT4.
2018-08-20 17:27:35 +02:00
Florian Märkl
49632b2ee4 Don't use native macOS Font Dialog (Fixes #630) 2018-08-20 14:47:28 +02:00
Florian Märkl
f92fb71b0e Make af from DisassemblyContextMenu more meaningful 2018-08-18 21:55:30 +02:00
Florian Märkl
08e55827b7 Fix Default Anal Level 2018-08-18 21:19:53 +02:00
Itay Cohen
57d801612a
fixing graphOptions layout (#640) 2018-08-18 20:13:47 +03:00
Florian Märkl
bab57dea4d Add -i Command Line Arg 2018-08-18 18:34:58 +02:00
Florian Märkl
23e2d5fa9f Use InitialOptions right from the start 2018-08-18 18:34:58 +02:00
Florian Märkl
c2a0de2b31 Rename OptionsDialog to InitialOptionsDialog
And move InitialOptions to InitialOptions.h
2018-08-18 18:34:58 +02:00
Itay Cohen
67019bc892
Navbar color improvements (#628) 2018-08-18 09:07:54 +03:00
Florian Märkl
f4ebd72301 Version 1.7 2018-08-17 19:50:10 +02:00
Itay Cohen
0bdda99596
Fixing #625 - EditInstruction ignores reject() (#626)
* fix #625
2018-08-17 17:34:11 +03:00
Adam Zambrzycki
336c20a955 Graph highlighting (#624)
* Add saving instruction plaintext
* Add graph highlighting
* Remove HighlightToken
2018-08-16 16:05:48 +02:00
Paul I
bb3ff2dc54 Fix #619 (#623) 2018-08-15 23:31:01 +02:00
Florian Märkl
b9436683d5 Fix OptionsDialog initialization warning 2018-08-15 20:09:15 +02:00
Adam Zambrzycki
0c7b8f09be Fix disassembly colors (#617)
* Fix loading colors from radare
2018-08-15 10:45:15 +02:00
xarkes
f98a175c5c
Set bits for analysis after loading the binary (#618) 2018-08-14 17:07:52 +02:00
Itay Cohen
bf07f2a002 UI Improvemetnts + graph.offset implementation (#612)
* Add getBreakpointsAddresses to list breakpoints offsets

* Add breakpoint highligthing and improve of disassembly UIs

* Improve dialogs and positions

* Add graph,offset option to preference

* Tiny text fix

* Updated radare2 sumodule
2018-08-12 18:20:16 +02:00
Vanellope
ae69dc07dd adding Open Shellcode function to the New menu mode (Fix #547) (#609)
* layout done for the shellcode paste function

* paste shellcode functionality done

* fixed a bunch of things for the comments

* replaced the old qregexp with the latest one and some tweaks
2018-08-10 19:12:00 +02:00
Paul I
eb06789958 Add Set to Code/Data feature (#602) 2018-08-04 20:05:56 +02:00
xarkes
f25d93b053 Fix #604 - Forbid double clicking on ok 2018-08-01 21:31:57 +02:00
fcasal
d35f8f64f9 Added continue until call for emulation (#599)
* Added continue until call for emulation
* Updated r2
2018-07-30 08:55:58 +02:00
fcasal
94f417c1ff Added option to break esil execution on invalid instructions (#597)
* Added option to break esil execution on invalid instructions

* update r2
2018-07-27 14:00:23 +02:00
mandlebro
4424c3c45d Only enable emulation 2018-07-26 12:57:05 +02:00
mandlebro
c6e1d20907 Added register references to registerwidget tooltip 2018-07-26 12:57:05 +02:00
mandlebro
a4d160dd3d Added context menu to register refs 2018-07-26 12:57:05 +02:00
mandlebro
118ccbbdbf Added check for non-executable binary 2018-07-26 12:57:05 +02:00
mandlebro
6a87b342d7 Center label vertically in registers 2018-07-26 12:57:05 +02:00
mandlebro
c869a34d99 Added seeking, editing and colors to stack widget 2018-07-26 12:57:05 +02:00
mandlebro
9f0599d542 Fix location of breakpoint contextmenu 2018-07-26 12:57:05 +02:00
mandlebro
2f04984b37 preserve maximization choice when switching to debug 2018-07-26 12:57:05 +02:00
mandlebro
b16df2dc04 * Fix register editing in emulation 2018-07-26 12:57:05 +02:00
mandlebro
886f3f1746 * Fix horizontal scrolling in stack widget 2018-07-26 12:57:05 +02:00
mandlebro
d652241ec2 * Fix naming of program counter in contextmenu 2018-07-26 12:57:05 +02:00
mandlebro
a37eae39d9 Larger stack by default 2018-07-26 12:57:05 +02:00
mandlebro
a55147a0f5 Fix highlighting in RIP when restarting emu/debug 2018-07-26 12:57:05 +02:00
mandlebro
94c0f2b5c2 * Debug geometry is now customizable
* Preserve open widget when switching to and from debug mode
 * Fix wonky widgets when using readSettings
2018-07-26 12:57:05 +02:00
mandlebro
4314add765 Closing Cutter during debug stops the process 2018-07-26 12:57:05 +02:00
mandlebro
13c3ff4cf8 Added register references widget 2018-07-26 12:57:05 +02:00
xarkes
dde5d00b98 Fix wrong rebase 2018-07-26 12:57:05 +02:00
fcasal
971409b4ed Hack to fix continue until commands (#586) 2018-07-26 12:57:05 +02:00
fcasal
96f832dafb Monospace fonts (#584)
* Use preferences font in debug widgets and astyle cleanup
* Use pref font in backtrace widget
* Fix opening correct panel in the preferences dialog via the contextmenu
* Fix highlighting in selected instruction and RIP
2018-07-26 12:57:05 +02:00
fcasal
43215a06ac Add esil stack options and cleanup (#582) 2018-07-26 12:57:05 +02:00
fcasal
9f7b96281d Debugging shortcuts (#578)
* Added debug shortcuts and debug menu
* Added "Add breakpoint" shortcut
* Added debug shortcuts to readme
* Fix double memorymap ui
* Add bp F2 shortcut and fix toggling bp with shortcuts
2018-07-26 12:57:05 +02:00
mandlebro
41cfb78d13 updt r2 2018-07-26 12:57:05 +02:00