1 /* radare - LGPL - Copyright 2015 nodepad */
2 
3 typedef struct {
4 	ut16 signature; /* == 'MZ' or 'ZM' */
5 	ut16 bytes_in_last_block;
6 	ut16 blocks_in_file;
7 	ut16 num_relocs;
8 	ut16 header_paragraphs;
9 	ut16 min_extra_paragraphs;
10 	ut16 max_extra_paragraphs;
11 	ut16 ss;
12 	ut16 sp;
13 	ut16 checksum;
14 	ut16 ip;
15 	ut16 cs;
16 	ut16 reloc_table_offset;
17 	ut16 overlay_number;
18 } MZ_image_dos_header;
19 
20 typedef struct {
21 	ut16 offset;
22 	ut16 segment;
23 } MZ_image_relocation_entry;
24