Symbols.push_back(Symbol);
}
- for (const SectionRef &Section : MachOObj->sections())
- Sections.push_back(Section);
+ append_range(Sections, MachOObj->sections());
bool BaseSegmentAddressSet = false;
for (const auto &Command : MachOObj->load_commands()) {
CreateSymbolAddressMap(O, &AddrMap);
std::vector<SectionRef> Sections;
- for (const SectionRef &Section : O->sections())
- Sections.push_back(Section);
+ append_range(Sections, O->sections());
struct DisassembleInfo info(O, &AddrMap, &Sections, verbose);
CreateSymbolAddressMap(O, &AddrMap);
std::vector<SectionRef> Sections;
- for (const SectionRef &Section : O->sections())
- Sections.push_back(Section);
+ append_range(Sections, O->sections());
struct DisassembleInfo info(O, &AddrMap, &Sections, verbose);
CreateSymbolAddressMap(O, &AddrMap);
std::vector<SectionRef> Sections;
- for (const SectionRef &Section : O->sections())
- Sections.push_back(Section);
+ append_range(Sections, O->sections());
struct DisassembleInfo info(O, &AddrMap, &Sections, verbose);
CreateSymbolAddressMap(O, &AddrMap);
std::vector<SectionRef> Sections;
- for (const SectionRef &Section : O->sections())
- Sections.push_back(Section);
+ append_range(Sections, O->sections());
struct DisassembleInfo info(O, &AddrMap, &Sections, true);