Giter VIP home page Giter VIP logo

sea-cut's Introduction

Environment Setup

Remote Linux Server

Project Root/ | |-- llvm-project |-- llvm_config.sh

  1. Clone llvm project to the remote server. $ git clone https://github.com/llvm/llvm-project.git -b release/9.x

  2. git clone https://github.com/seahorn/sea-cut.git

  3. run llvm_config.sh $ sea-cut/llvm_config.sh

  4. Install the project $ cd build-llvm-debug $ ninja install

Local Machine

  1. Download and install CLion (Link).

  2. CLone the project to your local $ git clone https://github.com/seahorn/sea-cut.git

  3. Use CLion to open the project /sea-cut

  4. In CLion -> Preferences -> Build, Execution, Deployment -> Toolchains, add the configuration:

    a. Add your remote credentials. (This should be the same as remote Linux credentials). b. CMake: /usr/bin/cmake c. Make: /usr/bin/make d. C Compiler: /usr/bin/clang-8 e. C++ Compler: /usr/bin/clang++-8 f. Debugger: /usr/bin/gdb

  5. In CLion -> Preferences -> Build, Excution, Deployment -> CMake, add the configuration: a. CMake Option: -DCMAKE_BUILD_TYPE=Debug -DSEACUT_USE_LINKER=lld-8 -DLLVM_DIR={$PROJECT_DIRETORY}/build-llvm-debug/run -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 where {$PROJECT_DIRETORY} is your project diretory in remote server. b. Generatio Path: cmake-build-debug c. Build Options: -j 16

Runing the Project in Remote

  1. In the SeatCut directory run $ ./config.sh ~/build-llvm-debug/run

  2. $ cd build/ and $ ninja

Runing Test Cases

$ ninja test-sea-cut

sea-cut's People

Contributors

kuhar avatar michellexiaoxiaowang avatar q4wen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.