DOS Header


DOS Header에 대해서 알아보겠습니다.


DOS Header는 winnt.h에 _IMAGE_DOS_HEADER로 정의되어 있습니다.









PE 파일 구조에서 처음 64 바이트를 차지합니다.

여기서 중요한 부분은 WORD e_magic 부분과 LONG e_lfanew 부분입니다.
e_magic의 값은 'MZ'이고,
e_lfanew의 값은 PE header(NT header)의 시작 주소를 나타냅니다.


끝.




카테고리: Reversing

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

KiCad 시작하기 2 (PCB 만들기)

Android Room database FTS

음악 총보(Score), 파트보(Part)

Android Notification with Full Screen

KiCad 시작하기 3 (새로운 소자 추가하기)

Python OpenCV 빈 화면 만들기

Android Minimum touch target size

tensorflow tf.expand_dims()

Kivy 시작하기 12 (Pyinstaller로 exe 파일 만들기)