tree: 93fc2fd2a5af3bc52467da04b2be4561dde404eb [path history] [tgz]
  1. example/
  2. test/
  3. wrapper/
  4. .gitignore
  5. CMakeLists.txt
  6. README.md
  7. sandboxed.h
oss-internship-2020/libtiff/README.md

sapi-libtiff

Copyright 2020 Google LLC.

Start use

You should make sure the libtiff submodule is cloned.

git clone --recursive https://github.com/alexelex/sapi-libtiff

Usage

build:

mkdir -p build && cd build && cmake .. -DSAPI_ROOT=$HOME/sapi_root -DBUILD_SHARED_LIBS=OFF

make -j 8

to run the sandboxed example:

./example/sandboxed absolute/path/to/project/dir

to run tests:

./test/tests

you also can use sandbox flags sandbox2_danger_danger_permit_all and sandbox2_danger_danger_permit_all_and_log