Skip to content

Releases: rizinorg/cutter

Cutter 2.0.1

10 Apr 19:41
8d47919
Compare
Choose a tag to compare

This release updates Rizin to 0.2.0 and brings a few additional fixes on top of Cutter 2.0.0.

Known Issues

  • Windows build can't load certain resource #2667

Changes

  • Updated Rizin to 0.2.0
  • Updated jsdec to 0.2.0 and rz-ghidra to 0.2.0
  • Fix path when building appimage, caused by #2574
  • Set macOS deployment target to 10.14 Mojave for compatibility. (#2650)
  • Removed build.sh (#2654)

Cutter 2.0

29 Mar 14:55
e28b2a1
Compare
Choose a tag to compare

This is the first official release of Cutter since its backend has been changed from radare2 to Rizin.
Last r2 compatible commit can be found at d813b7a, there are no plans to further maintain r2 compatible branch by Cutter developers.

This version of Cutter is built with Rizin 0.1.1.

The accompanying blog post highlights some of the features below in detail: https://cutter.re/cutter-2.0

Features

  • Support new Projects in Cutter that will allow saving and opening project files.
  • Add a command line flag for loading projects #2606
  • Improve the workflow of renaming functions, flags and more #2468
  • Improve the remote debug dialog #2472
  • Add reverse debugging support. (Note that debugging is still in a preview state)
  • Support trackpad pinch gesture #2453
  • Add comment column to multiple table views #2441
  • Add option for displaying basic block address at the start of each block in CFG #2482
  • Reworked disassembly arrow drawing #2559
  • Add a preview-on-hover functionality in disassembly widget #2459

Platform compatibility fixes:

  • Fix build on CentOS 7 with GCC 4.8 #2492
  • Haiku OS build #2485
  • Note: there is no official native macOS M1 build but most parts of Cutter, except debugging, work fine using Rosetta2.
    Building Cutter natively for arm64 on M1 from source is however fully supported.

Bugfixes

  • Fix macOS release package not running without having gettext installed from homebrew. #2547 #2474 #2456 #2447 #2428
  • Resolve bug with line highlighting #2218

Build system, packaging and development changes

  • The default build options changed to use bundled Rizin. If you are a package maintainer see https://cutter.re/docs/building.html#making-linux-distribution-specific-packages
  • The root CMake file is now located at the root of the repository instead of the src/ directory. This slightly changes the build instructions
  • Fully transition to CMake as the only build system. Remove qmake and meson projects.
  • Large parts of packaging logic moved from CI scripts to being done directly by build system.
  • macOS release package is now ad-hoc signed, this should help with the running of the debugger. It doesn't help with developer identity warning when opening the package or debugging system or AppStore programs not marked as debuggable (just like any other debugger regardless of how it's signed).
  • Development has switched to using clang-format for code formatting.

Cutter 1.12.0

03 Sep 20:38
1adc307
Compare
Choose a tag to compare

Highlights

Decompiler

In this release, we introduce major improvements to the Decompiler feature in Cutter. These improvements couldn't be made without the help of our team member and GSoC student @NirmalManoj 👏

  • Context menu interactions with the decompiler are now context sensitive, only relevant menu items are shown and they applied to the item that was clicked
  • Decompiler based Syntax Highlighting in the Decompiler widget (old highlighting mode can be chosen in appearance options)
  • Support opening multiple Decompiler widgets at the same time. Each of the instances can be set to show different decompiler (Ghidra, RetDec, r2dec, ...) and different functions.
  • Make the current-address synchronization consistent with rest of widgets

Known Limitations

  • The new features in the Decompiler work best with r2ghidra, not all of them are implemented for r2dec
  • Some hacky features, like instruction patching, that were available in the previous context menu are not available in the new one and might be added in the future.
  • Decompiling large functions using r2ghidra causes UI to freeze temporarily

To read the full list of changes, check our blog post: Improving Decompiler Widget - GSoC Project

Radare2

  • Cutter 1.12.0 depends on radare2 4.5.1

Other

  • Support analysis after opening the file
  • Configurable analysis options from the Preferences widget
  • Local variables X-Ref view

Full list of commits since previous release available here: https://github.com/radareorg/cutter/compare/v1.11.0...v1.12.0

Thanks

The success of this release couldn't be achieved without the help and time dedicated by many contributors which are new to the Cutter family. We appreciate the work and honored to welcome our new contributors: @Surendrajat, @ocastejon, @sagcan, @DX-MON, @kohnakagawa, @7h3qu1rkyb1t, @DeleteXso, @polaris

Cutter 1.11.1

13 Aug 14:49
9a822ec
Compare
Choose a tag to compare

Bug Fixes

  • Include r2dec decompiler in Windows build
  • Sort items in Resources widget by numeric values instead of numbers misinterpreted as strings #2308
  • Fix custom color themes not working correctly #2376
  • Fix a crash when opening the theme editor #2359
  • Update r2dec, includes wargio/r2dec-js@ff0d57e fixing common r2dec crash when processing Windows executables

See full list of changes here

Cutter 1.11

24 Jul 14:59
00595da
Compare
Choose a tag to compare

Features

Graphs

  • Major improvements to graph layout algorithms (#2207, #2255, #2246)
  • New Graph widgets: Call-Graph, Global Call Graph, Import Graph and more (#2273)
  • Support Horizontal Graphs (#2234)

Layout

  • Support saving and loading multiple UI layouts (#2172)
  • Add UI for managing layouts (#2211)

Others

  • Expose asm.reloff (#2243) and asm.reloff.flags (#2244) in Preferences
  • Command line option to open a file in Write mode (#2216)
  • Add menu options for changing IO mode (#2187)
  • Add pci to hexdump widget (#2219)
  • Toggle Console Widget (Ctrl + ` and :) and clear output (Ctrl + L) shortcuts (#2213)
  • Implement editor for .cutterrc initialization file - an easy way of saving r2 options that aren't otherwise exposed (#2162)

Radare2

Documentation

  • Introducing improved Contribution Guidelines (#2293)
  • Add documentation for TempConfig (#2221)Update Cutter compilation documentation (#2238)
  • Setting up development environment and IDE comparison (#2290)

Known issues

  • R2dec isn't included in Windows package.

Cutter 1.10.3

08 May 17:55
1aad797
Compare
Choose a tag to compare

New features and improvements since 1.10.2:

  • Update radare2 to its latest release 4.4.0
  • Patching and Writing features added to Hexwidget
  • Flag and comment indicator in Hexwidget
  • Enhanced Debug experience
  • Official Appimage build compatibility with Ubuntu 16.04
  • Light theme improvements
  • Improved performance

Windows:

  • Updated Qt. If Cutter doesn't start try installing the bundled Microsoft Visual C++ Redistributable.

Build system changes:

  • Support for CUTTER_USE_BUNDLED_RADARE2=ON on windows
  • Improve usability of CMake for preparing Linux packages

Cutter 1.10.3 Pre2 Release

01 May 17:45
a3661fa
Compare
Choose a tag to compare
Pre-release

Changes:

  • Update radare2 to its latest release
  • Patching and Writing features added to Hexwidget
  • Flag and comment indicator in Hexwidget
  • Official Appimage build compatibility with Ubuntu 16.04
  • Light theme improvements

Cutter 1.10.2

10 Mar 13:21
Compare
Choose a tag to compare

Edit:

Please note: Users encountered issues with the debugger in this release.
We're looking into fixing it. If you don't intend to use the debugger, use this release. If yes, please use the previous release, v1.10.1 or the newer v1.10.3.
We're sorry for the inconvenience and will release a fixed version soon.


This is a minor release to bump the version of radare2 to its latest release.

radare2

  • Update the radare2 submodule to its latest release

Additions

  • Add bindings for context menus in Python API
  • Show cleaner function names on the disassembly context menu
  • Display Authentihash and Sha256 for Windows PE files
  • Add scaling and background transparency for Graph export

Bug Fixes

  • Fix crash when using theme editor

Cutter 1.10.1 - "Arctic World Archive"

01 Feb 17:37
37544b4
Compare
Choose a tag to compare

📥 Take me to the download links

Highlights

⭐ r2dec decompiler is now shipped by default on all platforms
⭐ radare2 is updated to its newest version - v4.2.1
⭐ Major performance improvements across Cutter
⭐ Remove prefixes from flags and functions to make them prettier
⭐ New dialog to set and edit breakpoints, including hardware and conditional breakpoints
⭐ Improved API for plugin authors
⭐ Faster and better telescoping for Stack and Registers
⭐ Various bug fixes and small improvements

The Arctic World Archive

On February 2, 2020, GitHub will capture a snapshot of every active public repository, to be preserved in the GitHub Arctic Code Vault. This data will be stored on 3,500-foot film reels, provided and encoded by Piql, a Norwegian company that specializes in very-long-term data storage. The film technology relies on silver halides on polyester. This medium has a lifespan of 500 years as measured by the ISO; simulated aging tests indicate Piql’s film will last twice as long.

csm_Svalbard_Global_Seed_Vault_f25d850445

Additions

  • Bundle r2dec into macOS and Linux Builds (#2023, #2033)
  • Show pretty names for flags and functions (#2014)
  • Add realname and libname to Flags and Imports widgets (#2024)
  • Add Breakpoint editor dialog (#1975)
  • Add more breakpoint editing options (#1967)
  • Imporve Register references widget (#2038)
  • Add API for Plugins to extend context menu (#2029)
  • Add a custom telescoping function and improve StackWidget's output (#1990)
  • Make breakpoints available outside of debug (#2027)
  • Add virtual-size to section widget (#2030)
  • Add sha256 and crc32 to the hexdump widget (#2006)
  • Patching: add a ';' delimiter and responsive dialog box, multiple instructions can be patched (#1984)
  • Improve graph HighDPI scaling (#1963)
  • Threads widget now shows the current location in code instead of the thread's path (#15771)

Fixes and Changes

  • Update radare2 to 4.2.1 (#2040)
  • Simplify and move Plugin context menu GUI code out of core. (#2039)
  • Make user plugin path in settings a link (#2034)
  • Improve default line-width values on graph (#2026)
  • If available, set r2ghidra the default decompiler (#2007)
  • Improve flag and string widget performance (#2021)
  • Set zoom factor when opening appearance settings. (#2003)
  • Refresh monospace font after it gets reset by style or font change. (#2002)
  • set Style tab to default view (#1986)
  • Fix debug not working with paths that have a space in them (#1978)
  • Refactor breakpoint validation (#15754)
  • Fix multithreaded breakpoint behavior in linux (#15782)
  • Unset breakpoints if continue was interrupted (#15772)
  • Fix crash caused by rebasing a file without sections (#15792)
  • Fix windows process info not showing the correct path for child processes (#15741)
  • Fix function variable information rebasing (#15726)

Cutter 1.10 - "A Debugger steps into a bar"

20 Dec 19:20
c0d4fda
Compare
Choose a tag to compare

This release comes with the long promised native and remote debugging support. Celebrate the end of the year with Cutter 1.10!

Currently supported features

  • Multiplatform native debugger
  • Remote debugging using GDB
  • Remote kernel debugging using WinDbg
  • Attaching to a running process
  • STDIO interaction with debugee
  • Support for multi-threading
  • Stack and Registers inspection
  • Backtrace
  • Memory map

And much more!

Planned and in-progress debug features

  • Reverse debugging
  • SIMD register display
  • Hardware breakpoints support
  • Conditional breakpoints
  • Signal handling customization
  • Performance improvements
  • Integration with rarun2 library preload
  • Standalone DLL debugging
  • WinDbg Ethernet protocol support

Note that any kind of contribution is welcome. We are eager to hear your feedback for more debug improvement ideas!

Known issues

  • Linux breakpoints only work if you are selecting the thread that will hit the breakpoint
  • Function stack variable comments aren't relocated in GDB remote debug
  • Cutter's interface changes size when debug is started/stopped
  • macOS debugging doesn't work without signing the binary

Please give it a try and let us know what you think :)

Full Changelog

Additions

  • Add -F command line option to specify Format (#1946)
  • Define string of length N in address (#1915)
  • Add startRemote to the debug dropdown menu
  • Add a signal for widget rebasing and switch to oodf for remote debug rebasing (#1913)
  • Add debug dialogs (#1903)
  • Add processes widget for kernel and child debugging (#1894)
  • Stdin redirection for locally debugged processes (#1892)
  • gdbserver and windbg remote debugging support (#1874)
  • ThreadsWidget and r2 debugging fixes (#1846)
  • Pressing Enter in disassembly will jump to the desired location (#1910)
  • Add menus to seek backward and forward buttons. (#1889)
  • Add Adikso's Midnight Theme (#1895)
  • Highlight in red changes in the Hexdump Widget (#1880)
  • Add instruction highlight in graph view (#1879)
  • Add highlight to hexdump (#1862)
  • Redirect stdout/stderr to Console Widget (#1821)
  • Add shortcuts to breakpoints widget (#1834)
  • Add common zoom action for widgets using font from configuration (#1813)
  • Implement parsing selected bytes as Yara (#1818)
  • Add search color option feature + sort color options by name (#1803)
  • Add information from aai to Dashboard, fixes #1571 (#1792)
  • Add addressable item context menu to stack widget (#1779)
  • Add more shortcuts to DisassemblyContextMenu (#1782)
  • Graph export without graphviz (#1773)

Fixes and Changes

  • Moved the debug exit dialog to DebugActions
  • Update radare2 to 4.1.1 - reantull
  • Use events to notify the user about the debugee's death
  • Fix remote debug crash after the first session
  • Prevent the update of some widgets while debug task is in progress to avoid freezing
  • Switch to registerChanged from seekChanged where possible
  • When using add breakpoint button add it not toggle. (#1953)
  • Workaround for new debug widgets being opened in normal mode. (#1950)
  • Show debug widget menu under Debug. (#1949)
  • Highlight Breakpoints and PC in decompiler (#1948)
  • Fix Segfault on Quit after Debug/Emulation (#1943)
  • Fix automatic function naming (#1942)
  • Increase input field size when resizing NativeDebugDialog. (#1930)
  • Fix formatBytecount's sizes (#1928)
  • Separate the search widget's boundaries for debug and non-debug modes
  • Replace changeDebugView and changeDefinedView with toggleDebugView
  • Removed disabling of startEmul to show the restart debug option when emulating
  • Remove metadata from inkscape icons
  • Remove auto scroll from registerRefs widget
  • Support multi-theme icons on debug
  • Improve debug icons
  • Show icon in menus
  • Use uppercase for program counter name
  • Make labels selectable by mouse
  • Disable auto scroll in stack widget
  • Rename backtrace func name column
  • Auto-select text in EditInstructionDialog
  • Improve RegistersWidget grid UI
  • Improve stack widget ui
  • Remove column of active thread in ThreadsWidget
  • Remove vertical numbers in debug widgets
  • Change label to suspend process
  • Detach Cutter interface from debug command execution (#1857)
  • Look for sym.main instead of main 'cause latter is not rebasing in PIEs
  • Fix PIE debug
  • Hides the ContinueUntilMain button if there is no flag called main
  • Fixes issues with reset layout in debug mode
  • Fix emulation not working after a debugging session
  • Improve seek backward and outside of function in Decompiler widget (#1916)
  • Fix 1756: Disable seek when selecting text on Decompiler Widget (#1917)
  • Coverity Fixes (#1912, #1907)
  • Replace hardcoded system plugin directories with list from Qt. (#1814)
  • Added a temporary fix to allow backslashes names (#1899)
  • Improve compatibility with cmake 3.10. (#1882)
  • Disable asm.lines and asm.bytes in XRefs Preview (Fix #1339) (#1893)
  • Fix Strings Widget for changes in radare2 (#1885)
  • Change focus order in SetToDataDialog. (#1873)
  • Hide and resize hexdump sidebar with heuristics (#1798)
  • Refactored qhelpers AbstractItemView item select (#1850)
  • Fix decompiler widget not updating xrefs to decompiled function (#1851)
  • Automatically select the first line of xref (#1849)
  • Deduplicate seek forward and backward action. (#1844)
  • Show bytes has been renamed and moved (#1841)
  • Replacing all QRegExp with QRegularExpression (#1820)
  • Fix graph zoom reset and use same font size as everything else. (#1835)
  • Fix Native Plugin Loading for CMake (#1829)
  • Fix refresh after renaming imported function (#1828)
  • Improve compatibility with cmake 3.5 and QT 5.5-5.11. (#1805)
  • Allow local development using Docker (#1806)
  • Fix #1802 (newly created graph docks have no title) (#1815)
  • Restore breakpoint listing. (#1811)
  • Use AddressableItemContextMenu in Registers widget. (#1794)
  • Improve about dialog (#1799)
  • Fix crash when using graph shortcut (#1801)
  • Fixed zoom shortcuts to something more generic (#1781)
  • Fix "ta" commands after radare2 command refactoring #1774 (#1775)
  • Fix Segfault on Theme Editor Preview Click
  • Fixed TypeWidget font to monospace. (#1755)