diff options
author | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 23:12:04 +0000 |
---|---|---|
committer | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 23:12:04 +0000 |
commit | 4e76528d453e7aae31bc646a93448ca44c7cb19a (patch) | |
tree | d695cce6ba544cfad9db56f885ba74441ac483d5 /sandbox/sandbox.gyp | |
parent | 0ea52ef7005d5c914289ec35baecd7d7ac091404 (diff) | |
download | chromium_src-4e76528d453e7aae31bc646a93448ca44c7cb19a.zip chromium_src-4e76528d453e7aae31bc646a93448ca44c7cb19a.tar.gz chromium_src-4e76528d453e7aae31bc646a93448ca44c7cb19a.tar.bz2 |
Added a new Verifier class to the BPF compiler.
This class ensures that the generated BPF program does in fact represent the
filters that we were asked to compile. Having a verifier will allow us to make
more aggressive optimizations in the future without having to worry that we
generate invalid code.
BUG=130662
TEST=make && demo32 && demo64
Review URL: https://chromiumcodereview.appspot.com/10546041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/sandbox.gyp')
-rw-r--r-- | sandbox/sandbox.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp index 613e6e3..4158c01 100644 --- a/sandbox/sandbox.gyp +++ b/sandbox/sandbox.gyp @@ -159,6 +159,8 @@ 'sources': [ 'linux/seccomp-bpf/sandbox_bpf.cc', 'linux/seccomp-bpf/sandbox_bpf.h', + 'linux/seccomp-bpf/verifier.cc', + 'linux/seccomp-bpf/verifier.h', ], 'dependencies': [ '../base/base.gyp:base', |