2 #ifndef ROSE_BinaryAnalysis_Unparser_Settings_H
3 #define ROSE_BinaryAnalysis_Unparser_Settings_H
4 #include <featureTests.h>
5 #ifdef ROSE_ENABLE_BINARY_ANALYSIS
7 #include <Rose/Color.h>
8 #include <Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics.h>
9 #include <Rose/BinaryAnalysis/Unparser/EdgeArrows.h>
10 #include <Sawyer/CommandLine.h>
13 namespace BinaryAnalysis {
141 std::string linePrefix;
Control colored command output.
struct Rose::BinaryAnalysis::Unparser::Settings::@781::@795 mnemonic
Settings for instruction mnemonics.
Sawyer::CommandLine::SwitchGroup commandLineSwitches(Settings &settings)
Command-line switches for unparser settings.
std::string semanticFailureMarker
Mark instruction if it had semantic failures.
Color::Colorization colorization
Overrides for global color settings.
struct Rose::BinaryAnalysis::Unparser::Settings::@781::@796 operands
Settings for the operand list.
bool usingDescription
Lacking comment, use instruction description as comment?
size_t perLine
Max number of bytes to show per line of output.
A collection of related switch declarations.
Style arrowStyle
Arrow style.
struct Rose::BinaryAnalysis::Unparser::Settings::@777::@783 line
Comment occupying an entire line.
Main namespace for the ROSE library.
Settings that control unparsing.
bool showingPredecessors
Show basic block predecessors?
EdgeArrows::ArrowStylePreset style
One of the arrow style presets.
bool useLabels
Generate labels and use them instead of addresses?
Sawyer::Optional< Color::HSV > background
Optional background color.
Sawyer::Optional< Color::HSV > foreground
Optional foreground color.
struct Rose::BinaryAnalysis::Unparser::Settings::@778::@787 callconv
Settings for function calling convention.
bool showingSharing
Show functions when block is shared?
bool showing
Show function call graph?
std::string ansiStyle() const
Generate the ANSI escape for the style.
bool tracing
Show instruction semantics traces when showing semantics.
Style style
Style for printing the address.
bool showingReasons
Show reasons for function existing.
struct Rose::BinaryAnalysis::Unparser::Settings::@778::@785 cg
Settings for function call graphs.
Style titleStyle
Style for title line of function.
bool showingSourceLocation
Show source file name and line number when available.
std::string pre
String to introduce a comment.
InstructionSemantics::BaseSemantics::Formatter formatter
How to format the semantic state output.
bool showingArrows
Draw arrows from one block to another.
std::string separator
How to separate one operand from another.
struct Rose::BinaryAnalysis::Unparser::Settings::@779 bblock
Settings for basic blocks.
ArrowStylePreset
Arrow style presets.
struct Rose::BinaryAnalysis::Unparser::Settings::@778::@786 stackDelta
Settings for function stack deltas.
struct Rose::BinaryAnalysis::Unparser::Settings::@778::@789 mayReturn
Settings for may-return analysis.
Style separatorStyle
Style of the line separating functions.
struct Rose::BinaryAnalysis::Unparser::Settings::@781::@792 address
Settings for instruction starting addresses.
Style semanticFailureStyle
Style for the semantic failure indicator.
std::string post
String to terminate a comment.
bool showingWidth
Show width of all expression terms in square brackets.
size_t fieldWidth
Min characters to use per insn address.
struct Rose::BinaryAnalysis::Unparser::Settings::@781 insn
Settings for instructions.
bool concrete
Show concrete or symbolic deltas.
bool showingDemangled
Show demangled name in preference to mangled name.
struct Rose::BinaryAnalysis::Unparser::Settings::@779::@791 reach
Reachability analysis results.
struct Rose::BinaryAnalysis::Unparser::Settings::@777::@784 trailing
Comment extending to the end of the line.
struct Rose::BinaryAnalysis::Unparser::Settings::@781::@793 bytes
Settings for the bytes that make up an instruction.
bool showingReachability
Show code reachability in the basic block prologue area.
struct Rose::BinaryAnalysis::Unparser::Settings::@782 arrow
How to render arrows along the left margin.
struct Rose::BinaryAnalysis::Unparser::Settings::@779::@790 cfg
Settings for control flow graphs.
bool showingSuccessors
Show basic block successors?
struct Rose::BinaryAnalysis::Unparser::Settings::@778::@788 noop
Settings for no-op analysis.