Post #2593498
2025-11-27 11:45 UTC
@benjojo@benjojo.co.uk
as for funny macos trivia, macos has a malloc zone called `MALLOC_NANO`, which was *always* mapped at 0x600000000000. I can see that it is still mapped into some processes, though I can't reproduce allocations into it with my previous PoCs, but IIRC, this zone used to be malloc()'s default zone for some cases.
Replies (1)
-
@ol0ck@social.hackerspace.pl 2025-11-27 11:45
@benjojo@benjojo.co.uk This was discovered by an even funnier situation in which somebody allocated some memory during programs compiletime and outputted address of the dynamically allocated memory into a constant in the compiled program, then during runtime dereferenced this address and, to their surprise, nothing happened.