elf_find_func_offset
ret = elf_find_func_offset(elf_fd.elf, binary_path, name);
ret = elf_find_func_offset(elf, file_name, func_name);
long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name);