{"id":477143,"date":"2023-08-09T09:08:09","date_gmt":"2023-08-09T09:08:09","guid":{"rendered":""},"modified":"2023-09-05T11:14:06","modified_gmt":"2023-09-05T11:14:06","slug":"executable-and-link-format-elf","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/executable-and-link-format-elf\/","title":{"rendered":"\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073\u30ea\u30f3\u30af\u5f62\u5f0f (ELF)"},"content":{"rendered":"<p>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306f\u3001Unix \u7cfb\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u30b3\u30fc\u30c9\u3001\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u3055\u3089\u306b\u306f\u30b3\u30a2 \u30c0\u30f3\u30d7\u306b\u4f7f\u7528\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3067\u3059\u3002\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3068\u30c0\u30a4\u30ca\u30df\u30c3\u30af \u30ea\u30f3\u30ab\u30fc\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u52b9\u7387\u7684\u306b\u8aad\u307f\u8fbc\u307f\u3001\u30ea\u30f3\u30af\u3057\u3001\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u60c5\u5831\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u30d0\u30a4\u30ca\u30ea \u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u884c\u3092\u5bb9\u6613\u306b\u3059\u308b\u6a19\u6e96\u5316\u3055\u308c\u305f\u5f62\u5f0f\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002ELF \u306f\u73fe\u4ee3\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306e\u57fa\u672c\u7684\u306a\u90e8\u5206\u3068\u306a\u308a\u3001\u3055\u307e\u3056\u307e\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306e\u8d77\u6e90\u3068\u305d\u306e\u6700\u521d\u306e\u8a00\u53ca\u306e\u6b74\u53f2<\/h2>\n<p>ELF \u5f62\u5f0f\u306f\u3001Unix \u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u305f\u53e4\u3044 a.out \u5f62\u5f0f\u3092\u7f6e\u304d\u63db\u3048\u308b\u305f\u3081\u306b\u958b\u767a\u3055\u308c\u307e\u3057\u305f\u3002\u305d\u306e\u8d77\u6e90\u306f 1980 \u5e74\u4ee3\u5f8c\u534a\u306b\u307e\u3067\u9061\u308a\u3001Unix \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u9032\u5316\u3059\u308b\u30cb\u30fc\u30ba\u306b\u3046\u307e\u304f\u5bfe\u5fdc\u3067\u304d\u308b\u3001\u3088\u308a\u6c4e\u7528\u6027\u304c\u9ad8\u304f\u62e1\u5f35\u53ef\u80fd\u306a\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u76ee\u6a19\u3067\u3057\u305f\u3002ELF \u306e\u6700\u521d\u306e\u8b70\u8ad6\u3068\u958b\u767a\u306f\u3001\u30c4\u30fc\u30eb \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u6a19\u6e96 (TIS) \u59d4\u54e1\u4f1a\u3067\u59cb\u307e\u308a\u3001\u3053\u306e\u59d4\u54e1\u4f1a\u306f\u5f8c\u306b\u7c73\u56fd\u898f\u683c\u5354\u4f1a (ANSI) \u306e\u30c4\u30fc\u30eb \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u6a19\u6e96 (TIS) \u59d4\u54e1\u4f1a\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>ELF \u5f62\u5f0f\u306e\u6700\u521d\u306e\u6b63\u5f0f\u306a\u4ed5\u69d8\u306f\u30011988 \u5e74\u306b AT&amp;T \u306b\u3088\u3063\u3066\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f System V Release 4 (SVR4) Unix \u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3067\u767b\u5834\u3057\u307e\u3057\u305f\u3002SVR4 \u4ed5\u69d8\u306b\u3088\u308a\u3001ELF \u5f62\u5f0f\u306e\u69cb\u9020\u3068\u4f7f\u7528\u6cd5\u304c\u78ba\u7acb\u3055\u308c\u3001\u305d\u306e\u5b9f\u88c5\u306f Linux \u3092\u542b\u3080\u3055\u307e\u3056\u307e\u306a Unix \u30d9\u30fc\u30b9\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u5e83\u307e\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306b\u95a2\u3059\u308b\u8a73\u7d30\u60c5\u5831<\/h2>\n<h3>\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306e\u5185\u90e8\u69cb\u9020<\/h3>\n<p>ELF \u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306f\u8907\u6570\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u69cb\u6210\u3055\u308c\u3066\u304a\u308a\u3001\u305d\u308c\u305e\u308c\u304c\u7279\u5b9a\u306e\u76ee\u7684\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>ELF \u30d8\u30c3\u30c0\u30fc<\/strong>: \u30d8\u30c3\u30c0\u30fc\u306b\u306f\u3001ELF \u8b58\u5225\u3001\u30de\u30b7\u30f3 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3001\u30a8\u30f3\u30c8\u30ea \u30dd\u30a4\u30f3\u30c8\u3001\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u305d\u306e\u4ed6\u306e\u91cd\u8981\u306a\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u30aa\u30d5\u30bb\u30c3\u30c8\u306a\u3069\u3001\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u3059\u308b\u91cd\u8981\u306a\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30bb\u30af\u30b7\u30e7\u30f3\u30d8\u30c3\u30c0\u30fc<\/strong>: \u3053\u308c\u3089\u306e\u30d8\u30c3\u30c0\u30fc\u306f\u3001\u30b3\u30fc\u30c9\u3001\u30c7\u30fc\u30bf\u3001\u30b7\u30f3\u30dc\u30eb \u30c6\u30fc\u30d6\u30eb\u3001\u6587\u5b57\u5217\u30c6\u30fc\u30d6\u30eb \u30bb\u30af\u30b7\u30e7\u30f3\u306a\u3069\u3001\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u5404\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u5404\u30bb\u30af\u30b7\u30e7\u30f3\u306f\u3001\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u7279\u5b9a\u306e\u6a5f\u80fd\u3092\u62c5\u5f53\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d7\u30ed\u30b0\u30e9\u30e0\u30d8\u30c3\u30c0\u30fc<\/strong>\u30d7\u30ed\u30b0\u30e9\u30e0 \u30d8\u30c3\u30c0\u30fc\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30e1\u30e2\u30ea\u306b\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u30bb\u30b0\u30e1\u30f3\u30c8\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30bb\u30b0\u30e1\u30f3\u30c8\u306b\u306f\u3001\u30b3\u30fc\u30c9\u3001\u30c7\u30fc\u30bf\u3001\u52d5\u7684\u30ea\u30f3\u30af\u60c5\u5831\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30b7\u30f3\u30dc\u30eb\u30c6\u30fc\u30d6\u30eb<\/strong>: \u30b7\u30f3\u30dc\u30eb \u30c6\u30fc\u30d6\u30eb\u306b\u306f\u3001\u95a2\u6570\u540d\u3084\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306a\u3069\u3001\u30d0\u30a4\u30ca\u30ea\u5185\u3067\u5b9a\u7fa9\u304a\u3088\u3073\u53c2\u7167\u3055\u308c\u308b\u30b7\u30f3\u30dc\u30eb\u306b\u95a2\u3059\u308b\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6587\u5b57\u5217\u30c6\u30fc\u30d6\u30eb<\/strong>: \u6587\u5b57\u5217\u30c6\u30fc\u30d6\u30eb\u306b\u306f\u3001\u30b7\u30f3\u30dc\u30eb\u540d\u3084\u30bb\u30af\u30b7\u30e7\u30f3\u540d\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3055\u308c\u308b\u6587\u5b57\u5217\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30ea\u30f3\u30af\u60c5\u5831<\/strong>: \u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u306f\u3001\u52d5\u7684\u30ea\u30f3\u30af\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u304c\u4fdd\u6301\u3055\u308c\u3001\u5b9f\u884c\u6642\u306b\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306e\u4ed5\u7d44\u307f<\/h3>\n<p>ELF \u30d0\u30a4\u30ca\u30ea\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306e\u30ed\u30fc\u30c0\u30fc\u306f ELF \u30d8\u30c3\u30c0\u30fc\u3092\u8aad\u307f\u53d6\u3063\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30bf\u30a4\u30d7 (\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3001\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u3069) \u3068\u30a8\u30f3\u30c8\u30ea \u30dd\u30a4\u30f3\u30c8\u3092\u5224\u65ad\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30ed\u30fc\u30c0\u30fc\u306f\u95a2\u9023\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0 \u30bb\u30b0\u30e1\u30f3\u30c8\u3092\u30e1\u30e2\u30ea\u306b\u30de\u30c3\u30d7\u3057\u3001\u52d5\u7684\u30ea\u30f3\u30af\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u521d\u671f\u5316\u3057\u307e\u3059\u3002\u30ed\u30fc\u30c9\u3055\u308c\u308b\u3068\u3001\u30a8\u30f3\u30c8\u30ea \u30dd\u30a4\u30f3\u30c8\u304c\u547c\u3073\u51fa\u3055\u308c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u304c\u958b\u59cb\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306e\u4e3b\u306a\u6a5f\u80fd\u306e\u5206\u6790<\/h2>\n<ul>\n<li>\n<p><strong>\u67d4\u8edf\u6027<\/strong>: ELF \u306f\u67d4\u8edf\u306a\u8a2d\u8a08\u306b\u3088\u308a\u3001\u3055\u307e\u3056\u307e\u306a\u30de\u30b7\u30f3 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30b5\u30dd\u30fc\u30c8\u3067\u304d\u308b\u305f\u3081\u3001\u79fb\u690d\u6027\u3068\u6c4e\u7528\u6027\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u52d5\u7684\u30ea\u30f3\u30af<\/strong>ELF \u306f\u52d5\u7684\u30ea\u30f3\u30af\u3092\u53ef\u80fd\u306b\u3057\u3001\u8907\u6570\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5171\u901a\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5171\u6709\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30e1\u30e2\u30ea\u6d88\u8cbb\u3092\u524a\u6e1b\u3057\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30b7\u30f3\u30dc\u30eb\u7ba1\u7406<\/strong>: ELF \u30d5\u30a1\u30a4\u30eb\u5185\u306e\u30b7\u30f3\u30dc\u30eb \u30c6\u30fc\u30d6\u30eb\u306f\u30c7\u30d0\u30c3\u30b0\u306b\u5f79\u7acb\u3061\u3001\u30ea\u30f3\u30af\u4e2d\u306e\u5916\u90e8\u53c2\u7167\u306e\u89e3\u6c7a\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30bb\u30b0\u30e1\u30f3\u30c8\u69cb\u9020<\/strong>: ELF \u306f\u30d5\u30a1\u30a4\u30eb\u3092\u30d8\u30c3\u30c0\u30fc\u3068\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u5206\u5272\u3059\u308b\u3053\u3068\u3067\u3001\u30d0\u30a4\u30ca\u30ea\u306e\u5fc5\u8981\u306a\u90e8\u5206\u306e\u307f\u3092\u52b9\u7387\u7684\u306b\u30e1\u30e2\u30ea\u306b\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306e\u7a2e\u985e<\/h2>\n<p>ELF \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u4e3b\u306b 3 \u3064\u306e\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb (ET_EXEC)<\/strong>: \u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u5b8c\u5168\u306b\u30ea\u30f3\u30af\u3055\u308c\u305f\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306b\u3088\u3063\u3066\u76f4\u63a5\u5b9f\u884c\u3067\u304d\u308b\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3 \u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5171\u6709\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 (ET_DYN)<\/strong>\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5fc5\u8981\u3068\u3059\u308b\u3068\u304d\u306b\u5b9f\u884c\u6642\u306b\u30e1\u30e2\u30ea\u306b\u30ed\u30fc\u30c9\u3055\u308c\u30ea\u30f3\u30af\u3055\u308c\u308b\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u30d5\u30a1\u30a4\u30eb (ET_REL)<\/strong>\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u30bd\u30fc\u30b9 \u30b3\u30fc\u30c9\u306e\u4e2d\u9593\u8868\u73fe\u3067\u3042\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb \u30d7\u30ed\u30bb\u30b9\u4e2d\u306b\u4f5c\u6210\u3055\u308c\u3001\u6700\u7d42\u7684\u306a\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306b\u30ea\u30f3\u30af\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<p>ELF \u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\u3092\u307e\u3068\u3081\u305f\u8868\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u5b9f\u884c\u53ef\u80fd<\/td>\n<td>\u5b8c\u5168\u306b\u30ea\u30f3\u30af\u3055\u308c\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5171\u6709\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/td>\n<td>\u5b9f\u884c\u6642\u306b\u8aad\u307f\u8fbc\u307e\u308c\u3001\u30ea\u30f3\u30af\u3055\u308c\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb<\/td>\n<td>\u30ea\u30f3\u30af\u4e2d\u306e\u4e2d\u9593\u8868\u73fe\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f\uff08ELF\uff09\u306e\u4f7f\u7528\u65b9\u6cd5\u3001\u4f7f\u7528\u306b\u95a2\u9023\u3059\u308b\u554f\u984c\u3068\u305d\u306e\u89e3\u6c7a\u7b56<\/h2>\n<p>ELF \u306e\u4e3b\u306a\u7528\u9014\u306f\u3001Unix \u7cfb\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3067\u306e\u30d0\u30a4\u30ca\u30ea \u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u884c\u3068\u7ba1\u7406\u3067\u3059\u3002ELF \u306f\u3001\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3001\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u304a\u3088\u3073\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u30b3\u30fc\u30c9\u306e\u6a19\u6e96\u5316\u3055\u308c\u305f\u5f62\u5f0f\u3092\u63d0\u4f9b\u3057\u3001\u958b\u767a\u8005\u304c\u3055\u307e\u3056\u307e\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u9593\u3067\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u7c21\u5358\u306b\u4f5c\u6210\u3001\u914d\u5e03\u3001\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001ELF \u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u7528\u306b\u95a2\u3057\u3066\u306f\u6b21\u306e\u3088\u3046\u306a\u8ab2\u984c\u304c\u751f\u3058\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u4e92\u63db\u6027<\/strong>: ELF \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u7570\u306a\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u307e\u305f\u306f\u30d7\u30ed\u30bb\u30c3\u30b5 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u9593\u3067\u79fb\u52d5\u3059\u308b\u3068\u304d\u306b\u4e92\u63db\u6027\u306e\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u300cqemu\u300d\u306a\u3069\u306e\u30c4\u30fc\u30eb\u306f\u3001\u3053\u308c\u3089\u306e\u554f\u984c\u3092\u8efd\u6e1b\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u5168<\/strong>: \u52d5\u7684\u30ea\u30f3\u30af\u306f\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u306b\u306f\u6709\u76ca\u3067\u3059\u304c\u3001\u614e\u91cd\u306b\u6271\u308f\u306a\u3044\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30ea\u30b9\u30af\u3092\u62db\u304f\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8106\u5f31\u6027\u306f\u8907\u6570\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u983b\u7e41\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u66f4\u65b0\u3068\u5805\u7262\u306a\u30b3\u30fc\u30c9 \u30ec\u30d3\u30e5\u30fc\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30c7\u30d0\u30c3\u30b0<\/strong>: ELF \u30d0\u30a4\u30ca\u30ea\u306e\u30c7\u30d0\u30c3\u30b0\u306f\u3001\u7279\u306b\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30b9\u30c8\u30ea\u30c3\u30d7\u3055\u308c\u305f\u30b7\u30f3\u30dc\u30eb\u3092\u6271\u3046\u5834\u5408\u306b\u306f\u8907\u96d1\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u958b\u767a\u8005\u306f\u300cgdb\u300d\u306a\u3069\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u9069\u5207\u306a\u30c7\u30d0\u30c3\u30b0 \u30b7\u30f3\u30dc\u30eb\u304c\u542b\u307e\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03<\/h2>\n<p>ELF \u3068\u4ed6\u306e 2 \u3064\u306e\u4e00\u822c\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3092\u6bd4\u8f03\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5074\u9762<\/th>\n<th>\u5996\u7cbe<\/th>\n<th>COFF (\u5171\u901a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f)<\/th>\n<th>\u30de\u30c3\u30cf-O (\u30de\u30c3\u30cf\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u8d77\u6e90<\/td>\n<td>Unix\u30d9\u30fc\u30b9\u306e\u30b7\u30b9\u30c6\u30e0<\/td>\n<td>\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8<\/td>\n<td>macOS\u3068iOS<\/td>\n<\/tr>\n<tr>\n<td>\u30b7\u30f3\u30dc\u30eb\u7ba1\u7406<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u52d5\u7684\u30ea\u30f3\u30af<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u30de\u30b7\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/td>\n<td>\u8907\u6570<\/td>\n<td>\u8907\u6570<\/td>\n<td>Apple\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u7279\u6709<\/td>\n<\/tr>\n<tr>\n<td>\u4e00\u822c\u7684\u306a\u4f7f\u7528\u6cd5<\/td>\n<td>Linux\u3001Unix\u3001BSD\u3001macOS<\/td>\n<td>Windows\u3001Xbox\u3001AIX<\/td>\n<td>macOS\u3001iOS\u3001watchOS<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306b\u95a2\u3059\u308b\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>\u6280\u8853\u304c\u9032\u5316\u3059\u308b\u306b\u3064\u308c\u3001ELF \u306f\u3001\u7279\u306b Unix \u7cfb\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3068\u305d\u306e\u6d3e\u751f\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2 \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u91cd\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308a\u7d9a\u3051\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3044\u304f\u3064\u304b\u306e\u6f5c\u5728\u7684\u306a\u958b\u767a\u306b\u3088\u3063\u3066\u3001ELF \u306e\u5c06\u6765\u306e\u4f7f\u7528\u65b9\u6cd5\u304c\u6c7a\u307e\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5f37\u5316<\/strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3078\u306e\u6ce8\u76ee\u304c\u9ad8\u307e\u308b\u306b\u3064\u308c\u3066\u3001ELF \u306b\u306f\u4e00\u822c\u7684\u306a\u8106\u5f31\u6027\u3092\u9632\u304e\u3001\u30a8\u30af\u30b9\u30d7\u30ed\u30a4\u30c8\u306b\u5bfe\u3059\u308b\u8010\u6027\u3092\u5f37\u5316\u3059\u308b\u305f\u3081\u306e\u65b0\u3057\u3044\u6a5f\u80fd\u304c\u7d44\u307f\u8fbc\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6700\u9069\u5316<\/strong>: \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u3068\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306e\u524a\u6e1b\u306b\u5411\u3051\u305f\u7d99\u7d9a\u7684\u306a\u53d6\u308a\u7d44\u307f\u306b\u3088\u308a\u3001\u52d5\u7684\u30ea\u30f3\u30af \u30d7\u30ed\u30bb\u30b9\u3068 ELF \u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\u30e1\u30ab\u30cb\u30ba\u30e0\u304c\u5f37\u5316\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306e\u4f7f\u7528\u65b9\u6cd5\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u3068\u306e\u95a2\u9023\u4ed8\u3051\u65b9\u6cd5<\/h2>\n<p>OneProxy \u306b\u3088\u3063\u3066\u63d0\u4f9b\u3055\u308c\u308b\u3088\u3046\u306a\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u6b21\u306e\u65b9\u6cd5\u3067 ELF \u30d5\u30a1\u30a4\u30eb\u3068\u9593\u63a5\u7684\u306b\u5bfe\u8a71\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30b3\u30f3\u30c6\u30f3\u30c4\u914d\u4fe1<\/strong>: \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f ELF \u30d5\u30a1\u30a4\u30eb\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u304d\u308b\u305f\u3081\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9 \u30b5\u30fc\u30d0\u30fc\u306e\u8ca0\u8377\u304c\u8efd\u6e1b\u3055\u308c\u3001\u30e6\u30fc\u30b6\u30fc\u3078\u306e\u914d\u4fe1\u901f\u5ea6\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0<\/strong>: \u30d7\u30ed\u30ad\u30b7\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u901a\u904e\u3059\u308b ELF \u30d5\u30a1\u30a4\u30eb\u3092\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u8105\u5a01\u306b\u3064\u3044\u3066\u5206\u6790\u3057\u3001\u6f5c\u5728\u7684\u306b\u6709\u5bb3\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u9664\u5916\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0<\/strong>: \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001ELF \u30d5\u30a1\u30a4\u30eb\u3078\u306e\u8981\u6c42\u3092\u8907\u6570\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u5206\u6563\u3057\u3066\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u4f7f\u7528\u7387\u3092\u6700\u9069\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<p>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073\u30ea\u30f3\u30af\u5f62\u5f0f (ELF) \u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Executable_and_Link_Format\" target=\"_new\" rel=\"noopener nofollow\">\u30ea\u30f3\u30af 1: Wikipedia \u2013 \u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3068\u30ea\u30f3\u30af\u306e\u5f62\u5f0f<\/a><\/li>\n<li><a href=\"https:\/\/refspecs.linuxbase.org\/elf\/tis\/\" target=\"_new\" rel=\"noopener nofollow\">\u30ea\u30f3\u30af 2: \u30c4\u30fc\u30eb \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u6a19\u6e96 (TIS) \u59d4\u54e1\u4f1a<\/a><\/li>\n<\/ol>\n<p>ELF \u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u306f\u3001Unix \u7cfb\u30b7\u30b9\u30c6\u30e0\u3092\u6271\u3046\u958b\u767a\u8005\u3084\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002ELF \u306e\u69cb\u9020\u3068\u6a5f\u80fd\u306f\u3001\u73fe\u4ee3\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2 \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u30d0\u30c3\u30af\u30dc\u30fc\u30f3\u3092\u5f62\u6210\u3057\u3066\u304a\u308a\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3084\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u306b\u643a\u308f\u308b\u4eba\u306b\u3068\u3063\u3066\u306f\u3001\u6df1\u304f\u6398\u308a\u4e0b\u3052\u308b\u4fa1\u5024\u306e\u3042\u308b\u30c8\u30d4\u30c3\u30af\u3067\u3059\u3002<\/p>","protected":false},"featured_media":468348,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-477143","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Executable and Link Format (ELF): A Comprehensive Overview<\/mark>","faq_items":[{"question":"What is Executable and Link Format (ELF)?","answer":"<p>Executable and Link Format (ELF) is a file format used for executables, object code, shared libraries, and core dumps on Unix-like operating systems. It provides the necessary information for the operating system and dynamic linker to load, link, and execute programs efficiently.<\/p>"},{"question":"How did ELF originate?","answer":"<p>The ELF format was developed in the late 1980s to replace the older a.out format used in Unix systems. Its first formal specification appeared in System V Release 4 (SVR4) Unix operating system, released in 1988 by AT&amp;T.<\/p>"},{"question":"What does the internal structure of ELF entail?","answer":"<p>The internal structure of ELF consists of an ELF header, section headers, program headers, symbol table, string table, and dynamic linking information. Each section serves a specific purpose, allowing for efficient loading and execution of binaries.<\/p>"},{"question":"How does ELF work?","answer":"<p>When an ELF binary is executed, the operating system's loader reads the ELF header to determine the file type and entry point. It then maps the relevant program segments into memory, resolving dynamic linking dependencies, and initializes the program for execution.<\/p>"},{"question":"What are the key features of ELF?","answer":"<p>ELF's key features include flexibility in supporting various architectures, dynamic linking for shared libraries, symbol management for debugging, and its segmented structure for efficient loading.<\/p>"},{"question":"What types of ELF files exist?","answer":"<p>There are three main types of ELF files: Executable (ET_EXEC), Shared Object (ET_DYN), and Object File (ET_REL).<\/p>"},{"question":"How is ELF used and what are the associated challenges?","answer":"<p>ELF is primarily used for executing and managing binary files on Unix-like systems. Challenges may include compatibility issues, security concerns related to dynamic linking, and complexities in debugging.<\/p>"},{"question":"How does ELF compare with other file formats?","answer":"<p>ELF is commonly compared with COFF and Mach-O formats. Each format is associated with specific operating systems and machine architectures.<\/p>"},{"question":"What does the future hold for ELF?","answer":"<p>The future of ELF may involve security enhancements and performance optimizations to keep up with evolving technology and industry needs.<\/p>"},{"question":"How can proxy servers be associated with ELF?","answer":"<p>Proxy servers, like OneProxy, can interact with ELF files by caching content, ensuring security and filtering, and optimizing load balancing for improved resource utilization.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477143\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/468348"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=477143"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}