repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add 32bit time64 syscalls for arm, mips32, ppc32 and x86.
[valgrind.git]
/
memcheck
/
tests
/
manuel2.c
blob
1fc1269e1771fef82d362c81afe41faeefbdf75e
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
int
main
()
5
{
6
int
y
=
0
;
7
int
*
m
=
malloc
(
sizeof
(
int
));
8
int
*
x
=
m
[
0
] + &
y
;
// we know m[0] will be zero
9
10
printf
(
"x = %d
\n
"
, *
x
==
0xDEADBEEF
?
99
:
88
);
11
12
return
0
;
13
}