1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-22 07:53:11 -05:00
linux/tools/lib/bpf
Sidong Yang 2c8b09ac25 libbpf: Change hash_combine parameters from long to unsigned long
The hash_combine() could be trapped when compiled with sanitizer like "zig cc"
or clang with signed-integer-overflow option. This patch parameters and return
type to unsigned long to remove the potential overflow.

Signed-off-by: Sidong Yang <sidong.yang@furiosa.ai>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20241116081054.65195-1-sidong.yang@furiosa.ai
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-11-16 11:01:38 -08:00
..
.gitignore
bpf.c libbpf: Add support for uprobe multi session attach 2024-11-11 08:18:06 -08:00
bpf.h
bpf_core_read.h
bpf_endian.h
bpf_gen_internal.h libbpf: Support creating light skeleton of either endianness 2024-10-03 17:47:36 -07:00
bpf_helpers.h libbpf: define __uptr. 2024-10-24 10:25:59 -07:00
bpf_prog_linfo.c
bpf_tracing.h
btf.c libbpf: Change hash_combine parameters from long to unsigned long 2024-11-16 11:01:38 -08:00
btf.h libbpf: Support BTF.ext loading and output in either endianness 2024-10-03 17:47:36 -07:00
btf_dump.c libbpf: Stringify errno in log messages in btf*.c 2024-11-11 20:29:45 -08:00
btf_iter.c
btf_relocate.c libbpf: Improve log message formatting 2024-10-03 17:47:36 -07:00
Build
elf.c libbpf: Stringify errno in log messages in the remaining code 2024-11-11 20:29:45 -08:00
features.c libbpf: Stringify errno in log messages in the remaining code 2024-11-11 20:29:45 -08:00
gen_loader.c libbpf: Stringify errno in log messages in the remaining code 2024-11-11 20:29:45 -08:00
hashmap.c
hashmap.h libbpf: Fix possible compiler warnings in hashmap 2024-10-11 12:36:59 -07:00
libbpf.c libbpf: Fix memory leak in bpf_program__attach_uprobe_multi 2024-11-15 11:29:12 -08:00
libbpf.h libbpf: Add support for uprobe multi session attach 2024-11-11 08:18:06 -08:00
libbpf.map libbpf: start v1.6 development cycle 2024-10-29 13:42:52 -07:00
libbpf.pc.template
libbpf_common.h
libbpf_errno.c
libbpf_internal.h libbpf: Support opening bpf objects of either endianness 2024-10-03 17:47:36 -07:00
libbpf_legacy.h
libbpf_probes.c
libbpf_version.h libbpf: start v1.6 development cycle 2024-10-29 13:42:52 -07:00
linker.c libbpf: Stringify errno in log messages in the remaining code 2024-11-11 20:29:45 -08:00
Makefile libbpf: Add missing per-arch include path 2024-10-07 20:20:55 -07:00
netlink.c
nlattr.c
nlattr.h
relo_core.c libbpf: Improve log message formatting 2024-10-03 17:47:36 -07:00
relo_core.h
ringbuf.c libbpf: Stringify errno in log messages in the remaining code 2024-11-11 20:29:45 -08:00
skel_internal.h libbpf: Support creating light skeleton of either endianness 2024-10-03 17:47:36 -07:00
str_error.c libbpf: Introduce errstr() for stringifying errno 2024-11-11 20:29:20 -08:00
str_error.h libbpf: Introduce errstr() for stringifying errno 2024-11-11 20:29:20 -08:00
strset.c
strset.h
usdt.bpf.h
usdt.c libbpf: Stringify errno in log messages in the remaining code 2024-11-11 20:29:45 -08:00
zip.c libbpf: Remove unneeded semicolon 2024-10-03 17:47:35 -07:00
zip.h