ROSE 0.11.145.147
Public Attributes | List of all members
Rose::BinaryAnalysis::HexdumpFormat Struct Reference

Description

Settings that control how the lowest-level hexdump function behaves.

Definition at line 19 of file Hexdump.h.

#include <Rose/BinaryAnalysis/Hexdump.h>

Collaboration diagram for Rose::BinaryAnalysis::HexdumpFormat:
Collaboration graph
[legend]

Public Attributes

std::string prefix
 Characters to emit after internal linefeeds.
 
size_t width
 Bytes per line of output (default 16).
 
size_t colsize
 Bytes per column group (default 8).
 
std::string addr_fmt
 Printf format for addresses (default "0x%08llx: ").
 
bool multiline
 Emit prefix at beginning and line feed at end of output.
 
bool show_numeric
 Show numeric format of bytes (default true).
 
std::string numeric_fmt
 Printf format for bytes (default "%02x").
 
std::map< unsigned char, std::string > numeric_fmt_special
 Special formatting for certain values.
 
std::string numeric_sep
 String to print between numeric values (default " ").
 
bool pad_numeric
 Pad numeric part of output with spaces for partial final line (default true).
 
bool show_chars
 Show ASCII characters after bytes (default true).
 
bool pad_chars
 Pad character part of output with spaces for partial final line (default true).
 

Constructor & Destructor Documentation

◆ HexdumpFormat()

Rose::BinaryAnalysis::HexdumpFormat::HexdumpFormat ( )
inline

Definition at line 20 of file Hexdump.h.

Member Data Documentation

◆ prefix

std::string Rose::BinaryAnalysis::HexdumpFormat::prefix

Characters to emit after internal linefeeds.

Definition at line 25 of file Hexdump.h.

◆ width

size_t Rose::BinaryAnalysis::HexdumpFormat::width

Bytes per line of output (default 16).

Definition at line 26 of file Hexdump.h.

◆ colsize

size_t Rose::BinaryAnalysis::HexdumpFormat::colsize

Bytes per column group (default 8).

Definition at line 27 of file Hexdump.h.

◆ addr_fmt

std::string Rose::BinaryAnalysis::HexdumpFormat::addr_fmt

Printf format for addresses (default "0x%08llx: ").

Definition at line 28 of file Hexdump.h.

◆ multiline

bool Rose::BinaryAnalysis::HexdumpFormat::multiline

Emit prefix at beginning and line feed at end of output.

Definition at line 29 of file Hexdump.h.

◆ show_numeric

bool Rose::BinaryAnalysis::HexdumpFormat::show_numeric

Show numeric format of bytes (default true).

Definition at line 32 of file Hexdump.h.

◆ numeric_fmt

std::string Rose::BinaryAnalysis::HexdumpFormat::numeric_fmt

Printf format for bytes (default "%02x").

Definition at line 33 of file Hexdump.h.

◆ numeric_fmt_special

std::map<unsigned char,std::string> Rose::BinaryAnalysis::HexdumpFormat::numeric_fmt_special

Special formatting for certain values.

Definition at line 34 of file Hexdump.h.

◆ numeric_sep

std::string Rose::BinaryAnalysis::HexdumpFormat::numeric_sep

String to print between numeric values (default " ").

Definition at line 35 of file Hexdump.h.

◆ pad_numeric

bool Rose::BinaryAnalysis::HexdumpFormat::pad_numeric

Pad numeric part of output with spaces for partial final line (default true).

Definition at line 36 of file Hexdump.h.

◆ show_chars

bool Rose::BinaryAnalysis::HexdumpFormat::show_chars

Show ASCII characters after bytes (default true).

Definition at line 39 of file Hexdump.h.

◆ pad_chars

bool Rose::BinaryAnalysis::HexdumpFormat::pad_chars

Pad character part of output with spaces for partial final line (default true).

Definition at line 40 of file Hexdump.h.


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