mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
24c3e34344
This code assumes, like Bazel's runfiles that the data dependency to access exists in the same sub-tree as the binary: WORKSPACE +- sandboxed_api/sandbox2/examples/crc4 +- crc4bin +- crc4sandbox The code requires the directory structure to exist, so that in the example above, crc4sandbox can use GetDataDependencyFilepath("sandboxed_api/sandbox2/examples/crc4/crc4bin") regardless of how it was called. PiperOrigin-RevId: 251834480 Change-Id: I6470b62ce9b403297116481a0c17c070992f2e81 |
||
---|---|---|
.. | ||
testdata | ||
bpf_helper.c | ||
bpf_helper.h | ||
BUILD.bazel | ||
CMakeLists.txt | ||
file_helpers_test.cc | ||
file_helpers.cc | ||
file_helpers.h | ||
fileops_test.cc | ||
fileops.cc | ||
fileops.h | ||
maps_parser_test.cc | ||
maps_parser.cc | ||
maps_parser.h | ||
minielf_test.cc | ||
minielf.cc | ||
minielf.h | ||
path_test.cc | ||
path.cc | ||
path.h | ||
runfiles_nobazel.cc | ||
runfiles.cc | ||
runfiles.h | ||
strerror_test.cc | ||
strerror.cc | ||
strerror.h | ||
temp_file_test.cc | ||
temp_file.cc | ||
temp_file.h |