sandboxed-api/oss-internship-2020/libtiff
2020-10-29 05:58:27 +00:00
..
example add header for data and move there common consts 2020-10-28 14:04:14 +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 add flags to readme 2020-10-11 17:02:47 +06:00
sandboxed.h use local variable instead of dynamic variable in TiffSapiSandbox::ModifyPolicy 2020-10-28 13:16:15 +00:00

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=/path/to/sapi_root -DBUILD_SHARED_LIBS=OFF
make -j8

Example:

You should add -DTIFF_SAPI_ENABLE_EXAMPLES=ON to use the example.
run: ./example/sandboxed /absolute/path/to/project/dir

Tests:

You should add -DTIFF_SAPI_ENABLE_TESTS=ON to use tests.
run: ./test/tests