]>
Commit | Line | Data |
---|---|---|
fc512014 XL |
1 | # `object` |
2 | ||
3 | The `object` crate provides a unified interface to working with object files | |
4 | across platforms. It supports reading object files and executable files, | |
5 | and writing object files. | |
6 | ||
7 | For reading files, it provides multiple levels of support: | |
8 | ||
9 | * raw struct definitions suitable for zero copy access | |
10 | * low level APIs for accessing the raw structs | |
11 | * a higher level unified API for accessing common features of object files, such | |
12 | as sections and symbols | |
13 | ||
14 | Supported file formats: ELF, Mach-O, Windows PE/COFF, and Unix archive. | |
15 | ||
16 | ## License | |
17 | ||
18 | Licensed under either of | |
19 | ||
20 | * Apache License, Version 2.0 ([`LICENSE-APACHE`](./LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) | |
21 | * MIT license ([`LICENSE-MIT`](./LICENSE-MIT) or http://opensource.org/licenses/MIT) | |
22 | ||
23 | at your option. | |
24 | ||
25 | ## Contribution | |
26 | ||
27 | See [CONTRIBUTING.md](./CONTRIBUTING.md) for hacking. | |
28 | ||
29 | Unless you explicitly state otherwise, any contribution intentionally submitted | |
30 | for inclusion in the work by you, as defined in the Apache-2.0 license, shall be | |
31 | dual licensed as above, without any additional terms or conditions. |