Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
example/ | H | 25-Apr-2025 | - | 318 | 238 | |
test/ | H | 25-Apr-2025 | - | 1,062 | 717 | |
wrapper/ | H | 25-Apr-2025 | - | 284 | 195 | |
CMakeLists.txt | H A D | 25-Apr-2025 | 3.7 KiB | 126 | 107 | |
README.md | H A D | 25-Apr-2025 | 621 | 29 | 18 | |
sandboxed.h | H A D | 25-Apr-2025 | 2 KiB | 70 | 45 |
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