mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
4c87556901
Follow-up changes might be required to fully fix up the contrib sandboxes. PiperOrigin-RevId: 482475998 Change-Id: Iff631eb838a024b2f047a1be61bb27e35a8ff2f4 |
||
---|---|---|
.. | ||
example | ||
test | ||
wrapper | ||
CMakeLists.txt | ||
README.md | ||
sandboxed.h |
sapi-libtiff
This library was sandboxed as part of Google's summer 2020 internship program (blog post).
Copyright 2020 Google LLC.
Usage
build:
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.