chromium/sandbox/linux/bpf_dsl/dump_bpf.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "sandbox/linux/bpf_dsl/dump_bpf.h"

#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>

#include <string>

#include "base/strings/stringprintf.h"
#include "sandbox/linux/bpf_dsl/codegen.h"
#include "sandbox/linux/bpf_dsl/seccomp_macros.h"
#include "sandbox/linux/bpf_dsl/trap_registry.h"
#include "sandbox/linux/system_headers/linux_filter.h"
#include "sandbox/linux/system_headers/linux_seccomp.h"

namespace sandbox {
namespace bpf_dsl {

namespace {

const char* AluOpToken(uint32_t code) {}

const char* JmpOpToken(uint32_t code) {}

const char* DataOffsetName(size_t off) {}

void AppendInstruction(std::string* dst, size_t pc, const sock_filter& insn) {}

}  // namespace

void DumpBPF::PrintProgram(const CodeGen::Program& program) {}

std::string DumpBPF::StringPrintProgram(const CodeGen::Program& program) {}

}  // namespace bpf_dsl
}  // namespace sandbox