ROSE  0.9.9.168
Public Member Functions | Public Attributes | List of all members
SgAsmExecutableFileFormat::ShortWrite Class Reference

Description

Exception for writing past the end of something.

This object is thrown when an attempt is made to write past the end of a file, section, header, segment, etc.

Definition at line 15407 of file binaryInstruction.C.

Collaboration diagram for SgAsmExecutableFileFormat::ShortWrite:
Collaboration graph
[legend]

Public Member Functions

 ShortWrite (const class SgAsmGenericSection *section, size_t offset, size_t size)
 
 ShortWrite (const class SgAsmGenericSection *section, size_t offset, size_t size, const std::string &mesg)
 
 ShortWrite (const class SgAsmGenericSection *section, size_t offset, size_t size, const char *mesg)
 

Public Attributes

const SgAsmGenericSectionsection
 Section to which write occurred; null implies file-level write. More...
 
rose_addr_t offset
 Byte offset into section (or file). More...
 
rose_addr_t size
 Number of bytes of attempted write. More...
 
std::string mesg
 Optional message. More...
 

Member Data Documentation

const SgAsmGenericSection* SgAsmExecutableFileFormat::ShortWrite::section

Section to which write occurred; null implies file-level write.

Definition at line 15409 of file binaryInstruction.C.

rose_addr_t SgAsmExecutableFileFormat::ShortWrite::offset

Byte offset into section (or file).

Definition at line 15410 of file binaryInstruction.C.

rose_addr_t SgAsmExecutableFileFormat::ShortWrite::size

Number of bytes of attempted write.

Definition at line 15411 of file binaryInstruction.C.

std::string SgAsmExecutableFileFormat::ShortWrite::mesg

Optional message.

Definition at line 15412 of file binaryInstruction.C.


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