Commit Graph

1949 Commits

Author SHA1 Message Date
rgnter
243eded243
Fixed a segfault during debugging with gdbserver (#2830)
Fixes issue #2829
2022-04-03 20:28:45 +02:00
Islam Bassuni
99c58718ec
Added report issue button in "About" window (#2908) 2022-04-03 16:50:14 +02:00
tcoyvwac
aed42d7300
widgets: redundant return-break (#2922)
Removed consecutive return-break statements.
2022-04-02 21:29:50 +03:00
billow
ea519df01e
Convert various debug code to C API (#2913) 2022-04-02 09:44:42 +02:00
Giovanni
e3a01d3780
‘memDisp’ may be used uninitialized (#2920) 2022-03-31 19:34:34 +02:00
Florian Märkl
62d75c9391
Extend cmake config files with deps, version, etc. (#2916)
This improves how the installed CutterConfig.cmake can be used for
native plugin development:
* Transitive dependencies are resolved automatically
* Version file is included
* Cutter_USER_PLUGINDIR is set to a path that plugins can use as a
  default install destination

src/plugins/sample-cpp/CMakeLists.txt is an example for how to use it.
Rizin was also updated to prevent an error with multiple
`find_package()` calls.
2022-03-31 12:49:37 +02:00
Giovanni
1ed19e7fc4
Fixed formatting (#2917) 2022-03-30 10:41:37 +02:00
Nirmal Manoj
b92ad19148 Use RzAnnotatedCode from JSDec (pddA) 2022-03-29 18:06:29 +02:00
Florian Märkl
2c31d38d85 Rewrite getVariables with API
This also avoids annoying "ERROR: No function found in ..." beging
printed by afvj when right-clicking anywhere outside a function.
The heuristics in functionIn() also have been adjusted to prefer the
function that has its entrypoint at the given addr, if there is any.
2022-03-29 09:37:17 +02:00
Florian Märkl
72a3815c01 Remove unnessecary str in setToData() (Fix #2901) 2022-03-29 09:37:17 +02:00
Florian Märkl
206fee601b Fix a strange comparison 2022-03-29 09:37:17 +02:00
Florian Märkl
fc3f072ed7 Add missing overrides to SectionsModel 2022-03-29 09:37:17 +02:00
SR_team
b9df65a6c9
Update includes compat with KF5.92 on some distributions (#2912)
With KF5.92 headers KSyntaxHighlighting/{header}.h copied to KSyntaxHighlighting/ksyntaxhighlighting/{header}.h. Headers KSyntaxHighlighting/{Header} now include ksyntaxhighlighting/{header}.h instead of {header}.h. Than on some distros like ArchLinux headers KSyntaxHighlighting/{header}.h removed, because it copies of KSyntaxHighlighting/ksyntaxhighlighting/{header}.h and because KSyntaxHighlighting/{Header} now include ksyntaxhighlighting/{header}.h.
2022-03-28 14:12:09 +02:00
alexthesys
c535badacd Convert if-block to early return 2022-03-17 00:36:27 +08:00
alexthesys
15282d9bc5 Hexeditor: add option to write hex bytes 2022-03-17 00:36:27 +08:00
yossizap
72ab12a23d
Update rizin submodule (#2900)
This is also a partial fix for #2897
2022-03-15 11:58:09 +01:00
Florian Märkl
bca7a7a2a6 Rewrite isWriteModeEnabled() with API
This also introduces a slight behavioral change: Previously, only the
core file with the "raised" io desc was checked, which is RzIO.desc. But
that member is deprecated for good reasons, so now we just check if
there is any core file whose primary fd has write enabled.
2022-03-14 10:35:08 +01:00
Florian Märkl
9441c3b470 Replace usage of wcj by C API 2022-03-14 10:35:08 +01:00
Florian Märkl
b8243a2b61
Remove unused stats query (#2903)
The views showing this info have been removed in the past, so it was
unused. This also fixes some errors with latest rizin where
zero-argument f does not exist anymore (it's now fl).
2022-03-14 10:09:35 +01:00
Akihiko Odaki
d34349b49f
Use rizin instead of Qt to parse JSON (#2902)
Qt truncates integers to 52-bit, corrupting e.g. memory addresses. Use
rizin's JSON parser, which can parse integers whose size is up to 64
bits.
2022-03-14 09:04:49 +01:00
yossizap
d65a352b1d
Remove additional 0x prefix in the registers widget (#2896) 2022-02-19 17:34:08 +02:00
Theofilos Pechlivanis
2dbf136de8
Save and load the layout of the Functions widget (#2844) 2022-02-05 09:00:08 +02:00
Petros S
2b50e2722b
Move more common disassembly-previewing functionality to namaspace (#2849) 2022-02-05 08:55:10 +02:00
Segev Finer
84d4a64f47
Enable console redirection on Windows without starting from a console (#2888) 2022-02-05 08:51:36 +02:00
billow
97b3aaaa3f
Convert rizin commands to C apis (#2861)
* "fr" renameFlag
* "f-" delFlag
* "f" addFlag
* "fsj" getAllFlagspaces
* "fj" getAllFlags
* "afn" renameFunction
* "af-" delFunction
* "af" createFunctionAt
* "eco"
* "ecd"
2022-01-27 10:06:20 +01:00
Segev Finer
734abd5609
Fix crash on Windows when starting from a console (#2885)
Fixes #2877
2022-01-26 14:53:05 +01:00
Giovanni
91d99ba219
Return error when applying a signature fails. (#2882)
* Updated rizin commit to 8282cee287abdbf8664a0b2540bad2b5ea5b819d
* Fix messages based on fail/success result while applying a sig/pat file
2022-01-21 18:48:10 +01:00
Giovanni
46d29c1e85
Add signature widget for flirts (#2881)
* Added flirt view and removed zignature one
* Added menu for apply signature from file and create new sig/pat files
* Updated rizin to dev branch
2022-01-21 09:39:56 +01:00
Giovanni
75c334596e
Enable support for building rz-libswift on cutter (#2841) 2022-01-15 21:02:01 +01:00
Florian Märkl
239343bb20
Fix pdj call in nextOpAddr for disasm scrolling (#2874) 2022-01-08 17:16:41 +01:00
nirkog
71297ad118
Add double click to seek to global var in decompiler (#2871) 2022-01-08 13:53:27 +00:00
nirkog
37064e8a21
Added support for ctrl+Enter submission in open shellcode tab (#2851)
* Added support for ctrl+Enter submission in shellcode tab in the new file dialog
2022-01-08 13:07:20 +02:00
Florian Märkl
9e77cf1362
Bump version to 2.0.5 from stable (#2865) 2021-12-26 10:07:59 +01:00
Riccardo Schirone
009c8dffb4
Update Rizin to dev and use CMake config files (#2855)
API usage has been adjusted.
There are now also cmake config files directly installed by Rizin itself, so we don't need to keep a custom FindRizin.cmake file in Cutter. This remove that file and just uses `find_package(Rizin COMPONENTS Core)`, which will use the cmake files installed on the system.
2021-12-22 09:57:58 +01:00
Florian Märkl
9de1d56c93 Update references for dev/stable split 2021-12-21 13:39:25 +01:00
billow
8cc4d14a6f
Use Rizin API for Comments and Instruction writing (#2856) 2021-12-19 10:00:45 +00:00
Petros S
d85383fcfc
Support for previewing in the Graph widget (#2797)
Common functionality has been moved to the DisassemblyPreview namespace.
2021-12-05 08:53:45 +00:00
Anton Angelov
6438cc4d50
Update analysis method handling for name/realname (#2843)
This also fixes a crash when adding a new class method.
2021-12-01 13:11:29 +00:00
Anton Kochkov
8bab611c7f Bump version to 2.0.4 2021-11-17 18:50:52 +01:00
Florian Märkl
bd4342c4cb Fix VisualNavbar Crash on Haiku 2021-11-16 08:06:18 +01:00
Florian Märkl
c07ce55581 Fix stderr/stdin confusion and avoid crash on fdopen 2021-11-16 08:06:18 +01:00
Anton Kochkov
896be642ff
Port Sections information to the Rizin API (#2785) 2021-11-13 14:02:57 +01:00
AdavisSnakes
4061887bfe
Removed info button globally (#2804) 2021-11-06 10:41:18 +01:00
AdavisSnakes
236f85f83d
Added layout to the attachProcDialog to enable resizing the attach process popup (#2811) 2021-11-06 10:40:11 +01:00
Anton Kochkov
0786f49842 Fix computing hashes and entropy of the file 2021-10-29 00:29:59 +08:00
AdavisSnakes
e86b7a58c8
Added labels above analysis slider (#2809) 2021-10-20 12:23:59 +08:00
Dhruv Maroo
4ec0a076b4
Remove existing string before converting to code (#2803) 2021-10-17 19:07:59 +02:00
AdavisSnakes
af01134ae3
Made BugReporting.cpp output match bug_report.md (#2808) 2021-10-17 19:02:27 +02:00
Petros S
29cce01e1a
Colorize the preview tooltip in the DisassemblyWidget according to th… (#2799) 2021-10-11 07:31:37 +02:00
Giovanni
c205acd773
Build jsdec with -Djsc_folder option to embed the javascript code (#2801) 2021-10-10 14:51:19 +02:00
Petros S
552cd6dff6
Add option to disable the preview when hovering over the assembly (#2795) 2021-10-09 18:17:52 +02:00
Petros S
311cd0307e
Small enhancements in the SdbWidget class. (#2796)
* Small enhancements in SdbWidget class.

Destructors of child classes should be marked with the `override` keyword. Also since Qt's
widgets aren't movable or copyable, we can explicitly let the compiler know with the `Q_DISABLE_COPY_MOVE`
macro.

* Define Q_DISABLE_COPY_MOVE macro for versions < 5.13.0 in SdbWidget
2021-10-09 18:15:38 +02:00
Florian Märkl
6dab092b51
Join Debug Task on Suspend to avoid races (#2783) 2021-09-25 17:17:49 +02:00
Florian Märkl
357c43d606 Bump Version to 2.0.3 2021-09-24 18:53:51 +02:00
Florian Märkl
9ddc19fcc6
Fix CutterCore::getBinPluginDescriptions() args (#2777) 2021-09-24 10:16:35 +02:00
Florian Märkl
4da769a0ae
Fix Decompiler Copy Shortcut (Fix #2773) (#2778) 2021-09-23 18:15:08 +00:00
Florian Märkl
3ba7363f99
Remove Type Link features in light of global variables (#2775) 2021-09-23 17:57:51 +02:00
Florian Märkl
dada19cf1c
Various improvements for native macOS UI (#2776) 2021-09-23 16:09:51 +02:00
Riccardo Schirone
99070e86b9
Use new Rizin API instead of cmdRaw/cmdRawAt (#2770)
* Use new Rizin API instead of cmdRaw/cmdRawAt
* add CutterRzListForeach as a foreach-keyword for clang-format
2021-09-23 10:15:03 +02:00
Anton Kochkov
48c884c3d6
Fix wrong initialization order in ArenaInfoDialog (#2774) 2021-09-22 19:20:20 +02:00
Paul I
82e8896267
Use API to fetch xrefs in CutterCore::getXRefs() (#2771) 2021-09-22 19:19:38 +02:00
Florian Märkl
6b4472f189
Fix Compatibility with Qt6 (#2767) 2021-09-20 14:35:28 +00:00
Florian Märkl
7e68147eab
Fix Bin, IO and Core plugin info (Fix #2764) (#2765) 2021-09-19 10:58:08 +02:00
Riccardo Schirone
3e1b3ce865
TypesInteractionDialog: use RzType API to edit a single type (#2760) 2021-09-18 10:17:43 +02:00
Anton Kochkov
6d2b3a2f38
Use hash API instead of commands (#2756) 2021-09-16 13:39:05 +08:00
Anton Kochkov
5595193b70
Minor renames of analysis-related things (#2761) 2021-09-15 20:48:02 +02:00
Anton Kochkov
57f34bfb98
Use open API instead of commands (#2757) 2021-09-14 23:40:01 +02:00
Florian Märkl
8fd35f2109
Replace eco Command with API (Fix #2751) (#2759) 2021-09-14 16:59:04 +00:00
Anton Kochkov
80e4269ca3
Fix Cutter/Rizin API naming (#2755) 2021-09-14 15:32:04 +02:00
Maria
417a0a2221
Complete Color Theme Lists (Fix #2672) (#2752) 2021-09-14 15:24:47 +02:00
Anton Kochkov
e219be4253
Use seek history API instead of command (#2754) 2021-09-14 10:13:19 +02:00
Maria
40fa86c8ca
Fix Restoring "Show Disassembly as" in Preferences (Fix #2726, #2748) 2021-09-11 13:19:05 +02:00
Florian Märkl
394a1eb27d
Enforce Cutter-local sleighhome on macOS only if Packaging is Enabled (#2741) 2021-09-10 17:53:42 +02:00
Riccardo Schirone
a3bc43259c Fix code after change in rz_project_save_file API 2021-09-10 16:22:00 +02:00
Riccardo Schirone
f42069369c Make use of new RzType API in Rizin 2021-09-10 16:22:00 +02:00
GustavoLCR
2d05ae2595
Fixes for debugging (#2727)
* Fix continue until main not being enabled
* Use Rizin API instead of commands
* Fix attaching to a process with no file opened
2021-08-12 23:28:10 +02:00
GustavoLCR
f59797fb3d
Fix #2657 - Set cutter executable as WINDOWS subsystem (#2717) 2021-08-06 11:56:50 +03:00
Kamay
a38d77c969
Improved function widget (#2659) 2021-07-25 09:33:51 +03:00
Pulak Malhotra
60343fa8b5
Heap widget wrapup (#2716) 2021-07-16 13:48:10 +00:00
Pulak Malhotra
2d7b6d15c0
Heap bins view (#2710)
* Added bins dialog box

* Bins dialog box working

* Add size column

* Add newline

* Make code more readable

* Make headers better

* Add tooltip for bins widget

* Added easy access to detailed chunk info from bins dialog

* Experimenting with CutterGraphView

* Added Basic Graph View for bins using `simpleTextgraphView`

* Added Bins button

* Bug fix

* Add bin message to the last chunk in the list

* Add addresses and addressablecontextmenu to graphs

* Add support multi line graph blocks

* Fix indent

* Dont clear dialog box

* Add `detailed chunk info` in Graphs context menu

* Minor changes

* Update Rizin
2021-07-02 10:19:27 +00:00
xarkes
2d778c01d7
Fixed a null pointer dereference (#2709) 2021-06-29 19:36:26 +02:00
Pulak Malhotra
771fa6102c
Initial heap dock widget with glibc support (#2705) 2021-06-27 20:21:06 +00:00
Rishabh Budhiraja
9c2b1cccec
Remove freenode mentions in remaining files (#2703) 2021-06-15 19:23:50 +02:00
xarkes
bc57167534
Update Rizin version (#2698) 2021-06-04 11:05:34 +02:00
Kārlis Seņko
26c9dcc76c Use more approriate font mentrics in graph and hex views
* fix excessive graph padding for some fonts
* refactor code to make the position calculations more maintainable
* reduce graph view padding from 2 to 1 character widths in monospace
fonts
2021-06-02 20:34:27 +02:00
xarkes
90f5f2d4cc Fix a crash when printing disassembly arrows 2021-05-13 18:00:10 +03:00
Kārlis Seņko
8d4c860690 Update version to 2.0.2 2021-04-24 20:52:48 +03:00
Kārlis Seņko
8da572d6ec Fix crash due to language handling when opening settings.
Qt doesn't have native language name for some of them. Trying to
capitalize it caused crash.

Use `QLocale(QString)` constructor instead of manually looping and
comparing. The old code incorrectly matched "tr" as "trv".

Don't try to capitalize language name:
* In many cases Qt already returns it capitalized
* capitalization doesn't make sense for some scripts
* in general case splitting first "character" is a hard problem
* in some languages even with latin based scripts name of language isn't
a proper noun which needs to be capitalized
2021-04-24 13:13:36 +03:00
Kārlis Seņko
585dc961db Qt6 keyboard and mouse API compatibility
* Some of the API replaced int with QKeyCombination, use typedef in
cutter code
* Use of + operator depracted, replace with recommended "|" operator
* QMouseEvent globalPos and localPos renamed to globalPosition and
position, replace with helper function or use of integer position which
wasn't renamed.
2021-04-24 13:13:36 +03:00
Kārlis Seņko
2799390314 QT6 color handling changes
* use typedef for floating point value used in color related API
* changes in screen grabbing API used by color picker
2021-04-24 13:13:36 +03:00
Kārlis Seņko
988918a038 Various fixes for functionality deprecated or removed in QT6. 2021-04-24 13:13:36 +03:00
Kārlis Seņko
fe92aaeb3d Update usage of deprecated qt model and regex API. 2021-04-24 13:13:36 +03:00
Kārlis Seņko
820aa98b7b Fix crash and wrong behavior caused by qt model/view changes
* Crash caused by list varibles getting initialized after the models
using them. Previously Qt didn't try to access them so early. Move them
to the models as there is no need to share them betwen view and models.
* Fix empty color list by using begin/endResetModel instead of
dataChanged to signal changes in data.
2021-04-24 13:13:36 +03:00
Kārlis Seņko
da17c6e411 Build system compatiblity with QT6.
Qt6 moved some of the functionality to separate modules.
2021-04-24 13:13:36 +03:00
karliss
4328f5df5a
Adjust prefix handling due to rizin portable mode changes. (#2671) 2021-04-20 06:34:52 +03:00
Florian Märkl
8d47919234
Update Version to 2.0.1 (#2663) 2021-04-10 11:32:17 +02:00
Kārlis Seņko
8c659feb43 Fix path when building appimage, caused by #2574 2021-04-10 10:14:35 +02:00
Kārlis Seņko
fe3a93cce0 Fix attaching debugger using pid. 2021-04-10 10:14:35 +02:00
Florian Märkl
a1f751abb3 Update Version to 2.0.0 2021-03-27 15:58:31 +01:00
Florian Märkl
00da6bbed5 Update Translations 2021-03-27 15:43:31 +01:00
yossizap
749cc63c9c
Show stack address value in executable addresses (#2641) 2021-03-20 21:12:06 +00:00
karliss
a18a3a8b46
Use relative line numbers instead of addresses when placing arrows. (#2636)
The used data structures are intended for dense ranges, using addresses
directly can cause excesive memory usage.
2021-03-13 18:36:22 +02:00
karliss
d73d486ca0
Add setting import from Cutter before RadareOrg to rizin renames. (#2588) 2021-03-06 18:26:58 +01:00
Itay Cohen
6cbf0c0cbf
Better handle project names (#2603) 2021-02-28 16:51:08 +02:00
yossizap
de234e600e
Add dbg.trace_continue to debug options (#2613) 2021-02-26 19:03:28 +02:00
Florian Märkl
6da02c6a02
Update for RZ_GITTAP Removal (#2608) 2021-02-24 18:52:35 +01:00
Florian Märkl
f95751c4cd
Remove Organization Domain to set QSettings path on macOS to ~/.config/rizin/cutter.ini (#2607) 2021-02-24 10:15:32 +02:00
GustavoLCR
b4b9b312e7
Offer a default function name in actionAnalyzeFunction input box (#2572) 2021-02-24 10:10:54 +02:00
Itay Cohen
42f01fcf5d
Support loading projects from the command line (#2606) 2021-02-24 08:10:01 +02:00
Alexis Ehret
a47c2bb5aa
Add clang-format linter CI jobs (#2604) 2021-02-19 16:32:58 +02:00
karliss
0553d3ffdb
Add JSDec packaging for macos. (#2580) 2021-02-18 16:36:27 +02:00
optizone
00d2245538
refactor DisassemblyLeftPanel::paintEvent (#2559) 2021-02-15 08:46:57 +02:00
yossizap
8f89d1641b
Add reverse debugging (#1918)
* Add initial reverse debugging support

* Add reverse debug icons

* Added an option to stop the debug session and enabled continue and step back

* Added a new icon for stop trace and recolored start trace

* Toggle reverse debug actions when not tracing

* Stop existing trace sessions in stopDebug

* Ported to Rizin

* Set reverse icons to invisible when not in a trace session instead of disabled

* Updated rizin submodule

* Cleaned up step and continue events

* Apply clang format
2021-02-13 17:35:57 +00:00
Florian Märkl
7db5274032 Update Org/App Settings for Qt 2021-01-25 22:09:19 +01:00
Florian Märkl
b0cef7e634 Change Executable to Lowercase and use re.rizin.cutter everywhere 2021-01-25 22:09:19 +01:00
ITAYC0HEN
48ae2150a9 Apply clang-format 2021-01-24 18:34:16 +02:00
ITAYC0HEN
a62f138e2f Add support for clang-format 2021-01-24 18:34:16 +02:00
Riccardo Schirone
c82fc5b44f
Use Rizin seek API instead of commands (#2581) 2021-01-24 17:03:05 +01:00
Florian Märkl
0229e7ed8b
Don't print Warnings for whitespace-only JSON Failures (#2579) 2021-01-24 14:12:01 +01:00
Florian Märkl
3c2b263de7
Make SearchWidget set search.in only locally (#2578) 2021-01-24 14:11:46 +01:00
GustavoLCR
3c8f0d905b
Activate window before showing close dialog (#2573) 2021-01-23 17:09:44 +02:00
Ray
bb6a9e2a91
Update the icon on macOS to match the icon grid of Apple design guideline (#2571) 2021-01-23 10:39:56 +01:00
Anton Kochkov
88478ffb30
New JSDec home (#2563)
Switch from r2dec to jsdec
2021-01-16 11:48:31 +01:00
karliss
18e98e7868
Don't compile files for features that are disabled. (#2561)
Don't wrap whole cpp file in ifdef, it confuses clang-format.
2021-01-11 23:49:54 +02:00
karliss
562979bcff
Remove qmake (#2546)
* Remove qmake project and move some variables directly to CMake project
* Remove meson and update docs.
* Add instructions for basic macOS build.
2021-01-10 13:07:39 +02:00
karliss
29cbd06ab2
Run macos packaging in GHA. (#2529)
* Enable running of macOS packaging in GHA, most of the work done in dedbabde56
* Cleanup breakpad handling
* Have single version of main executable in folder expected by macOS and most tools instead of executable+symlink+shell script
* Handle Breakpad library lookup in more CMake way using FindBreakpad just like it's done on other platforms and packages
* Refactor error handling in some of the shell scripts to use `set -e` instead of `|| exit 1` for each command.
* Fix DMG background setup
2021-01-02 19:57:29 +02:00
Ernest1338
276b53fd75
Fix: Core plugin list doesn't work [#2542] (#2543)
The command had been renamed more than 2 years ago.
2020-12-30 22:48:52 +02:00
yossizap
a78613904e
Fix debug seek to PC (#2527) 2020-12-19 23:32:51 +02:00
Florian Märkl
ac8c0e4175
Add Setting for Minimum Font Size in Graphs (#2524) 2020-12-19 16:04:48 +02:00
karliss
c985fdc1b1
Run cutter appimage packaging in GHA. (#2490)
* Run cutter appimage packaging in GHA.
* Update cutter-deps.
* Switch to older visual studio due to pyside having problems parsing MSVC
headers.
* Take GIL in the injected code fragment #2511.
2020-12-19 12:43:33 +02:00
Florian Märkl
5bf513c45b
Add RizinFunctionTask and common base class with RizinCmdTask (#2520) 2020-12-18 10:47:50 +01:00
Anton Kochkov
601dc248a6
Remove unused logo (#2518) 2020-12-17 20:14:57 +01:00
Florian Märkl
269cedd36e
Fix Warnings by g++ 10.2 (#2523) 2020-12-17 20:14:40 +01:00
Florian Märkl
0574c50981
Update Rizin (#2522) 2020-12-17 20:13:30 +01:00
Anton Kochkov
70cef2c1af
More R2/Radare -> Rizin renames (#2516) 2020-12-16 11:59:23 +01:00
Florian Märkl
58745547a2
Update Rizin with RizinTask (#2517) 2020-12-16 10:51:53 +01:00
xarkes
00f6d47357 First iteration at renaming remains of radare2 2020-12-14 19:39:29 +01:00
Schrijvers Luc
3b5c6ff9c0
Fix build for Haiku which doesn't have O_ASYNC yet (#2485) 2020-12-13 15:39:23 +02:00
Florian Märkl
7541c8910d
Update Rizin 2020-12-08 10:46:30 +01:00
Florian Märkl
46f7a8e4f6
Update Rizin for defines 2020-12-07 19:20:47 +01:00
Florian Märkl
5218fa0fd6
Update Rizin 2020-12-07 09:19:18 +01:00
Florian Märkl
dedbabde56
Add macOS Packaging in CMake (#7) 2020-12-07 09:19:18 +01:00
Florian Märkl
8c35ebb837
Restructure CMake files to start in the root of the tree (#6) 2020-12-07 09:19:16 +01:00
Florian Märkl
85042000e8
Add Support for new Projects (#3) 2020-12-07 09:17:58 +01:00
Florian Märkl
78dcba4c26
More Rizin Updating in CMake and use it in AppVeyor (#5) 2020-12-07 09:17:58 +01:00
Florian Märkl
b6ec01a7b0
Set XrefsDialog Parent (#4) 2020-12-07 09:17:57 +01:00
Florian Märkl
a80221641e
Optimize remapAnnotationOffsetsToQString() 2020-12-07 09:17:57 +01:00
Florian Märkl
2b8ac6ecf7
Port to Rizin 2020-12-07 09:17:56 +01:00
Petros S
d813b7ac8c
Add preview functionality to DisassemblyWidget when hovering code (#2459)
* Add preview functionality to DisassemblyWidget when hovering code
2020-12-05 09:26:26 +02:00
xarkes
b02100b66b
Reworked renaming in disassembly widgets (#2468) 2020-12-04 18:08:56 +01:00
Yuhao Bi
b07bffc5fe
Fix build on centos7 gcc4.8 (#2492) 2020-12-01 23:17:09 +02:00
karliss
f9bde4a2ff
Start making adjustment for qt6 compatibility. (#2463)
* Introduce cmake option for using Qt6, build doesn't work fully yet.
* Recursive mutex, QActionGroup, QComboBox::AdjustToMinimumContentsLength
* Cleanup dock locking
2020-11-30 09:42:13 +02:00
Pulak Malhotra
ef9b1328f4
Adding Labels to Graph Blocks in Disassembly (#2482) 2020-11-29 16:41:13 +02:00
smhaziq
ca3d8ce78f
Show comment column in each panel that have "add comment" option in the context menu (#2441) 2020-11-19 20:17:28 +02:00
xarkes
e236f6b0fc
Remote Debug dialog improvements (#2472)
Co-authored-by: nk521 <nk_mason@protonmail.com>
2020-11-18 13:15:36 +01:00
xarkes
5d84844587
Fixed word highlighting in DisassemblyWidget (#2473)
* Fixed word highlighting in DisassemblyWidget
2020-11-15 22:26:49 +02:00
karliss
81ef309e09
Remove duplicate aplication of scaling factor. (#2461) 2020-11-04 18:39:12 +02:00
Hikaru Terazono
8ba2164d00
Trackpad gesture support for graph views (#2453)
Zooming using pinch gesture.
2020-11-03 08:23:12 +02:00
Petros S
6039dab2ff
Use the new connect syntax (#2460) 2020-11-03 08:11:50 +02:00
Josh Maxwell
dd4a40bcc1
Fixes buggy line highlighting (#2444)
* Calling updateCursorPosition before moving cursor.

Previously the call to readCurrentDisassemblyOffset in
updateCursorPosition was causing essentially an off-by-one bug since the
cursor was moved prior to checking the current offset.

* Separated highlightCurrentLine and highlightPCLine logic so they can be
called independently when needed.

Previously logic for highlighting the PC was included in highlighting
the current line. This caused the PC to not be highlighed when the
current line was not on-screen and being highlighted.
2020-10-14 01:01:04 +03:00
xarkes
1cbbc45678
Automating translations updates (#2218)
* Automatically push new strings to cutter-translations
2020-10-10 21:00:34 +03:00
karliss
d971f30d25
Set executable icon in windows CMake build. (#2443) 2020-10-10 13:52:56 +03:00
karliss
c49cbc9f01
Add cmake script for packaging r2dec on windows. (#2425) 2020-10-03 13:50:57 +03:00
Stephan Bridger
38b317e619
Make Hexdump parsing view read-only (#2434) 2020-09-30 20:15:44 +03:00
karliss
ad66718f37
Add CMake code for packaging r2ghidra on windows. (#2422) 2020-09-06 11:52:13 +03:00
karliss
1966c76ba7
Update windows CMake breakpad code. (#2421) 2020-09-05 11:25:34 +03:00
karliss
1adc30794b
Update cutter version to 1.12.0 (#2419) 2020-09-03 14:04:24 +03:00
karliss
fc83965555
Do not change the internal widget name to preserve layout. (#2418) 2020-09-03 11:57:49 +03:00
karliss
d0a3a042f5
Update Cutter versions and lock decompilers. (#2416) 2020-09-02 19:49:01 +03:00
karliss
ff11944fe0
Update translations. (#2413) 2020-09-01 15:09:32 +03:00
karliss
078f40101f
Handle non ASCII characters in decompiler widget. (#2412) 2020-08-31 19:45:18 +03:00
karliss
503907909f
Create SyntaxHighlighter based on RAnnotatedCode. (#2409) 2020-08-31 09:00:55 +03:00
karliss
6fc902894d
CMake windows python packaging (#2406)
* First version of cpack scripts
* Fix python binding building using CMake on windows
* Package python and pyside in the cpack package
* Run windeployqt as part of packaging to include the Qt dlls and vcruntime installer
2020-08-30 23:23:41 +03:00
Oriol Castejón
2c84e07bfa
Add more options to the Analysis widget (#2405) 2020-08-30 16:17:14 +03:00
NIRMAL MANOJ C
d7ef6e9e91
Save layout of the Decompiler Widgets (#2410)
* Create decompiler widgets when loading a layout
* Do not translate the dock widget names used for saving layout.
2020-08-30 14:26:56 +03:00
NIRMAL MANOJ C
691de14853
Synchronized Decompiler and Enabling Multiple Decompiler Widgets (#2402)
* Sync/Unsync decompiler widgets.

* Add multiple decompiler widgets with its own decompiler and functions.

* updateWindowTitle() in widgets for decompiler, disassembly, and hexdump.
2020-08-29 10:45:47 +05:30
sagcan
ec22b01086
Disable Plugins menu if no plugins are installed (#2318) (#2401) 2020-08-28 21:17:31 +03:00
sagcan
013bdba902
Center 'Rename Function' dialog for Disassembly and Decompiler view (#2408)
Previously the 'Rename Function' dialog would pop-up in the top left
corner if triggered inside the Disassembly or Decompiler view. This
commit changes the behaviour so that the Dialog will now be pop-up in
the center of the MainWindow by simply replacing the 'parent' pointer of
the QInputDialog object with that of the mainWindow (this->mainWindow)
2020-08-28 21:06:52 +03:00
Rachel Mant
1955288058
Add shortcut for Advanced string definition and set focus to size specifier (#2340) 2020-08-25 06:44:33 +03:00
tsunekoh
4fe94cd959
Do not open multiple setting dialogs to fix #2314 (#2392) 2020-08-22 19:49:21 +03:00
NIRMAL MANOJ C
b7d1059a1b Decompiler Documentation + Clean up (#2374) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
1c86f54c95 Edit/Rename Variables Actions for function variables (#2357)
* Edit Function Variables Action

* Rename Function Variables Action

* CutterCore::renameFunctionVariable
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
6ed32d5d1d Xrefs action for references (#2352)
* X-Refs for references (functions, global variables, constant variables with addresses) in the decompiler.
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
b42a19e995 Display jumping fix useless decompilation (#2351)
* save scroll position and reset to that if the newly decompiled function is the same as the previous one

* instructionChanged signal replaced completely by breakpointsChanged in toggle/add breakpoint functions.

* removed addbreakpoint(QString) and toggleBreakpoint(QString)
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
37fc01478f Global variable actions and Show in action and refactoring (#2295)
* Show in action for global variables and functions
* Copy address of global variable or function referenced by the cursor selection
* Rename global variable
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
eef9baa300 Action to rename functions in the decompiler context menu (#2286) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
88f837465f Intercept right-click event in the decompiler widget (#2281)
Update cursor before opening context menu for right-click
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
8b4c58e07d Comment Menu for the Decompiler Context Menu (#2265) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
a4174271f6 Breakpoint Menu and Debug Menu in the Decompiler Context Menu (#2260) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
ea9f3f1831 Skelton for dedicated context menu + action to copy selection (#2256) 2020-08-18 23:26:44 +05:30
karliss
48192d799a
Get rid of circular include between Cutter.h and CutterPlugin.h (#2390) 2020-08-14 21:30:51 +03:00
yossizap
83cd7e8698
Update R2 submodule (#2378)
* Handle r2 sdb include path changes.
2020-08-13 17:08:39 +03:00
Gireesh
63d3acb8a2
Add "Documentation" button to the "help" menu (#2381) 2020-08-11 15:52:52 +03:00
Oriol Castejón
9e346275c5
Add new Analysis section to the Preferences widget (#2332) 2020-08-10 19:12:38 +03:00
karliss
724d3f26b4
Adjust r2 paths (#2338) 2020-08-08 18:43:43 +03:00
karliss
d6d2e90028
Clazy warnings (#2371)
* Refactor some of the connect calls.
* Refactor more old style signal connect calls.
2020-08-07 17:18:42 +03:00
karliss
c149f38f11
Output colors in rgb:nnnnnn format instead of #nnnnnn. (#2376)
ec name #nnnnnn can get mixed up with comment.
2020-08-07 17:01:50 +03:00
karliss
dcb9970f91
Fix an off by 1 bug during hexwidget cursor blinking. (#2368)
1 pixel line sometimes remained on during hexwidget cursor blinking.
2020-08-04 21:19:17 +03:00
Radwan Selo
2cfa4916c3
Xrefs enhancement (#2362)
* Add number of found results to xrefs dialog
* Hide xref from if the item is not an VA
2020-08-03 20:11:02 +03:00
karliss
8f5fbeddde
Refactor old style macro based signal connect. (#2360) 2020-08-03 12:13:39 +03:00