Dump I would assume you mean to screen? If so, you need to write custom code that reads in the data file into a buffer then displays it to screen, something similar to the following code snippet:
Code:
static void dumpMemory_HexAscii(const void *pvObject, u4 u4ObjectSize, std::ostream& os)
{
u1 u1X;
char cX;
u4 uX;
int iBase = 0;
const int iiPerLine = 16;
for(;;iBase++)
{
//a_Hex
for (uX = 0; uX < iiPerLine; uX++)
{
if (iBase * iiPerLine + uX >= u4ObjectSize)
break;
u1X = *((unsigned char *)pvObject + iBase * iiPerLine + uX);
os << (u1X < 16 ? "0" : "") << std::hex << (int)u1X << " ";
}
os << ": ";
//a_ASCII
for (uX = 0; uX < iiPerLine; uX++)
{
if (iBase * iiPerLine + uX >= u4ObjectSize)
break;
cX = *((char *)pvObject + iBase * iiPerLine + uX);
os << (isalnum((u1)cX) ? cX : '.');
}
os << std::endl;
if (iBase * iiPerLine + uX >= u4ObjectSize)
break;
}
}
type info:
typedef unsigned char u1;
typedef unsigned short u2;
typedef unsigned long u4;
(modify code as needed, shamlessly lifted from open source freeCGI++ library]