How programs really run
part 3
Where does malloc
keep its notes?
glibc and musl, one free() at a time
legend
the same marks in every picture
rip
current
executing now
2a
written
by this step
2a
changed
a moment ago
2a
read
by this step
moving
in transit
not seen
never observed
sys
kernel
the other side
SEGV
fault
signal, error
7ffe
stack
points into it
7ffe
heap
points into it
7ffe
code
points into it
7ffe
data
points into it
7f3c
rwx
write and run
"hi"
text
a string
allocated
handed out
freed
handed back