Dynamic DLL cycle resolution
Abstract
Deterministically resolving cycles in a library tree is disclosed. Resolving cycles supports certain processes such as safe library initialization. Cycles in the library tree are identified; at least one soft link in each identified cycle is identified; and the at least one soft link in each identified cycle is broken. If a cycle has no soft links, notification is provided indicating that the cycle cannot be broken. Identifying at least one soft link in each identified cycle comprises, for each link in the cycle, determining the dependent and supporting libraries; and determining if one or more functions in the supporting library are required for initializing the dependent library.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for deterministically resolving cycles in a library tree to enable safe library initialization, the method comprising: with a processor: identifying the cycles in the library tree; identifying a soft link in each identified cycle; and breaking the soft link in each identified cycle.
- Claim 2Depends on #1
The method of claim 1 including if a cycle has no soft links, providing notification that the cycle cannot be broken.
- Claim 3Depends on #1
The method of claim 1 wherein identifying at least one soft link in each identified cycle comprises, for each link in the cycle, determining the dependent and supporting libraries; and determining if one or more functions in the supporting library are required for initializing the dependent library.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 8,707,283 B2 | Parallel DLL tree initialization | 2014 | 3 |
| US 2008244551 A1 | Parallel dll tree initialization | — | 11 |
References Cited — Backward Prior Art (13)
Non-Patent Literature (2)
- Grier, M., "The NT DLL Loader: Dynamic Unloads," Jun. 18, 2005, [retrieved Feb. 9, 2007].
- Thomas, R., and B. Reddy, "Dynamic Linking in Linux and Windows, Part Two," Aug. 15, 2006, [retrieved Feb. 9, 2007].