Created
January 16, 2023 01:34
-
-
Save comex/7aefb0bde77271fdceecd26a2b17613c 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
@implementation Foo | |
-(void)bar {} | |
@end | |
int main() {} |
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
/tmp % clang -o foo foo.m -lobjc -w | |
/tmp % strip -N foo | |
/tmp % llvm-nm-mp-15 foo | |
0000000100003f80 t <redacted LC_MAIN> | |
0000000100003f6c t <redacted function 0> | |
/tmp % xcrun llvm-nm foo | |
0000000100003f6c t -[Foo bar] | |
0000000100008098 S _OBJC_CLASS_$_Foo | |
00000001000080c0 S _OBJC_METACLASS_$_Foo | |
0000000100000000 T __mh_execute_header | |
0000000100003f80 T _main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment