Skip to content

Commit

Permalink
more format
Browse files Browse the repository at this point in the history
  • Loading branch information
Maaarcocr committed Nov 4, 2024
1 parent d5bdd4e commit 419a165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samply/src/mac/proc_maps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ fn enumerate_dyld_images(

for image_index in 0..info_array_count {
let (base_avma, image_file_path) = {
let info_array_elem_addr =
info_array_addr + image_index as u64 * mem::size_of::<dyld_image_info>() as mach_vm_address_t;
let info_array_elem_addr = info_array_addr
+ image_index as u64 * mem::size_of::<dyld_image_info>() as mach_vm_address_t;
let mut image_info: MaybeUninit<dyld_image_info> = MaybeUninit::uninit();
let mut size = mem::size_of::<dyld_image_info>() as mach_vm_size_t;
unsafe {
Expand Down

0 comments on commit 419a165

Please sign in to comment.