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

Update SymConvertNameToAddress #276

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Update SymConvertNameToAddress #276

merged 1 commit into from
Oct 6, 2023

Conversation

xmaple555
Copy link
Member

Description

image

@SinaKarvandi SinaKarvandi merged commit 85c707b into HyperDbg:dev Oct 6, 2023
3 checks passed
@SinaKarvandi
Copy link
Member

Thanks a lot for the great contribution.
Also, would you please describe it a little bit for me? I couldn't quite understand why this function was changed in this PR. 🤔

@xmaple555
Copy link
Member Author

xmaple555 commented Oct 7, 2023

The function only checked the alternative names

if (strcmp((const char *)item->ModuleAlternativeName, ExtractedModuleName.c_str()) == 0)
            {
                //
                // Replace the alternative module name with original module name
                //
                string ModuleName(item->ModuleName);
                FinalModuleName = ModuleName + "!" + FunctionName;
                break;
            }

, which cause u not to find kernel32!GetProcAddressStub

@SinaKarvandi SinaKarvandi mentioned this pull request Nov 22, 2023
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.

None yet

2 participants