Skip to content

Loosen export symbol validation:#360

Merged
erocarrera merged 1 commit intoerocarrera:masterfrom
learn-more:export_restraints
Feb 1, 2023
Merged

Loosen export symbol validation:#360
erocarrera merged 1 commit intoerocarrera:masterfrom
learn-more:export_restraints

Conversation

@learn-more
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Thanks!

@erocarrera
Copy link
Copy Markdown
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