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

Loosen export symbol validation: #360

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

learn-more
Copy link
Contributor

  • Allow more symbols in export names
  • Allow exports with an RVA of '0'

This was noticed with the '%' symbol in exports from a delphi .bpl file.
The rest of the symbols were obtained by simply trying all (readable) ascii chars in a .def file, and linking with VS 2022's link.exe
Everything that did not produce a valid symbol was eliminated.

- Allow more symbols in export names
- Allow exports with an RVA of '0'
@learn-more
Copy link
Contributor Author

@erocarrera is there anything I can do to help get this merged?

@erocarrera erocarrera merged commit 3d7d0b2 into erocarrera:master Feb 1, 2023
@learn-more learn-more deleted the export_restraints branch February 1, 2023 15:57
@learn-more
Copy link
Contributor Author

Thanks!

@erocarrera
Copy link
Owner

Thanks for the PR, I made a change so that the updated loosened validation only applies when parsing exports and not when parsing imports.

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

Successfully merging this pull request may close these issues.

2 participants