1#ifndef ROSE_BinaryAnalysis_Hexdump_H
2#define ROSE_BinaryAnalysis_Hexdump_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
6#include <Rose/BinaryAnalysis/Address.h>
8#include <sageContainer.h>
16namespace BinaryAnalysis {
52void hexdump(std::ostream&, rose_addr_t base_addr,
const unsigned char *data,
size_t data_sz,
const HexdumpFormat&);
53void hexdump(std::ostream&, rose_addr_t base_addr,
const std::string &prefix,
const SgUnsignedCharList& data,
bool multiline=
true);
54void hexdump(std::ostream&, rose_addr_t base_addr,
const std::string &prefix,
const SgFileContentList& data,
bool multiline=
true);
57std::string
hexdump(rose_addr_t base_addr,
const unsigned char *data,
size_t data_sz,
const HexdumpFormat&);
58std::string
hexdump(rose_addr_t base_addr,
const std::string &prefix,
const SgUnsignedCharList& data,
bool multiline=
true);
62void hexdump(FILE*, rose_addr_t base_addr,
const unsigned char *data,
size_t data_sz,
const HexdumpFormat&);
63void hexdump(FILE*, rose_addr_t base_addr,
const std::string &prefix,
const SgUnsignedCharList& data,
bool multiline=
true);
void hexdump(std::ostream &, rose_addr_t base_addr, const unsigned char *data, size_t data_sz, const HexdumpFormat &)
Display binary data.