switch from assignment to using the set method for numbers

This commit is contained in:
Brendan Hansknecht 2023-04-27 07:20:24 -07:00
parent e88d759331
commit dbbc621892
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
2 changed files with 33 additions and 26 deletions

View file

@ -1550,8 +1550,8 @@ fn surgery_macho_help(
// exec_mmap,
// dynsym_offset as usize + *i as usize * mem::size_of::<elf::Sym64<LE >>(),
// );
// sym.st_value = endian::U64::new(LE , func_virt_offset as u64);
// sym.st_size = endian::U64::new(
// sym.st_value.set(LE , func_virt_offset as u64);
// sym.st_size.set(
// LE ,
// match app_func_size_map.get(func_name) {
// Some(size) => *size,