Name Date Size #Lines LOC

..--

example/H25-Apr-2025-318238

test/H25-Apr-2025-1,062717

wrapper/H25-Apr-2025-284195

CMakeLists.txtH A D25-Apr-20253.7 KiB126107

README.mdH A D25-Apr-2025621 2918

sandboxed.hH A D25-Apr-20252 KiB7045

README.md

1# sapi-libtiff
2
3This library was sandboxed as part of Google's summer 2020 internship program
4([blog post](https://security.googleblog.com/2020/12/improving-open-source-security-during.html)).
5
6Copyright 2020 Google LLC.
7
8## Usage
9
10#### build:
11
12```bash
13mkdir -p build && cd build && cmake .. \
14  -DSAPI_ROOT=$HOME/sapi_root \
15  -DBUILD_SHARED_LIBS=OFF
16make -j 8
17```
18
19#### to run the sandboxed example:
20
21`./example/sandboxed absolute/path/to/project/dir`
22
23#### to run tests:
24
25`./test/tests`
26
27you also can use sandbox flags `sandbox2_danger_danger_permit_all` and
28`sandbox2_danger_danger_permit_all_and_log` for debugging.
29