sandboxed-api/oss-internship-2020/libtiff
Latysheva Alexandra 0710361ed4
update helper
2020-10-30 20:41:26 +06:00
..
example remove default image in the example and rewrite usage 2020-10-30 12:36:42 +00:00
test update helper 2020-10-30 20:41:26 +06:00
wrapper add nolint to every include '*.h' that is added by this pr 2020-10-11 08:20:40 +00:00
.gitignore from local repo to fork 2020-09-23 20:21:33 +00:00
CMakeLists.txt 4 spaces -> 2 spaces 2020-10-11 10:23:42 +00:00
README.md use ctest for testing and set testing environment for using test data 2020-10-30 14:34:33 +00:00
sandboxed.h use local variable instead of dynamic variable in TiffSapiSandbox::ModifyPolicy 2020-10-28 13:16:15 +00:00

Sandboxed LibTIFF

Copyright 2020 Google LLC.

Start use

You should make sure the libtiff submodule is cloned.

git clone --recursive https://github.com/google/sandboxed-api

Usage

Build:

mkdir -p build && cd build && \
	cmake .. -DSAPI_ROOT=/path/to/sapi_root -DBUILD_SHARED_LIBS=OFF
make -j8

Example:

You should add -DTIFF_SAPI_ENABLE_EXAMPLES=ON to use the example and run:

./example/sandboxed /absolute/path/to/input/image.tiff

Tests:

You should add -DTIFF_SAPI_ENABLE_TESTS=ON to use tests and do:

cd test
ctest .