KSCrash
KSCrash copied to clipboard
confuse of uintptr_t and unsignedLongLong?
KSCrashMonitor_NSException.m
callstack[i] = (uintptr_t)[addresses[i] unsignedLongLongValue];
typedef unsigned long uintptr_t;
i think it should be (uintptr_t)[address[i] unsignedlong]
In C99, it is defined as "an unsigned integer type with the property that any valid pointer to void can be converted to this type, then converted back to pointer to void, and the result will compare equal to the original pointer".
Take this to mean what it says. It doesn't say anything about size.