ROSE 0.11.145.56
Public Attributes | List of all members
HexdumpFormat Struct Reference

Description

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

Definition at line 5381 of file Cxx_Grammar.h.

#include <Cxx_Grammar.h>

Collaboration diagram for 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()

HexdumpFormat::HexdumpFormat ( )
inline

Definition at line 5382 of file Cxx_Grammar.h.

Member Data Documentation

◆ prefix

std::string HexdumpFormat::prefix

Characters to emit after internal linefeeds.

Definition at line 5387 of file Cxx_Grammar.h.

◆ width

size_t HexdumpFormat::width

Bytes per line of output (default 16).

Definition at line 5388 of file Cxx_Grammar.h.

◆ colsize

size_t HexdumpFormat::colsize

Bytes per column group (default 8).

Definition at line 5389 of file Cxx_Grammar.h.

◆ addr_fmt

std::string HexdumpFormat::addr_fmt

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

Definition at line 5390 of file Cxx_Grammar.h.

◆ multiline

bool HexdumpFormat::multiline

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

Definition at line 5391 of file Cxx_Grammar.h.

◆ show_numeric

bool HexdumpFormat::show_numeric

Show numeric format of bytes (default true).

Definition at line 5394 of file Cxx_Grammar.h.

◆ numeric_fmt

std::string HexdumpFormat::numeric_fmt

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

Definition at line 5395 of file Cxx_Grammar.h.

◆ numeric_fmt_special

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

Special formatting for certain values.

Definition at line 5396 of file Cxx_Grammar.h.

◆ numeric_sep

std::string HexdumpFormat::numeric_sep

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

Definition at line 5397 of file Cxx_Grammar.h.

◆ pad_numeric

bool HexdumpFormat::pad_numeric

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

Definition at line 5398 of file Cxx_Grammar.h.

◆ show_chars

bool HexdumpFormat::show_chars

Show ASCII characters after bytes (default true).

Definition at line 5401 of file Cxx_Grammar.h.

◆ pad_chars

bool HexdumpFormat::pad_chars

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

Definition at line 5402 of file Cxx_Grammar.h.


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