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

Add cleanup for duplicate loads of Deucalion #29

Merged
merged 1 commit into from
Jul 7, 2024
Merged

Conversation

ff14wed
Copy link
Owner

@ff14wed ff14wed commented Jul 7, 2024

Essentially just call FreeLibrary for each extra LoadLibrary call. Uses GlblcntUsage from MODULEENTRY32, which seems to work fine for injected DLLs. This is a best-effort attempt, so it won't do anything if there are any issues with this approach.

Fixes #28

Essentially just call FreeLibrary for each extra LoadLibrary call.
Uses GlblcntUsage from  MODULEENTRY32, which seems to work fine for
injected DLLs. This is a best-effort attempt, so it won't do anything
if there are any issues with this approach.
@ff14wed ff14wed merged commit f7362be into develop Jul 7, 2024
2 checks passed
@ff14wed ff14wed deleted the unload-duplicates branch July 7, 2024 14:06
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