From 6d671525b0eb9edf8a227acda3ae88cc480bfe33 Mon Sep 17 00:00:00 2001 From: feilong Date: Sun, 24 Oct 2021 14:44:40 +0800 Subject: [PATCH] add compiler --- .../compiler.json" | 5 + .../compiler.md" | 44 ++ .../config.json" | 4 +- .../helloworld" | Bin 0 -> 49424 bytes .../helloworld.bc" | Bin 0 -> 3280 bytes .../helloworld.c" | 6 + .../helloworld.i" | 545 ++++++++++++++++++ .../helloworld.o" | Bin 0 -> 784 bytes .../helloworld.s" | 32 + 9 files changed, 635 insertions(+), 1 deletion(-) create mode 100644 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.json" create mode 100644 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.md" create mode 100755 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld" create mode 100644 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.bc" create mode 100644 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.c" create mode 100644 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.i" create mode 100644 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.o" create mode 100644 "data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.s" diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.json" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.json" new file mode 100644 index 0000000..bfc50d7 --- /dev/null +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.json" @@ -0,0 +1,5 @@ +{ + "type": "code_options", + "author": "幻灰龙", + "source": "compiler.md" +} \ No newline at end of file diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.md" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.md" new file mode 100644 index 0000000..ef31581 --- /dev/null +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/compiler.md" @@ -0,0 +1,44 @@ +# 了解C编辑管道 + +一个典型的C程序编译管道,包含预处理、编译、汇编、链接四个环节。 +![](https://userblink.csdnimg.cn/20211024/huanhuilong/pic/4d238ff624e5c015c216328a2be9bb5c-0.jpg?x-oss-process=image/interlace,1/format,jpg/resize,w_375) + +假设输入文件是`helloworld.c`,使用GCC编译程序,编译命令是`gcc -Wall -save-temps helloworld.c -o helloworld`,那么下面哪个不是C程序处理管道产生的文件? + +## template + +```c +#include + +int main(int argc, char **argv) { + printf("Hello,World!"); + return 0; +} +``` + +## 答案 +```c +helloworld.txt +``` + +## 选项 + +### A + +```c +helloworld.i +``` + +### B + +```c +helloworld.s +``` + +### C + +```c +helloworld.o +``` + + diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/config.json" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/config.json" index 5c71070..a2e8b99 100644 --- "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/config.json" +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/config.json" @@ -94,6 +94,8 @@ } } ], - "export": [], + "export": [ + "compiler.json" + ], "node_id": "be9d40c8fc0e49c9bbc1e3a0b60b7960" } \ No newline at end of file diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld" new file mode 100755 index 0000000000000000000000000000000000000000..1591fb1ba628408b9a462f8ce75386657f667fcb GIT binary patch literal 49424 zcmeI)Ply{;9Ki9H{iBhtb$b#2R7lkoTcq2H6)$3<4W?Myt-E3=$TR6on}OM6NhZ2E zD8V8arLZ@96v2}Rd-NDku%7hju@|LcMK6Mg7=OQcZ??&F_i7J*fAI3=H}CD6-+W%O zx0&z$`t_f?jVa6;V`ii+N;^Am%=@M!N5(uTttQRdmCDQ2bJbT*>)GijOs6|$y3P+W z(b~1@*|q5@>ED;9&l#UfDJE+=!`dX=O!UY_e!Z0!rDl$iO!pIoCc2W8Vq|c%>a{F{d zdYz{}I^L9Af1lT+uSvg0+KM!d>>4^(?;$hQv3z_v+W9{B%EXei1!>E@Zf7};8p}aH z4kXujSen-H+2@CTx&Ftq*FX9suKZT`_=~6ITuGX{N2zLdPkNkM-t*ziAsN%}T^3Ku z{p&jV|6(%qy3a||F|B_-SdiN-+^R+DS?za|aQ*O$ho!ElA(JGYkf!UuIdYx{eXd>v z0tg_000IagfB*srAb@Yv{2)^SU6Q(7L6$m-1`P}+I@vZ`E>dHX>QDle;>hqcYgcT m1dr$PS;^<5X|GW-c88j5T2og4ZFgvGdP;8Zt$Grs>--CJ58HPD literal 0 HcmV?d00001 diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.bc" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.bc" new file mode 100644 index 0000000000000000000000000000000000000000..011b9cd200cd91761ef46022f5964670ed337efb GIT binary patch literal 3280 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 E05W=m^Z)<= literal 0 HcmV?d00001 diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.c" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.c" new file mode 100644 index 0000000..ca5fec5 --- /dev/null +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.c" @@ -0,0 +1,6 @@ +#include + +int main(int argc, char **argv) { + printf("Hello,World!"); + return 0; +} \ No newline at end of file diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.i" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.i" new file mode 100644 index 0000000..c3a62dd --- /dev/null +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.i" @@ -0,0 +1,545 @@ +# 1 "helloworld.c" +# 1 "" 1 +# 1 "" 3 +# 367 "" 3 +# 1 "" 1 +# 1 "" 2 +# 1 "helloworld.c" 2 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 1 3 4 +# 64 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 1 3 4 +# 68 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h" 1 3 4 +# 649 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_symbol_aliasing.h" 1 3 4 +# 650 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h" 2 3 4 +# 715 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_posix_availability.h" 1 3 4 +# 716 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h" 2 3 4 +# 69 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h" 1 3 4 +# 135 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h" 1 3 4 +# 136 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h" 1 3 4 +# 137 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h" 2 3 4 +# 70 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 2 3 4 + +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h" 1 3 4 +# 27 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h" 1 3 4 +# 33 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/_types.h" 1 3 4 +# 32 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/_types.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h" 1 3 4 +# 37 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h" 3 4 +typedef signed char __int8_t; + + + +typedef unsigned char __uint8_t; +typedef short __int16_t; +typedef unsigned short __uint16_t; +typedef int __int32_t; +typedef unsigned int __uint32_t; +typedef long long __int64_t; +typedef unsigned long long __uint64_t; + +typedef long __darwin_intptr_t; +typedef unsigned int __darwin_natural_t; +# 70 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h" 3 4 +typedef int __darwin_ct_rune_t; + + + + + +typedef union { + char __mbstate8[128]; + long long _mbstateL; +} __mbstate_t; + +typedef __mbstate_t __darwin_mbstate_t; + + +typedef long int __darwin_ptrdiff_t; + + + + + + + +typedef long unsigned int __darwin_size_t; + + + + + +typedef __builtin_va_list __darwin_va_list; + + + + + +typedef int __darwin_wchar_t; + + + + +typedef __darwin_wchar_t __darwin_rune_t; + + +typedef int __darwin_wint_t; + + + + +typedef unsigned long __darwin_clock_t; +typedef __uint32_t __darwin_socklen_t; +typedef long __darwin_ssize_t; +typedef long __darwin_time_t; +# 33 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/_types.h" 2 3 4 +# 34 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h" 2 3 4 +# 55 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h" 3 4 +typedef __int64_t __darwin_blkcnt_t; +typedef __int32_t __darwin_blksize_t; +typedef __int32_t __darwin_dev_t; +typedef unsigned int __darwin_fsblkcnt_t; +typedef unsigned int __darwin_fsfilcnt_t; +typedef __uint32_t __darwin_gid_t; +typedef __uint32_t __darwin_id_t; +typedef __uint64_t __darwin_ino64_t; + +typedef __darwin_ino64_t __darwin_ino_t; + + + +typedef __darwin_natural_t __darwin_mach_port_name_t; +typedef __darwin_mach_port_name_t __darwin_mach_port_t; +typedef __uint16_t __darwin_mode_t; +typedef __int64_t __darwin_off_t; +typedef __int32_t __darwin_pid_t; +typedef __uint32_t __darwin_sigset_t; +typedef __int32_t __darwin_suseconds_t; +typedef __uint32_t __darwin_uid_t; +typedef __uint32_t __darwin_useconds_t; +typedef unsigned char __darwin_uuid_t[16]; +typedef char __darwin_uuid_string_t[37]; + + +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h" 1 3 4 +# 57 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h" 3 4 +struct __darwin_pthread_handler_rec { + void (*__routine)(void *); + void *__arg; + struct __darwin_pthread_handler_rec *__next; +}; + +struct _opaque_pthread_attr_t { + long __sig; + char __opaque[56]; +}; + +struct _opaque_pthread_cond_t { + long __sig; + char __opaque[40]; +}; + +struct _opaque_pthread_condattr_t { + long __sig; + char __opaque[8]; +}; + +struct _opaque_pthread_mutex_t { + long __sig; + char __opaque[56]; +}; + +struct _opaque_pthread_mutexattr_t { + long __sig; + char __opaque[8]; +}; + +struct _opaque_pthread_once_t { + long __sig; + char __opaque[8]; +}; + +struct _opaque_pthread_rwlock_t { + long __sig; + char __opaque[192]; +}; + +struct _opaque_pthread_rwlockattr_t { + long __sig; + char __opaque[16]; +}; + +struct _opaque_pthread_t { + long __sig; + struct __darwin_pthread_handler_rec *__cleanup_stack; + char __opaque[8176]; +}; + +typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; +typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; +typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; +typedef unsigned long __darwin_pthread_key_t; +typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; +typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; +typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; +typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; +typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; +typedef struct _opaque_pthread_t *__darwin_pthread_t; +# 81 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h" 2 3 4 +# 28 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h" 2 3 4 +# 40 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h" 3 4 +typedef int __darwin_nl_item; +typedef int __darwin_wctrans_t; + +typedef __uint32_t __darwin_wctype_t; +# 72 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 2 3 4 + + + +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h" 1 3 4 +# 31 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/types.h" 1 3 4 +# 35 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/types.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 1 3 4 +# 76 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h" 3 4 +typedef signed char int8_t; +# 77 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h" 3 4 +typedef short int16_t; +# 78 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h" 3 4 +typedef int int32_t; +# 79 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h" 3 4 +typedef long long int64_t; +# 80 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 + +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h" 3 4 +typedef unsigned char u_int8_t; +# 82 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h" 3 4 +typedef unsigned short u_int16_t; +# 83 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h" 3 4 +typedef unsigned int u_int32_t; +# 84 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h" 3 4 +typedef unsigned long long u_int64_t; +# 85 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 + + +typedef int64_t register_t; + + + + + +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/types.h" 1 3 4 +# 31 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h" 2 3 4 + +typedef __darwin_intptr_t intptr_t; +# 93 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h" 1 3 4 +# 30 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h" 3 4 +typedef unsigned long uintptr_t; +# 94 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/types.h" 2 3 4 + + + +typedef u_int64_t user_addr_t; +typedef u_int64_t user_size_t; +typedef int64_t user_ssize_t; +typedef int64_t user_long_t; +typedef u_int64_t user_ulong_t; +typedef int64_t user_time_t; +typedef int64_t user_off_t; + + + + + + + +typedef u_int64_t syscall_arg_t; +# 36 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/types.h" 2 3 4 +# 32 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h" 2 3 4 +typedef __darwin_va_list va_list; +# 76 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h" 1 3 4 +# 31 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h" 3 4 +typedef __darwin_size_t size_t; +# 77 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 2 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h" 1 3 4 +# 78 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 2 3 4 + +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h" 1 3 4 +# 39 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h" 3 4 +int renameat(int, const char *, int, const char *) __attribute__((availability(macosx,introduced=10.10))); + + + + + + +int renamex_np(const char *, const char *, unsigned int) __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))); +int renameatx_np(int, const char *, int, const char *, unsigned int) __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))); +# 80 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 2 3 4 + +typedef __darwin_off_t fpos_t; +# 92 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 3 4 +struct __sbuf { + unsigned char *_base; + int _size; +}; + + +struct __sFILEX; +# 126 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h" 3 4 +typedef struct __sFILE { + unsigned char *_p; + int _r; + int _w; + short _flags; + short _file; + struct __sbuf _bf; + int _lbfsize; + + + void *_cookie; + int (* _Nullable _close)(void *); + int (* _Nullable _read) (void *, char *, int); + fpos_t (* _Nullable _seek) (void *, fpos_t, int); + int (* _Nullable _write)(void *, const char *, int); + + + struct __sbuf _ub; + struct __sFILEX *_extra; + int _ur; + + + unsigned char _ubuf[3]; + unsigned char _nbuf[1]; + + + struct __sbuf _lb; + + + int _blksize; + fpos_t _offset; +} FILE; +# 65 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 2 3 4 + + +extern FILE *__stdinp; +extern FILE *__stdoutp; +extern FILE *__stderrp; +# 142 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +void clearerr(FILE *); +int fclose(FILE *); +int feof(FILE *); +int ferror(FILE *); +int fflush(FILE *); +int fgetc(FILE *); +int fgetpos(FILE * restrict, fpos_t *); +char *fgets(char * restrict, int, FILE *); + + + +FILE *fopen(const char * restrict __filename, const char * restrict __mode) __asm("_" "fopen" ); + +int fprintf(FILE * restrict, const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))); +int fputc(int, FILE *); +int fputs(const char * restrict, FILE * restrict) __asm("_" "fputs" ); +size_t fread(void * restrict __ptr, size_t __size, size_t __nitems, FILE * restrict __stream); +FILE *freopen(const char * restrict, const char * restrict, + FILE * restrict) __asm("_" "freopen" ); +int fscanf(FILE * restrict, const char * restrict, ...) __attribute__((__format__ (__scanf__, 2, 3))); +int fseek(FILE *, long, int); +int fsetpos(FILE *, const fpos_t *); +long ftell(FILE *); +size_t fwrite(const void * restrict __ptr, size_t __size, size_t __nitems, FILE * restrict __stream) __asm("_" "fwrite" ); +int getc(FILE *); +int getchar(void); +char *gets(char *); +void perror(const char *) __attribute__((__cold__)); +int printf(const char * restrict, ...) __attribute__((__format__ (__printf__, 1, 2))); +int putc(int, FILE *); +int putchar(int); +int puts(const char *); +int remove(const char *); +int rename (const char *__old, const char *__new); +void rewind(FILE *); +int scanf(const char * restrict, ...) __attribute__((__format__ (__scanf__, 1, 2))); +void setbuf(FILE * restrict, char * restrict); +int setvbuf(FILE * restrict, char * restrict, int, size_t); +int sprintf(char * restrict, const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))) __attribute__((__availability__(swift, unavailable, message="Use snprintf instead."))); +int sscanf(const char * restrict, const char * restrict, ...) __attribute__((__format__ (__scanf__, 2, 3))); +FILE *tmpfile(void); + +__attribute__((__availability__(swift, unavailable, message="Use mkstemp(3) instead."))) + +__attribute__((__deprecated__("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead."))) + +char *tmpnam(char *); +int ungetc(int, FILE *); +int vfprintf(FILE * restrict, const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))); +int vprintf(const char * restrict, va_list) __attribute__((__format__ (__printf__, 1, 0))); +int vsprintf(char * restrict, const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))) __attribute__((__availability__(swift, unavailable, message="Use vsnprintf instead."))); +# 205 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h" 1 3 4 +# 31 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h" 3 4 +char *ctermid(char *); +# 206 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 2 3 4 + + + + +FILE *fdopen(int, const char *) __asm("_" "fdopen" ); + +int fileno(FILE *); +# 228 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +int pclose(FILE *) __attribute__((__availability__(swift, unavailable, message="Use posix_spawn APIs or NSTask instead."))); + + + +FILE *popen(const char *, const char *) __asm("_" "popen" ) __attribute__((__availability__(swift, unavailable, message="Use posix_spawn APIs or NSTask instead."))); +# 249 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +int __srget(FILE *); +int __svfscanf(FILE *, const char *, va_list) __attribute__((__format__ (__scanf__, 2, 0))); +int __swbuf(int, FILE *); +# 260 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +inline __attribute__ ((__always_inline__)) int __sputc(int _c, FILE *_p) { + if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) + return (*_p->_p++ = _c); + else + return (__swbuf(_c, _p)); +} +# 286 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +void flockfile(FILE *); +int ftrylockfile(FILE *); +void funlockfile(FILE *); +int getc_unlocked(FILE *); +int getchar_unlocked(void); +int putc_unlocked(int, FILE *); +int putchar_unlocked(int); + + + +int getw(FILE *); +int putw(int, FILE *); + + +__attribute__((__availability__(swift, unavailable, message="Use mkstemp(3) instead."))) + +__attribute__((__deprecated__("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tempnam(3), it is highly recommended that you use mkstemp(3) instead."))) + +char *tempnam(const char *__dir, const char *__prefix) __asm("_" "tempnam" ); +# 324 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h" 1 3 4 +# 31 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h" 3 4 +typedef __darwin_off_t off_t; +# 325 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 2 3 4 + + +int fseeko(FILE * __stream, off_t __offset, int __whence); +off_t ftello(FILE * __stream); + + + + + +int snprintf(char * restrict __str, size_t __size, const char * restrict __format, ...) __attribute__((__format__ (__printf__, 3, 4))); +int vfscanf(FILE * restrict __stream, const char * restrict __format, va_list) __attribute__((__format__ (__scanf__, 2, 0))); +int vscanf(const char * restrict __format, va_list) __attribute__((__format__ (__scanf__, 1, 0))); +int vsnprintf(char * restrict __str, size_t __size, const char * restrict __format, va_list) __attribute__((__format__ (__printf__, 3, 0))); +int vsscanf(const char * restrict __str, const char * restrict __format, va_list) __attribute__((__format__ (__scanf__, 2, 0))); +# 349 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h" 1 3 4 +# 31 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h" 3 4 +typedef __darwin_ssize_t ssize_t; +# 350 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 2 3 4 + + +int dprintf(int, const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))) __attribute__((availability(macosx,introduced=10.7))); +int vdprintf(int, const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))) __attribute__((availability(macosx,introduced=10.7))); +ssize_t getdelim(char ** restrict __linep, size_t * restrict __linecapp, int __delimiter, FILE * restrict __stream) __attribute__((availability(macosx,introduced=10.7))); +ssize_t getline(char ** restrict __linep, size_t * restrict __linecapp, FILE * restrict __stream) __attribute__((availability(macosx,introduced=10.7))); +FILE *fmemopen(void * restrict __buf, size_t __size, const char * restrict __mode) __attribute__((availability(macos,introduced=10.13))) __attribute__((availability(ios,introduced=11.0))) __attribute__((availability(tvos,introduced=11.0))) __attribute__((availability(watchos,introduced=4.0))); +FILE *open_memstream(char **__bufp, size_t *__sizep) __attribute__((availability(macos,introduced=10.13))) __attribute__((availability(ios,introduced=11.0))) __attribute__((availability(tvos,introduced=11.0))) __attribute__((availability(watchos,introduced=4.0))); +# 367 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +extern const int sys_nerr; +extern const char *const sys_errlist[]; + +int asprintf(char ** restrict, const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))); +char *ctermid_r(char *); +char *fgetln(FILE *, size_t *); +const char *fmtcheck(const char *, const char *); +int fpurge(FILE *); +void setbuffer(FILE *, char *, int); +int setlinebuf(FILE *); +int vasprintf(char ** restrict, const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))); +FILE *zopen(const char *, const char *, int); + + + + + +FILE *funopen(const void *, + int (* _Nullable)(void *, char *, int), + int (* _Nullable)(void *, const char *, int), + fpos_t (* _Nullable)(void *, fpos_t, int), + int (* _Nullable)(void *)); +# 407 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h" 1 3 4 +# 31 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h" 3 4 +# 1 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h" 1 3 4 +# 32 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h" 2 3 4 +# 42 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h" 3 4 +extern int __sprintf_chk (char * restrict, int, size_t, + const char * restrict, ...); +# 52 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h" 3 4 +extern int __snprintf_chk (char * restrict, size_t, int, size_t, + const char * restrict, ...); + + + + + + + +extern int __vsprintf_chk (char * restrict, int, size_t, + const char * restrict, va_list); + + + + + + + +extern int __vsnprintf_chk (char * restrict, size_t, int, size_t, + const char * restrict, va_list); +# 408 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h" 2 3 4 +# 2 "helloworld.c" 2 + +int main(int argc, char **argv) { + printf("Hello,World!"); + return 0; +} diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.o" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.o" new file mode 100644 index 0000000000000000000000000000000000000000..080dc5c724983da11bd05eb1227e23c8db75e880 GIT binary patch literal 784 zcma)4u}T9$5S>dx642-s3JMk{SXgKgdm*BMD=b7JY9VV#E+&v%LcCxQgg`)Yh2SUT z6Z{7SV`Xb;BUnVR6cP2!-5g#7!3S?=-puaXz1zKifB8%hX;H!e#=v9*g8>4wV2>Mr zpfB}BUIX;KkqDk1*^i-=W3?SW_jNA2m;2E{mX?J5ca|9`;HZ{;Qn8ClZEl3xlo4S_EW?lg*#n~do{=4tvdXH| z%-1Y`!SC}OicdyjPy9sE7*RRMIj(>+puZQoQ4ruwx&Da6I{*%)Lvwcv41?DO4A=jY z@0jkB*&Q0U*$(#tior1ceXD+7i-0aXDnB5!W;M%mR)%wzIy;&{Jb5kJq z;(ta^L}VL=cDhYkTi5jQMDh}|7Eqf5J6}G6d!@Ar{XDXsit{4C05N@;-z)yZGy>~5 YNRvDW_+5r1F20tp*rXbGOHPUC8z_8Ep#T5? literal 0 HcmV?d00001 diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.s" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.s" new file mode 100644 index 0000000..bb3cbbd --- /dev/null +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/1.C\350\257\255\350\250\200\346\246\202\350\277\260/4.\347\274\226\347\250\213\346\234\272\345\210\266/helloworld.s" @@ -0,0 +1,32 @@ + .section __TEXT,__text,regular,pure_instructions + .build_version macos, 11, 0 sdk_version 11, 3 + .globl _main ## -- Begin function main + .p2align 4, 0x90 +_main: ## @main + .cfi_startproc +## %bb.0: + pushq %rbp + .cfi_def_cfa_offset 16 + .cfi_offset %rbp, -16 + movq %rsp, %rbp + .cfi_def_cfa_register %rbp + subq $32, %rsp + movl $0, -4(%rbp) + movl %edi, -8(%rbp) + movq %rsi, -16(%rbp) + leaq L_.str(%rip), %rdi + movb $0, %al + callq _printf + xorl %ecx, %ecx + movl %eax, -20(%rbp) ## 4-byte Spill + movl %ecx, %eax + addq $32, %rsp + popq %rbp + retq + .cfi_endproc + ## -- End function + .section __TEXT,__cstring,cstring_literals +L_.str: ## @.str + .asciz "Hello,World!" + +.subsections_via_symbols -- GitLab