sandboxed-api/sandboxed_api
Maciej Szawłowski edd6b437ae Filter functions based on files we scan.
Currently we extract all functions from the compilation unit - it doesn't really make sense as it will try to process functions in included files too.
As we require sapi_in flag, we have information which files are of interest.

This change stores the top path in _TranslationUnit and uses it when looking for function definitions to filter only functions from the path we provided.

PiperOrigin-RevId: 297342507
Change-Id: Ie411321d375168f413f9f153a606c1113f55e79a
2020-02-26 06:02:15 -08:00
..
bazel Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
docs Revert accidental deletion of the sandbox image 2019-09-04 06:33:29 -07:00
examples Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
sandbox2 Now network proxy server supports IP filtering. API to policybuilder is added to make a list of allowed pairs of allowed IP, mask and port where mask and port are optional. 2020-02-20 07:45:44 -08:00
tools/generator2 Filter functions based on files we scan. 2020-02-26 06:02:15 -08:00
util Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
.bazelrc Force build in C++17 mode without a custom CROSSTOOL 2019-12-04 01:03:21 -08:00
BUILD.bazel Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
call.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
client.cc Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
CMakeLists.txt Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
embed_file.cc Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
embed_file.h Replace deprecated thread annotations macros. 2020-01-30 05:06:55 -08:00
file_toc.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
lenval_core.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
proto_arg.proto Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
proto_helper.h Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
rpcchannel.cc Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
rpcchannel.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
sandbox.cc Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
sandbox.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
sapi_test.cc Modernize the transaction API 2020-02-18 05:27:38 -08:00
transaction.cc Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
transaction.h Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
var_abstract.cc Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
var_abstract.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_array.h Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
var_int.cc Automated rollback of commit e56f562fe2. 2020-02-20 04:26:37 -08:00
var_int.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_lenval.cc Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_lenval.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_pointable.cc Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_pointable.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_proto.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_ptr.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_reg.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_struct.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_type.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
var_void.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00
vars.h Update license header with recommended best practices 2020-01-17 05:05:29 -08:00