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

[ Quesion ] Delay Load Imports #343

Open
dfirence opened this issue Nov 12, 2022 · 2 comments
Open

[ Quesion ] Delay Load Imports #343

dfirence opened this issue Nov 12, 2022 · 2 comments

Comments

@dfirence
Copy link

dfirence commented Nov 12, 2022

Does Goblin obtain the "Delay Loaded" imports from "IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT"?

I see in the source: https://docs.rs/goblin/latest/goblin/pe/data_directories/struct.DataDirectories.html#method.get_delay_import_descriptor

I assume that when the IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT is present in the PE File then the developer should invoke the goblin get_delay_import_descriptor() on the file, and these would be obtained.

Am i assuming correctly?

@dfirence
Copy link
Author

@m4b An7 chance you can answer this one, please?

@m4b
Copy link
Owner

m4b commented Nov 18, 2022

Seems correct yes. Since it returns an optional if it is present then it’ll be Some.

if you’re asking whether a “delay loaded” import is described by this descriptor I assume so though I’m not super familiar with this.

is the struct returned from this function call not giving you the information you need for some task related to delay loaded 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

No branches or pull requests

2 participants