Skip to content

Instantly share code, notes, and snippets.

@yoalex5
Last active April 1, 2021 13:45
Show Gist options
  • Save yoalex5/1b1c532c7261e0acf1ecaed9d57dd4fa to your computer and use it in GitHub Desktop.
Save yoalex5/1b1c532c7261e0acf1ecaed9d57dd4fa to your computer and use it in GitHub Desktop.
A reverse engineering Swift
nm lists the symbols from object files
-U Don't display undefined symbols.
nm -U libSwiftUtils.a
libSwiftUtils.a(GFISClassA.o):
00000000000004f0 T _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZ
0000000000000b94 S _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZTq
0000000000000270 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM
00000000000002c0 t _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM.resume.0
0000000000000b8c S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvMTq
0000000000000130 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvg
0000000000000b7c S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvgTq
0000000000000b20 S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpMV
0000000000000960 D _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
0000000000000110 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpfi
00000000000001c0 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvs
0000000000000b84 S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvsTq
0000000000000600 T _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStF
0000000000000b9c S _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStFTq
0000000000000760 T _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF
0000000000000810 t _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyFTo
0000000000000ba4 S _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyFTq
0000000000000010 T _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivg
0000000000000b20 S _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpMV
0000000000000948 D _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpWvd
0000000000000000 T _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivpfi
0000000000000050 T _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvg
0000000000000b20 S _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpMV
0000000000000950 D _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
0000000000000030 T _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpfi
00000000000000c0 T _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvg
0000000000000b20 S _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpMV
0000000000000958 D _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpWvd
00000000000000a0 T _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpfi
00000000000002d0 T _$s10SwiftUtils10GFISClassACACycfC
0000000000000360 T _$s10SwiftUtils10GFISClassACACycfc
00000000000004d0 t _$s10SwiftUtils10GFISClassACACycfcTo
0000000000000e64 s _$s10SwiftUtils10GFISClassACMF
0000000000002d50 b _$s10SwiftUtils10GFISClassACML
0000000000000310 T _$s10SwiftUtils10GFISClassACMa
0000000000000d38 s _$s10SwiftUtils10GFISClassACMf
0000000000000b48 S _$s10SwiftUtils10GFISClassACMn
0000000000000d48 S _$s10SwiftUtils10GFISClassACN
0000000000000850 T _$s10SwiftUtils10GFISClassACfD
00000000000008a0 T _$s10SwiftUtils10GFISClassACfETo
0000000000000b30 S _$s10SwiftUtilsMXM
-g Display only global (external) symbols.
nm -g libSwiftUtils.a
libSwiftUtils.a(GFISClassA.o):
00000000000004f0 T _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZ
0000000000000b94 S _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZTq
0000000000000270 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM
0000000000000b8c S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvMTq
0000000000000130 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvg
0000000000000b7c S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvgTq
0000000000000b20 S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpMV
0000000000000960 D _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
0000000000000110 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpfi
00000000000001c0 T _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvs
0000000000000b84 S _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvsTq
0000000000000600 T _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStF
0000000000000b9c S _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStFTq
0000000000000760 T _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF
0000000000000ba4 S _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyFTq
0000000000000010 T _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivg
0000000000000b20 S _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpMV
0000000000000948 D _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpWvd
0000000000000000 T _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivpfi
0000000000000050 T _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvg
0000000000000b20 S _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpMV
0000000000000950 D _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
0000000000000030 T _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpfi
00000000000000c0 T _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvg
0000000000000b20 S _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpMV
0000000000000958 D _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpWvd
00000000000000a0 T _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpfi
00000000000002d0 T _$s10SwiftUtils10GFISClassACACycfC
0000000000000360 T _$s10SwiftUtils10GFISClassACACycfc
0000000000000310 T _$s10SwiftUtils10GFISClassACMa
0000000000000b48 S _$s10SwiftUtils10GFISClassACMn
0000000000000d48 S _$s10SwiftUtils10GFISClassACN
0000000000000850 T _$s10SwiftUtils10GFISClassACfD
00000000000008a0 T _$s10SwiftUtils10GFISClassACfETo
objdump -display information from object files.
-x -Display all available header information, including the symbol table and relocation entries. Using -x is equivalent to specifying all of -a -f -h -p -r -t.
objdump -x libSwiftUtils.a
libSwiftUtils.a(GFISClassA.o): file format Mach-O 64-bit x86-64
RELOCATION RECORDS FOR [__text]:
000000000000092d X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
0000000000000912 X86_64_RELOC_BRANCH _$sSSWOh
0000000000000902 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
00000000000008fb X86_64_RELOC_BRANCH _$sSSWOh
00000000000008eb X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpWvd
00000000000008e4 X86_64_RELOC_BRANCH _$sSSWOh
00000000000008d2 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
00000000000008c3 X86_64_RELOC_BRANCH _memset
000000000000088d X86_64_RELOC_BRANCH _objc_msgSendSuper2
0000000000000880 X86_64_RELOC_SIGNED __objc_selrefs
000000000000086d X86_64_RELOC_BRANCH _$s10SwiftUtils10GFISClassACMa
0000000000000839 X86_64_RELOC_BRANCH _objc_release
0000000000000830 X86_64_RELOC_BRANCH _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF
0000000000000823 X86_64_RELOC_BRANCH _objc_retain
0000000000000802 X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
00000000000007f9 X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
00000000000007f0 X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
00000000000007e7 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StF
00000000000007c8 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StFfA1_
00000000000007bb X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StFfA0_
00000000000007a7 X86_64_RELOC_GOT_LOAD _$sSSN@GOTPCREL
00000000000007a0 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
0000000000000785 X86_64_RELOC_SIGNED __cstring
000000000000077e X86_64_RELOC_BRANCH _$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5
0000000000000736 X86_64_RELOC_BRANCH _swift_bridgeObjectRetain
0000000000000716 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
00000000000006f2 X86_64_RELOC_GOT_LOAD _swift_isaMask@GOTPCREL
00000000000006e4 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
00000000000006d3 X86_64_RELOC_SIGNED __cstring
00000000000006cc X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
00000000000006c3 X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
00000000000006ba X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
00000000000006b1 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StF
0000000000000692 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StFfA1_
0000000000000685 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StFfA0_
0000000000000671 X86_64_RELOC_GOT_LOAD _$sSSN@GOTPCREL
000000000000066a X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
0000000000000647 X86_64_RELOC_SIGNED __cstring
0000000000000640 X86_64_RELOC_BRANCH _$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5
00000000000005f8 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
00000000000005e7 X86_64_RELOC_SIGNED __cstring
00000000000005d8 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
00000000000005c7 X86_64_RELOC_SIGNED __cstring
00000000000005b0 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
00000000000005a4 X86_64_RELOC_SIGNED __cstring
000000000000059d X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
0000000000000594 X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
000000000000058b X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
0000000000000582 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StF
0000000000000563 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StFfA1_
0000000000000556 X86_64_RELOC_BRANCH _$ss5print_9separator10terminatoryypd_S2StFfA0_
0000000000000542 X86_64_RELOC_GOT_LOAD _$sSSN@GOTPCREL
000000000000053b X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
0000000000000515 X86_64_RELOC_SIGNED __cstring
000000000000050e X86_64_RELOC_BRANCH _$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5
00000000000004df X86_64_RELOC_BRANCH _$s10SwiftUtils10GFISClassACACycfc
00000000000004b4 X86_64_RELOC_BRANCH _objc_release
00000000000004a7 X86_64_RELOC_BRANCH _objc_retain
0000000000000497 X86_64_RELOC_BRANCH _objc_msgSendSuper2
000000000000048a X86_64_RELOC_SIGNED __objc_selrefs
0000000000000477 X86_64_RELOC_BRANCH _$s10SwiftUtils10GFISClassACMa
000000000000046e X86_64_RELOC_BRANCH _swift_endAccess
000000000000044c X86_64_RELOC_BRANCH _swift_beginAccess
000000000000041f X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
000000000000040f X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
0000000000000405 X86_64_RELOC_SIGNED __cstring
00000000000003f0 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpWvd
00000000000003e2 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
00000000000003d8 X86_64_RELOC_SIGNED __cstring
00000000000003c3 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
00000000000003b5 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
00000000000003a7 X86_64_RELOC_SIGNED __cstring
0000000000000398 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpWvd
0000000000000389 X86_64_RELOC_BRANCH _memset
000000000000033b X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassACML
0000000000000331 X86_64_RELOC_BRANCH _swift_getInitializedObjCClass
000000000000032c X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassACMf
000000000000031b X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassACML
00000000000002f8 X86_64_RELOC_BRANCH _objc_msgSend
00000000000002f0 X86_64_RELOC_SIGNED __objc_selrefs
00000000000002e9 X86_64_RELOC_BRANCH _objc_allocWithZone
00000000000002dd X86_64_RELOC_BRANCH _$s10SwiftUtils10GFISClassACMa
00000000000002c5 X86_64_RELOC_BRANCH _swift_endAccess
00000000000002b0 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM.resume.0
00000000000002a9 X86_64_RELOC_BRANCH _swift_beginAccess
0000000000000289 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
0000000000000259 X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
0000000000000250 X86_64_RELOC_BRANCH _swift_endAccess
0000000000000247 X86_64_RELOC_BRANCH _swift_bridgeObjectRelease
0000000000000224 X86_64_RELOC_BRANCH _swift_beginAccess
00000000000001fc X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
00000000000001f5 X86_64_RELOC_BRANCH _swift_bridgeObjectRetain
00000000000001ab X86_64_RELOC_BRANCH _swift_endAccess
000000000000019e X86_64_RELOC_BRANCH _swift_bridgeObjectRetain
0000000000000179 X86_64_RELOC_BRANCH _swift_beginAccess
0000000000000147 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
0000000000000128 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
0000000000000117 X86_64_RELOC_SIGNED __cstring
00000000000000f1 X86_64_RELOC_BRANCH _swift_bridgeObjectRetain
00000000000000d7 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpWvd
00000000000000b8 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
00000000000000a7 X86_64_RELOC_SIGNED __cstring
0000000000000081 X86_64_RELOC_BRANCH _swift_bridgeObjectRetain
0000000000000067 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
0000000000000048 X86_64_RELOC_BRANCH _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
0000000000000037 X86_64_RELOC_SIGNED __cstring
0000000000000023 X86_64_RELOC_SIGNED _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpWvd
RELOCATION RECORDS FOR [__data]:
0000000000000040 X86_64_RELOC_UNSIGNED l__METACLASS_DATA__TtC10SwiftUtils10GFISClassA
0000000000000030 X86_64_RELOC_UNSIGNED __objc_empty_cache
0000000000000028 X86_64_RELOC_UNSIGNED _OBJC_METACLASS_$_NSObject
0000000000000020 X86_64_RELOC_UNSIGNED _OBJC_METACLASS_$_NSObject
RELOCATION RECORDS FOR [__objc_selrefs]:
0000000000000008 X86_64_RELOC_UNSIGNED __objc_methname
0000000000000000 X86_64_RELOC_UNSIGNED __objc_methname
RELOCATION RECORDS FOR [__const]:
0000000000000088 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF-_$s10SwiftUtils10GFISClassACMn
0000000000000088 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF
0000000000000080 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStF-_$s10SwiftUtils10GFISClassACMn
0000000000000080 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStF
0000000000000078 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZ-_$s10SwiftUtils10GFISClassACMn
0000000000000078 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZ
0000000000000070 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM-_$s10SwiftUtils10GFISClassACMn
0000000000000070 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM
0000000000000068 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvs-_$s10SwiftUtils10GFISClassACMn
0000000000000068 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvs
0000000000000060 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvg-_$s10SwiftUtils10GFISClassACMn
0000000000000060 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvg
000000000000003c X86_64_RELOC_SUBTRACTOR _symbolic So8NSObjectC-_$s10SwiftUtils10GFISClassACMn
000000000000003c X86_64_RELOC_UNSIGNED _symbolic So8NSObjectC
0000000000000038 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassACMF-_$s10SwiftUtils10GFISClassACMn
0000000000000038 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACMF
0000000000000034 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassACMa-_$s10SwiftUtils10GFISClassACMn
0000000000000034 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACMa
0000000000000030 X86_64_RELOC_SUBTRACTOR l___unnamed_17-_$s10SwiftUtils10GFISClassACMn
0000000000000030 X86_64_RELOC_UNSIGNED l___unnamed_17
000000000000002c X86_64_RELOC_SUBTRACTOR _$s10SwiftUtilsMXM-_$s10SwiftUtils10GFISClassACMn
000000000000002c X86_64_RELOC_UNSIGNED _$s10SwiftUtilsMXM
0000000000000018 X86_64_RELOC_SUBTRACTOR l___unnamed_16-_$s10SwiftUtilsMXM
0000000000000018 X86_64_RELOC_UNSIGNED l___unnamed_16
RELOCATION RECORDS FOR [__objc_const]:
0000000000000140 X86_64_RELOC_UNSIGNED l__INSTANCE_METHODS__TtC10SwiftUtils10GFISClassA
0000000000000110 X86_64_RELOC_UNSIGNED __cstring
0000000000000100 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
00000000000000e8 X86_64_RELOC_UNSIGNED __cstring
00000000000000d0 X86_64_RELOC_UNSIGNED __cstring
00000000000000c0 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
00000000000000a8 X86_64_RELOC_UNSIGNED __cstring
0000000000000090 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACfETo
0000000000000080 X86_64_RELOC_UNSIGNED __objc_methname
0000000000000070 X86_64_RELOC_UNSIGNED __cstring
0000000000000060 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACACycfcTo
0000000000000050 X86_64_RELOC_UNSIGNED __objc_methname
0000000000000018 X86_64_RELOC_UNSIGNED __cstring
RELOCATION RECORDS FOR [__swift5_typeref]:
000000000000000f X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassACMn-_symbolic _____ 10SwiftUtils10GFISClassAC
000000000000000f X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACMn
RELOCATION RECORDS FOR [__objc_data]:
00000000000000a8 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF
00000000000000a0 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStF
0000000000000098 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZ
0000000000000090 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM
0000000000000088 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvs
0000000000000080 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvg
0000000000000050 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACMn
0000000000000030 X86_64_RELOC_UNSIGNED l__DATA__TtC10SwiftUtils10GFISClassA
0000000000000020 X86_64_RELOC_UNSIGNED __objc_empty_cache
0000000000000018 X86_64_RELOC_UNSIGNED _OBJC_CLASS_$_NSObject
0000000000000010 X86_64_RELOC_UNSIGNED _OBJC_METACLASS_$__TtC10SwiftUtils10GFISClassA
0000000000000008 X86_64_RELOC_UNSIGNED _$sBOWV
0000000000000000 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACfD
RELOCATION RECORDS FOR [__swift5_fieldmd]:
000000000000003c X86_64_RELOC_SUBTRACTOR __swift5_reflstr-_$s10SwiftUtils10GFISClassACMF
000000000000003c X86_64_RELOC_UNSIGNED __swift5_reflstr
0000000000000038 X86_64_RELOC_SUBTRACTOR _symbolic SS-_$s10SwiftUtils10GFISClassACMF
0000000000000038 X86_64_RELOC_UNSIGNED _symbolic SS
0000000000000030 X86_64_RELOC_SUBTRACTOR __swift5_reflstr-_$s10SwiftUtils10GFISClassACMF
0000000000000030 X86_64_RELOC_UNSIGNED __swift5_reflstr
000000000000002c X86_64_RELOC_SUBTRACTOR _symbolic SS-_$s10SwiftUtils10GFISClassACMF
000000000000002c X86_64_RELOC_UNSIGNED _symbolic SS
0000000000000024 X86_64_RELOC_SUBTRACTOR __swift5_reflstr-_$s10SwiftUtils10GFISClassACMF
0000000000000024 X86_64_RELOC_UNSIGNED __swift5_reflstr
0000000000000020 X86_64_RELOC_SUBTRACTOR _symbolic SS-_$s10SwiftUtils10GFISClassACMF
0000000000000020 X86_64_RELOC_UNSIGNED _symbolic SS
0000000000000018 X86_64_RELOC_SUBTRACTOR __swift5_reflstr-_$s10SwiftUtils10GFISClassACMF
0000000000000018 X86_64_RELOC_UNSIGNED __swift5_reflstr
0000000000000014 X86_64_RELOC_SUBTRACTOR _symbolic Si-_$s10SwiftUtils10GFISClassACMF
0000000000000014 X86_64_RELOC_UNSIGNED _symbolic Si
0000000000000004 X86_64_RELOC_SUBTRACTOR _symbolic So8NSObjectC-_$s10SwiftUtils10GFISClassACMF
0000000000000004 X86_64_RELOC_UNSIGNED _symbolic So8NSObjectC
0000000000000000 X86_64_RELOC_SUBTRACTOR _symbolic _____ 10SwiftUtils10GFISClassAC-_$s10SwiftUtils10GFISClassACMF
0000000000000000 X86_64_RELOC_UNSIGNED _symbolic _____ 10SwiftUtils10GFISClassAC
RELOCATION RECORDS FOR [__const]:
0000000000000040 X86_64_RELOC_UNSIGNED __swift_FORCE_LOAD_$_swiftMetal
0000000000000030 X86_64_RELOC_UNSIGNED __swift_FORCE_LOAD_$_swiftCoreGraphics
0000000000000020 X86_64_RELOC_UNSIGNED __swift_FORCE_LOAD_$_swiftCoreFoundation
0000000000000010 X86_64_RELOC_UNSIGNED __swift_FORCE_LOAD_$_swiftDarwin
0000000000000000 X86_64_RELOC_UNSIGNED __swift_FORCE_LOAD_$_swiftUIKit
RELOCATION RECORDS FOR [__swift5_types]:
0000000000000000 X86_64_RELOC_SUBTRACTOR _$s10SwiftUtils10GFISClassACMn-l_type_metadata_table
0000000000000000 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACMn
RELOCATION RECORDS FOR [__objc_classlist]:
0000000000000000 X86_64_RELOC_UNSIGNED _$s10SwiftUtils10GFISClassACN
RELOCATION RECORDS FOR [__debug_info]:
00000000000003a2 X86_64_RELOC_UNSIGNED __text
0000000000000387 X86_64_RELOC_UNSIGNED __text
0000000000000361 X86_64_RELOC_UNSIGNED __text
000000000000034e X86_64_RELOC_UNSIGNED __text
0000000000000337 X86_64_RELOC_UNSIGNED __text
0000000000000320 X86_64_RELOC_UNSIGNED __text
0000000000000309 X86_64_RELOC_UNSIGNED __text
00000000000002dc X86_64_RELOC_UNSIGNED __text
00000000000002b0 X86_64_RELOC_UNSIGNED __text
0000000000000295 X86_64_RELOC_UNSIGNED __text
0000000000000269 X86_64_RELOC_UNSIGNED __text
0000000000000221 X86_64_RELOC_UNSIGNED __text
00000000000001f5 X86_64_RELOC_UNSIGNED __text
00000000000001da X86_64_RELOC_UNSIGNED __text
00000000000001ae X86_64_RELOC_UNSIGNED __text
0000000000000191 X86_64_RELOC_UNSIGNED __text
0000000000000174 X86_64_RELOC_UNSIGNED __text
0000000000000147 X86_64_RELOC_UNSIGNED __text
000000000000010d X86_64_RELOC_UNSIGNED __text
00000000000000e1 X86_64_RELOC_UNSIGNED __text
00000000000000b5 X86_64_RELOC_UNSIGNED __text
0000000000000089 X86_64_RELOC_UNSIGNED __text
000000000000005d X86_64_RELOC_UNSIGNED __text
0000000000000039 X86_64_RELOC_UNSIGNED __text
000000000000001f X86_64_RELOC_UNSIGNED __text
RELOCATION RECORDS FOR [__compact_unwind]:
00000000000002e0 X86_64_RELOC_UNSIGNED __text
00000000000002c0 X86_64_RELOC_UNSIGNED __text
00000000000002a0 X86_64_RELOC_UNSIGNED __text
0000000000000280 X86_64_RELOC_UNSIGNED __text
0000000000000260 X86_64_RELOC_UNSIGNED __text
0000000000000240 X86_64_RELOC_UNSIGNED __text
0000000000000220 X86_64_RELOC_UNSIGNED __text
0000000000000200 X86_64_RELOC_UNSIGNED __text
00000000000001e0 X86_64_RELOC_UNSIGNED __text
00000000000001c0 X86_64_RELOC_UNSIGNED __text
00000000000001a0 X86_64_RELOC_UNSIGNED __text
0000000000000180 X86_64_RELOC_UNSIGNED __text
0000000000000160 X86_64_RELOC_UNSIGNED __text
0000000000000140 X86_64_RELOC_UNSIGNED __text
0000000000000120 X86_64_RELOC_UNSIGNED __text
0000000000000100 X86_64_RELOC_UNSIGNED __text
00000000000000e0 X86_64_RELOC_UNSIGNED __text
00000000000000c0 X86_64_RELOC_UNSIGNED __text
00000000000000a0 X86_64_RELOC_UNSIGNED __text
0000000000000080 X86_64_RELOC_UNSIGNED __text
0000000000000060 X86_64_RELOC_UNSIGNED __text
0000000000000040 X86_64_RELOC_UNSIGNED __text
0000000000000020 X86_64_RELOC_UNSIGNED __text
0000000000000000 X86_64_RELOC_UNSIGNED __text
RELOCATION RECORDS FOR [__debug_line]:
0000000000000098 X86_64_RELOC_UNSIGNED __text
Sections:
Idx Name Size Address Type
0 __text 00000946 0000000000000000 TEXT
1 __data 00000048 0000000000000948 DATA
2 __cstring 0000014b 0000000000000990 DATA
3 __objc_methname 0000002f 0000000000000adb DATA
4 __objc_selrefs 00000010 0000000000000b10 DATA
5 __const 0000008e 0000000000000b20 DATA
6 __objc_const 00000168 0000000000000bb0 DATA
7 __swift5_typeref 0000001b 0000000000000d18 DATA
8 __bss 00000008 0000000000002d50 BSS
9 __objc_data 000000b0 0000000000000d38 DATA
10 __swift5_reflstr 00000072 0000000000000df0 DATA
11 __swift5_fieldmd 00000040 0000000000000e64 DATA
12 __const 00000050 0000000000000ea8 DATA
13 __swift5_types 00000004 0000000000000ef8 DATA
14 __swift_modhash 00000010 0000000000000efc DATA
15 __objc_classlist 00000008 0000000000000f10 DATA
16 __objc_imageinfo 00000008 0000000000000f18 DATA
17 __debug_str 000009cd 0000000000000f20 DATA
18 __debug_loc 00000023 00000000000018ed DATA
19 __debug_abbrev 0000015a 0000000000001910 DATA
20 __debug_info 0000042f 0000000000001a6a DATA
21 __debug_macinfo 00000001 0000000000001e99 DATA
22 __apple_names 000003c8 0000000000001e9a DATA
23 __apple_objc 00000024 0000000000002262 DATA
24 __apple_namespac 00000024 0000000000002286 DATA
25 __apple_types 000000c3 00000000000022aa DATA
26 __compact_unwind 00000300 0000000000002370 DATA
27 __eh_frame 000003f0 0000000000002670 DATA
28 __debug_line 000002ee 0000000000002a60 DATA
SYMBOL TABLE:
00000000000002c0 l F __TEXT,__text _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM.resume.0
0000000000002d50 l __DATA,__bss _$s10SwiftUtils10GFISClassACML
0000000000000d38 l __DATA,__objc_data _$s10SwiftUtils10GFISClassACMf
00000000000004d0 l F __TEXT,__text _$s10SwiftUtils10GFISClassACACycfcTo
0000000000000810 l F __TEXT,__text _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyFTo
0000000000000940 l F __TEXT,__text l_coro.devirt.trigger
0000000000000bb0 l __DATA,__objc_const l__METACLASS_DATA__TtC10SwiftUtils10GFISClassA
0000000000000bf8 l __DATA,__objc_const l__INSTANCE_METHODS__TtC10SwiftUtils10GFISClassA
0000000000000c48 l __DATA,__objc_const l__IVARS__TtC10SwiftUtils10GFISClassA
0000000000000cd0 l __DATA,__objc_const l__DATA__TtC10SwiftUtils10GFISClassA
0000000000000b24 l __TEXT,__const l___unnamed_16
0000000000000b3c l __TEXT,__const l___unnamed_17
0000000000000e64 l __TEXT,__swift5_fieldmd _$s10SwiftUtils10GFISClassACMF
0000000000000ef8 l __TEXT,__swift5_types l_type_metadata_table
0000000000000efc l __LLVM,__swift_modhash l_llvm.swift_module_hash
0000000000000f10 l __DATA,__objc_classlist _objc_classes
00000000000004f0 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZ
0000000000000b94 g __TEXT,__const _$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZTq
0000000000000270 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM
0000000000000b8c g __TEXT,__const _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvMTq
0000000000000130 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvg
0000000000000b7c g __TEXT,__const _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvgTq
0000000000000b20 g __TEXT,__const _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpMV
0000000000000960 g __DATA,__data _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpWvd
0000000000000110 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpfi
00000000000001c0 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvs
0000000000000b84 g __TEXT,__const _$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvsTq
0000000000000600 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStF
0000000000000b9c g __TEXT,__const _$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStFTq
0000000000000760 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF
0000000000000ba4 g __TEXT,__const _$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyFTq
0000000000000010 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivg
0000000000000b20 g __TEXT,__const _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpMV
0000000000000948 g __DATA,__data _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1SivpWvd
0000000000000000 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivpfi
0000000000000050 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvg
0000000000000b20 g __TEXT,__const _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpMV
0000000000000950 g __DATA,__data _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpWvd
0000000000000030 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpfi
00000000000000c0 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvg
0000000000000b20 g __TEXT,__const _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpMV
0000000000000958 g __DATA,__data _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpWvd
00000000000000a0 g F __TEXT,__text _$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpfi
00000000000002d0 g F __TEXT,__text _$s10SwiftUtils10GFISClassACACycfC
0000000000000360 g F __TEXT,__text _$s10SwiftUtils10GFISClassACACycfc
0000000000000310 g F __TEXT,__text _$s10SwiftUtils10GFISClassACMa
0000000000000b48 g __TEXT,__const _$s10SwiftUtils10GFISClassACMn
0000000000000d48 g __DATA,__objc_data _$s10SwiftUtils10GFISClassACN
0000000000000850 g F __TEXT,__text _$s10SwiftUtils10GFISClassACfD
00000000000008a0 g F __TEXT,__text _$s10SwiftUtils10GFISClassACfETo
0000000000000b30 gw __TEXT,__const _$s10SwiftUtilsMXM
0000000000000920 gw F __TEXT,__text _$sSSWOh
00000000000005c0 gw F __TEXT,__text _$ss5print_9separator10terminatoryypd_S2StFfA0_
00000000000005e0 gw F __TEXT,__text _$ss5print_9separator10terminatoryypd_S2StFfA1_
0000000000000d48 g __DATA,__objc_data _OBJC_CLASS_$__TtC10SwiftUtils10GFISClassA
0000000000000968 g __DATA,__data _OBJC_METACLASS_$__TtC10SwiftUtils10GFISClassA
0000000000000bac gw __TEXT,__const ___swift_reflection_version
0000000000000ec8 gw __DATA,__const __swift_FORCE_LOAD_$_swiftCoreFoundation_$_SwiftUtils
0000000000000ed8 gw __DATA,__const __swift_FORCE_LOAD_$_swiftCoreGraphics_$_SwiftUtils
0000000000000ee0 gw __DATA,__const __swift_FORCE_LOAD_$_swiftCoreImage_$_SwiftUtils
0000000000000eb8 gw __DATA,__const __swift_FORCE_LOAD_$_swiftDarwin_$_SwiftUtils
0000000000000ed0 gw __DATA,__const __swift_FORCE_LOAD_$_swiftDispatch_$_SwiftUtils
0000000000000eb0 gw __DATA,__const __swift_FORCE_LOAD_$_swiftFoundation_$_SwiftUtils
0000000000000ee8 gw __DATA,__const __swift_FORCE_LOAD_$_swiftMetal_$_SwiftUtils
0000000000000ec0 gw __DATA,__const __swift_FORCE_LOAD_$_swiftObjectiveC_$_SwiftUtils
0000000000000ef0 gw __DATA,__const __swift_FORCE_LOAD_$_swiftQuartzCore_$_SwiftUtils
0000000000000ea8 gw __DATA,__const __swift_FORCE_LOAD_$_swiftUIKit_$_SwiftUtils
0000000000000d30 gw __TEXT,__swift5_typeref _symbolic SS
0000000000000d2c gw __TEXT,__swift5_typeref _symbolic Si
0000000000000d18 gw __TEXT,__swift5_typeref _symbolic So8NSObjectC
0000000000000d26 gw __TEXT,__swift5_typeref _symbolic _____ 10SwiftUtils10GFISClassAC
0000000000000000 *UND* _$sBOWV
0000000000000000 *UND* _$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC
0000000000000000 *UND* _$sSSN
0000000000000000 *UND* _$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5
0000000000000000 *UND* _$ss5print_9separator10terminatoryypd_S2StF
0000000000000000 *UND* _OBJC_CLASS_$_NSObject
0000000000000000 *UND* _OBJC_METACLASS_$_NSObject
0000000000000000 *UND* __objc_empty_cache
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftCoreFoundation
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftCoreGraphics
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftCoreImage
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftDarwin
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftDispatch
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftFoundation
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftMetal
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftObjectiveC
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftQuartzCore
0000000000000000 *UND* __swift_FORCE_LOAD_$_swiftUIKit
0000000000000000 *UND* _memset
0000000000000000 *UND* _objc_allocWithZone
0000000000000000 *UND* _objc_msgSend
0000000000000000 *UND* _objc_msgSendSuper2
0000000000000000 *UND* _objc_release
0000000000000000 *UND* _objc_retain
0000000000000000 *UND* _swift_beginAccess
0000000000000000 *UND* _swift_bridgeObjectRelease
0000000000000000 *UND* _swift_bridgeObjectRetain
0000000000000000 *UND* _swift_endAccess
0000000000000000 *UND* _swift_getInitializedObjCClass
0000000000000000 *UND* _swift_isaMask
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 X86_64 ALL 0x00 OBJECT 31 3440 SUBSECTIONS_VIA_SYMBOLS
Load command 0
cmd LC_SEGMENT_64
cmdsize 2392
segname
vmaddr 0x0000000000000000
vmsize 0x0000000000002d58
fileoff 3472
filesize 11598
maxprot rwx
initprot rwx
nsects 29
flags (none)
Section
sectname __text
segname __TEXT
addr 0x0000000000000000
size 0x0000000000000946
offset 3472
align 2^4 (16)
reloff 15072
nreloc 107
type S_REGULAR
attributes PURE_INSTRUCTIONS SOME_INSTRUCTIONS
reserved1 0
reserved2 0
Section
sectname __data
segname __DATA
addr 0x0000000000000948
size 0x0000000000000048
offset 5848
align 2^3 (8)
reloff 15928
nreloc 4
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __cstring
segname __TEXT
addr 0x0000000000000990
size 0x000000000000014b
offset 5920
align 2^4 (16)
reloff 0
nreloc 0
type S_CSTRING_LITERALS
attributes (none)
reserved1 0
reserved2 0
Section
sectname __objc_methname
segname __TEXT
addr 0x0000000000000adb
size 0x000000000000002f
offset 6251
align 2^0 (1)
reloff 0
nreloc 0
type S_CSTRING_LITERALS
attributes (none)
reserved1 0
reserved2 0
Section
sectname __objc_selrefs
segname __DATA
addr 0x0000000000000b10
size 0x0000000000000010
offset 6304
align 2^3 (8)
reloff 15960
nreloc 2
type S_LITERAL_POINTERS
attributes NO_DEAD_STRIP
reserved1 0
reserved2 0
Section
sectname __const
segname __TEXT
addr 0x0000000000000b20
size 0x000000000000008e
offset 6320
align 2^2 (4)
reloff 15976
nreloc 24
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __objc_const
segname __DATA
addr 0x0000000000000bb0
size 0x0000000000000168
offset 6464
align 2^3 (8)
reloff 16168
nreloc 25
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __swift5_typeref
segname __TEXT
addr 0x0000000000000d18
size 0x000000000000001b
offset 6824
align 2^1 (2)
reloff 16368
nreloc 2
type S_REGULAR
attributes NO_DEAD_STRIP
reserved1 0
reserved2 0
Section
sectname __bss
segname __DATA
addr 0x0000000000002d50
size 0x0000000000000008
offset 0
align 2^3 (8)
reloff 0
nreloc 0
type S_ZEROFILL
attributes (none)
reserved1 0
reserved2 0
Section
sectname __objc_data
segname __DATA
addr 0x0000000000000d38
size 0x00000000000000b0
offset 6856
align 2^3 (8)
reloff 16384
nreloc 13
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __swift5_reflstr
segname __TEXT
addr 0x0000000000000df0
size 0x0000000000000072
offset 7040
align 2^4 (16)
reloff 0
nreloc 0
type S_REGULAR
attributes NO_DEAD_STRIP
reserved1 0
reserved2 0
Section
sectname __swift5_fieldmd
segname __TEXT
addr 0x0000000000000e64
size 0x0000000000000040
offset 7156
align 2^2 (4)
reloff 16488
nreloc 20
type S_REGULAR
attributes NO_DEAD_STRIP
reserved1 0
reserved2 0
Section
sectname __const
segname __DATA
addr 0x0000000000000ea8
size 0x0000000000000050
offset 7224
align 2^3 (8)
reloff 16648
nreloc 10
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __swift5_types
segname __TEXT
addr 0x0000000000000ef8
size 0x0000000000000004
offset 7304
align 2^2 (4)
reloff 16728
nreloc 2
type S_REGULAR
attributes NO_DEAD_STRIP
reserved1 0
reserved2 0
Section
sectname __swift_modhash
segname __LLVM
addr 0x0000000000000efc
size 0x0000000000000010
offset 7308
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __objc_classlist
segname __DATA
addr 0x0000000000000f10
size 0x0000000000000008
offset 7328
align 2^3 (8)
reloff 16744
nreloc 1
type S_REGULAR
attributes NO_DEAD_STRIP
reserved1 0
reserved2 0
Section
sectname __objc_imageinfo
segname __DATA
addr 0x0000000000000f18
size 0x0000000000000008
offset 7336
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes NO_DEAD_STRIP
reserved1 0
reserved2 0
Section
sectname __debug_str
segname __DWARF
addr 0x0000000000000f20
size 0x00000000000009cd
offset 7344
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __debug_loc
segname __DWARF
addr 0x00000000000018ed
size 0x0000000000000023
offset 9853
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __debug_abbrev
segname __DWARF
addr 0x0000000000001910
size 0x000000000000015a
offset 9888
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __debug_info
segname __DWARF
addr 0x0000000000001a6a
size 0x000000000000042f
offset 10234
align 2^0 (1)
reloff 16752
nreloc 25
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __debug_macinfo
segname __DWARF
addr 0x0000000000001e99
size 0x0000000000000001
offset 11305
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __apple_names
segname __DWARF
addr 0x0000000000001e9a
size 0x00000000000003c8
offset 11306
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __apple_objc
segname __DWARF
addr 0x0000000000002262
size 0x0000000000000024
offset 12274
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __apple_namespac
segname __DWARF
addr 0x0000000000002286
size 0x0000000000000024
offset 12310
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __apple_types
segname __DWARF
addr 0x00000000000022aa
size 0x00000000000000c3
offset 12346
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __compact_unwind
segname __LD
addr 0x0000000000002370
size 0x0000000000000300
offset 12544
align 2^3 (8)
reloff 16952
nreloc 24
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Section
sectname __eh_frame
segname __TEXT
addr 0x0000000000002670
size 0x00000000000003f0
offset 13312
align 2^3 (8)
reloff 0
nreloc 0
type S_COALESCED
attributes NO_TOC STRIP_STATIC_SYMS LIVE_SUPPORT
reserved1 0
reserved2 0
Section
sectname __debug_line
segname __DWARF
addr 0x0000000000002a60
size 0x00000000000002ee
offset 14320
align 2^0 (1)
reloff 17144
nreloc 1
type S_REGULAR
attributes DEBUG
reserved1 0
reserved2 0
Load command 1
cmd LC_VERSION_MIN_IPHONEOS
cmdsize 16
version 11.0
sdk 12.2
Load command 2
cmd LC_SYMTAB
cmdsize 24
symoff 17152
nsyms 101
stroff 18768
strsize 3976
Load command 3
cmd LC_DYSYMTAB
cmdsize 80
ilocalsym 0
nlocalsym 16
iextdefsym 16
nextdefsym 55
iundefsym 71
nundefsym 30
tocoff 0
ntoc 0
modtaboff 0
nmodtab 0
extrefsymoff 0
nextrefsyms 0
indirectsymoff 0
nindirectsyms 0
extreloff 0
nextrel 0
locreloff 0
nlocrel 0
Load command 4
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftUIKit
Load command 5
cmd LC_LINKER_OPTION
cmdsize 24
count 1
string #1 -lswiftCore
Load command 6
cmd LC_LINKER_OPTION
cmdsize 32
count 2
string #1 -framework
string #2 UIKit
Load command 7
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftFoundation
Load command 8
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftDarwin
Load command 9
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftObjectiveC
Load command 10
cmd LC_LINKER_OPTION
cmdsize 40
count 1
string #1 -lswiftCoreFoundation
Load command 11
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 CoreFoundation
Load command 12
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftDispatch
Load command 13
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 Foundation
Load command 14
cmd LC_LINKER_OPTION
cmdsize 32
count 2
string #1 -framework
string #2 Security
Load command 15
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 CFNetwork
Load command 16
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftCoreGraphics
Load command 17
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 CoreGraphics
Load command 18
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftCoreImage
Load command 19
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 CoreImage
Load command 20
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftMetal
Load command 21
cmd LC_LINKER_OPTION
cmdsize 32
count 2
string #1 -framework
string #2 Metal
Load command 22
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 CoreVideo
Load command 23
cmd LC_LINKER_OPTION
cmdsize 32
count 2
string #1 -framework
string #2 OpenGLES
Load command 24
cmd LC_LINKER_OPTION
cmdsize 32
count 2
string #1 -framework
string #2 ImageIO
Load command 25
cmd LC_LINKER_OPTION
cmdsize 32
count 1
string #1 -lswiftQuartzCore
Load command 26
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 QuartzCore
Load command 27
cmd LC_LINKER_OPTION
cmdsize 32
count 2
string #1 -framework
string #2 CoreText
Load command 28
cmd LC_LINKER_OPTION
cmdsize 40
count 2
string #1 -framework
string #2 FileProvider
Load command 29
cmd LC_LINKER_OPTION
cmdsize 40
count 1
string #1 -lswiftSwiftOnoneSupport
Load command 30
cmd LC_LINKER_OPTION
cmdsize 24
count 1
string #1 -lobjc
view the content of Mach-O executables
-L -Display the names and version numbers of the shared libraries that the object file uses
otool -L libSwiftUtils.a
Archive : libSwiftUtils.a
libSwiftUtils.a(GFISClassA.o):
This will get you all the strings. A string is any sequence of 4 (the default) or more printing characters [ending at, but not including, any other character or EOF].
strings libSwiftUtils.a
strings "libSwiftUtils.a(GFISClassA.o)"
GFIS_PUBLIC_LET_STRING_1
GFIS_INTERNAL_LET_STRING_2
GFIS_VAR_STRING_1
GFI classMethod1 called
GFI classMethod1_result
GFI instanceMethod1 called
GFIS_VAR_STRING_1_value1
Hello World! from Swift
_TtC10SwiftUtils10GFISClassA
@16@0:8
v16@0:8
GFIS_PUBLIC_LET_INT_1
init
dealloc
GFISprintHelloWorld
.cxx_destruct
SwiftUtils
GFISClassA
So8NSObjectC
GFIS_PUBLIC_LET_INT_1
GFIS_PUBLIC_LET_STRING_1
GFIS_INTERNAL_LET_STRING_2
GFIS_VAR_STRING_1
Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
/Users/alex/Desktop/projects_experiments/ios/swift/SwiftUtils/SwiftUtils/GFISClassA.swift
/Users/alex/Desktop/projects_experiments/ios/swift/SwiftUtils
SwiftUtils
/Users/alex/Desktop/projects_experiments/ios/swift/SwiftUtils/SwiftUtils
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk
Swift
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule
Foundation
"-DDEBUG=1"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Foundation.framework
SwiftOnoneSupport
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
UIKit
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework
$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivpfi
GFISClassA
$s10SwiftUtils10GFISClassACD
GFIS_PUBLIC_LET_INT_1.get
$s10SwiftUtils10GFISClassAC21GFIS_PUBLIC_LET_INT_1Sivg
$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvpfi
GFIS_PUBLIC_LET_STRING_1.get
$s10SwiftUtils10GFISClassAC24GFIS_PUBLIC_LET_STRING_1SSvg
$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvpfi
GFIS_INTERNAL_LET_STRING_2.get
$s10SwiftUtils10GFISClassAC26GFIS_INTERNAL_LET_STRING_2SSvg
$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvpfi
GFIS_VAR_STRING_1.get
$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvg
GFIS_VAR_STRING_1.set
$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvs
GFIS_VAR_STRING_1.modify
$s10SwiftUtils10GFISClassAC17GFIS_VAR_STRING_1SSvM
init
$s10SwiftUtils10GFISClassACACycfC
$s10SwiftUtils10GFISClassACMa
$s10SwiftUtils10GFISClassACACycfc
$s10SwiftUtils10GFISClassACACycfcTo
GFISclassMethod1
$s10SwiftUtils10GFISClassAC16GFISclassMethod1SSyFZ
print
$ss5print_9separator10terminatoryypd_S2StFfA0_
$ss5print_9separator10terminatoryypd_S2StFfA1_
GFISinstanceMethod1
$s10SwiftUtils10GFISClassAC19GFISinstanceMethod14arg14arg2S2S_SStF
GFISprintHelloWorld
$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyF
$s10SwiftUtils10GFISClassAC19GFISprintHelloWorldyyFTo
deinit
$s10SwiftUtils10GFISClassACfD
$s10SwiftUtils10GFISClassACfETo
$sSSWOh
$sSiD
String
$sSSD
$sytD
self
value
$s10SwiftUtils10GFISClassACXMTD
arg1
arg2
HSAH
HSAH
HSAH
HSAH
/Users/alex/Desktop/projects_experiments/ios/swift/SwiftUtils/SwiftUtils
GFISClassA.swift
<compiler-generated>
JtXX<JJ
JtXX<JJ
J<<JJJJXJJJJX<JJXJJ
JJ<JJXtJ
J<JJXJJXJJJXXJ
J<JJ
X<JXt<XJ
tJJ.tX<
<JXJ.
JJJJ
JJXJJXJXJ.
JXJJJ
JXJ
Jt<<<JXtJ<JXtJ<JXJJ
JJ<XJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment