Skip to content

Commit

Permalink
docstring for function
Browse files Browse the repository at this point in the history
  • Loading branch information
latonis committed Jan 14, 2024
1 parent 5aa4ebd commit 36f4b4a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions yara-x/src/modules/macho/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2825,6 +2825,18 @@ fn handle_command(
Ok(seg_count)
}

/// Processes the symbol table and string table based on the values calculated
/// from the LC_SYMTAB load command.
///
/// # Arguments
///
/// * `data`: The raw byte data of the Mach-O file.
/// * `macho_file`: The protobuf representation of the Mach-O file to be populated.
///
/// # Returns
///
/// Returns a `Result<(), MachoError>` indicating the success or failure of the
/// parsing operation.
fn parse_macho_symtab_tables(
data: &[u8],
macho_file: &mut File,
Expand Down

0 comments on commit 36f4b4a

Please sign in to comment.