linux/tools/lib/bpf
Andrii Nakryiko f3bdb54f09 libbpf: fix signedness determination in CO-RE relo handling logic
Extracting btf_int_encoding() is only meaningful for BTF_KIND_INT, so we
need to check that first before inferring signedness.

Closes: https://github.com/libbpf/libbpf/issues/704
Reported-by: Lorenz Bauer <lmb@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230824000016.2658017-2-andrii@kernel.org
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
2023-08-23 21:13:48 -07:00
..
.gitignore
bpf_core_read.h
bpf_endian.h
bpf_gen_internal.h
bpf_helpers.h libbpf: fix offsetof() and container_of() to work with CO-RE 2023-05-12 12:05:21 -07:00
bpf_prog_linfo.c
bpf_tracing.h libbpf: Use local includes inside the library 2023-08-04 15:06:46 -07:00
bpf.c libbpf: Add bpf_link_create support for multi uprobes 2023-08-21 15:51:26 -07:00
bpf.h libbpf: Add bpf_link_create support for multi uprobes 2023-08-21 15:51:26 -07:00
btf_dump.c libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE 2023-05-01 15:37:38 +02:00
btf.c libbpf: Ensure libbpf always opens files with O_CLOEXEC 2023-05-26 12:05:32 +02:00
btf.h
Build libbpf: Move elf_find_func_offset* functions to elf object 2023-08-21 15:51:25 -07:00
elf.c libbpf: Add elf_resolve_pattern_offsets function 2023-08-21 15:51:26 -07:00
gen_loader.c libbpf: Store zero fd to fd_array for loader kfunc relocation 2023-05-16 22:09:23 -07:00
hashmap.c
hashmap.h libbpf: Remove HASHMAP_INIT static initialization helper 2023-07-11 09:40:05 -07:00
libbpf_common.h libbpf: Add helper macro to clear opts structs 2023-07-19 10:07:28 -07:00
libbpf_errno.c
libbpf_internal.h libbpf: Add uprobe multi link detection 2023-08-21 15:51:26 -07:00
libbpf_legacy.h
libbpf_probes.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-08 11:35:14 -07:00
libbpf_version.h libbpf: Start v1.3 development cycle 2023-05-23 21:39:12 +02:00
libbpf.c libbpf: Add bpf_object__unpin() 2023-08-23 17:10:09 -07:00
libbpf.h libbpf: Add bpf_object__unpin() 2023-08-23 17:10:09 -07:00
libbpf.map libbpf: Add bpf_object__unpin() 2023-08-23 17:10:09 -07:00
libbpf.pc.template
linker.c libbpf: Fix double-free when linker processes empty sections 2023-03-27 20:02:15 -07:00
Makefile libbpf: fix typos in Makefile 2023-08-02 13:58:51 -07:00
netlink.c xsk: add new netlink attribute dedicated for ZC max frags 2023-07-19 09:56:49 -07:00
nlattr.c
nlattr.h
relo_core.c libbpf: fix signedness determination in CO-RE relo handling logic 2023-08-23 21:13:48 -07:00
relo_core.h
ringbuf.c
skel_internal.h
str_error.c
str_error.h
strset.c
strset.h
usdt.bpf.h libbpf: Use local includes inside the library 2023-08-04 15:06:46 -07:00
usdt.c libbpf: Add uprobe multi link support to bpf_program__attach_usdt 2023-08-21 15:51:26 -07:00
zip.c
zip.h