summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/disasm_helpers.h
blob: 7b26cab700993425700bbc4739f4dbfebf019d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */

#ifndef __DISASM_HELPERS_H
#define __DISASM_HELPERS_H

#include <stdlib.h>

struct bpf_insn;

struct bpf_insn *disasm_insn(struct bpf_insn *insn, char *buf, size_t buf_sz);

#endif /* __DISASM_HELPERS_H */