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

PE: Add parser for .NET CLR #432

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

kkent030315
Copy link
Contributor

@kkent030315 kkent030315 commented Nov 3, 2024

Added CLR parser implementations as proposed in the issue.

  • Added .NET signature and COR20 header, storage header and metadata header parser.
    • Added MVID (GUID) and PK token (Public Key Token) parser.
  • Added CLR sections parser.
  • Added CLR tables parser.
    • Requires full re-implementation of IMetaDataTables where originally written in hard C++
  • Added CLR imports parser.
    • Requires full re-implementation of IMetaDataImport where originally written in hard C++

src/pe/mod.rs Outdated Show resolved Hide resolved
@kkent030315 kkent030315 marked this pull request as draft November 3, 2024 11:41
@kkent030315 kkent030315 mentioned this pull request Nov 3, 2024
17 tasks
@kkent030315 kkent030315 marked this pull request as ready for review November 5, 2024 09:14
@kkent030315
Copy link
Contributor Author

Turns out that CLR imports and tables parser requires very complex implemenetations and I think it should not be implemented in goblin, it's up to consuemrs handle it in upper implementations, it at least should be enough to expose fundamental datas for that. So I am marking this as ready-for-review.

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.

1 participant