9f7b96281d
* 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 |
||
---|---|---|
.github | ||
docker | ||
docs | ||
radare2@b50080b363 | ||
scripts | ||
src | ||
.appveyor.yml | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
build.bat | ||
build.sh | ||
CONTRIBUTING.md | ||
COPYING | ||
meson.py | ||
prepare_r2.bat | ||
README.md |
Cutter
A Qt and C++ GUI for radare2 reverse engineering framework (originally named Iaito).
Screenshot
Disclaimer
Cutter is not aimed at existing radare2 users. It instead focuses on those whose are not yet radare2 users because of the learning curve, because they don't like CLI applications or because of the difficulty/instability of radare2.
Installing
Downloading a release
Cutter is available for all platforms (Linux, OS X, Windows). You can download the latest release here.
- Linux: use the AppImage file. Then just make it executable and run it:
chmod +x Cutter-v1.6-x86_64.AppImage
./Cutter-v1.6-x86_64.AppImage
Building from source
Requirements
Cutter is based on Qt so you will need to have it installed.
- Download: Qt Open Source
- Add Qt 5.9.1: http://doc.qt.io/qtcreator/creator-project-qmake.html
Building
First you must clone the repository:
git clone --recurse-submodules https://github.com/radareorg/cutter
cd cutter
Building on linux:
./build.sh
Important note:
When using the default build.sh
script you might encounter a ModuleNotFoundError
upon starting Cutter.
This can be resolved by either
-
disabling the optional jupyter support during building by modifying
build.sh
as follows:- Uncomment
#QMAKE_CONF="CUTTER_ENABLE_JUPYTER=false CUTTER_ENABLE_QTWEBENGINE=false"
- Comment out the prior empty
QMAKE_CONF=""
- Uncomment
-
or alternatively by installing the two python dependencies manually afterwards via:
pip3 install notebook jupyter_client
Building on Windows:
prepare_r2.bat
build.bat
If any of those do not work, check the more detailed version here.
Check this page for common issues.
Docker
To deploy cutter using a pre-built Dockerfile
, it's possible to use the provided configuration. The corresponding README.md
file also contains instructions on how to get started using the docker image with minimal effort.
Global shortcuts
Shortcut | Function |
---|---|
. | Focus console input |
G/S | Focus search bar |
Ctrl/Cmd+R | Refresh contents |
Disassembly view shortcuts
Shortcut | Function |
---|---|
Esc | Seek to previous position |
Space | Switch to disassembly graph view |
Ctrl/Cmd+C | Copy |
; | Add comment |
N | Rename current function/flag |
Shift+N | Rename flag/function used here |
X | Show Xrefs |
Graph view shortcuts
Shortcut | Function |
---|---|
Esc | Seek to previous position |
Space | Switch to disassembly view |
Ctrl/Cmd+MouseWheel | Zoom |
+ | Zoom in |
- | Zoom out |
= | Reset zoom |
J | Next instruction |
K | Previous instruction |
Debug shortcuts
Shortcut | Function |
---|---|
F9 | Start debug |
F7 | Step into |
F8 | Step over |
F5 | Continue |
F2/(Ctrl/Cmd)+B | Add breakpoint |
Help
Right now the best place to obtain help from cutter developers and community is joining this telegram group:
- https://t.me/r2cutter
- #cutter on irc.freenode.net
- @r2gui on Twitter