We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_text_section
1 parent 82e211e commit 81a8e01Copy full SHA for 81a8e01
crates/composefs-boot/src/uki.rs
@@ -71,7 +71,7 @@ pub enum UkiError {
71
// - the error types returned from FromBytes can't be used with `?` because they try to return a
72
// reference to the data, which causes problems with lifetime rules
73
// - it saves us from having to type Err(UkiError::PortableExecutableError) everywhere
74
-fn get_text_section<'a>(
+pub fn get_text_section<'a>(
75
image: &'a [u8],
76
section_name: &'static str,
77
) -> Option<Result<&'a str, UkiError>> {
0 commit comments