mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
dbaf95c724
This change should make it less confusing where utility code comes from. Having it in two places made sense when we were debating whether to publish Sandbox2 separately, but not any longer. Follow-up changes will move `sandbox2/util.h` and rename the remaining `sandbox2/util` folder. PiperOrigin-RevId: 351601640 Change-Id: I6256845261f610e590c25e2c59851cc51da2d778 |
||
---|---|---|
.. | ||
example | ||
test | ||
wrapper | ||
.gitignore | ||
CMakeLists.txt | ||
README.md | ||
sandboxed.h |
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=$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