37 void write(std::ostream& os = std::cout)
const;
47 HexDump(
const void* buf, std::size_t len, std::size_t start_address = 0,
48 std::string prepend =
"");
63 std::size_t start_address_;
64 const std::string prepend_;
A class for outputting formatted hex dumps.
Definition HexDump.hh:30
HexDump(const guest_ptr< void > &ptr, size_t len, std::string prepend="")
Construct a HexDump object using guest memory at the specified address.
HexDump(const void *buf, std::size_t len, std::size_t start_address=0, std::string prepend="")
Construct a new HexDump object using the given buffer.
void write(std::ostream &os=std::cout) const
Write the formatted hex output.
Definition guest_ptr.hh:88
Type-safe guest virtual address pointer and guest_ptr template.
Core IntroVirt classes.
Definition Cr0.hh:20