Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
f8a3d860be23fa1b89a60ad68ddef672a6683837
/
.
/
main
/
memcheck
/
tests
/
describe-block.c
blob: 1cbd3b16c582439fd44acbbf68f300e61201d326 [
file
] [
log
] [
blame
]
#include
"../memcheck.h"
int
main
()
{
char
magic_foople_zone
[
0x1000
];
VALGRIND_CREATE_BLOCK
(
magic_foople_zone
,
0x1000
,
"magic foople zone"
);
VALGRIND_MAKE_MEM_NOACCESS
(
magic_foople_zone
,
0x1000
);
magic_foople_zone
[
0
]
=
'x'
;
return
0
;
}