Someone is helping with the development, but there are problems. No symbols are found. I don't know what exactly he changed.
Can anyone say something about this?
I think it's this part of the code that causes it to fail. At least according to the log, but he didn't tell me.
Code
- if (MachOInfo->Is64Bit) {
- struct nlist_64 *nlist64 = NULL;
- nlist64 = PTR_OFFSET(MachOInfo->LinkEditAddress, (symtabCommand->symoff - MachOInfo->LinkEditOffset) + MachOInfo->RelocBase, struct nlist_64 *);
- // Iterate the x86_64 Symbol List
- while (symbolIndex < symtabCommand->nsyms) {
- MachOUpdateSymbol (MachOInfo,
- symbolString + nlist64->n_un.n_strx,
- (UINT32)nlist64->n_value);
- symbolIndex++;
- nlist64++;
- }
- } else {
- struct nlist *nlist = PTR_OFFSET(MachOInfo->LinkEditAddress, (symtabCommand->symoff - MachOInfo->LinkEditOffset) + MachOInfo->RelocBase, struct nlist *);
- // Iterate the i386 Symbol List
- while (symbolIndex < symtabCommand->nsyms) {
- MachOUpdateSymbol (MachOInfo,
- symbolString + nlist->n_un.n_strx,
- nlist->n_value);
- symbolIndex++;
- nlist++;
- }
- }