will say that I loaded the PE executable into memory and picked it up with dos, nt header structures, and now I want to know its offset .text / code segement (not VA) offset + size, how to do this? is there a win32 api to search for the start offset .text or maybe a pointer from sturcture which indicates the offset of the beginning of this segment
thanks.
source share