ROSE  0.9.10.91
Public Member Functions | Public Attributes | Friends | 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 201 of file MemoryMap.h.

#include <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. More...
 
virtual std::string details (bool) const
 Details emitted on following lines, indented two spaces. More...
 

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. More...
 

Friends

std::ostream & operator<< (std::ostream &, const Inconsistent &)
 

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