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

Improve PE section name handling of escaped sequences #958

Closed
metthal opened this issue Jun 2, 2021 · 0 comments · Fixed by #979
Closed

Improve PE section name handling of escaped sequences #958

metthal opened this issue Jun 2, 2021 · 0 comments · Fixed by #979

Comments

@metthal
Copy link
Member

metthal commented Jun 2, 2021

Files like 0043812838495a45449a0ac61a81b9c16eddca1ad249fb4f7fdb1c4505e9bb34 contain sections which do not abide specs of PE format. It contains section names with null terminators in them. Fileinfo is somehow able to handle these but they are not correctly printed out because instead of .CRT\x00*ls we only get .CRT*ls.

Please try to resolve it so that section name is correctly printed with escaped non-printable characters and rightmost zero padding is removed (basically rstrip of \x00).

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

Successfully merging a pull request may close this issue.

2 participants