Files
nexus/wiki/concepts/ELF.md
2026-04-17 08:38:12 +08:00

29 lines
810 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "ELF"
type: concept
tags: [linux, 可执行文件, 格式]
date: 2026-04-16
---
## Definition
ELFExecutable and Linkable Format可执行和链接格式是 Linux 和 Unix 系统的标准可执行文件格式。
## Full Name
Executable and Linkable Format
## Key Characteristics
- 跨平台Linux、FreeBSD、Solaris 等多种系统使用
- 支持多种文件类型:可执行文件(.exe、共享对象.so、核心转储文件core
- 包含元数据:程序入口、段表、符号表等
## Usage
检测可执行文件架构:
```bash
file /bin/bash
# 输出示例ELF 64-bit LSB executable, x86-64
# 或ELF 64-bit LSB executable, ARM aarch64
```
## Related Concepts
- [[x86_64]]64 位 x86 架构可执行文件
- [[ARM64]]64 位 ARM 架构可执行文件