Maven module :un.code : code-so :
Class : un.compiler.pe.DosHeader
Extends/Implements : -
Subclasses : -

author  Johann Sorel


Variables : BYTE_SIZE, e_cblp, e_cp, e_crlc, e_cparhdr, e_minalloc, e_maxalloc, e_ss, e_sp, e_csum, e_ip, e_cs, e_lfarlc, e_ovno, e_res, e_oemid, e_oeminfo, e_res2, e_lfanew
Functions : read, toString



header size, with magic number */
public int BYTE_SIZE


WORD : Bytes on last page of file */
public short e_cblp


WORD : Pages in file */
public short e_cp


WORD : Relocations */
public short e_crlc


WORD : Size of header in paragraphs */
public short e_cparhdr


WORD : Minimum extra paragraphs needed */
public short e_minalloc


WORD : Maximum extra paragraphs needed */
public short e_maxalloc


WORD : Initial (relative) SS value */
public short e_ss


WORD : Initial SP value */
public short e_sp


WORD : Checksum */
public short e_csum


WORD : Initial IP value */
public short e_ip


WORD : Initial (relative) CS value */
public short e_cs


WORD : File address of relocation table */
public short e_lfarlc


WORD : Overlay number */
public short e_ovno


WORD : Reserved words */
public short[] e_res


WORD : OEM identifier (for e_oeminfo) */
public short e_oemid


WORD : OEM information; e_oemid specific */
public short e_oeminfo


WORD : Reserved words */
public short[] e_res2


LONG : File address of new exe header */
public int e_lfanew



Read header from given stream.
param  ds
public void read (DataInputStream ds)

public String toString ()