ST0x
ST0x

Reputation: 53

WinDbg fail to find offset of main function

Hey everyone I try to find the main function offset in WinDbg, I have load all the symbols but it still not work.

the error I get is : **'*** WARNING: Unable to verify checksum for Program.exe(name of the program)**'.

thanks :).

Upvotes: 0

Views: 589

Answers (1)

blabb
blabb

Reputation: 9007

unable to verify checksum is not an error and that error has got nothing to do with the unable to find main

may be you are loading a gui binary which doesn't have main but has WinMain may be it is a unicode version with wWinMain may be it is a binary which was compiled with /Entry compiler switch

try checking with wildcards

x module!*main* 

may be it would list one of the above variants of main

or use the $exentry Pseudo Register and step around from there

Upvotes: 1

Related Questions