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

Find offset of a file in a zip file? #325

Closed
IvesAwadi opened this issue Dec 14, 2023 · 6 comments · Fixed by #326
Closed

Find offset of a file in a zip file? #325

IvesAwadi opened this issue Dec 14, 2023 · 6 comments · Fixed by #326
Labels
change request question Further information is requested

Comments

@IvesAwadi
Copy link

Would it be possible to get the file offset within a zip file?

Thank you.

@kuba--
Copy link
Owner

kuba-- commented Dec 14, 2023

Do you mean - zip entry offset (e.g. for a given/opened name)?
What's exactly your use case?

@kuba-- kuba-- added the question Further information is requested label Dec 14, 2023
@IvesAwadi
Copy link
Author

Yes, my use case is reading the /proc/pid/maps directory to find where a shared object with a given name is mapped at in a process virtual space.

Here's a link for reference
Stackoverflow

@kuba--
Copy link
Owner

kuba-- commented Dec 15, 2023

Ok, thanks.
I'll add to the feature list.

@kuba-- kuba-- pinned this issue Dec 17, 2023
@kuba-- kuba-- unpinned this issue Dec 17, 2023
@kuba--
Copy link
Owner

kuba-- commented Dec 17, 2023

@kuba-- kuba-- linked a pull request Dec 17, 2023 that will close this issue
@IvesAwadi
Copy link
Author

Thank you so much, will close the issue now.

@kuba--
Copy link
Owner

kuba-- commented Dec 17, 2023

Thank you so much, will close the issue now.

Check the PR if it works for you. Also look at the new test which I've added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change request question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants