| Crates.io | wibu-phdr-gap |
| lib.rs | wibu-phdr-gap |
| version | 1.0.0 |
| created_at | 2025-04-02 06:33:03.091482+00 |
| updated_at | 2025-04-02 06:57:58.333967+00 |
| description | The phdr gap guarantees WIBU Systems AxProtector to find enough space to install its tooling. |
| homepage | |
| repository | https://github.com/vorausrobotik/wibu-phdr-gap |
| max_upload_size | |
| id | 1616127 |
| size | 33,725 |
wibu-phdr-gap is a Rust library that ensures the presence of a designated placeholder within compiled artifacts. This placeholder allows WIBU Systems' AxProtector to process the file during post-compilation.
ensure_header_space function, which must be invoked from user code.Add wibu-phdr-gap to your Cargo.toml:
[dependencies]
wibu-phdr-gap = "1"
Ensure that ensure_header_space is called within your code:
use wibu_phdr_gap::ensure_header_space;
fn main() {
ensure_header_space();
// Your application logic here
}
There's an example available which can be inspected for reference and is automatically built and verified using integration tests.
Thanks to WIBU Systems AG for kindly providing the magic string under the MIT license and their fast response times. This project was developed at voraus robotik GmbH. Special thanks to Lukas Beckmann for his contributions.
This crate aims for the least possible amount of dependencies and currently uses elf as development dependency only.
It is used to verify the target artifact does indeed have the designed program header.
This project is licensed under MIT, but it does not grant any rights to WIBU Systems' trademarks or intellectual property.