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

Breakpoint on ELF symbol #6

Closed
Tracked by #19
MrIndeciso opened this issue Oct 28, 2023 · 4 comments · Fixed by #20 or #29
Closed
Tracked by #19

Breakpoint on ELF symbol #6

MrIndeciso opened this issue Oct 28, 2023 · 4 comments · Fixed by #20 or #29
Assignees
Labels
enhancement New feature or request

Comments

@MrIndeciso
Copy link
Collaborator

No description provided.

@MrIndeciso MrIndeciso self-assigned this Nov 7, 2023
@MrIndeciso MrIndeciso changed the title Breakpoint su simbolo Breakpoint on ELF symbol Nov 7, 2023
@io-no io-no mentioned this issue Nov 9, 2023
18 tasks
@io-no io-no added the enhancement New feature or request label Nov 9, 2023
@MrIndeciso MrIndeciso linked a pull request Nov 18, 2023 that will close this issue
@io-no io-no closed this as completed Nov 28, 2023
@io-no
Copy link
Owner

io-no commented Nov 29, 2023

There are some missing symbols in libraries like libc and ld. This is because they rely on external debug info file not yet managed by libdebug

@io-no io-no reopened this Nov 29, 2023
@io-no
Copy link
Owner

io-no commented Nov 30, 2023

pyelftools currently supports external debug file information through the following link feature. However, this implementation is not compliant with DWARF 5 standards. A recent issue was raised a few days ago regarding this, but it has not been implemented yet. We have the option to manually follow the link and update our approach once pyelftools is updated, or we could modify pyelftools to include the new section and then submit a pull request. I will try the second option.

@io-no
Copy link
Owner

io-no commented Dec 1, 2023

I've introduced support for .gnu_debuglink in DWARF5 through this pull request to the pyelftools repository. Future versions of libdebug, at least concerning the symbols, will be based on these commits.

@io-no
Copy link
Owner

io-no commented Dec 6, 2023

Due to performance issues, I reimplemented the logic using libdwarf and integrated it through CFFI in libdebug in d337ee2. It seems working properly but I need more tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants