I was wondering if any one could explain in relatively simple terms, how to allocate heap memory?
I'm using x64 assembler (intel syntax) on a Linux machine. Up until now I have relied on making a call to the C function malloc, but I'm interest in the proper way. 
There are syscall lists available online that give you parameters to call directly (instead of the C function). Example list: http://blog.rchapman.org/post/36801038863/linux-system-call-table-for-x86-64 Example usage: http://callumscode.com/blog/3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With