Home | History | Annotate | Download | only in seccomp-bpf

Lines Matching refs:Program

51 void CodeGen::PrintProgram(const SandboxBPF::Program& program) {
52 for (SandboxBPF::Program::const_iterator iter = program.begin();
53 iter != program.end();
55 int ip = (int)(iter - program.begin());
171 SANDBOX_DIE("ErrorCode is not suitable for returning from a BPF program");
242 // set ultimately converges on all instructions in the program.
273 "the end of the BPF program");
457 // A well-formed BPF program can't have any cycles, so we know
460 // went out of the way to give us a cyclic program, we will crash
571 // been a cyclic dependency. This should never happen in a BPF program, as
634 // jumps that are suitable for loading the BPF program into the kernel.
709 SandboxBPF::Program* program) {
712 // basic blocks to be concatenated into a BPF program.
713 program->clear();
722 program->push_back(
729 void CodeGen::Compile(Instruction* instructions, SandboxBPF::Program* program) {
746 ConcatenateBasicBlocks(basic_blocks, program);