MCPcopy Create free account
hub / github.com/F-Stack/f-stack / emit_bytes

Function emit_bytes

dpdk/lib/bpf/bpf_jit_x86.c:133–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static void
134emit_bytes(struct bpf_jit_state *st, const uint8_t ins[], uint32_t sz)
135{
136 uint32_t i;
137
138 if (st->ins != NULL) {
139 for (i = 0; i != sz; i++)
140 st->ins[st->sz + i] = ins[i];
141 }
142 st->sz += sz;
143}
144
145static void
146emit_imm(struct bpf_jit_state *st, const uint32_t imm, uint32_t sz)

Callers 15

emit_immFunction · 0.85
emit_rexFunction · 0.85
emit_modregrmFunction · 0.85
emit_sibFunction · 0.85
emit_opcodeFunction · 0.85
emit_xchg_regFunction · 0.85
emit_negFunction · 0.85
emit_mov_regFunction · 0.85
emit_movzwlFunction · 0.85
emit_ror_immFunction · 0.85
emit_be2le_48Function · 0.85
emit_alu_immFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected