ROSE  0.9.10.6
Public Member Functions | Public Attributes | List of all members
SgAsmExecutableFileFormat::ShortRead Class Reference

Description

Exception for reading past the end of something.

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

Definition at line 15392 of file binaryInstruction.C.

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

Public Member Functions

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

Public Attributes

const SgAsmGenericSectionsection
 Section from which read 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 read. More...
 
std::string mesg
 Optional message. More...
 

Member Data Documentation

const SgAsmGenericSection* SgAsmExecutableFileFormat::ShortRead::section

Section from which read occurred; null implies file-level write.

Definition at line 15394 of file binaryInstruction.C.

rose_addr_t SgAsmExecutableFileFormat::ShortRead::offset

Byte offset into section (or file).

Definition at line 15395 of file binaryInstruction.C.

rose_addr_t SgAsmExecutableFileFormat::ShortRead::size

Number of bytes of attempted read.

Definition at line 15396 of file binaryInstruction.C.

std::string SgAsmExecutableFileFormat::ShortRead::mesg

Optional message.

Definition at line 15397 of file binaryInstruction.C.


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