COFFI
1.2
               
dos_header Class Reference

Class for accessing the MS-DOS file header. More...

Public Member Functions

bool load (std::istream &stream)
 
void save (std::ostream &stream)
 
virtual const char * get_stub () const
 
virtual uint32_t get_stub_size () const
 
void set_stub (const char *data, uint32_t size)
 
void set_stub (const std::string &data)
 
Functions for accessing the underlying COFF file section structure
 COFFI_GET_SET_ACCESS (uint16_t, signature)
 
 COFFI_GET_SET_ACCESS (uint16_t, bytes_in_last_block)
 
 COFFI_GET_SET_ACCESS (uint16_t, blocks_in_file)
 
 COFFI_GET_SET_ACCESS (uint16_t, num_relocs)
 
 COFFI_GET_SET_ACCESS (uint16_t, header_paragraphs)
 
 COFFI_GET_SET_ACCESS (uint16_t, min_extra_paragraphs)
 
 COFFI_GET_SET_ACCESS (uint16_t, max_extra_paragraphs)
 
 COFFI_GET_SET_ACCESS (uint16_t, ss)
 
 COFFI_GET_SET_ACCESS (uint16_t, sp)
 
 COFFI_GET_SET_ACCESS (uint16_t, checksum)
 
 COFFI_GET_SET_ACCESS (uint16_t, ip)
 
 COFFI_GET_SET_ACCESS (uint16_t, cs)
 
 COFFI_GET_SET_ACCESS (uint16_t, reloc_table_offset)
 
 COFFI_GET_SET_ACCESS (uint16_t, overlay_number)
 
 COFFI_GET_SET_ACCESS (uint16_t, oem_id)
 
 COFFI_GET_SET_ACCESS (uint16_t, oem_info)
 
 COFFI_GET_SET_ACCESS (int32_t, pe_sign_location)
 
 COFFI_GET_SIZEOF ()
 

Detailed Description

Class for accessing the MS-DOS file header.

Definition at line 50 of file coffi_headers.hpp.


The documentation for this class was generated from the following file: