Skip to main content

find_text_section

Function find_text_section 

Source
pub fn find_text_section(cubin: &[u8]) -> Option<(usize, usize)>
Expand description

Locate the .text.<kernel> section in a cubin ELF64: returns (file_offset, size_in_bytes).