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 dll analysis #8

Open
iansmirlis opened this issue Oct 30, 2023 · 3 comments
Open

Improve dll analysis #8

iansmirlis opened this issue Oct 30, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request proxygen

Comments

@iansmirlis
Copy link
Owner

dll signature analysis may have room for improvement. (cecil)?

@iansmirlis iansmirlis added enhancement New feature or request proxygen labels Oct 30, 2023
@iansmirlis iansmirlis self-assigned this Oct 30, 2023
@pavelsavara
Copy link

main point for me is to not use in-process reflection. And rather treat the input as data.
Also Roslyn may have similar DLL/IL parser which could be used as library ?

@iansmirlis
Copy link
Owner Author

Yeah dll files will be read as data. I think that cecil is well suited for this purpose. I've never seen roslyn been used for metadata parsing and disassembly of dlls

@pavelsavara
Copy link

I think you pass PortableExecutableReference to the CSharpCompilation and it will be able to provide you with the metadata like ITypeSymbol and I think there is some resolver too. Never tried it myself, tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proxygen
Projects
None yet
Development

No branches or pull requests

2 participants