Email or username:

Password:

Forgot your password?
722 posts total
Dušan 🇷🇸 :arch: ⚛️

Not sure if this is a joke or something I should consider seriously contributing to. Something like a FOSS clone of wetransfer.com would be nice. 🙂

Vincent Cloutier

@drewdevault Surprised you didn't do in Hare! (also sorry if I'm adding to your sideprojects pile)

Drew DeVault

For my first little thread here on Fosstodon, I thought it would be cool to talk about an interesting topic I was researching this week: address sanitizer (ASan). This tool audits memory usage in C and C++ programs using Clang/LLVM, and the implementation is so simple and brilliant that I was really quite impressed by it.

Drew DeVault

First of all, some background. On x86_64 systems, there are two parts of virtual memory: high memory and low memory. Low memory goes from 0 to 0x00007FFFFFFFFFFF, and high memory goes from 0xFFFF800000000000 to ~0. Useful memory (physical memory, shared memory, DMA, etc) can only be mapped in these address ranges.

Generally speaking, the user's program image (code, globals, etc) is stored in low memory, and the heap and stack are stored at opposite ends of high memory.

Go Up