Ref: https://github.com/iovisor/ubpf/blob/2749995cc90d65b720787ae33341a439885625e4/vm/ubpf_loader.c#L97-L106 I don't see `section_idx_from_name` used anywhere and when it was introduced it also wasn't used anywhere, ref: https://github.com/iovisor/ubpf/commit/f322f8c47231ca5daf7eae574e7a6cd347eaa7d4 https://github.com/iovisor/ubpf/pull/310 `section_idx_from_name` can cause issues when ubpf is compiled with `-Wmissing-prototypes` if it is dead code it should be removed ideally.
Activity