Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
00888885d88a5264711c22074cfd3462020cbee6
/
.
/
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
;
}