-
Notifications
You must be signed in to change notification settings - Fork 163
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
index out of bounds error when getting imports on arm64e MachO binaries #323
Comments
@puffyCid could you verify if this is happening again, and also post which version of goblin you're using. |
hi @m4b i just tried again using the master branch but i get the same error using the same file
|
can you print the list of imported libraries?
an easy fix is goint |
output for
|
is this still happening? |
yes, same error, running macOS sonoma. I ran the latest version from Github master branch
I can close the issue if you like. I found an alternative way to parse/get the data. |
Hello,
I am encountering a small issue when attempting to parse arm64e MachO binaries using goblin.
When I attempt to call the function
imports()
I get anindex out of bounds
error.An example binary that triggers the error is:
/usr/bin/lpoptions
MD5: b916ce6df2551e4f9eb7e739b07a8d1d
.The file is a FAT binary. I also encounter the error when using the example file
dyldinfo.rs
The
x86_64
binary is parsed fine:But if i try
arm64e
I get an error/crashI am using macOS Monterey, Intel
let me know if any more information is needed, thanks.
The text was updated successfully, but these errors were encountered: