~crm/inlinecall

260ec209e99489b1eaaabe38206562fe97e56d55 — Christos Margiolis 2 months ago 85437d0 master
ignore non-STT_FUNCs
1 files changed, 2 insertions(+), 0 deletions(-)

M inlinecall.c
M inlinecall.c => inlinecall.c +2 -0
@@ 317,6 317,8 @@ find_caller_func(struct addr_pair addr)
				warnx("gelf_getsym(): %s", elf_errmsg(-1));
				continue;
			}
			if (GELF_ST_TYPE(sym.st_info) != STT_FUNC)
				continue;
			lo = sym.st_value;
			hi = sym.st_value + sym.st_size;
			if (addr.lo < lo || addr.hi > hi)