projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
disable experimental code for now
[libfirm]
/
ir
/
be
/
test
/
dumpmem.h
1
#include <stdio.h>
2
3
static void dumpMem(void* ptr, size_t size)
4
{
5
size_t i;
6
unsigned char* p = ptr;
7
printf("\n");
8
for(i = 0; i < size; ++i) {
9
printf("%02x", p[i]);
10
if((i % 4) == 3) {
11
printf("\n");
12
}
13
}
14
printf("\n");
15
}