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

There is a question about MapImageToEngine which is similar to the previous #19

Open
OrpheusQ opened this issue Dec 1, 2020 · 1 comment

Comments

@OrpheusQ
Copy link

OrpheusQ commented Dec 1, 2020

(My English is not well, please forgive me)
I tried to running uncorn_pe as "uncorn_pe.exe test.exe -disasm" under the DEBUG mode,but when I step to

ctx->MapImageToEngine(modInfo.name, (PVOID)modInfo.baseAddress, modInfo.size, modInfo.baseAddress, ((LDR_DATA_TABLE_ENTRY_BASE_T*)(modInfo.ldrPtr))->EntryPoint); (uncorn_pe.cpp ; line: 60)

it crashed. I checked the "watches" and found that the error appeared in "ldrPtr",because it is a "nullptr".

Is my operation wrong and how could I fix it?

Looking forward to your reply, thanks.

@hzqst
Copy link
Owner

hzqst commented Apr 22, 2021

Should be fixed with latest commit e7526f9.

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