mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
fixed codestyle
This commit is contained in:
@@ -244,7 +244,6 @@ namespace
|
|||||||
|
|
||||||
if (arch.value() == MachOArch::x64)
|
if (arch.value() == MachOArch::x64)
|
||||||
return extract_section_impl<MachHeader64, SegmentCommand64, Section64, lc_segment_64>(file, section_name);
|
return extract_section_impl<MachHeader64, SegmentCommand64, Section64, lc_segment_64>(file, section_name);
|
||||||
else
|
|
||||||
return extract_section_impl<MachHeader32, SegmentCommand32, Section32, lc_segment>(file, section_name);
|
return extract_section_impl<MachHeader32, SegmentCommand32, Section32, lc_segment>(file, section_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -310,8 +309,8 @@ namespace omath
|
|||||||
std::memcpy(&magic, base, sizeof(magic));
|
std::memcpy(&magic, base, sizeof(magic));
|
||||||
|
|
||||||
if (magic == mh_magic_64 || magic == mh_cigam_64)
|
if (magic == mh_magic_64 || magic == mh_cigam_64)
|
||||||
return scan_in_module_impl<MachHeader64, SegmentCommand64, Section64, lc_segment_64>(
|
return scan_in_module_impl<MachHeader64, SegmentCommand64, Section64, lc_segment_64>(base, pattern,
|
||||||
base, pattern, target_section_name);
|
target_section_name);
|
||||||
|
|
||||||
if (magic == mh_magic_32 || magic == mh_cigam_32)
|
if (magic == mh_magic_32 || magic == mh_cigam_32)
|
||||||
return scan_in_module_impl<MachHeader32, SegmentCommand32, Section32, lc_segment>(base, pattern,
|
return scan_in_module_impl<MachHeader32, SegmentCommand32, Section32, lc_segment>(base, pattern,
|
||||||
|
|||||||
Reference in New Issue
Block a user