문제

I am writing a PE generator, I need to know which entries in the DOS header section are necessary for execution on NT based systems.

I checked some exes on my drive and most entries in the DOS header are 0 but I am not sure if this is the norm.

도움이 되었습니까?

해결책

On an NT system the loader just checks for the magic numbers at the beginning MZ / 0x4d 0x5a and then the member e_lfanew to get the NT header offset.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top