2 ms·
- Debug OpenBSD bundles Clang (and Perl better for small software) in base to do that in a safer way.
by anthk 4y ago
- Debug
OpenBSD bundles Clang (and Perl better for small software) in base to do that in a safer way.
- mikewarot 4y agoIn MS-DOS you always do an INT 21h with the function in AH. 09h is print string pointed to by DX, $ terminated 4ch is terminate program, with error code in AL So you could build hello.com in short order. In Linux, the function numbers are effectively random[1], I don't see how you could build a binary and save it without a lot more work. [1] https://chromium.googlesource.com/chromiumos/docs/+/master/constants/syscalls.md https://chromium.googlesource.com/chromiumos/docs/+/master/c...