HomeSort by relevance Sort by last modified time
    Searched refs:MakeInstruction (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/sandbox/linux/seccomp-bpf/
codegen_unittest.cc 50 return codegen->MakeInstruction(BPF_RET+BPF_K,
60 return codegen->MakeInstruction(BPF_JMP+BPF_JEQ+BPF_K, 42,
61 codegen->MakeInstruction(BPF_RET+BPF_K,
63 codegen->MakeInstruction(BPF_RET+BPF_K,
78 codegen->MakeInstruction(BPF_RET+BPF_K,
80 return codegen->MakeInstruction(BPF_JMP+BPF_JEQ+BPF_K, 42, ret, ret);
95 Instruction *insn0 = codegen->MakeInstruction(BPF_LD+BPF_W+BPF_ABS, 42);
101 Instruction *insn1 = codegen->MakeInstruction(BPF_JMP+BPF_JA, 0, insn0);
106 Instruction *insn2 = codegen->MakeInstruction(BPF_RET+BPF_K, ErrorCode(42));
113 Instruction *insn3 = codegen->MakeInstruction(BPF_LD+BPF_W+BPF_ABS, 42
    [all...]
codegen.h 39 // gen.MakeInstruction(BPF_LD+BPF_W+BPF_ABS,
42 // gen.MakeInstruction(BPF_JMP+BPF_EQ+BPF_K, __NR_getpid,
45 // gen.MakeInstruction(BPF_RET+BPF_K, ErrorCode(ErrorCode::ERR_ALLOWED)));
68 Instruction* MakeInstruction(uint16_t code,
71 Instruction* MakeInstruction(uint16_t code, const ErrorCode& err);
72 Instruction* MakeInstruction(uint16_t code,
78 // parameter had not originally been given in the call to MakeInstruction(),
sandbox_bpf.cc 560 Instruction* head = gen->MakeInstruction(
563 tail = gen->MakeInstruction(
567 gen->MakeInstruction(
591 gen->MakeInstruction(BPF_LD + BPF_W + BPF_ABS, SECCOMP_NR_IDX);
650 Instruction* escape_hatch = gen->MakeInstruction(
653 gen->MakeInstruction(
657 gen->MakeInstruction(
660 gen->MakeInstruction(
664 gen->MakeInstruction(BPF_RET + BPF_K,
680 Instruction* invalidX32 = gen->MakeInstruction(
    [all...]
codegen.cc 137 Instruction* CodeGen::MakeInstruction(uint16_t code,
165 Instruction* CodeGen::MakeInstruction(uint16_t code, const ErrorCode& err) {
173 return MakeInstruction(code, err.err_);
176 Instruction* CodeGen::MakeInstruction(uint16_t code,
612 Instruction* ja = MakeInstruction(BPF_JMP + BPF_JA, 0, last_insn->next);
668 Instruction* ja = MakeInstruction(BPF_JMP + BPF_JA, 0, insn->jt_ptr);
679 Instruction* ja = MakeInstruction(BPF_JMP + BPF_JA, 0, insn->jf_ptr);

Completed in 47 milliseconds