Hacker News new | ask | show | jobs
by teo_zero 719 days ago
Would it be acceptable to save the old address as a uintptr_t before the realloc(), and compare it with the new one after?
1 comments

You could do it legally, but the results are not required to be what you want them to be.