Commit 5e09ae78 authored by dmknght's avatar dmknght

New upstream version 1.12.0

parent c7826d02
version: '1.10.1-git-{build}'
image: 'Visual Studio 2017'
version: '1.12.0-git-{build}'
image: 'Visual Studio 2019'
clone_depth: 1
# Build configuration
......@@ -9,15 +9,17 @@ configuration:
# Environment
environment:
NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip
QT32PATH: 'C:\Qt\5.12\msvc2017'
QT64PATH: 'C:\Qt\5.12\msvc2017_64'
VSVARSALLPATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat'
VSVARSALLPATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat'
QTPATH: 'cutter-deps\qt'
USE_APPVEYOR_QT: 'false'
matrix:
# Build: qmake vs2017 x86 shared
#- ARCH: x86
# PYTHON: 'C:\Python36'
# QMAKE: 1
# DEPLOY: true
# QTPATH: 'C:\Qt\5.12\msvc2017'
# USE_APPVEYOR_QT: true
# Build: qmake vs2017 x64 shared
- ARCH: x64
PYTHON: 'C:\Python36-x64'
......@@ -31,17 +33,19 @@ environment:
DEPLOY: false
install:
- cmd: if defined QMAKE ( git clone --depth 1 --recurse-submodules https://github.com/radareorg/r2ghidra-dec.git %APPVEYOR_BUILD_FOLDER%/r2ghidra-dec )
- ps: $env:path = ($env:path -split ";").Where({!($_ -like "*Microsoft SQL Server*")}) -join ";"
- cmd: C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && scripts/fetch_deps.sh"
- cmd: set "CUTTER_DEPS_DIR=%APPVEYOR_BUILD_FOLDER%\cutter-deps"
- cmd: set "PATH=%CD%;%PYTHON%;%PATH%"
- cmd: call "%VSVARSALLPATH%" %ARCH%
- cmd: if "%ARCH%" == "x64" ( set "PATH=%QT64PATH%\bin;%PATH%" ) else ( set "PATH=%QT32PATH%\bin;%PATH%" )
- cmd: python -m pip install meson
- cmd: if "%USE_APPVEYOR_QT%" == "false" ( set "QTPATH=%APPVEYOR_BUILD_FOLDER%\%QTPATH%" )
- cmd: set "PATH=%QTPATH%\bin;%PYTHON%\Scripts\;%PATH%"
- cmd: echo %PATH%
- cmd: python -m pip install meson==0.52
- cmd: where meson.exe
- cmd: powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget %NINJA_URL% -OutFile ninja.zip; Expand-Archive .\ninja.zip -DestinationPath ."
# Artifacts
- cmd: set "ARTIFACT_NAME=Cutter-v1.10.1-%ARCH%.Windows"
- cmd: set "ARTIFACT_NAME=Cutter-v1.12.0-%ARCH%.Windows"
- cmd: if defined MESON ( set "ARTIFACT_PATH=dist_%ARCH%" ) else ( set "ARTIFACT_PATH=build_%ARCH%\cutter" )
before_build:
......@@ -50,17 +54,19 @@ before_build:
# Build config
build_script:
- cmd: if defined QMAKE ( call prepare_r2.bat && call build.bat CUTTER_APPVEYOR_R2DEC=true CUTTER_R2GHIDRA_STATIC=true R2GHIDRA_SOURCE="%APPVEYOR_BUILD_FOLDER%/r2ghidra-dec" CUTTER_ENABLE_CRASH_REPORTS=true CUTTER_ENABLE_PYTHON=true CUTTER_ENABLE_PYTHON_BINDINGS=true CUTTER_DEPS_DIR="%CUTTER_DEPS_DIR%" )
- cmd: if defined QMAKE ( call prepare_r2.bat )
- cmd: if defined QMAKE ( C:\msys64\usr\bin\bash -lc "export PATH=\"/c/msys64/usr/bin:$PATH\" && cd \"$APPVEYOR_BUILD_FOLDER\" && scripts/appveyor_r2ghidra.sh" )
- cmd: if defined QMAKE ( call build.bat CUTTER_APPVEYOR_R2DEC=true CUTTER_R2GHIDRA_STATIC=true R2GHIDRA_SOURCE="%APPVEYOR_BUILD_FOLDER%/r2ghidra-dec" R2GHIDRA_INSTALL_PATH="%APPVEYOR_BUILD_FOLDER%/r2_dist/lib/plugins" CUTTER_ENABLE_CRASH_REPORTS=true CUTTER_ENABLE_PYTHON=true CUTTER_ENABLE_PYTHON_BINDINGS=true CUTTER_DEPS_DIR="%CUTTER_DEPS_DIR%" )
- cmd: if defined MESON ( python meson.py --release --dist=%ARTIFACT_PATH% --backend=%BACKEND% --python )
after_build:
- cmd: if defined QMAKE ( set "PATH=%CD%\r2_dist_%ARCH%\bin;%PATH%" && powershell scripts\bundle_r2dec.ps1 "%CD%\%ARTIFACT_PATH%" )
- cmd: if defined QMAKE ( C:\msys64\usr\bin\bash -lc "export PATH=\"/c/msys64/usr/bin:$PATH\" && cd \"$APPVEYOR_BUILD_FOLDER\" && scripts/appveyor_r2ghidra.sh" )
- cmd: powershell scripts\bundle_openssl.ps1 %ARCH% "%CD%\%ARTIFACT_PATH%"
- cmd: if defined QMAKE ( set "PATH=%CD%\r2_dist\bin;%PATH%" && powershell scripts\bundle_r2dec.ps1 "%CD%\%ARTIFACT_PATH%" )
#- cmd: if defined QMAKE ( C:\msys64\usr\bin\bash -lc "export PATH=\"/c/msys64/usr/bin:$PATH\" && cd \"$APPVEYOR_BUILD_FOLDER\" && scripts/appveyor_r2ghidra.sh" )
#- cmd: powershell scripts\bundle_openssl.ps1 %ARCH% "%CD%\%ARTIFACT_PATH%"
- cmd: powershell scripts\bundle_python.ps1 %ARCH% "%CD%\%ARTIFACT_PATH%"
- cmd: xcopy "%CUTTER_DEPS_DIR%\pyside\lib\site-packages" "%ARTIFACT_PATH%\python36\site-packages" /e /i /h
- cmd: copy "%CUTTER_DEPS_DIR%\pyside\bin\shiboken2.dll" "%ARTIFACT_PATH%\"
- cmd: copy "%CUTTER_DEPS_DIR%\pyside\bin\pyside2.dll" "%ARTIFACT_PATH%\"
- cmd: copy "%CUTTER_DEPS_DIR%\pyside\bin\shiboken2.abi3.dll" "%ARTIFACT_PATH%\"
- cmd: copy "%CUTTER_DEPS_DIR%\pyside\bin\pyside2.abi3.dll" "%ARTIFACT_PATH%\"
# Tests
test: off
......
......@@ -9,7 +9,7 @@ about: Create a report to help us improve
* Cutter version:
* Obtained from:
- [x] Built from source
- [ ] Downloaded from release
- [ ] Downloaded release from Cutter website or GitHub
- [ ] Distribution repository
* File format:
......
blank_issues_enabled: false
contact_links:
- name: Questions Telegram
url: https://t.me/r2cutter
about: Please ask questions about Cutter here or one of the other community channels, not in the issue tracker.
- name: Questions IRC
url: https://webchat.freenode.net/#cutter
about: "#cutter on irc.freenode.net"
\ No newline at end of file
<!-- Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request. -->
<!-- Filling this template is mandatory -->
**Your checklist for this pull request**
- [ ] I've read the [guidelines for contributing](https://cutter.re/docs/contributing/code/getting-started.html) to this repository
- [ ] I made sure to follow the project's [coding style](https://cutter.re/docs/contributing/code/development-guidelines.html)
- [ ] I've updated the [documentation](https://cutter.re/docs/user-docs.html) with the relevant information (if needed)
**Detailed description**
<!-- Explain the **details** for making this change. What existing problem does the pull request solve? Please provide enough information so that others can review your pull request -->
**Detailed description**
<!-- Explain the **details** for making this change. Is a new feature implemented? What existing problem does the pull request solve? How does the pull request solve these issues? Please provide enough information so that others can review your pull request. -->
**Test plan (required)**
<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->
<!-- What steps should the reviewer take to test your pull request? Demonstrate that the code is solid. Example: The exact actions you made and their outcome. Add screenshots/videos if the pull request changes UI. This is your time to re-check that everything works and that you covered all the edge cases -->
<!-- **Code formatting**
Make sure you ran astyle on your code before making the PR. Check our contribution guidelines here: https://cutter.re/docs/code.html -->
**Closing issues**
<!-- put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). -->
<!-- put "closes #XXXX" in your comment to auto-close the issue that your PR fixes (if such). -->
......@@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-16.04, macos-latest]
os: [ubuntu-18.04, ubuntu-16.04, macos-latest, windows-latest]
python-version: [3.7.x]
# Prevent one job from pausing the rest
fail-fast: false
......@@ -21,16 +21,31 @@ jobs:
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true # 'recursive' 'true' or 'false'
persist-credentials: false
- name: apt dependencies
if: contains(matrix.os, 'ubuntu')
run: sudo apt-get install ninja-build libgraphviz-dev
run: |
if [[ "${{ matrix.os }}" = "ubuntu-18.04" ]]
then
# github action VMs currently have broken package list causing install to fail, run update to refresh it
# remove this once fixed
sudo apt-get update
fi
sudo apt-get install libgraphviz-dev mesa-common-dev
if [[ "${{ matrix.os }}" = "ubuntu-16.04" ]]
then
sudo apt-get install ninja-build/xenial-backports
else
sudo apt-get install ninja-build
fi
- name: homebrew dependencies
if: contains(matrix.os, 'macos')
run: |
cd scripts
brew update --preinstall # temporary workaround for https://github.com/Homebrew/homebrew-bundle/issues/751
brew bundle
brew tap iveney/mocha
brew install realpath
......@@ -82,3 +97,39 @@ jobs:
-DBREAKPAD_FRAMEWORK_DIR="$BREAKPAD_FRAMEWORK_DIR" \
../src && \
make -j4;
- name: windows dependencies
if: contains(matrix.os, 'windows-latest')
shell: bash
run: |
pip install ninja
scripts/fetch_deps.sh
- name: windows cmake
if: contains(matrix.os, 'windows-latest')
shell: cmd
run: |
set CUTTER_DEPS=%CD%\cutter-deps
set PATH=%CD%\cutter-deps\qt\bin;%PATH%
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
cd
mkdir build
cd build
set PACKAGE_NAME=cutter-git-x64.Windows
cmake ^
-DCMAKE_BUILD_TYPE=Release ^
-DCUTTER_USE_BUNDLED_RADARE2=ON ^
-DCUTTER_ENABLE_PYTHON=ON ^
-DCUTTER_ENABLE_PYTHON_BINDINGS=ON ^
-DCUTTER_PACKAGE_DEPENDENCIES=ON ^
-DCUTTER_ENABLE_DEPENDENCY_DOWNLOADS=ON ^
-DCMAKE_PREFIX_PATH="%CUTTER_DEPS%\pyside" ^
-DCPACK_PACKAGE_FILE_NAME=%PACKAGE_NAME% ^
-G Ninja ^
../src
cmake --build . --config Release
cmake --build . --config Release --target package
echo ::set-env name=PACKAGE_NAME::%PACKAGE_NAME%.zip
- uses: actions/upload-artifact@v2
if: env.PACKAGE_NAME != null
with:
name: ${{ env.PACKAGE_NAME }}
path: build/${{ env.PACKAGE_NAME }}
......@@ -28,7 +28,7 @@ jobs:
sudo chmod -R go-w /usr/share
- name: apt dependencies
run: sudo apt-get install ninja-build libgraphviz-dev
run: sudo apt-get install ninja-build libgraphviz-dev mesa-common-dev
- name: py dependencies
run: |
......
......@@ -31,6 +31,7 @@ moc_*.h
ui_*.h
build*/
cmake-build-*/
/src-build/
# QtCreator
*.autosave
......@@ -58,6 +59,7 @@ src/CMakeFiles/*
ninja.exe
r2_dist_x86/
r2_dist_x64/
r2_dist/
*.pdb
# Mesonbuild
......@@ -70,11 +72,21 @@ __pycache__
# Other
compile_commands.json
.ccls-cache
docs/source/_build
# vscode
**/.vscode
/.vscode/*
!/.vscode/settings.json
!/.vscode/extensions.json
# Visual Studio CMake
src/out
.vs
# cutter-deps
/cutter-deps
/breakpad
# astyle backup .orig files
*.orig
......@@ -11,30 +11,50 @@ branches:
matrix:
include:
- name: Linux QMake + Deploy
- name: Linux QMake
os: linux
env: BUILD_SYSTEM=qmake DEPLOY=1
dist: xenial
env: BUILD_SYSTEM=qmake
addons:
apt:
packages:
- ninja-build
before_install:
- pyenv global 3.7
- pip install meson
- mesa-common-dev
- libgl1-mesa-glx
- libgl1-mesa-dev
- libxkbcommon-x11-dev
- ninja-build/xenial-backports
- name: Linux CMake
os: linux
env: BUILD_SYSTEM=cmake
env: BUILD_SYSTEM=cmake_nodep
before_install:
- ls $(pyenv root)/versions
- pyenv global 3.7
- pip3 install meson
addons:
apt:
packages:
- mesa-common-dev
- ninja-build
- libgraphviz-dev
before_install:
- pyenv global 3.7
- pip install meson
- qt5-default
- libqt5svg5-dev
- qttools5-dev
- name: Linux Ubuntu 16.04
- name: Linux CMake + Deploy
os: linux
env: BUILD_SYSTEM=cmake DEPLOY=1
dist: xenial
addons:
apt:
packages:
- mesa-common-dev
- libgl1-mesa-glx
- libgl1-mesa-dev
- libxkbcommon-x11-dev
- ninja-build/xenial-backports
- name: Linux Ubuntu 16.04 # test that Cutter can be built on an old distro using system libraries
os: linux
env: BUILD_SYSTEM=cmake_nodep PATH="/usr/bin:$PATH"
dist: xenial
......@@ -45,6 +65,8 @@ matrix:
- libgraphviz-dev
- qt5-default
- libqt5svg5-dev
- qttools5-dev
- qttools5-dev-tools
- cmake
before_install:
- pyenv install 3.5.2
......@@ -54,13 +76,19 @@ matrix:
- name: macOS QMake + Deploy
os: osx
osx_image: xcode10.3
osx_image: xcode11
env: BUILD_SYSTEM=qmake DEPLOY=1
before_install: ~
- name: macOS CMake
os: osx
osx_image: xcode10.3
osx_image: xcode11
env: BUILD_SYSTEM=cmake
before_install: ~
addons:
homebrew:
brewfile: scripts/Brewfile
update: true # updating brew to get slightly newer meson, 0.54 doesn't work on macOS.
- name: Documentation + Deploy
os: linux
......@@ -69,10 +97,13 @@ matrix:
apt:
packages:
- doxygen
- python3-sphinx
- python3-breathe
- python3-sphinx-rtd-theme
- libgraphviz-dev
before_install:
- pyenv global 3.7
- pip3 install -U sphinx
- pip3 install -U breathe
- pip3 install -U sphinx-rtd-theme
- pip3 install -U recommonmark
install: ~
before_script: ~
after_success: ~
......@@ -101,6 +132,12 @@ dist: bionic
addons:
homebrew:
brewfile: scripts/Brewfile
# update: true
before_install:
- ls $(pyenv root)/versions
- pyenv global 3.7.1
- pip3 install meson
install:
- if [[ "$BUILD_SYSTEM" != "cmake_nodep" ]]; then
......@@ -118,9 +155,9 @@ install:
before_script:
- cd radare2
- if [[ "$BUILD_SYSTEM" == "qmake" ]]; then
- if [[ "$BUILD_SYSTEM" == "qmake" ]] || ([[ "$BUILD_SYSTEM" == "cmake" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]) ; then
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
INSTALL_TARGET=install sys/install.sh;
INSTALL_TARGET=install sys/install.sh /usr;
else
LDFLAGS=-headerpad_max_install_names INSTALL_TARGET=install sys/install.sh;
fi
......@@ -138,19 +175,21 @@ script:
CUTTER_ENABLE_PYTHON_BINDINGS=true
CUTTER_ENABLE_CRASH_REPORTS=true
PREFIX=/usr
APPIMAGE=1
../src &&
make -j4;
elif [[ "$BUILD_SYSTEM" == "cmake" ]]; then
cmake
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_PREFIX_PATH="$Qt5_ROOT"
-DPYTHON_LIBRARY="$CUTTER_DEPS_PYTHON_PREFIX/lib/libpython3.6m.so.1.0"
-DPYTHON_INCLUDE_DIR="$CUTTER_DEPS_PYTHON_PREFIX/include/python3.6m"
-DPYTHON_EXECUTABLE="$CUTTER_DEPS_PYTHON_PREFIX/bin/python3"
-DCUTTER_ENABLE_PYTHON=ON
-DCUTTER_ENABLE_PYTHON_BINDINGS=ON
-DCUTTER_ENABLE_CRASH_REPORTS=ON
-DCUTTER_USE_BUNDLED_RADARE2=ON
-DCUTTER_USE_BUNDLED_RADARE2=OFF
-DCUTTER_APPIMAGE_BUILD=ON
-DCMAKE_INSTALL_PREFIX=appdir/usr
../src &&
make -j4;
elif [[ "$BUILD_SYSTEM" == "cmake_nodep" ]]; then
......@@ -191,8 +230,8 @@ script:
after_success:
- export CUTTER_VERSION=$(python ../scripts/get_version.py)
- lrelease ../src/Cutter.pro
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
lrelease ../src/Cutter.pro &&
mkdir -p Cutter.app/Contents/Resources/translations &&
cp ../src/translations/*.qm Cutter.app/Contents/Resources/translations/ &&
macdeployqt Cutter.app -executable=Cutter.app/Contents/MacOS/Cutter -libpath="../Frameworks" &&
......@@ -221,19 +260,18 @@ after_success:
hdiutil convert "${DMG_TMP_FILE}" -format UDZO -imagekey zlib-level=9 -o "${DMG_FILE}" &&
export FILE_TO_UPLOAD="$DMG_FILE"
; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make INSTALL_ROOT=appdir install &&
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $DEPLOY == 1 ]]; then
export VERSION=$CUTTER_VERSION &&
make install &&
cp -r /usr/share/radare2 appdir/usr/share/ &&
mkdir -p appdir/usr/bin/translations &&
cp ../src/translations/*.qm appdir/usr/bin/translations/ &&
"$TRAVIS_BUILD_DIR/scripts/appimage_embed_python.sh" appdir &&
"$TRAVIS_BUILD_DIR/scripts/r2ghidra.sh" -DCMAKE_INSTALL_PREFIX="`pwd`/appdir/usr" -DBUILD_CUTTER_PLUGIN=ON -DCUTTER_SOURCE_DIR="$TRAVIS_BUILD_DIR" &&
"$TRAVIS_BUILD_DIR/scripts/r2dec.sh" --prefix=`pwd`/appdir/usr &&
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage" &&
chmod a+x linuxdeployqt*.AppImage &&
rm -fv "$TRAVIS_BUILD_DIR/cutter-deps/qt/plugins/imageformats/libqjp2.so" &&
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -unsupported-allow-new-glibc -bundle-non-qt-libs -no-strip -exclude-libs=libnss3.so,libnssutil3.so,libqjp2.so -ignore-glob=usr/lib/python3.6/**/* -verbose=2 &&
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -unsupported-allow-new-glibc -appimage -no-strip -exclude-libs=libnss3.so,libnssutil3.so,libqjp2.so -ignore-glob=usr/lib/python3.6/**/* -verbose=2 &&
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -executable=./appdir/usr/bin/python3 -bundle-non-qt-libs -no-strip -exclude-libs=libnss3.so,libnssutil3.so,libqjp2.so -ignore-glob=usr/lib/python3.6/**/* -verbose=2 &&
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -executable=./appdir/usr/bin/python3 -appimage -no-strip -exclude-libs=libnss3.so,libnssutil3.so,libqjp2.so -ignore-glob=usr/lib/python3.6/**/* -verbose=2 &&
find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq &&
export APPIMAGE_FILE="Cutter-v$CUTTER_VERSION-x64.Linux.AppImage" &&
mv Cutter-*-x86_64.AppImage "$APPIMAGE_FILE" &&
......
{
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"twxs.cmake"
]
}
\ No newline at end of file
{
"cmake.sourceDirectory": "${workspaceFolder}/src",
"cmake.configureSettings": {
"CUTTER_USE_BUNDLED_RADARE2": "ON"
}
}
\ No newline at end of file
......@@ -12,7 +12,7 @@ You can create an issue by clicking on [this link](https://github.com/radareorg/
Note that cutter is still under development and many parts of the code are to be improved.
The best way is to check the opened issues [here](https://github.com/radareorg/cutter/issues) or discuss with radareorg team.
Please follow our contribution guidelines: https://cutter.re/docs/code.html
Please follow our contribution guidelines: https://cutter.re/docs/contributing.html
## Contributing to the documentation
......
# Security Policy
## Supported Versions
| Version | Supported |
| ---------------- | ------------------ |
| latest-release | :white_check_mark: |
| * | :x: |
## Reporting a Vulnerability
Security issues in the Cutter repository should be reported by email to security@cutter.re. Your email will be delivered to a small security team that will handle the report. Your email will be acknowledged within 48 hours, and you'll receive a more detailed response to your email within 72 hours indicating the next steps in handling your report.
For your convenience, we accept reports written in one of the languages listed on our [security.txt](https://cutter.re/.well-known/security.txt) page, but we prefer reports in English.
If you have not received a reply to your email within 48 hours, or have not heard from the security team for the past week, there are a few steps you can take (in order):
- Directly contact [Itay Cohen](https://www.megabeets.net/about.html#contact) from the Security Team
- Inform the team over the [public chats](https://cutter.re/#community) that you sent a message regarding a security issue.
**Important:** Don't disclose any information regarding the issue itself in the public chats.
Please note that the Cutter Security team isn't handling security issues on the radare2 repository.
......@@ -10,7 +10,7 @@ IF !ERRORLEVEL! NEQ 0 (
EXIT /B 1
)
SET "R2DIST=r2_dist_%PLATFORM%"
SET "R2DIST=r2_dist"
SET "BUILDDIR=build_%PLATFORM%"
SET "BREAKPAD_SOURCE_DIR=%CD%\src\breakpad\src\src"
......@@ -36,8 +36,9 @@ IF !ERRORLEVEL! NEQ 0 EXIT /B 1
ECHO Deploying cutter
MKDIR cutter
COPY release\cutter.exe cutter\cutter.exe
XCOPY /S /I ..\%R2DIST%\radare2 cutter\radare2
DEL cutter\radare2\lib\*.lib
XCOPY /S /I ..\%R2DIST%\share cutter\share
XCOPY /S /I ..\%R2DIST%\lib cutter\lib
DEL cutter\lib\*.lib
COPY ..\%R2DIST%\bin\*.dll cutter\