Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
892 stars 199 forks source link

Derefernce the d_val field of Elf64_Dyn if it is a string and put its content as a comment #3677

Closed xusheng6 closed 1 year ago

xusheng6 commented 1 year ago

There are several cases where the d_val field within an Elf64_Dyn is an offset into the .dynstr section (depending on the value of d_tag). The ELF view understand this and extracts the info correctly. However, if would be nice if we can annotate the string directly so the user can figure it out at a glance.

Below is an example (added the comments manually):

image

image

P.S.: same with st_name within Elf64_Sym

xusheng6 commented 1 year ago

Duplicate of https://github.com/Vector35/binaryninja-api/issues/2092