3 ms·
I tried out using x86_64 Linux assembly by writing a simple TCP echo server [1] after reading about the modern HTTP server in 64bit assembly [2]. Turned out to
by bobbo_ 11y ago
I tried out using x86_64 Linux assembly by writing a simple TCP echo server [1] after reading about the modern HTTP server in 64bit assembly [2]. Turned out to be not too much more involved than writing the equivalent in C, though very much at the cost of readability and development time.
There appeared to be relatively few examples of modern (well, 64 bit) Linux assembly out there, though quite a few relatively out of date documents like the one posted; documentation like the 64bit Linux System Call table were exceptionally useful [3].
[1] https://gist.github.com/bobbo/e1e980262f2ddc8db3b8 https://gist.github.com/bobbo/e1e980262f2ddc8db3b8
[2] https://news.ycombinator.com/item?id=9948749 https://news.ycombinator.com/item?id=9948749
[3] http://blog.rchapman.org/post/36801038863/linux-system-call-table-for-x86-64 http://blog.rchapman.org/post/36801038863/linux-system-call-...