Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #61

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: C/C++ CI

on:
push:
branches: [ "llvm-14.0.6", "main" ]
branches: [ "main" ]
pull_request:
branches: [ "llvm-14.0.6", "main" ]
branches: [ "main" ]

jobs:
Ubuntu:
Expand All @@ -17,8 +17,6 @@ jobs:
run: sudo apt install ninja-build -y
- name: Install z3
run: sudo apt install libz3-dev -y
- name: Install lld
run: sudo apt install lld -y
- name: git submodule update --init
run: git submodule update --init
- name: ./build.sh
Expand Down
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,24 @@ Install z3 (required by MBAObfuscation):
```
$ sudo apt install libz3-dev
```
(Optional) Install lld:
```
// This is an optional depencency to speed up the linking stage when building LLVM.
// If you don't want to install this dependency, remove the line `set(LLVM_ENABLE_LLD ON)` in CMakeLists.txt
$ sudo apt install lld
```
Install Ninja and other dependencies:
```
$ sudo apt install ninja-build cmake python3 gcc g++
```
Build and install Pluto to `./install` directory:
```
$ mkdir -p build
$ cmake -G Ninja -S . -B build \
-DCMAKE_C_COMPILER="gcc" \
-DCMAKE_CXX_COMPILER="g++" \
-DCMAKE_INSTALL_PREFIX="install" \
-DCMAKE_BUILD_TYPE=Release
$ ninja -j`nproc` -C build install
```
Or:
```
$ ./build.sh
```
```

## Usage
// TODO