1 #ifndef ROSE_BinaryAnalysis_RegisterNames_H
2 #define ROSE_BinaryAnalysis_RegisterNames_H
3 #include <featureTests.h>
4 #ifdef ROSE_ENABLE_BINARY_ANALYSIS
6 #include <Rose/BasicTypes.h>
7 #include <Rose/BinaryAnalysis/BasicTypes.h>
8 #include <Rose/BinaryAnalysis/RegisterDescriptor.h>
13 namespace BinaryAnalysis {
RegisterNames()
Constructor.
int showOffset
0=>never show offset; positive=>always show; negative=>show only when non-zero
std::string operator()(RegisterDescriptor) const
Obtain a name for a register descriptor.
Main namespace for the ROSE library.
RegisterDictionaryPtr dictionary
Dictionary supplied to the constructor.
std::string sizeSuffix
String printed after the size when the size is printed.
int showSize
0=>never; positive=>always; negative=>when offset is non-zero
std::string suffix
String to print at the very end of the generated name.
Describes (part of) a physical CPU register.
std::string offsetPrefix
String printed before the offset when the offset is shown.
Convert a register descriptor to a name.
std::string prefix
The leading part of a register name.
std::string sizePrefix
String printed prior to the size when the size is printed.
std::string offsetSuffix
String printed after the offset when the offset is shown.