19 lines
343 B
Markdown
19 lines
343 B
Markdown
# webserver
|
|
|
|
Written as a tiny project to learn more about 64-bit x86 assembly and the Linux kernel ABI. The syntax here is Intel for GNU AS. The code is public domain.
|
|
|
|
### Build process
|
|
|
|
```
|
|
as -g server.s -o server.o && ld server.o -o exe
|
|
sudo ./exe
|
|
```
|
|
|
|
### Testing
|
|
|
|
```
|
|
nc localhost 80
|
|
GET /anything HTTP/1.0
|
|
POST /anything HTTP/1.0
|
|
```
|