ROSE 0.11.145.147
Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::MemoryMap::Inconsistent Struct Reference

Description

Exception for an inconsistent mapping.

This exception occurs when an attemt is made to insert a new segment but the address range of the new segment is already defined by an existing segment. The new_range and new_segment are information about the segment that was being inserted, and the old_range and old_segment is information about an existing segment that conflicts with the new one.

Definition at line 214 of file MemoryMap.h.

#include <Rose/BinaryAnalysis/MemoryMap.h>

Inheritance diagram for Rose::BinaryAnalysis::MemoryMap::Inconsistent:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::MemoryMap::Inconsistent:
Collaboration graph
[legend]

Public Member Functions

 Inconsistent (const std::string &mesg, const MemoryMap::Ptr &map, const AddressInterval &new_range, const Segment &new_segment, const AddressInterval &old_range, const Segment &old_segment)
 
virtual void print (std::ostream &, bool verbose=true) const
 
- Public Member Functions inherited from Rose::BinaryAnalysis::MemoryMap::Exception
 Exception (const std::string &mesg, const MemoryMap::Ptr map)
 
virtual std::string leader (std::string dflt="memory map problem") const
 Leading part of the error message.
 
virtual std::string details (bool) const
 Details emitted on following lines, indented two spaces.
 
- Public Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message.
 

Public Attributes

AddressInterval new_range
 
AddressInterval old_range
 
Segment new_segment
 
Segment old_segment
 
- Public Attributes inherited from Rose::BinaryAnalysis::MemoryMap::Exception
MemoryMap::Ptr map
 Map that caused the exception if available, null otherwise.
 

Constructor & Destructor Documentation

◆ Inconsistent()

Rose::BinaryAnalysis::MemoryMap::Inconsistent::Inconsistent ( const std::string &  mesg,
const MemoryMap::Ptr map,
const AddressInterval new_range,
const Segment new_segment,
const AddressInterval old_range,
const Segment old_segment 
)
inline

Definition at line 215 of file MemoryMap.h.

◆ ~Inconsistent()

virtual Rose::BinaryAnalysis::MemoryMap::Inconsistent::~Inconsistent ( )
throw (
)
inlinevirtual

Definition at line 221 of file MemoryMap.h.

Member Function Documentation

◆ print()

virtual void Rose::BinaryAnalysis::MemoryMap::Inconsistent::print ( std::ostream &  ,
bool  verbose = true 
) const
virtual

Member Data Documentation

◆ new_range

AddressInterval Rose::BinaryAnalysis::MemoryMap::Inconsistent::new_range

Definition at line 224 of file MemoryMap.h.

◆ old_range

AddressInterval Rose::BinaryAnalysis::MemoryMap::Inconsistent::old_range

Definition at line 224 of file MemoryMap.h.

◆ new_segment

Segment Rose::BinaryAnalysis::MemoryMap::Inconsistent::new_segment

Definition at line 225 of file MemoryMap.h.

◆ old_segment

Segment Rose::BinaryAnalysis::MemoryMap::Inconsistent::old_segment

Definition at line 225 of file MemoryMap.h.


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