MachoFileFindSection
Description
Find a section by (segment, section) name pair. Returns NULL if absent.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
MachO.c:223:
ok = ok && m.has_uuid;
ok = ok && m.segments.length > 0;
ok = ok && MachoFileFindSection(&m, "__TEXT", "__text") != NULL;
ok = ok && m.symbols.length > 0;- In
MachoCache.c:140:
return false;
const MachoSection *info_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_info");
const MachoSection *abbrev_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_abbrev");
const MachoSection *str_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_str");- In
MachoCache.c:141:
const MachoSection *info_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_info");
const MachoSection *abbrev_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_abbrev");
const MachoSection *str_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_str");- In
MachoCache.c:142:
const MachoSection *info_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_info");
const MachoSection *abbrev_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_abbrev");
const MachoSection *str_sec = MachoFileFindSection(&e->dsym, "__DWARF", "__debug_str");
const u8 *info_b = info_sec ? e->dsym.data + info_sec->offset : NULL;- In
MachO.c:315:
}
const MachoSection *MachoFileFindSection(const MachoFile *self, const char *segment, const char *section) {
if (!self || !segment || !section)
return NULL;
Last updated on