On Mon, Oct 16, 2023 at 11:28:40AM -0700, Andrii Nakryiko wrote: > Fix too eager assumption that SHT_GNU_verdef ELF section is going to be > present whenever binary has SHT_GNU_versym section. It seems like either > SHT_GNU_verdef or SHT_GNU_verneed can be used, so failing on missing > SHT_GNU_verdef actually breaks use cases in production. > > One specific reported issue, which was used to manually test this fix, > was trying to attach to `readline` function in BASH binary. > > Cc: Hengqi Chen <hengqi.chen@xxxxxxxxx> > Reported-by: Liam Wisehart <liamwisehart@xxxxxxxx> > Fixes: bb7fa09399b9 ("libbpf: Support symbol versioning for uprobe") > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > --- This was applied and tested internally and fixed the issue. Tested-by: Manu Bretelle <chantr4@xxxxxxxxx>