This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
get_hex_build_id must not be based on soname, moreover playing with realname on it, it is too fragile. It should be based on addresses, you know that l_ld is absolute address inside the library. So find maps/smaps entry containing l_ld, subtract its file offset from vaddr and you have the ELF header address.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |