ROSE 0.11.145.247
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 42706 of file binaryInstruction.C.

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

Public Attributes

const SgAsmGenericSectionsection
 Section to which write occurred; null implies file-level write.
 
Rose::BinaryAnalysis::Address offset
 Byte offset into section (or file).
 
Rose::BinaryAnalysis::Address size
 Number of bytes of attempted write.
 

Constructor & Destructor Documentation

◆ ShortWrite() [1/3]

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

Definition at line 42712 of file binaryInstruction.C.

◆ ShortWrite() [2/3]

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

Definition at line 42714 of file binaryInstruction.C.

◆ ShortWrite() [3/3]

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

Definition at line 42716 of file binaryInstruction.C.

Member Data Documentation

◆ section

const SgAsmGenericSection* SgAsmExecutableFileFormat::ShortWrite::section

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

Definition at line 42708 of file binaryInstruction.C.

◆ offset

Rose::BinaryAnalysis::Address SgAsmExecutableFileFormat::ShortWrite::offset

Byte offset into section (or file).

Definition at line 42709 of file binaryInstruction.C.

◆ size

Rose::BinaryAnalysis::Address SgAsmExecutableFileFormat::ShortWrite::size

Number of bytes of attempted write.

Definition at line 42710 of file binaryInstruction.C.


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