sandboxed-api/oss-internship-2020/libtiff
Latysheva Alexandra 113e6c8229
update readme
2020-10-30 19:07:40 +06:00
..
example remove default image in the example and rewrite usage 2020-10-30 12:36:42 +00:00
test use inline for constants in the header 2020-10-29 05:58:27 +00: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 update readme 2020-10-30 19:07:40 +06: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 run:

./test/tests