1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! The format-neutral raw-import record produced by every backend parser.
//!
//! Both the PE walker ([`crate::pe`]) and the ELF walker ([`crate::elf`]) decode
//! their own on-disk / in-memory structures but describe each discovered import
//! with the same [`RawImport`] value, so the platform-agnostic slot layer
//! ([`crate::slot`]) can build an [`ImportSlot`](crate::ImportSlot) from either
//! without knowing the source format.
use crate::;
use Arc;
/// One parsed import: the providing library, the (recoverable) symbol, the
/// observed symbol version, the absolute address of the slot to patch, and how it
/// is bound.
pub