Copyright © (C) 2021, Oskar Mazerath
Authors: Oskar Mazerath (moskar.drummer@gmail.com).
assemble/1 |
Assembles a list of bpf_instruction records into
binary form which can then be loaded to the kernel via ebpf_user:load/2 |
disassemble/1 | Disassembles an eBPF program in binary form to a list of bpf_instruction records. |
assemble(BpfInstructions::[bpf_instruction()]) -> binary()
Assembles a list of bpf_instruction records into
binary form which can then be loaded to the kernel via ebpf_user:load/2
disassemble(BpfProgramBin::binary()) -> [bpf_instruction()]
Disassembles an eBPF program in binary form to a list of bpf_instruction records.
Generated by EDoc