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

Error while parsing header with 64-bit file size #28

Open
xofyarg opened this issue May 19, 2023 · 0 comments
Open

Error while parsing header with 64-bit file size #28

xofyarg opened this issue May 19, 2023 · 0 comments

Comments

@xofyarg
Copy link

xofyarg commented May 19, 2023

Hi, I'm trying to identify an error, which throws the following msg:

Invalid GNU filename index field in entry header ("SYM64/         ")

It seems like a file size notation from wikipedia:

To overcome the 4 GiB file size limit some operating system like Solaris 11.2 and GNU use a variant lookup table. Instead of 32-bit integers, 64-bit integers are used in the symbol lookup tables. The string "/SYM64/" instead "/" is used as identifier for this table[14]

I'm not sure how to generate such an archive file, but GNU ar 2.38 seems has no problem listing the file names and their sizes. Here's the header in hex which is causing the issue:

[2f, 53, 59, 4d, 36, 34, 2f, 20, 20, 20, 20, 20, 20, 20, 20, 20, 30, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 30, 20, 20, 20, 20, 20, 30, 20, 20, 20, 20, 20, 30, 20, 20, 20, 20, 20, 20, 20, 34, 33, 33, 36, 34, 30, 38, 20, 20, 20, 60, 0a]

Please let me know if you need more info, thanks.

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

No branches or pull requests

2 participants