ROSE 0.11.145.147
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 42341 of file binaryInstruction.C.

Inheritance diagram for SgAsmExecutableFileFormat::ShortRead:
Inheritance graph
[legend]
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 Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message.
 

Public Attributes

const SgAsmGenericSectionsection
 Section from which read occurred; null implies file-level write.
 
rose_addr_t offset
 Byte offset into section (or file).
 
rose_addr_t size
 Number of bytes of attempted read.
 

Constructor & Destructor Documentation

◆ ShortRead() [1/3]

SgAsmExecutableFileFormat::ShortRead::ShortRead ( const class SgAsmGenericSection section,
size_t  offset,
size_t  size 
)
inline

Definition at line 42347 of file binaryInstruction.C.

◆ ShortRead() [2/3]

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

Definition at line 42349 of file binaryInstruction.C.

◆ ShortRead() [3/3]

SgAsmExecutableFileFormat::ShortRead::ShortRead ( const class SgAsmGenericSection section,
size_t  offset,
size_t  size,
const char *  mesg 
)
inline

Definition at line 42351 of file binaryInstruction.C.

◆ ~ShortRead()

SgAsmExecutableFileFormat::ShortRead::~ShortRead ( )
throw (
)
inline

Definition at line 42353 of file binaryInstruction.C.

Member Data Documentation

◆ section

const SgAsmGenericSection* SgAsmExecutableFileFormat::ShortRead::section

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

Definition at line 42343 of file binaryInstruction.C.

◆ offset

rose_addr_t SgAsmExecutableFileFormat::ShortRead::offset

Byte offset into section (or file).

Definition at line 42344 of file binaryInstruction.C.

◆ size

rose_addr_t SgAsmExecutableFileFormat::ShortRead::size

Number of bytes of attempted read.

Definition at line 42345 of file binaryInstruction.C.


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