- add overflow checks to
DevicetreeBuilder
- add
impl ToOwned for Devicetree
,impl Debug for MemReserveEntries<'_>
- error on
dt.get_path("")
instead of returning the root - do proper bounds checks for the memory reservation block and struct blob
- check that the blocks are in the correct order and don't overlap (+ introduce
BlobError::InvalidBlockOrder
)
Internal
- add a lot more tests and better safety comments