Can anyone explain why #golang allocates its heap at a fixed address? I'm seeing that the heap is always allocated at 0xc000000000 on #FreeBSD / #HardenedBSD.

Making forcing the heap to be at a fixed address negates the value of -buildmode=pie for ASLR.

Follow

@lattera curious. Have you checked other environments like openbsd and linux for comparison

Sign in to participate in the conversation
Cross Family's Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!