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

Sys intercept new repo #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "dependencies/syscall_intercept"]
path = dependencies/syscall_intercept
url = [email protected]:pmem/syscall_intercept.git
25 changes: 24 additions & 1 deletion dependencies/splitfs_deps.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
#!/bin/bash

# install boost
sudo apt-get install libboost-dev
sudo apt-get install libboost-dev libcapstone-dev cmake pandoc clang

# install syscall_intercept
git submodule init
git submodule update
syscall_dir=$PWD/syscall_intercept
install_dir=$PWD/sysint_install

mkdir $install_dir
cd $install_dir
cmake $syscall_dir -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang
if [ "$?" -ne 0 ]; then
echo "Failed to build syscall_intercept"
exit 1
fi

make
if [ "$?" -ne 0 ]; then
echo "Failed to build syscall_intercept"
exit 1
fi

sudo make install
rm -rf $install_dir
1 change: 1 addition & 0 deletions dependencies/syscall_intercept
Submodule syscall_intercept added at 304404
Loading