python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Abort in glibc while trying to use sbrk to reduce the size of the data segment
While working with glibc I tried to reduce the data segment using sbrk using a negative parameter, and found a most strange behaviour.
I first malloc, then free it, then reduce data segment with sbrk,...
Arc
Votes: 0
Answers: 2
How to free the heap memory in MIPS
For learning purposes, I'm trying to implement a stack in the heap memory.
When I push something I just need to do the systemcall sbrk, and that's fine.
When I proceed with a pop I can retrive my valu...
Vavaste
Votes: 0
Answers: 1