• Home
  • Raw
  • Download

Lines Matching refs:BigSize

318       uint64_t BigSize = s.offset;  in parseSegmentLoadCommand()  local
319 BigSize += s.size; in parseSegmentLoadCommand()
324 BigSize > FileSize) in parseSegmentLoadCommand()
344 BigSize = s.addr; in parseSegmentLoadCommand()
345 BigSize += s.size; in parseSegmentLoadCommand()
348 if (S.vmsize != 0 && s.size != 0 && BigSize > BigEnd) in parseSegmentLoadCommand()
365 BigSize = s.nreloc; in parseSegmentLoadCommand()
366 BigSize *= sizeof(struct MachO::relocation_info); in parseSegmentLoadCommand()
367 BigSize += s.reloff; in parseSegmentLoadCommand()
368 if (BigSize > FileSize) in parseSegmentLoadCommand()
384 uint64_t BigSize = S.fileoff; in parseSegmentLoadCommand() local
385 BigSize += S.filesize; in parseSegmentLoadCommand()
386 if (BigSize > FileSize) in parseSegmentLoadCommand()
432 uint64_t BigSize = SymtabSize; in checkSymtabCommand() local
433 BigSize += Symtab.symoff; in checkSymtabCommand()
434 if (BigSize > FileSize) in checkSymtabCommand()
446 BigSize = Symtab.stroff; in checkSymtabCommand()
447 BigSize += Symtab.strsize; in checkSymtabCommand()
448 if (BigSize > FileSize) in checkSymtabCommand()
482 uint64_t BigSize = Dysymtab.ntoc; in checkDysymtabCommand() local
483 BigSize *= sizeof(MachO::dylib_table_of_contents); in checkDysymtabCommand()
484 BigSize += Dysymtab.tocoff; in checkDysymtabCommand()
485 if (BigSize > FileSize) in checkDysymtabCommand()
499 BigSize = Dysymtab.nmodtab; in checkDysymtabCommand()
509 BigSize *= sizeof_modtab; in checkDysymtabCommand()
510 BigSize += Dysymtab.modtaboff; in checkDysymtabCommand()
511 if (BigSize > FileSize) in checkDysymtabCommand()
524 BigSize = Dysymtab.nextrefsyms; in checkDysymtabCommand()
525 BigSize *= sizeof(MachO::dylib_reference); in checkDysymtabCommand()
526 BigSize += Dysymtab.extrefsymoff; in checkDysymtabCommand()
527 if (BigSize > FileSize) in checkDysymtabCommand()
541 BigSize = Dysymtab.nindirectsyms; in checkDysymtabCommand()
542 BigSize *= sizeof(uint32_t); in checkDysymtabCommand()
543 BigSize += Dysymtab.indirectsymoff; in checkDysymtabCommand()
544 if (BigSize > FileSize) in checkDysymtabCommand()
558 BigSize = Dysymtab.nextrel; in checkDysymtabCommand()
559 BigSize *= sizeof(MachO::relocation_info); in checkDysymtabCommand()
560 BigSize += Dysymtab.extreloff; in checkDysymtabCommand()
561 if (BigSize > FileSize) in checkDysymtabCommand()
575 BigSize = Dysymtab.nlocrel; in checkDysymtabCommand()
576 BigSize *= sizeof(MachO::relocation_info); in checkDysymtabCommand()
577 BigSize += Dysymtab.locreloff; in checkDysymtabCommand()
578 if (BigSize > FileSize) in checkDysymtabCommand()
616 uint64_t BigSize = LinkData.dataoff; in checkLinkeditDataCommand() local
617 BigSize += LinkData.datasize; in checkLinkeditDataCommand()
618 if (BigSize > FileSize) in checkLinkeditDataCommand()
654 uint64_t BigSize = DyldInfo.rebase_off; in checkDyldInfoCommand() local
655 BigSize += DyldInfo.rebase_size; in checkDyldInfoCommand()
656 if (BigSize > FileSize) in checkDyldInfoCommand()
669 BigSize = DyldInfo.bind_off; in checkDyldInfoCommand()
670 BigSize += DyldInfo.bind_size; in checkDyldInfoCommand()
671 if (BigSize > FileSize) in checkDyldInfoCommand()
684 BigSize = DyldInfo.weak_bind_off; in checkDyldInfoCommand()
685 BigSize += DyldInfo.weak_bind_size; in checkDyldInfoCommand()
686 if (BigSize > FileSize) in checkDyldInfoCommand()
699 BigSize = DyldInfo.lazy_bind_off; in checkDyldInfoCommand()
700 BigSize += DyldInfo.lazy_bind_size; in checkDyldInfoCommand()
701 if (BigSize > FileSize) in checkDyldInfoCommand()
714 BigSize = DyldInfo.export_off; in checkDyldInfoCommand()
715 BigSize += DyldInfo.export_size; in checkDyldInfoCommand()
716 if (BigSize > FileSize) in checkDyldInfoCommand()
841 uint64_t BigSize = Nt.offset; in checkNoteCommand() local
842 BigSize += Nt.size; in checkNoteCommand()
843 if (BigSize > FileSize) in checkNoteCommand()
922 uint64_t BigSize = cryptoff; in checkEncryptCommand() local
923 BigSize += cryptsize; in checkEncryptCommand()
924 if (BigSize > FileSize) in checkEncryptCommand()
1211 uint64_t BigSize = Hints.nhints; in checkTwoLevelHintsCommand() local
1212 BigSize *= sizeof(MachO::twolevel_hint); in checkTwoLevelHintsCommand()
1213 BigSize += Hints.offset; in checkTwoLevelHintsCommand()
1214 if (BigSize > FileSize) in checkTwoLevelHintsCommand()
1636 uint64_t BigSize = Dysymtab.ilocalsym; in MachOObjectFile() local
1637 BigSize += Dysymtab.nlocalsym; in MachOObjectFile()
1638 if (Dysymtab.nlocalsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
1648 BigSize = Dysymtab.iextdefsym; in MachOObjectFile()
1649 BigSize += Dysymtab.nextdefsym; in MachOObjectFile()
1650 if (Dysymtab.nextdefsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
1661 BigSize = Dysymtab.iundefsym; in MachOObjectFile()
1662 BigSize += Dysymtab.nundefsym; in MachOObjectFile()
1663 if (Dysymtab.nundefsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()