Gitiles
Code Review
Sign In
192.168.1.100
/
T106_DC
/
840274949b51231d437658bd7f97c19a9b7fe8c2
/
.
/
ap
/
libc
/
glibc
/
glibc-2.23
/
elf
/
preloadtest.c
blob: 7ea10b9b5bd011036c84679331cc0a0942930a8d [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
"testobj.h"
int
main
(
void
)
{
int
res
=
preload
(
42
);
printf
(
"preload (42) = %d, %s\n"
,
res
,
res
==
92
?
"ok"
:
"wrong"
);
return
res
!=
92
;
}
int
foo
(
int
a
)
{
return
a
;
}