Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move from const generic to iterator approach | Johannes Stoelp | 2023-01-30 | 1 | -155/+276 |
| | | | | | | | | | This implies that we parse the phdr every time when we iterator over them however it also gives the flexibility of not providing an upper bound of supported load segments during compile time. Trading flexibility vs potential repetitive work is totally fine as in use cases this crate is used, the phdrs are usually iterated once or twice. | ||||
* | remove read_u8 and derive FromEndian for u8 | Johannes Stoelp | 2022-05-22 | 1 | -11/+3 |
| | |||||
* | add explicit lifetime annotation to allow borrowing bytes from LoadSegment ↵ | Johannes Stoelp | 2022-04-30 | 1 | -3/+3 |
| | | | | after Elf went out of scope | ||||
* | add TypeConversion error and contains method on LoadSegment to check if addr ↵ | Johannes Stoelp | 2022-04-30 | 1 | -9/+23 |
| | | | | is contained in segment | ||||
* | minor cleanup | Johannes Stoelp | 2022-04-29 | 1 | -14/+14 |
| | |||||
* | lint: replace explicit lifetime with elided on | Johannes Stoelp | 2022-04-29 | 1 | -1/+1 |
| | |||||
* | make crate no_std compatible | Johannes Stoelp | 2022-04-29 | 1 | -19/+48 |
| | |||||
* | check mul/add when indexing into phdr | Johannes Stoelp | 2022-04-28 | 1 | -1/+2 |
| | |||||
* | fix macro name | Johannes Stoelp | 2022-04-28 | 1 | -4/+4 |
| | |||||
* | initial commit of elfload | Johannes Stoelp | 2022-04-27 | 1 | -0/+299 |