Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

same symbol name are not handled #32

Open
matthieu-c-tagheuer opened this issue Aug 13, 2024 · 0 comments
Open

same symbol name are not handled #32

matthieu-c-tagheuer opened this issue Aug 13, 2024 · 0 comments

Comments

@matthieu-c-tagheuer
Copy link

matthieu-c-tagheuer commented Aug 13, 2024

Hi,

there could be several symbol with the same name. For example in C using static.

the script is doing :

  • dump symbol with readelf
  • dump symbol with nm
  • merge the content using symbol name

Only one of the symbol name will have a file name. It could be the wrong one. Other will be in the category without filename.

In therory using symbol address could be better to do the match, but there can be some difference between readelf and nm.

For example on thumb

 25064: 00125e73   120 FUNC    LOCAL  DEFAULT    5 my_foo
 25146: 00125eeb   136 FUNC    LOCAL  DEFAULT    5 my_foo
my_foo t 125e72 78	some_patch/foo.c:96
my_foo t 125eea 88	some_patch/foo2.c:2169


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant