Home
last modified time | relevance | path

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

/DragonOS/kernel/src/process/
H A Dexec.rs31 head_buf: &[u8], in load()
167 let mut head_buf = [0u8; 512]; in load_binary_file() localVariable
169 let _bytes = param.file_mut().read(512, &mut head_buf)?; in load_binary_file()
174 let probe_result = bl.probe(param, &head_buf); in load_binary_file()
190 .load(param, &head_buf) in load_binary_file()
/DragonOS/kernel/src/libs/
H A Delf.rs522 head_buf: &[u8], in load()
525 let ehdr = Self::parse_ehdr(head_buf).map_err(|_| ExecError::NotExecutable)?; in load()