-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
untime error: unsigned integer overflow: 20274 - 21786 cannot be represented in type 'unsigned long'
for(uint32_t iSym = 0; iSym < symtabCmd->nsyms; iSym++) {
// If n_value is 0, the symbol refers to an external object.
if(symbolTable[iSym].n_value != 0) {
uintptr_t symbolBase = symbolTable[iSym].n_value;
uintptr_t currentDistance = addressWithSlide - symbolBase;
if((addressWithSlide >= symbolBase) &&
(currentDistance <= bestDistance)) {
bestMatch = symbolTable + iSym;
bestDistance = currentDistance;
}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels