sandboxed-api/contrib/libtiff/README.md
Christian Blichmann d805286343 Move libtiff sandbox to contrib/, add to tests
PiperOrigin-RevId: 453410018
Change-Id: I7a9815d844e43fe4b6a1971104179c5b854b2f0a
2022-06-07 05:05:19 -07:00

29 lines
621 B
Markdown

# sapi-libtiff
This library was sandboxed as part of Google's summer 2020 internship program
([blog post](https://security.googleblog.com/2020/12/improving-open-source-security-during.html)).
Copyright 2020 Google LLC.
## Usage
#### build:
```bash
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` for debugging.