Lines Matching refs:symtab
65 struct symtab_command * symtab = NULL;
80 symtab_result = macho_find_symtab(file_start, file_end, &symtab);
92 symtab_offset = CondSwapInt32(swap, symtab->symoff);
93 str_offset = CondSwapInt32(swap, symtab->stroff);
94 num_syms = CondSwapInt32(swap, symtab->nsyms);
227 struct symtab_command * symtab;
241 struct symtab_command ** symtab)
248 if (symtab) {
249 *symtab = NULL;
256 if (symtab) {
257 *symtab = sym_data.symtab;
291 sym_data->symtab = (struct symtab_command *)lc_cmd;
429 * some other mach-o struct, such as a symtab entry. Returns NULL if the numbered
1084 /* We delete the LINKEDIT segment and any symtab load commands */
1143 struct symtab_command *symtab = NULL;
1191 symtab = (struct symtab_command *) src;
1216 u_long symtab_size = (((symtab->nsyms
1218 + symtab->strsize) + 7 ) & ~7;
1229 /* calculate new segment size after removal of symtab/stringtab data */
1236 if (symtab->symoff < dysymtab->locreloff) {
1238 memmove(macho + symtab->symoff, macho + dysymtab->locreloff, reloc_size);
1241 dysymtab->locreloff = symtab->symoff;
1247 /* symtab/stringtab entries are located after the relocation entries
1251 bzero(macho + symtab->symoff, symtab_size); /* wipe any existing data */