Gitiles
Code Review
Sign In
review.evervolv.com
/
android_bionic
/
06bd5862b18e0b750a709f7f8a1d277f1f6d0c99
/
.
/
tests
/
libs
/
cfi_test_bad_lib.cpp
blob: 429c843939242f0fc9903d03bab31a3b0cb0596f [
file
] [
log
] [
blame
]
// Mock an invalid CFI-enabled library.
__attribute__
((
aligned
(
4096
)))
extern
"C"
char
dummy
[
16
]
=
{};
__asm__
(
".globl __cfi_check"
);
__asm__
(
"__cfi_check = dummy + 3"
);
// Not aligned to anything.