mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-02-11 06:05:19 +08:00
docs: update links and improve formatting in various README files
- Corrected URLs in the Chinese and English README files to ensure accuracy and consistency. - Removed trailing punctuation from links for better formatting. - Enhanced clarity in the descriptions and instructions across multiple documents.
This commit is contained in:
@@ -48,7 +48,7 @@ $ nm helloworld/target/release/helloworld | grep hello
|
||||
|
||||
We find that the corresponding symbol has been converted to `_ZN10helloworld4main17h2dce92cb81426b91E`. This is because rustc uses [Symbol name mangling](https://en.wikipedia.org/wiki/Name_mangling) to encode a unique name for the symbols used in the code generation process. The encoded name will be used by the linker to associate the name with the content it points to. The -C symbol-mangling-version option can be used to control the handling of symbol names.
|
||||
|
||||
We can use the [`rustfilt`](https://crates.io/crates/rustfilt) tool to parse and obtain the corresponding symbol:
|
||||
We can use the [`rustfilt`](https://github.com/luser/rustfilt) tool to parse and obtain the corresponding symbol. This tool can be installed with `cargo install rustfilt`:
|
||||
|
||||
```console
|
||||
$ cargo install rustfilt
|
||||
|
||||
@@ -48,7 +48,7 @@ $ nm helloworld/target/release/helloworld | grep hello
|
||||
|
||||
我们会发现,对应的符号被转换为了 `_ZN10helloworld4main17h2dce92cb81426b91E`,这是因为 rustc 使用 [Symbol name mangling](https://en.wikipedia.org/wiki/Name_mangling) 来为代码生成过程中使用的符号编码一个唯一的名称。编码后的名称会被链接器用于将名称与所指向的内容关联起来。可以使用 -C symbol-mangling-version 选项来控制符号名称的处理方法。
|
||||
|
||||
我们可以使用 [`rustfilt`](https://crates.io/crates/rustfilt) 工具来解析和获取对应的符号:
|
||||
我们可以使用 [`rustfilt`](https://github.com/luser/rustfilt) 工具来解析和获取对应的符号。这个工具可以通过 `cargo install rustfilt` 安装:
|
||||
|
||||
```console
|
||||
$ cargo install rustfilt
|
||||
|
||||
Reference in New Issue
Block a user