Last active
September 6, 2019 19:36
-
-
Save nickdesaulniers/15b47087aa7bfca9d8df6208f4733231 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum { a } b(void); | |
c, d, g, h; | |
i(int); | |
j() { | |
int e; | |
asm goto("" : : : : f); | |
return a; | |
f:; | |
} | |
k() { asm("" : : "Qo"(d), "r"(c)); } | |
l(void); | |
n() { | |
int o, m; | |
if (g) | |
({ | |
__asm__("mcr p15, 0, %0, c7, c10, 4" : : "r"(0) : "memory"); | |
b(); | |
o = l(); | |
i(o); | |
i(({ | |
__asm__("mcr p15, 0, %0, c7, c10, 4" : : "r"(0) : "memory"); | |
h; | |
})); | |
k(); | |
}); | |
else { | |
__asm__("mcr p15, 0, %0, c7, c10, 4" : : "r"(0) : "memory"); | |
b(); | |
m = l(); | |
i(m); | |
i(({ | |
__asm__("mcr p15, 0, %0, c7, c10, 4" : : "r"(0) : "memory"); | |
n; | |
})); | |
k(); | |
} | |
j(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang --target=arm-linux-gnueabihf -no-integrated-as -O2 -fsanitize-coverage=trace-pc -c -o bttv-cards.o bttv-cards.i | |
nm bttv-cards.o | grep LBB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment