ROSE
0.11.137.0
|
Exception thrown by load() when there's a syntax error in the index file.
Definition at line 245 of file MemoryMap.h.
#include <Rose/BinaryAnalysis/MemoryMap.h>
Public Member Functions | |
SyntaxError (const std::string &mesg, const MemoryMap::Ptr &map, const std::string &filename, unsigned linenum, int colnum=-1) | |
virtual void | print (std::ostream &, bool verbose=true) const |
![]() | |
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... | |
![]() | |
Exception (const std::string &s) | |
Construct an exception with an error message. More... | |
Public Attributes | |
std::string | filename |
Name of index file where error occurred. More... | |
unsigned | linenum |
Line number (1 origin) where error occurred. More... | |
int | colnum |
Optional column number (0-origin; negative if unknown). More... | |
![]() | |
MemoryMap::Ptr | map |
Map that caused the exception if available, null otherwise. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const SyntaxError &) |
std::string Rose::BinaryAnalysis::MemoryMap::SyntaxError::filename |
Name of index file where error occurred.
Definition at line 252 of file MemoryMap.h.
unsigned Rose::BinaryAnalysis::MemoryMap::SyntaxError::linenum |
Line number (1 origin) where error occurred.
Definition at line 253 of file MemoryMap.h.
int Rose::BinaryAnalysis::MemoryMap::SyntaxError::colnum |
Optional column number (0-origin; negative if unknown).
Definition at line 254 of file MemoryMap.h.