{"id":21882430,"url":"https://github.com/seahorn/sea-cut","last_synced_at":"2026-04-16T14:32:26.097Z","repository":{"id":77535023,"uuid":"204065563","full_name":"seahorn/sea-cut","owner":"seahorn","description":"C/C++ refactoring tool for library abstractions","archived":false,"fork":false,"pushed_at":"2019-08-23T20:33:39.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-26T19:14:26.444Z","etag":null,"topics":["c","cplusplus","program-verification","refactoring","static-analysis"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seahorn.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-23T20:27:22.000Z","updated_at":"2024-08-23T20:34:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ad230fd-a79a-4033-a90a-3af1ef12ec8f","html_url":"https://github.com/seahorn/sea-cut","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seahorn%2Fsea-cut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seahorn%2Fsea-cut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seahorn%2Fsea-cut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seahorn%2Fsea-cut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seahorn","download_url":"https://codeload.github.com/seahorn/sea-cut/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890098,"owners_count":20527035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cplusplus","program-verification","refactoring","static-analysis"],"created_at":"2024-11-28T09:29:29.460Z","updated_at":"2026-04-16T14:32:26.052Z","avatar_url":"https://github.com/seahorn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Environment Setup\n\n## Remote Linux Server\n\n\nProject Root/\n|\n|-- llvm-project\n|-- llvm_config.sh\n\n1. Clone llvm project to the remote server.\n    $ `git clone https://github.com/llvm/llvm-project.git -b release/9.x`\n\n2. git clone https://github.com/seahorn/sea-cut.git\n3. run llvm_config.sh\n    $ `sea-cut/llvm_config.sh`\n4. Install the project\n    $ `cd build-llvm-debug`\n    $ `ninja install`\n\n\n## Local Machine\n\n1. Download and install CLion ([Link](https://www.jetbrains.com/clion/)).\n2. CLone the project to your local\n    $ `git clone https://github.com/seahorn/sea-cut.git`\n\n3. Use CLion to open the project `/sea-cut`\n4. In CLion -\u003e Preferences -\u003e Build, Execution, Deployment -\u003e Toolchains, add the configuration:\n\n    a. Add your remote credentials. (This should be the same as remote Linux credentials).\n    b. CMake: `/usr/bin/cmake`\n    c. Make: `/usr/bin/make`\n    d. C Compiler: `/usr/bin/clang-8`\n    e. C++ Compler: `/usr/bin/clang++-8`\n    f. Debugger: `/usr/bin/gdb`\n5. In CLion -\u003e Preferences -\u003e Build, Excution, Deployment -\u003e CMake, add the configuration: \na. CMake Option: \n    ```-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```\nwhere `{$PROJECT_DIRETORY}` is your project diretory in remote server.\nb. Generatio Path: `cmake-build-debug`\nc. Build Options: `-j 16`\n\n# Runing the Project in Remote\n\n1. In the SeatCut directory run\n    $ `./config.sh ~/build-llvm-debug/run`\n\n2. $ `cd build/` and $ `ninja`\n\n\n## Runing Test Cases\n$ `ninja test-sea-cut`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseahorn%2Fsea-cut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseahorn%2Fsea-cut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseahorn%2Fsea-cut/lists"}