reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Object/MachOObjectFile.cpp
   84     return malformedError("Structure read out-of-range");
  187       return malformedError("load command " + Twine(LoadCommandIndex) +
  190       return malformedError("load command " + Twine(LoadCommandIndex) +
  202     return malformedError("load command 0 extends past the end all load "
  214     return malformedError("load command " + Twine(LoadCommandIndex + 1) +
  223     Err = malformedError("the mach header extends past the end of the "
  251       return malformedError(Twine(Name) + " at offset " + Twine(Offset) +
  280     return malformedError("load command " + Twine(LoadCommandIndex) +
  288       return malformedError("load command " + Twine(LoadCommandIndex) +
  303         return malformedError("offset field of section " + Twine(J) + " in " +
  311         return malformedError("offset field of section " + Twine(J) + " in " +
  321         return malformedError("offset field plus size field of section " +
  330         return malformedError("size field of section " +
  337         return malformedError("addr field of section " + Twine(J) + " in " +
  345         return malformedError("addr field plus size of section " + Twine(J) +
  358         return malformedError("reloff field of section " + Twine(J) + " in " +
  365         return malformedError("reloff field plus nreloc field times sizeof("
  377       return malformedError("load command " + Twine(LoadCommandIndex) +
  383       return malformedError("load command " + Twine(LoadCommandIndex) +
  387       return malformedError("load command " + Twine(LoadCommandIndex) +
  403     return malformedError("load command " + Twine(LoadCommandIndex) +
  406     return malformedError("more than one LC_SYMTAB command");
  412     return malformedError("LC_SYMTAB command " + Twine(LoadCommandIndex) +
  416     return malformedError("symoff field of LC_SYMTAB command " +
  431     return malformedError("symoff field plus nsyms field times sizeof(" +
  439     return malformedError("stroff field of LC_SYMTAB command " +
  445     return malformedError("stroff field plus strsize field of LC_SYMTAB "
  461     return malformedError("load command " + Twine(LoadCommandIndex) +
  464     return malformedError("more than one LC_DYSYMTAB command");
  471     return malformedError("LC_DYSYMTAB command " + Twine(LoadCommandIndex) +
  475     return malformedError("tocoff field of LC_DYSYMTAB command " +
  482     return malformedError("tocoff field plus ntoc field times sizeof(struct "
  492     return malformedError("modtaboff field of LC_DYSYMTAB command " +
  508     return malformedError("modtaboff field plus nmodtab field times sizeof(" +
  517     return malformedError("extrefsymoff field of LC_DYSYMTAB command " +
  524     return malformedError("extrefsymoff field plus nextrefsyms field times "
  534     return malformedError("indirectsymoff field of LC_DYSYMTAB command " +
  541     return malformedError("indirectsymoff field plus nindirectsyms field times "
  551     return malformedError("extreloff field of LC_DYSYMTAB command " +
  558     return malformedError("extreloff field plus nextrel field times sizeof"
  568     return malformedError("locreloff field of LC_DYSYMTAB command " +
  575     return malformedError("locreloff field plus nlocrel field times sizeof"
  595     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  598     return malformedError("more than one " + Twine(CmdName) + " command");
  605     return malformedError(Twine(CmdName) + " command " +
  609     return malformedError("dataoff field of " + Twine(CmdName) + " command " +
  615     return malformedError("dataoff field plus datasize field of " +
  632     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  635     return malformedError("more than one LC_DYLD_INFO and or LC_DYLD_INFO_ONLY "
  643     return malformedError(Twine(CmdName) + " command " +
  647     return malformedError("rebase_off field of " + Twine(CmdName) +
  653     return malformedError("rebase_off field plus rebase_size field of " +
  662     return malformedError("bind_off field of " + Twine(CmdName) +
  668     return malformedError("bind_off field plus bind_size field of " +
  677     return malformedError("weak_bind_off field of " + Twine(CmdName) +
  683     return malformedError("weak_bind_off field plus weak_bind_size field of " +
  692     return malformedError("lazy_bind_off field of " + Twine(CmdName) +
  698     return malformedError("lazy_bind_off field plus lazy_bind_size field of " +
  707     return malformedError("export_off field of " + Twine(CmdName) +
  713     return malformedError("export_off field plus export_size field of " +
  729     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  736     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  740     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  751     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  765     return malformedError("more than one LC_ID_DYLIB command");
  768     return malformedError("LC_ID_DYLIB load command in non-dynamic library "
  778     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  785     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  789     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  800     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  811     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  814     return malformedError("more than one LC_VERSION_MIN_MACOSX, "
  826     return malformedError("load command " + Twine(LoadCommandIndex) +
  834     return malformedError("offset field of LC_NOTE command " +
  840     return malformedError("size field plus offset field of LC_NOTE command " +
  862     return malformedError("load command " + Twine(LoadCommandIndex) +
  877     return malformedError("load command " + Twine(LoadCommandIndex) +
  884     return malformedError("load command " + Twine(LoadCommandIndex) +
  888     return malformedError("load command " + Twine(LoadCommandIndex) +
  899     return malformedError("load command " + Twine(LoadCommandIndex) +
  911     return malformedError("more than one LC_ENCRYPTION_INFO and or "
  915     return malformedError("cryptoff field of " + Twine(CmdName) +
  921     return malformedError("cryptoff field plus cryptsize field of " +
  933     return malformedError("load command " + Twine(LoadCommandIndex) +
  954         return malformedError("load command " + Twine(LoadCommandIndex) +
  963     return malformedError("load command " + Twine(LoadCommandIndex) +
  975     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  979     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
  990     return malformedError("load command " + Twine(LoadCommandIndex) + " " +
 1001     return malformedError("load command " + Twine(LoadCommandIndex) +
 1014       return malformedError("load command " + Twine(LoadCommandIndex) +
 1024       return malformedError("load command " + Twine(LoadCommandIndex) +
 1036           return malformedError("load command " + Twine(LoadCommandIndex) +
 1042           return malformedError("load command " + Twine(LoadCommandIndex) +
 1047         return malformedError("load command " + Twine(LoadCommandIndex) +
 1055           return malformedError("load command " + Twine(LoadCommandIndex) +
 1061           return malformedError("load command " + Twine(LoadCommandIndex) +
 1067           return malformedError("load command " + Twine(LoadCommandIndex) +
 1073           return malformedError("load command " + Twine(LoadCommandIndex) +
 1079           return malformedError("load command " + Twine(LoadCommandIndex) +
 1085           return malformedError("load command " + Twine(LoadCommandIndex) +
 1091           return malformedError("load command " + Twine(LoadCommandIndex) +
 1097           return malformedError("load command " + Twine(LoadCommandIndex) +
 1103           return malformedError("load command " + Twine(LoadCommandIndex) +
 1109           return malformedError("load command " + Twine(LoadCommandIndex) +
 1114         return malformedError("load command " + Twine(LoadCommandIndex) +
 1122           return malformedError("load command " + Twine(LoadCommandIndex) +
 1128           return malformedError("load command " + Twine(LoadCommandIndex) +
 1133         return malformedError("load command " + Twine(LoadCommandIndex) +
 1142           return malformedError("load command " + Twine(LoadCommandIndex) +
 1148           return malformedError("load command " + Twine(LoadCommandIndex) +
 1153         return malformedError("load command " + Twine(LoadCommandIndex) +
 1161           return malformedError("load command " + Twine(LoadCommandIndex) +
 1167           return malformedError("load command " + Twine(LoadCommandIndex) +
 1172         return malformedError("load command " + Twine(LoadCommandIndex) +
 1178       return malformedError("unknown cputype (" + Twine(cputype) + ") load "
 1194     return malformedError("load command " + Twine(LoadCommandIndex) +
 1197     return malformedError("more than one LC_TWOLEVEL_HINTS command");
 1204     return malformedError("offset field of LC_TWOLEVEL_HINTS command " +
 1211     return malformedError("offset field plus nhints times sizeof(struct "
 1275     Err = malformedError("load commands extend past the end of the file");
 1279     Err = malformedError("universal header architecture: " +
 1318           Err = malformedError("load command " + Twine(I) + " cmdsize not a "
 1325         Err = malformedError("load command " + Twine(I) + " cmdsize not a "
 1379         Err = malformedError("LC_UUID command " + Twine(I) + " has incorrect "
 1384         Err = malformedError("more than one LC_UUID command");
 1459         Err = malformedError("LC_SOURCE_VERSION command " + Twine(I) +
 1464         Err = malformedError("more than one LC_SOURCE_VERSION command");
 1470         Err = malformedError("LC_MAIN command " + Twine(I) +
 1475         Err = malformedError("more than one LC_MAIN command");
 1481         Err = malformedError("LC_ENCRYPTION_INFO command " + Twine(I) +
 1492         Err = malformedError("LC_ENCRYPTION_INFO_64 command " + Twine(I) +
 1506         Err =  malformedError("load command " + Twine(I) +
 1519         Err =  malformedError("load command " + Twine(I) +
 1532         Err =  malformedError("load command " + Twine(I) +
 1545         Err =  malformedError("load command " + Twine(I) +
 1557         Err = malformedError("LC_ROUTINES command " + Twine(I) +
 1562         Err = malformedError("more than one LC_ROUTINES and or LC_ROUTINES_64 "
 1569         Err = malformedError("LC_ROUTINES_64 command " + Twine(I) +
 1574         Err = malformedError("more than one LC_ROUTINES_64 and or LC_ROUTINES "
 1583         Err = malformedError("more than one LC_UNIXTHREAD command");
 1596       Err = malformedError("load command " + Twine(I) + " for cmd value of: " +
 1615       Err = malformedError("contains LC_DYSYMTAB load command without a "
 1625       Err = malformedError("ilocalsym in LC_DYSYMTAB load command "
 1632       Err = malformedError("ilocalsym plus nlocalsym in LC_DYSYMTAB load "
 1637       Err = malformedError("iextdefsym in LC_DYSYMTAB load command "
 1644       Err = malformedError("iextdefsym plus nextdefsym in LC_DYSYMTAB "
 1650       Err = malformedError("iundefsym in LC_DYSYMTAB load command "
 1657       Err = malformedError("iundefsym plus nundefsym in LC_DYSYMTAB load "
 1665     Err = malformedError("no LC_ID_DYLIB load command in dynamic library "
 1710           return malformedError("bad section index: " + Twine((int)NSect) +
 1715           return malformedError("bad n_value: " + Twine((int)NValue) + " past "
 1727               return malformedError("bad library ordinal: " + Twine(LibraryOrdinal) +
 1733       return malformedError("bad string table index: " + Twine((int)NStrx) +
 1757     return malformedError("bad string index: " + Twine(Entry.n_strx) +
 1888     return malformedError("bad section index: " + Twine((int)index) +
 1986     return malformedError("bad section index: " + Twine((int)SectionIndex));
 2860     *E = malformedError("export info size " + Twine(error) +
 2869     *E = malformedError(
 2880       *E = malformedError("flags " + Twine(error) +
 2891       *E = malformedError(
 2902         *E = malformedError("dylib ordinal of re-export " + Twine(error) +
 2910           *E = malformedError(
 2924           *E = malformedError("import name of re-export in export trie data at "
 2934           *E = malformedError("import name of re-export in export trie data at "
 2946         *E = malformedError("address " + Twine(error) +
 2955           *E = malformedError("resolver of stub and resolver " + Twine(error) +
 2964       *E = malformedError(
 2975     *E = malformedError("byte for count of childern in export trie data at "
 2999       *E = malformedError("edge sub-string in export trie data at node: 0x" +
 3009       *E = malformedError("child node offset " + Twine(error) +
 3017         *E = malformedError("loop in childern in export trie data at node: 0x" +
 3031     *E = malformedError("node is not an export node in export trie data at "
 3057     *E = malformedError("node is not an export node in export trie data at "
 3152         *E = malformedError("for REBASE_OPCODE_SET_TYPE_IMM bad bind type: " +
 3167         *E = malformedError("for REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3176         *E = malformedError("for REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3192         *E = malformedError("for REBASE_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3201         *E = malformedError("for REBASE_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3216         *E = malformedError("for REBASE_OPCODE_ADD_ADDR_IMM_SCALED " +
 3227             malformedError("for REBASE_OPCODE_ADD_ADDR_IMM_SCALED "
 3250         *E = malformedError("for REBASE_OPCODE_DO_REBASE_IMM_TIMES " +
 3269         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES " +
 3282         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES " +
 3299         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB " +
 3311         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB " +
 3328         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_"
 3341         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_"
 3353         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_"
 3369       *E = malformedError("bad rebase info (bad opcode value 0x" +
 3512         *E = malformedError("BIND_OPCODE_SET_DYLIB_ORDINAL_IMM not allowed in "
 3521         *E = malformedError("for BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB bad "
 3537         *E = malformedError("BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB not allowed in "
 3546         *E = malformedError("for BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB " +
 3553         *E = malformedError("for BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB bad "
 3569         *E = malformedError("BIND_OPCODE_SET_DYLIB_SPECIAL_IMM not allowed in "
 3579           *E = malformedError("for BIND_OPCODE_SET_DYLIB_SPECIAL_IMM unknown "
 3601         *E = malformedError(
 3623         *E = malformedError("for BIND_OPCODE_SET_TYPE_IMM bad bind type: " +
 3637         *E = malformedError("for BIND_OPCODE_SET_ADDEND_SLEB " + Twine(error) +
 3652         *E = malformedError("for BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3661         *E = malformedError("for BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3677         *E = malformedError("for BIND_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3686         *E = malformedError("for BIND_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3703         *E = malformedError("for BIND_OPCODE_DO_BIND " + Twine(error) +
 3710         *E = malformedError(
 3719             malformedError("for BIND_OPCODE_DO_BIND missing preceding "
 3732         *E = malformedError("BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB not allowed in "
 3741         *E = malformedError("for BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB " +
 3748         *E = malformedError(
 3757         *E = malformedError(
 3766         *E = malformedError("for BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB " +
 3778         *E = malformedError("for BIND_OPCODE_ADD_ADDR_ULEB (after adding "
 3796         *E = malformedError("BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED not "
 3805         *E = malformedError("for BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED " +
 3812         *E = malformedError(
 3821         *E = malformedError(
 3835             malformedError("for BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED "
 3849         *E = malformedError("BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB not "
 3861         *E = malformedError("for BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB "
 3871         *E = malformedError("for BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB "
 3879         *E = malformedError(
 3888         *E = malformedError(
 3900             malformedError("for BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB " +
 3915       *E = malformedError("bad bind info (bad opcode value 0x" +