2017-10-03 12:45:29 +00:00
# Cutter
[![Build Status ](https://travis-ci.org/radareorg/cutter.svg?branch=master )](https://travis-ci.org/radareorg/cutter)
[![Build status ](https://ci.appveyor.com/api/projects/status/s9rkx1dn3uy4bfdx/branch/master?svg=true )](https://ci.appveyor.com/project/radare/cutter/branch/master)
2017-03-29 08:57:19 +00:00
2017-09-26 16:14:57 +00:00
A Qt and C++ GUI for radare2 reverse engineering framework (originally Iaito)
2017-03-29 08:57:19 +00:00
2017-03-29 10:26:06 +00:00
## Screenshot
2017-10-01 19:31:01 +00:00
![Screenshot ](https://raw.githubusercontent.com/radareorg/cutter/master/docs/screenshot.png )
2017-03-29 10:26:06 +00:00
2017-03-29 08:57:19 +00:00
## Disclaimer
2017-10-14 18:25:23 +00:00
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.
2017-03-29 08:57:19 +00:00
2017-03-31 10:28:13 +00:00
**IMPORTANT:** the current status is **highly unstable** , it is an alpha version aimed for developers. Users please wait for the first stable release with installers.
2017-03-29 19:42:08 +00:00
2017-03-29 08:57:19 +00:00
## Requirements
2017-10-14 18:25:23 +00:00
**You do not have to do this if you are using a [release ](https://github.com/radareorg/cutter/releases ) since r2 is included in those!**
2017-05-29 09:55:54 +00:00
- **Radare2**: Make sure that, when cloning the project, you use `git clone --recurse-submodules` or run `git submodule update --init` to clone the correct radare2 version. Then execute the following command in the radare2 folder:
2017-03-29 08:57:19 +00:00
```
sys/install.sh
```
2017-03-31 09:37:01 +00:00
2017-09-25 12:55:41 +00:00
- QtCreator and Qt: Right now *cutter* uses Qt 5.9.1, you will need the latest QtCreator and Qt added during the installation:
2017-09-28 16:43:02 +00:00
- Download: [Qt Open Source ](https://info.qt.io/download-qt-for-application-development )
2017-09-23 13:57:39 +00:00
- Add Qt 5.9.1: http://doc.qt.io/qtcreator/creator-project-qmake.html
2017-11-20 16:56:06 +00:00
## Building from source
First you must clone the repository:
```sh
git clone https://github.com/radareorg/cutter
cd cutter
```
2017-11-20 17:50:55 +00:00
2017-11-20 16:56:06 +00:00
### Building radare2
```sh
git submodule init radare2 & & git submodule update radare2
cd radare2 & & ./sys/install.sh
cd ..
```
### Building cutter
Cutter can be build with two methods: The preferred one is with qmake, but you can also compile it with cmake. Choose the one you want to use.
#### Method 1: Qmake
```sh
mkdir build
cd build
qmake ../src
make
```
2017-11-20 20:17:30 +00:00
#### Method 2: CMake
2017-11-20 16:56:06 +00:00
```sh
cd src
mkdir build
cd build
cmake ..
2017-11-20 20:17:30 +00:00
make
2017-11-20 16:56:06 +00:00
```
Then run cutter: `./cutter` or `./build/cutter`
Note: If radare2 is not installed system-wide (`./sys/user.sh` installation for instance) you might want to use `LD_LIBRARY_PATH=$HOME/bin/prefix/radare2/lib ./cutter` to run cutter.
2017-03-29 08:57:19 +00:00
2017-10-03 00:39:43 +00:00
## Troubleshoting
On Mac, QT5 apps fail to build on QtCreator if you have the libjpeg lib installed with brew. Run this command to workaround the issue:
sudo mv /usr/local/lib/libjpeg.dylib /usr/local/lib/libjpeg.dylib.not-found
2017-11-20 17:50:55 +00:00
If you encounter the `Project ERROR: r_core development package not found` try this command instead `PKG_CONFIG_PATH=$HOME/bin/prefix/radare2/lib/pkgconfig qmake`
2017-10-03 00:39:43 +00:00
2017-03-29 08:57:19 +00:00
## Platforms
2017-09-25 12:55:41 +00:00
Cutter is developed on OS X, Linux and Windows. The first release for users will include installers for all three platforms.
2017-03-29 08:57:19 +00:00
## Documentation
Proper documentation and website will be created before the first release.
2017-03-29 12:33:32 +00:00
2017-03-30 08:43:36 +00:00
## Help
2017-09-25 12:55:41 +00:00
Right now the best place to obtain help from *cutter* developers and community is joining this telegram group:
2017-03-30 08:43:36 +00:00
2017-10-21 16:12:13 +00:00
- https://t.me/r2cutter
2017-10-04 11:37:35 +00:00
- #cutter on irc.freenode.net