Home
last modified time | relevance | path

Searched refs:get_bytes (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Delf.rs370 let ident_buf = data.get_bytes(0..elf::abi::EI_NIDENT)?; in parse_ehdr()
378 let tail_buf = data.get_bytes(tail_start..tail_end)?; in parse_ehdr()
453 let buf = data_buf.get_bytes(0..size)?; in parse_segments()
773 fn get_bytes(self, range: Range<usize>) -> Result<&'data [u8], elf::ParseError>; in get_bytes() method
776 fn get_bytes(self, range: Range<usize>) -> Result<&'data [u8], elf::ParseError> { in get_bytes() method