2007-01-02
To print the memory content by C
关键字: Cvoid* content = malloc(16);
// assume there are somethings in "content"
unsigned char* p = (unsigned char*)content;
for (int i = 0; i < 16; i++){
printf("%2X", p[i]);
}
Unforunately, I did not find a C API just like memDump(void* point, int size).







评论排行榜