Created
June 18, 2021 01:45
-
-
Save MaskRay/1cbca44b4c7fbf41356053801273c52b to your computer and use it in GitHub Desktop.
STV_PROTECTED
This file contains hidden or 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
| __attribute__((visibility("protected"))) | |
| void *func_addr() { return (void *)func_addr; } | |
| __attribute__((visibility("protected"))) void undef_func(); | |
| void *undef_func_addr() { return (void *)undef_func; } | |
| __attribute__((visibility("protected"))) int var; | |
| int load() { return var; } | |
| __attribute__((visibility("protected"))) int inlinable(int x) { return x + x; } | |
| int bar(int x) { return inlinable(x); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment