-
Notifications
You must be signed in to change notification settings - Fork 109
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
Unexpected EOF when constructing unit from compilation unit header #405
Comments
This is probably because |
I see our example does the same thing, so I'll have to fix that too. |
Thanks for the quick response. Unfortunately, loading EDIT: loading |
Ah, |
Hello all,
I would first like to thank you for your incredible work -- gimli is by far the most approachable and convenient DWARF parsing library I have found. 😄
I've been trying to parse some Mach-O files on macOS with object and gimli, and I've encountered an issue that I haven't found much documentation on. It is likely an error on my part, but I'm not sure exactly what's causing it. This is the relevant code:
dwarf.unit(header)
seems to fail every time with anUnexpectedEof
error. Perhaps this is due to how I'm loading the data with object?I am trying to read and parse DWARF files within dSYM bundles, i.e
example.dSYM/Contents/Resources/DWARF/example
. Please let me know if this is not the right place to ask this question. Any advice is appreciated.The text was updated successfully, but these errors were encountered: