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

DwarfFile.ReadFromElf exception #25

Closed
WhileNotInfinite opened this issue Jun 12, 2023 · 0 comments · Fixed by #27
Closed

DwarfFile.ReadFromElf exception #25

WhileNotInfinite opened this issue Jun 12, 2023 · 0 comments · Fixed by #27

Comments

@WhileNotInfinite
Copy link

Hello

First of all thanks for your work and thanks to share it with others.

I'm having an issue while trying to read Dwarf of an ARM A53 (64 bits) elf file.
APU0.zip

It throws an exception at line 71 of ObjectFileStreamExtensions.cs.

Variable textLength is getting greater than buffer size.
I tried to change condition line 63 for " >= "instead of " > " but, for some reasons function take a very long time to execute and fails later for another reason.

I have attached my elf file, if you want to try to reproduced

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

Successfully merging a pull request may close this issue.

1 participant